From 9ff77591f7c039c19c64f1b6c11198a12e34e3f2 Mon Sep 17 00:00:00 2001 From: VuNgocHaiC7 Date: Tue, 3 Mar 2026 16:45:57 +0700 Subject: [PATCH 01/10] update code and prefabs dlg teamList --- Assets/PerfectWorld/Prefab/UI/Teamate.prefab | 137 ++++ .../Prefab/UI/Win_TeamMain.prefab | 702 +++++++++++++++++ .../Prefab/UI/Win_TeamMain.prefab.meta | 7 + .../Prefab/UI/Win_TeamMate.prefab | 721 ++++++++++++++++++ .../Prefab/UI/Win_TeamMate.prefab.meta | 7 + .../PerfectWorld/Prefab/UI/team_item.prefab | 1 + Assets/PerfectWorld/Prefab/UIManager.prefab | 383 ++++++++++ .../UI/DialogScriptTableObject.asset | 2 + Assets/PerfectWorld/Scene/Bootstrap.unity | 4 +- Assets/PerfectWorld/Scripts/Move/CECPlayer.cs | 5 + .../Scripts/UI/Dialogs/DlgArrangeTeam.cs | 14 +- .../UI/Dialogs/DlgArrangeTeamListItem.cs | 16 +- .../Scripts/UI/Dialogs/DlgTeamMain.cs | 189 ++++- .../Scripts/UI/Dialogs/DlgTeamMate.cs | 106 +++ Assets/Scripts/CECHostPlayer.cs | 4 +- 15 files changed, 2287 insertions(+), 11 deletions(-) create mode 100644 Assets/PerfectWorld/Prefab/UI/Win_TeamMain.prefab create mode 100644 Assets/PerfectWorld/Prefab/UI/Win_TeamMain.prefab.meta create mode 100644 Assets/PerfectWorld/Prefab/UI/Win_TeamMate.prefab create mode 100644 Assets/PerfectWorld/Prefab/UI/Win_TeamMate.prefab.meta diff --git a/Assets/PerfectWorld/Prefab/UI/Teamate.prefab b/Assets/PerfectWorld/Prefab/UI/Teamate.prefab index be386da4b5..c1c96d523c 100644 --- a/Assets/PerfectWorld/Prefab/UI/Teamate.prefab +++ b/Assets/PerfectWorld/Prefab/UI/Teamate.prefab @@ -1425,6 +1425,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 6747937870382540800} + - {fileID: 3620902095706995247} - {fileID: 9145156114905100934} - {fileID: 1392280977313824629} - {fileID: 7829150308709081067} @@ -6830,6 +6831,142 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &7533209214432806909 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3620902095706995247} + - component: {fileID: 4540380448187620228} + - component: {fileID: 2094819262499835594} + m_Layer: 5 + m_Name: text_tile + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3620902095706995247 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7533209214432806909} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 7364890917756710219} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: -27, y: -122.56552} + m_SizeDelta: {x: 360.6194, y: 39.1311} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4540380448187620228 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7533209214432806909} + m_CullTransparentMesh: 1 +--- !u!114 &2094819262499835594 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7533209214432806909} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: "T\u1ED5 \u0111\u1ED9i - Ng\u01B0\u1EDDi ch\u01A1i xung quanh" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} + m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 28 + m_fontSizeBase: 28 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} --- !u!1 &7609752966647098592 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/PerfectWorld/Prefab/UI/Win_TeamMain.prefab b/Assets/PerfectWorld/Prefab/UI/Win_TeamMain.prefab new file mode 100644 index 0000000000..e5552faa9d --- /dev/null +++ b/Assets/PerfectWorld/Prefab/UI/Win_TeamMain.prefab @@ -0,0 +1,702 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &1652538494243187047 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5318401063384529300} + - component: {fileID: 3310077424793065514} + - component: {fileID: 7253364649124458799} + - component: {fileID: 4234304118214725523} + m_Layer: 0 + m_Name: Scroll View + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5318401063384529300 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1652538494243187047} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 2517979798407344019} + m_Father: {fileID: 8990964437563937710} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: -2.1741943, y: -45.6172} + m_SizeDelta: {x: -31.6957, y: -136.9592} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3310077424793065514 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1652538494243187047} + m_CullTransparentMesh: 1 +--- !u!114 &7253364649124458799 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1652538494243187047} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &4234304118214725523 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1652538494243187047} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Content: {fileID: 7292124547459743165} + m_Horizontal: 0 + m_Vertical: 1 + m_MovementType: 1 + m_Elasticity: 0.1 + m_Inertia: 1 + m_DecelerationRate: 0.135 + m_ScrollSensitivity: 1 + m_Viewport: {fileID: 2517979798407344019} + m_HorizontalScrollbar: {fileID: 0} + m_VerticalScrollbar: {fileID: 0} + m_HorizontalScrollbarVisibility: 2 + m_VerticalScrollbarVisibility: 2 + m_HorizontalScrollbarSpacing: -3 + m_VerticalScrollbarSpacing: -3 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &1840927884529669292 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6569469023171617157} + - component: {fileID: 6500227555290953883} + - component: {fileID: 1797872541915731615} + - component: {fileID: 6160970239281190273} + m_Layer: 0 + m_Name: btn_close + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6569469023171617157 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1840927884529669292} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 8990964437563937710} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: -57, y: -74.25119} + m_SizeDelta: {x: 80, y: 80} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &6500227555290953883 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1840927884529669292} + m_CullTransparentMesh: 1 +--- !u!114 &1797872541915731615 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1840927884529669292} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 92da9939d75a3c247a86c43363fbacd8, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &6160970239281190273 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1840927884529669292} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1797872541915731615} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &4578472572779666025 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7292124547459743165} + - component: {fileID: 1359960603703965974} + - component: {fileID: 5163575919045372461} + m_Layer: 0 + m_Name: Content + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7292124547459743165 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4578472572779666025} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 2517979798407344019} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0.00000667572} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 1} +--- !u!114 &1359960603703965974 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4578472572779666025} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} + m_Name: + m_EditorClassIdentifier: + m_HorizontalFit: 2 + m_VerticalFit: 2 +--- !u!114 &5163575919045372461 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4578472572779666025} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 0 + m_StartCorner: 0 + m_StartAxis: 1 + m_CellSize: {x: 750, y: 215} + m_Spacing: {x: 0, y: 0} + m_Constraint: 1 + m_ConstraintCount: 1 +--- !u!1 &5493371260204112607 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8990964437563937710} + - component: {fileID: 4519429938834935871} + - component: {fileID: 6132121140529099998} + m_Layer: 0 + m_Name: Root + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8990964437563937710 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5493371260204112607} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 5522155830575460022} + - {fileID: 5318401063384529300} + - {fileID: 6569469023171617157} + m_Father: {fileID: 7101142292773392269} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 775.4321, y: 861.5756} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4519429938834935871 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5493371260204112607} + m_CullTransparentMesh: 1 +--- !u!114 &6132121140529099998 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5493371260204112607} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 6ab12bcb0ac3d144e8f86be82ae32c81, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &7191604578129729132 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5522155830575460022} + - component: {fileID: 7907400840444628294} + - component: {fileID: 1635684861497014793} + m_Layer: 0 + m_Name: title_text + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5522155830575460022 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7191604578129729132} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 8990964437563937710} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 0, y: -32} + m_SizeDelta: {x: 257.057, y: 50} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7907400840444628294 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7191604578129729132} + m_CullTransparentMesh: 1 +--- !u!114 &1635684861497014793 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7191604578129729132} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: "Tin t\u1EE9c \u0111\u1ED9i ng\u0169" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} + m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 36 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &7505445701161803322 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2517979798407344019} + - component: {fileID: 481922014683264486} + - component: {fileID: 8193935146456652872} + - component: {fileID: 3645847971986958617} + m_Layer: 0 + m_Name: Viewport + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2517979798407344019 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7505445701161803322} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 7292124547459743165} + m_Father: {fileID: 5318401063384529300} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: -17} + m_Pivot: {x: 0, y: 1} +--- !u!222 &481922014683264486 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7505445701161803322} + m_CullTransparentMesh: 1 +--- !u!114 &8193935146456652872 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7505445701161803322} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10917, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &3645847971986958617 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7505445701161803322} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ShowMaskGraphic: 0 +--- !u!1 &9152579472324007262 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 7101142292773392269} + - component: {fileID: 7524986915238296204} + - component: {fileID: 8515094144043398893} + - component: {fileID: 1114001919398359318} + m_Layer: 0 + m_Name: Win_TeamMain + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &7101142292773392269 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9152579472324007262} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 8990964437563937710} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7524986915238296204 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9152579472324007262} + m_CullTransparentMesh: 1 +--- !u!114 &8515094144043398893 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9152579472324007262} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0} + m_RaycastTarget: 0 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &1114001919398359318 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 9152579472324007262} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: df3bb47226cff9e489563187e474129a, type: 3} + m_Name: + m_EditorClassIdentifier: + skillNameText: {fileID: 0} + imageProgress: {fileID: 0} + teamMateContainer: {fileID: 7292124547459743165} + teamMatePrefabs: {fileID: 6847991545835714431, guid: b1a76e779f29736428fc5b3fa76d5d40, type: 3} + btnClose: {fileID: 6160970239281190273} diff --git a/Assets/PerfectWorld/Prefab/UI/Win_TeamMain.prefab.meta b/Assets/PerfectWorld/Prefab/UI/Win_TeamMain.prefab.meta new file mode 100644 index 0000000000..cbb16ba9a2 --- /dev/null +++ b/Assets/PerfectWorld/Prefab/UI/Win_TeamMain.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2060bbc2e61f6db4590ab041243b6294 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PerfectWorld/Prefab/UI/Win_TeamMate.prefab b/Assets/PerfectWorld/Prefab/UI/Win_TeamMate.prefab new file mode 100644 index 0000000000..4c7a6b0487 --- /dev/null +++ b/Assets/PerfectWorld/Prefab/UI/Win_TeamMate.prefab @@ -0,0 +1,721 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &1631956714188466453 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3587087673680323675} + - component: {fileID: 6883643611817577280} + - component: {fileID: 6640208135047422717} + m_Layer: 0 + m_Name: ImgProf + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3587087673680323675 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1631956714188466453} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6879045813966450924} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 0, y: 0.5} + m_AnchoredPosition: {x: 86, y: 0} + m_SizeDelta: {x: 150, y: 150} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &6883643611817577280 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1631956714188466453} + m_CullTransparentMesh: 1 +--- !u!114 &6640208135047422717 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1631956714188466453} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: a2238a19850876346896f2ef57210783, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &4046161051162012371 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6908019650146205558} + - component: {fileID: 727766066064434691} + - component: {fileID: 4148043623214161337} + m_Layer: 0 + m_Name: text_name + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6908019650146205558 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4046161051162012371} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6879045813966450924} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 78, y: -46} + m_SizeDelta: {x: 200, y: 50} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &727766066064434691 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4046161051162012371} + m_CullTransparentMesh: 1 +--- !u!114 &4148043623214161337 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4046161051162012371} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: 'cccc + +' + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} + m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 36 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 1 + m_VerticalAlignment: 256 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &4451863954125312840 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 2798741084483218221} + - component: {fileID: 7118202026797787909} + - component: {fileID: 1258206626735140290} + m_Layer: 0 + m_Name: text_level + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2798741084483218221 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4451863954125312840} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6879045813966450924} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: -99.002045, y: -46} + m_SizeDelta: {x: 107.9959, y: 50} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7118202026797787909 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4451863954125312840} + m_CullTransparentMesh: 1 +--- !u!114 &1258206626735140290 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4451863954125312840} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: "C\u1EA5p 36" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} + m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 36 + m_fontSizeBase: 36 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 1 + m_VerticalAlignment: 256 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &6847991545835714431 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1697702385311672546} + - component: {fileID: 208730684162687455} + - component: {fileID: 7477151862414854370} + - component: {fileID: 6782346492669323170} + m_Layer: 0 + m_Name: Win_TeamMate + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1697702385311672546 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6847991545835714431} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 6879045813966450924} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &208730684162687455 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6847991545835714431} + m_CullTransparentMesh: 1 +--- !u!114 &7477151862414854370 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6847991545835714431} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 0} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &6782346492669323170 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6847991545835714431} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: de66283425f4c8a4fb98021ff3301392, type: 3} + m_Name: + m_EditorClassIdentifier: + skillNameText: {fileID: 0} + imageProgress: {fileID: 0} + imgProf: {fileID: 6640208135047422717} + m_pTxtCharName: {fileID: 4148043623214161337} + m_pTxtLv: {fileID: 1258206626735140290} + m_PrgsHP: {fileID: 3904168957652332149} + m_PrgsMP: {fileID: 1419071194508405675} + m_pImgForce: {fileID: 0} + m_pImgST: + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} +--- !u!1 &7278470110163036902 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3577530095308710497} + - component: {fileID: 4557919037221298659} + - component: {fileID: 3904168957652332149} + - component: {fileID: 7720460649619289221} + m_Layer: 0 + m_Name: HpPlayerImg + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3577530095308710497 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7278470110163036902} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6879045813966450924} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 58, y: -3} + m_SizeDelta: {x: 482.8506, y: 31.481} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4557919037221298659 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7278470110163036902} + m_CullTransparentMesh: 1 +--- !u!114 &3904168957652332149 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7278470110163036902} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 320a54deb1692314bb12d0ed72635ad1, type: 3} + m_Type: 3 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 0 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &7720460649619289221 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7278470110163036902} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: de66283425f4c8a4fb98021ff3301392, type: 3} + m_Name: + m_EditorClassIdentifier: + skillNameText: {fileID: 0} + imageProgress: {fileID: 0} + imgProf: {fileID: 0} + m_pTxtCharName: {fileID: 0} + m_pTxtLv: {fileID: 0} + m_PrgsHP: {fileID: 0} + m_PrgsMP: {fileID: 0} + m_pImgForce: {fileID: 0} + m_pImgST: + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} +--- !u!1 &8023372737519605007 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 406582106696856642} + - component: {fileID: 3726665764840779024} + - component: {fileID: 1419071194508405675} + m_Layer: 0 + m_Name: ManaPlayerImg + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &406582106696856642 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8023372737519605007} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 6879045813966450924} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 46, y: -37} + m_SizeDelta: {x: 482.8506, y: 31.481} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3726665764840779024 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8023372737519605007} + m_CullTransparentMesh: 1 +--- !u!114 &1419071194508405675 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8023372737519605007} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 7bf1ef4f98c0dee419cfb9127e7e5818, type: 3} + m_Type: 3 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 0 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &8994774610566569638 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6879045813966450924} + - component: {fileID: 8499599671263704104} + - component: {fileID: 2818392732291738014} + m_Layer: 0 + m_Name: root + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6879045813966450924 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8994774610566569638} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 2798741084483218221} + - {fileID: 6908019650146205558} + - {fileID: 3577530095308710497} + - {fileID: 406582106696856642} + - {fileID: 3587087673680323675} + m_Father: {fileID: 1697702385311672546} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 719.9438, y: 194.1411} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &8499599671263704104 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8994774610566569638} + m_CullTransparentMesh: 1 +--- !u!114 &2818392732291738014 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8994774610566569638} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 8b900a515a652db479c6520fd9a711ce, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 diff --git a/Assets/PerfectWorld/Prefab/UI/Win_TeamMate.prefab.meta b/Assets/PerfectWorld/Prefab/UI/Win_TeamMate.prefab.meta new file mode 100644 index 0000000000..1504619718 --- /dev/null +++ b/Assets/PerfectWorld/Prefab/UI/Win_TeamMate.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: b1a76e779f29736428fc5b3fa76d5d40 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PerfectWorld/Prefab/UI/team_item.prefab b/Assets/PerfectWorld/Prefab/UI/team_item.prefab index 1540b4bfe3..8359bc6169 100644 --- a/Assets/PerfectWorld/Prefab/UI/team_item.prefab +++ b/Assets/PerfectWorld/Prefab/UI/team_item.prefab @@ -747,6 +747,7 @@ MonoBehaviour: m_EditorClassIdentifier: m_TextLabel: {fileID: 2752730629474862226} m_TextLabelLegacy: {fileID: 0} + m_TextDetail: {fileID: 8978703097637694069} m_Toggle: {fileID: 7841227908688200392} m_InviteButton: {fileID: 3745868239685337262} m_SelectedHighlight: {fileID: 3128409074946911000} diff --git a/Assets/PerfectWorld/Prefab/UIManager.prefab b/Assets/PerfectWorld/Prefab/UIManager.prefab index c86249283c..b100230bf0 100644 --- a/Assets/PerfectWorld/Prefab/UIManager.prefab +++ b/Assets/PerfectWorld/Prefab/UIManager.prefab @@ -1743,6 +1743,8 @@ RectTransform: - {fileID: 7451658084820611230} - {fileID: 7749074831901819156} - {fileID: 5949267495910746152} + - {fileID: 4633732041680916750} + - {fileID: 3141712133530453451} m_Father: {fileID: 2780428059708698453} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} @@ -4498,6 +4500,144 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &5804481939490819770 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3896779004240998762} + - component: {fileID: 432590474551140442} + - component: {fileID: 3984354575793935746} + m_Layer: 0 + m_Name: Text (TMP) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3896779004240998762 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5804481939490819770} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 4633732041680916750} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &432590474551140442 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5804481939490819770} + m_CullTransparentMesh: 1 +--- !u!114 &3984354575793935746 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5804481939490819770} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: 'TeamList + +' + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4281479730 + m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 21.28 + m_fontSizeBase: 21.28 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 1 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} --- !u!1 &5885931642767984348 GameObject: m_ObjectHideFlags: 0 @@ -4962,6 +5102,139 @@ MonoBehaviour: m_OnClick: m_PersistentCalls: m_Calls: [] +--- !u!1 &6647846787028180792 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4633732041680916750} + - component: {fileID: 1947094226586639141} + - component: {fileID: 3855216381802363264} + - component: {fileID: 2959558982813704450} + m_Layer: 0 + m_Name: team_list_btn + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4633732041680916750 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6647846787028180792} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 3896779004240998762} + m_Father: {fileID: 3233441867675090637} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.5} + m_AnchorMax: {x: 0, y: 0.5} + m_AnchoredPosition: {x: 63.289795, y: 128.1304} + m_SizeDelta: {x: 101.855, y: 57.3622} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1947094226586639141 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6647846787028180792} + m_CullTransparentMesh: 1 +--- !u!114 &3855216381802363264 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6647846787028180792} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &2959558982813704450 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6647846787028180792} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 3855216381802363264} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1890210201668811196} + m_TargetAssemblyTypeName: CECUIManager, Assembly-CSharp + m_MethodName: ShowUI + m_Mode: 5 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: Win_TeamMain + m_BoolArgument: 0 + m_CallState: 2 --- !u!1 &6749548056585646144 GameObject: m_ObjectHideFlags: 0 @@ -12532,6 +12805,116 @@ RectTransform: m_CorrespondingSourceObject: {fileID: 5717981154351234976, guid: 8586a375545487f43b57c6ffdce6fbfd, type: 3} m_PrefabInstance: {fileID: 4284099006850624278} m_PrefabAsset: {fileID: 0} +--- !u!1001 &5266337168130624070 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 3233441867675090637} + m_Modifications: + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7292124547459743165, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_SizeDelta.x + value: 6.26355 + objectReference: {fileID: 0} + - target: {fileID: 9152579472324007262, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_Name + value: Win_TeamMain + objectReference: {fileID: 0} + - target: {fileID: 9152579472324007262, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} +--- !u!224 &3141712133530453451 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 7101142292773392269, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} + m_PrefabInstance: {fileID: 5266337168130624070} + m_PrefabAsset: {fileID: 0} --- !u!1001 &5294584971749082395 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/PerfectWorld/Resources/UI/DialogScriptTableObject.asset b/Assets/PerfectWorld/Resources/UI/DialogScriptTableObject.asset index 532d9eec59..b4ee9cee57 100644 --- a/Assets/PerfectWorld/Resources/UI/DialogScriptTableObject.asset +++ b/Assets/PerfectWorld/Resources/UI/DialogScriptTableObject.asset @@ -57,3 +57,5 @@ MonoBehaviour: prefab: {fileID: 4739268381143404558, guid: 37f331119e0524018a0a7266aa257777, type: 3} - id: Win_Message2 prefab: {fileID: 1590197940424963217, guid: 0c248d0510a114829b58d62d2ecc3b5e, type: 3} + - id: Win_TeamMain + prefab: {fileID: 9152579472324007262, guid: 2060bbc2e61f6db4590ab041243b6294, type: 3} diff --git a/Assets/PerfectWorld/Scene/Bootstrap.unity b/Assets/PerfectWorld/Scene/Bootstrap.unity index 35a895d61b..8e0083d8e6 100644 --- a/Assets/PerfectWorld/Scene/Bootstrap.unity +++ b/Assets/PerfectWorld/Scene/Bootstrap.unity @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:57bb52418b44eb7e3e333915973057be091b0826983b641ceb05263b4dffe2e4 -size 287382 +oid sha256:8a35ecc97a79bc990aa57e5e10fe952b349eedb59e9d145ff0e3b358533d5c24 +size 296415 diff --git a/Assets/PerfectWorld/Scripts/Move/CECPlayer.cs b/Assets/PerfectWorld/Scripts/Move/CECPlayer.cs index e7111f217c..a9b93cd717 100644 --- a/Assets/PerfectWorld/Scripts/Move/CECPlayer.cs +++ b/Assets/PerfectWorld/Scripts/Move/CECPlayer.cs @@ -1403,6 +1403,11 @@ namespace BrewMonster return m_iProfession; } + public int GetLevel() + { + return GetBasicProps().iLevel; + } + // 获取性别 // Get gender public int GetGender() { diff --git a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgArrangeTeam.cs b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgArrangeTeam.cs index 047472c181..cc66b67158 100644 --- a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgArrangeTeam.cs +++ b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgArrangeTeam.cs @@ -189,7 +189,11 @@ namespace BrewMonster.UI Debug.Log($"[DlgArrangeTeam] Teammate: {mateName} (id {cid})"); var item = CreateListItem(Content_Teammates, TeammateItemPrefab, mateName, cid, true, out var listItem); if (listItem != null) + { + Debug.Log($"[DlgArrangeTeam] Set teammate item detail: level {m.GetLevel()}"); + listItem.SetDetail(m.GetLevel(), m.GetProfession()); m_TeammateItems.Add(listItem); + } } } @@ -202,7 +206,7 @@ namespace BrewMonster.UI if (manPlayer != null && prefab != null) { HashSet filterSet = GetSelectedProfessionSet(); - var nearby = new List<(string name, int cid, int prof)>(); + var nearby = new List<(string name, int cid, int prof, int level)>(); var otherIds = manPlayer.GetOtherPlayerCharacterIds(); foreach (int cid in otherIds) { @@ -213,13 +217,15 @@ namespace BrewMonster.UI if (string.IsNullOrEmpty(name)) name = "Player_" + cid; int prof = (p as CECPlayer) != null ? (p as CECPlayer).GetProfession() : 0; if (filterSet != null && !filterSet.Contains(prof)) continue; - nearby.Add((name, cid, prof)); + int level = (p as CECPlayer) != null ? (p as CECPlayer).GetLevel() : 0; + nearby.Add((name, cid, prof, level)); } nearby.Sort((a, b) => { int c = a.prof.CompareTo(b.prof); if (c != 0) return c; return string.CompareOrdinal(a.name, b.name); }); foreach (var t in nearby) { - Debug.Log($"[DlgArrangeTeam] Nearby: {t.name} (id {t.cid})"); - CreateListItem(Content_Nearby, prefab, t.name, t.cid, false, out _); + Debug.Log($"[DlgArrangeTeam] Nearby: {t.name} (id {t.cid}) (level: {t.level})"); + CreateListItem(Content_Nearby, prefab, t.name, t.cid, false, out var listItem); + listItem.SetDetail(t.level, t.prof); } } } diff --git a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgArrangeTeamListItem.cs b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgArrangeTeamListItem.cs index a295dc0cdf..e7d255f968 100644 --- a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgArrangeTeamListItem.cs +++ b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgArrangeTeamListItem.cs @@ -1,8 +1,9 @@ -// Attach to your team list item prefab. Has a text component and stores character ID for selection. +// Attach to your team list item prefab. Has a text component and stores character ID for selection. using UnityEngine; using UnityEngine.UI; using TMPro; +using BrewMonster.Network; namespace BrewMonster.UI { @@ -10,6 +11,7 @@ namespace BrewMonster.UI { [SerializeField] private TMP_Text m_TextLabel; [SerializeField] private Text m_TextLabelLegacy; + [SerializeField] private TMP_Text m_TextDetail; [SerializeField] private Toggle m_Toggle; [SerializeField] private Button m_InviteButton; [SerializeField] private GameObject m_SelectedHighlight; @@ -28,6 +30,18 @@ namespace BrewMonster.UI SetSelected(false); } + public void SetDetail(int level, int profession) + { + if (m_TextDetail != null) + { + var gameRun = EC_Game.GetGameRun(); + string profName = gameRun?.GetProfName(profession); + if(string.IsNullOrEmpty(profName)) + profName = $"{profession}"; + m_TextDetail.text = $"Cấp {level} {profName}"; + } + } + public void SetSelected(bool selected) { if (m_SelectedHighlight != null) diff --git a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMain.cs b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMain.cs index 5db5ff1f70..b6ad7fe888 100644 --- a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMain.cs +++ b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMain.cs @@ -1,11 +1,27 @@ // Placeholder for CDlgTeamMain. Real UI later. +using System.Collections.Generic; +using BrewMonster; +using BrewMonster.Managers; +using BrewMonster.Network; +using BrewMonster.Scripts; using UnityEngine; +using UnityEngine.UI; +using TMPro; +using System; namespace BrewMonster.UI { public class DlgTeamMain : AUIDialog { + private const int CDLGTEAMMAIN_MAXTEAMMATES = 10; + + [SerializeField] private Transform teamMateContainer; + + [SerializeField] private GameObject teamMatePrefabs; + [SerializeField] private Button btnClose; + private readonly List m_pMates = new List(); + public override void Awake() { base.Awake(); @@ -15,13 +31,182 @@ namespace BrewMonster.UI /// No-op until real implementation. public bool UpdateTeamInfo() { + CECHostPlayer host = GetHostPlayer(); + if (host == null) + { + HideTeamList(); + return true; + } + + CECTeam team = host.GetTeam(); + int nNumMembers = team != null ? team.GetMemberNum() : 0; + + if (nNumMembers == 0) + { + HideTeamList(); + ClearAllTeamMates(); + return true; + } + + if (!IsShow()) + { + Show(true); + } + + int nStatus = (int)GetData(); + int idHost = host.GetCharacterID(); + + List displayMembers = new List(); + for (int i = 0; i < nNumMembers; i++) + { + CECTeamMember member = team.GetMemberByIndex(i); + if (member == null) + continue; + + int idPlayer = member.GetCharacterID(); + if (idHost == idPlayer) + continue; + + displayMembers.Add(member); + } + + int neededCount = displayMembers.Count; + AdjustTeamMateCount(neededCount); + + for (int i = 0; i < displayMembers.Count; i++) + { + if (i >= m_pMates.Count) + break; + + CECTeamMember member = displayMembers[i]; + DlgTeamMate pDlgMate = m_pMates[i]; + + if (pDlgMate == null) + continue; + + pDlgMate.UpdateMemberDisplay(member); + pDlgMate.SetMemberID(member.GetCharacterID()); + + if(!pDlgMate.IsShow()) + { + pDlgMate.Show(true); + } + } return true; } - /// Returns null until real implementation (Win_TeamMate1…10). - public AUIDialog GetTeamMateDlg(int index) + private void AdjustTeamMateCount(int neededCount) { + neededCount = Mathf.Min(neededCount, CDLGTEAMMAIN_MAXTEAMMATES); + while (m_pMates.Count > neededCount) + { + int lastIndex = m_pMates.Count - 1; + DlgTeamMate dlg = m_pMates[lastIndex]; + if (dlg != null && dlg.gameObject != null) + { + Destroy(dlg.gameObject); + } + m_pMates.RemoveAt(lastIndex); + } + + while (m_pMates.Count < neededCount) + { + CreateTeamMateDialog(); + } + } + + private void CreateTeamMateDialog() + { + if (teamMatePrefabs == null || teamMateContainer == null) + { + return; + } + + GameObject go = Instantiate(teamMatePrefabs, teamMateContainer); + if (go == null) + { + return; + } + + DlgTeamMate teamMate = go.GetComponent(); + if (teamMate == null) + { + Destroy(go); + return; + } + + teamMate.SetName("Win_TeamMate" + (m_pMates.Count + 1)); + teamMate.gameObject.SetActive(true); + m_pMates.Add(teamMate); + } + + private void ClearAllTeamMates() + { + foreach (var mate in m_pMates) + { + if (mate != null && mate.gameObject != null) + { + Destroy(mate.gameObject); + } + } + m_pMates.Clear(); + } + + private void HideTeamList() + { + if (IsShow()) + { + Show(false); + } + + HideAllTeamMates(); + } + + private void HideAllTeamMates() + { + foreach (var mate in m_pMates) + { + if(mate != null && mate.IsShow()) + { + mate.Show(false); + } + } + } + + /// Returns null until real implementation (Win_TeamMate1…10). + public DlgTeamMate GetTeamMateDlg(int index) + { + if(index >= 0 && index < m_pMates.Count) + { + return m_pMates[index]; + } return null; } + + public override void Update() + { + base.Update(); + CECHostPlayer host = GetHostPlayer(); + if (host != null && host.GetTeam() != null) + { + UpdateTeamInfo(); + } + } + + private void OnDestroy() + { + ClearAllTeamMates(); + btnClose.onClick.RemoveListener(OnClickClose); + } + + public override void OnEnable() + { + btnClose.onClick.AddListener(OnClickClose); + } + + private void OnClickClose() + { + Show(false); + } } } diff --git a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMate.cs b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMate.cs index 00b749b19b..ab5a126678 100644 --- a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMate.cs +++ b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMate.cs @@ -1,15 +1,121 @@ // Placeholder for CDlgTeamMate. Minimal script for prefabs (e.g. Teamate.prefab) that reference it; real UI later. +using System.Collections.Generic; +using BrewMonster; +using BrewMonster.Managers; +using BrewMonster.Network; +using BrewMonster.Scripts; using UnityEngine; +using UnityEngine.UI; +using TMPro; +using System; namespace BrewMonster.UI { public class DlgTeamMate : AUIDialog { + private const int CDLGTEAMMATE_ST_MAX = 10; + + [Header("Display Team List")] + [SerializeField] private Image imgProf; + [SerializeField] private TMP_Text m_pTxtCharName; + [SerializeField] private TMP_Text m_pTxtLv; + [SerializeField] private Image m_PrgsHP; + [SerializeField] private Image m_PrgsMP; + [SerializeField] private Image m_pImgForce; + + [Header("Status Icons")] + [SerializeField] private Image[]m_pImgST = new Image[CDLGTEAMMATE_ST_MAX]; + + private int m_idMember; + private int m_lastForceID; + public override void Awake() { base.Awake(); // Registration as Win_TeamMate1…10 can be done when real implementation is added } + + public void UpdateMemberDisplay(CECTeamMember member) + { + if (member == null) + { + Show(false); + return; + } + + m_idMember = member.GetCharacterID(); + Show(true); + + if (m_pTxtCharName != null) + { + m_pTxtCharName.text = member.GetName(); + } + + if (m_pTxtLv != null) + { + m_pTxtLv.text = $"Cấp {member.GetLevel()}"; + } + + if (m_PrgsHP != null) + { + int maxHP = member.GetMaxHP(); + int curHP = member.GetCurHP(); + float hpPercent = maxHP > 0 ? (float)curHP / maxHP : 0f; + m_PrgsHP.fillAmount = Mathf.Clamp01(hpPercent); + } + + if (m_PrgsMP != null) + { + int maxMP = member.GetMaxMP(); + int curMP = member.GetCurMP(); + float mpPercent = maxMP > 0 ? (float)curMP / maxMP : 0f; + m_PrgsMP.fillAmount = Mathf.Clamp01(mpPercent); + } + + UpdateProfessionIcon(member.GetProfession()); + + RefreshForceStatus(member); + } + + private void UpdateProfessionIcon(int profession) + { + if(imgProf == null) return; + + var gameRun = EC_Game.GetGameRun(); + if(gameRun == null) return; + + imgProf.gameObject.SetActive(profession >= 0); + } + + public void RefreshForceStatus(CECTeamMember member) + { + if(m_pImgForce == null) return; + + int forceId = member != null ? member.GetForce() : 0; + + if (forceId == m_lastForceID) + return; + + m_lastForceID = forceId; + + if (forceId == 0) + { + m_pImgForce.sprite = null; + m_pImgForce.gameObject.SetActive(false); + return; + } + + var host = GetHostPlayer(); + if (host == null) + return; + + m_pImgForce.gameObject.SetActive(true); + } + + internal void SetMemberID(int v) + { + m_idMember = v; + } } } diff --git a/Assets/Scripts/CECHostPlayer.cs b/Assets/Scripts/CECHostPlayer.cs index 676ffe46a1..e876d7e71d 100644 --- a/Assets/Scripts/CECHostPlayer.cs +++ b/Assets/Scripts/CECHostPlayer.cs @@ -654,7 +654,7 @@ namespace BrewMonster { CECUIManager.Instance?.ShowMessageBox( title: "", - message: "You have received a duel request. Do you accept?", + message: "Bạn vừa nhận được lời thách đấu. Bạn có chấp nhận không?", messageBoxType: MessageBoxType.BothYesNoButton, onClickedYes: () => UnityGameSession.c2s_CmdDuelReply(true, idOpp), onClickedNo: () => UnityGameSession.c2s_CmdDuelReply(false, idOpp)); @@ -710,7 +710,7 @@ namespace BrewMonster int seqCapture = team_seq; CECUIManager.Instance?.ShowMessageBox( title: "", - message: "You have received a team invite. Do you accept?", + message: "Bạn đã nhận được lời mời tham gia tổ đội. Bạn có chấp nhận không?", messageBoxType: MessageBoxType.BothYesNoButton, onClickedYes: () => UnityGameSession.c2s_CmdTeamAgreeInvite(idLeader, seqCapture), onClickedNo: () => UnityGameSession.c2s_CmdTeamRejectInvite(idLeader)); From 3a77c2e073fbd786b9c85355e6ed2f3d3f2e80c0 Mon Sep 17 00:00:00 2001 From: Chomper9981 Date: Tue, 3 Mar 2026 17:33:29 +0700 Subject: [PATCH 02/10] Add missing Skill Stubs --- .../Scripts/Skills/SkillStubs1/skill1.cs | 3 + .../Scripts/Skills/SkillStubs10.meta | 8 + .../Skills/SkillStubs10/SkillStubs10.cs | 525 ++++++++++++++++++ .../Skills/SkillStubs10/SkillStubs10.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2172.cs | 189 +++++++ .../Skills/SkillStubs10/skill2172.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2173.cs | 190 +++++++ .../Skills/SkillStubs10/skill2173.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2174.cs | 189 +++++++ .../Skills/SkillStubs10/skill2174.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2175.cs | 189 +++++++ .../Skills/SkillStubs10/skill2175.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2176.cs | 179 ++++++ .../Skills/SkillStubs10/skill2176.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2177.cs | 184 ++++++ .../Skills/SkillStubs10/skill2177.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2178.cs | 189 +++++++ .../Skills/SkillStubs10/skill2178.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2179.cs | 185 ++++++ .../Skills/SkillStubs10/skill2179.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2180.cs | 179 ++++++ .../Skills/SkillStubs10/skill2180.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2181.cs | 179 ++++++ .../Skills/SkillStubs10/skill2181.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2182.cs | 162 ++++++ .../Skills/SkillStubs10/skill2182.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2183.cs | 187 +++++++ .../Skills/SkillStubs10/skill2183.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2184.cs | 191 +++++++ .../Skills/SkillStubs10/skill2184.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2185.cs | 190 +++++++ .../Skills/SkillStubs10/skill2185.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2186.cs | 157 ++++++ .../Skills/SkillStubs10/skill2186.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2187.cs | 197 +++++++ .../Skills/SkillStubs10/skill2187.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2188.cs | 187 +++++++ .../Skills/SkillStubs10/skill2188.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2189.cs | 188 +++++++ .../Skills/SkillStubs10/skill2189.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2190.cs | 188 +++++++ .../Skills/SkillStubs10/skill2190.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2191.cs | 180 ++++++ .../Skills/SkillStubs10/skill2191.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2192.cs | 179 ++++++ .../Skills/SkillStubs10/skill2192.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2193.cs | 178 ++++++ .../Skills/SkillStubs10/skill2193.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2194.cs | 186 +++++++ .../Skills/SkillStubs10/skill2194.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2195.cs | 178 ++++++ .../Skills/SkillStubs10/skill2195.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2196.cs | 178 ++++++ .../Skills/SkillStubs10/skill2196.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2197.cs | 179 ++++++ .../Skills/SkillStubs10/skill2197.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2198.cs | 186 +++++++ .../Skills/SkillStubs10/skill2198.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2199.cs | 159 ++++++ .../Skills/SkillStubs10/skill2199.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2200.cs | 159 ++++++ .../Skills/SkillStubs10/skill2200.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2201.cs | 187 +++++++ .../Skills/SkillStubs10/skill2201.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2205.cs | 187 +++++++ .../Skills/SkillStubs10/skill2205.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2266.cs | 188 +++++++ .../Skills/SkillStubs10/skill2266.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2267.cs | 132 +++++ .../Skills/SkillStubs10/skill2267.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2268.cs | 132 +++++ .../Skills/SkillStubs10/skill2268.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2269.cs | 154 +++++ .../Skills/SkillStubs10/skill2269.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2270.cs | 151 +++++ .../Skills/SkillStubs10/skill2270.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2273.cs | 151 +++++ .../Skills/SkillStubs10/skill2273.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2274.cs | 186 +++++++ .../Skills/SkillStubs10/skill2274.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2275.cs | 189 +++++++ .../Skills/SkillStubs10/skill2275.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2291.cs | 187 +++++++ .../Skills/SkillStubs10/skill2291.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2318.cs | 152 +++++ .../Skills/SkillStubs10/skill2318.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2319.cs | 160 ++++++ .../Skills/SkillStubs10/skill2319.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2320.cs | 185 ++++++ .../Skills/SkillStubs10/skill2320.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2321.cs | 179 ++++++ .../Skills/SkillStubs10/skill2321.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2322.cs | 156 ++++++ .../Skills/SkillStubs10/skill2322.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2323.cs | 192 +++++++ .../Skills/SkillStubs10/skill2323.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2324.cs | 200 +++++++ .../Skills/SkillStubs10/skill2324.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2325.cs | 173 ++++++ .../Skills/SkillStubs10/skill2325.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2326.cs | 191 +++++++ .../Skills/SkillStubs10/skill2326.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2327.cs | 187 +++++++ .../Skills/SkillStubs10/skill2327.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2328.cs | 189 +++++++ .../Skills/SkillStubs10/skill2328.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2347.cs | 188 +++++++ .../Skills/SkillStubs10/skill2347.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2348.cs | 188 +++++++ .../Skills/SkillStubs10/skill2348.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2349.cs | 179 ++++++ .../Skills/SkillStubs10/skill2349.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2350.cs | 179 ++++++ .../Skills/SkillStubs10/skill2350.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2351.cs | 187 +++++++ .../Skills/SkillStubs10/skill2351.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2353.cs | 179 ++++++ .../Skills/SkillStubs10/skill2353.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2376.cs | 188 +++++++ .../Skills/SkillStubs10/skill2376.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2377.cs | 186 +++++++ .../Skills/SkillStubs10/skill2377.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2378.cs | 191 +++++++ .../Skills/SkillStubs10/skill2378.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2379.cs | 188 +++++++ .../Skills/SkillStubs10/skill2379.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2380.cs | 193 +++++++ .../Skills/SkillStubs10/skill2380.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2381.cs | 186 +++++++ .../Skills/SkillStubs10/skill2381.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2382.cs | 199 +++++++ .../Skills/SkillStubs10/skill2382.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2383.cs | 200 +++++++ .../Skills/SkillStubs10/skill2383.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2384.cs | 187 +++++++ .../Skills/SkillStubs10/skill2384.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2385.cs | 179 ++++++ .../Skills/SkillStubs10/skill2385.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2386.cs | 187 +++++++ .../Skills/SkillStubs10/skill2386.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2387.cs | 179 ++++++ .../Skills/SkillStubs10/skill2387.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2388.cs | 179 ++++++ .../Skills/SkillStubs10/skill2388.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2389.cs | 179 ++++++ .../Skills/SkillStubs10/skill2389.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2390.cs | 179 ++++++ .../Skills/SkillStubs10/skill2390.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2391.cs | 179 ++++++ .../Skills/SkillStubs10/skill2391.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2392.cs | 179 ++++++ .../Skills/SkillStubs10/skill2392.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2393.cs | 179 ++++++ .../Skills/SkillStubs10/skill2393.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2394.cs | 179 ++++++ .../Skills/SkillStubs10/skill2394.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2395.cs | 179 ++++++ .../Skills/SkillStubs10/skill2395.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2396.cs | 185 ++++++ .../Skills/SkillStubs10/skill2396.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2397.cs | 179 ++++++ .../Skills/SkillStubs10/skill2397.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2398.cs | 187 +++++++ .../Skills/SkillStubs10/skill2398.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2399.cs | 186 +++++++ .../Skills/SkillStubs10/skill2399.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2400.cs | 186 +++++++ .../Skills/SkillStubs10/skill2400.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2401.cs | 187 +++++++ .../Skills/SkillStubs10/skill2401.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2402.cs | 185 ++++++ .../Skills/SkillStubs10/skill2402.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2403.cs | 160 ++++++ .../Skills/SkillStubs10/skill2403.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2404.cs | 190 +++++++ .../Skills/SkillStubs10/skill2404.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2405.cs | 179 ++++++ .../Skills/SkillStubs10/skill2405.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2406.cs | 190 +++++++ .../Skills/SkillStubs10/skill2406.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2407.cs | 199 +++++++ .../Skills/SkillStubs10/skill2407.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2408.cs | 145 +++++ .../Skills/SkillStubs10/skill2408.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2409.cs | 185 ++++++ .../Skills/SkillStubs10/skill2409.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2410.cs | 188 +++++++ .../Skills/SkillStubs10/skill2410.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2411.cs | 144 +++++ .../Skills/SkillStubs10/skill2411.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2422.cs | 163 ++++++ .../Skills/SkillStubs10/skill2422.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2423.cs | 186 +++++++ .../Skills/SkillStubs10/skill2423.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2424.cs | 162 ++++++ .../Skills/SkillStubs10/skill2424.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2425.cs | 185 ++++++ .../Skills/SkillStubs10/skill2425.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2426.cs | 192 +++++++ .../Skills/SkillStubs10/skill2426.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2427.cs | 187 +++++++ .../Skills/SkillStubs10/skill2427.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2428.cs | 189 +++++++ .../Skills/SkillStubs10/skill2428.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2429.cs | 167 ++++++ .../Skills/SkillStubs10/skill2429.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2430.cs | 151 +++++ .../Skills/SkillStubs10/skill2430.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2431.cs | 194 +++++++ .../Skills/SkillStubs10/skill2431.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2454.cs | 151 +++++ .../Skills/SkillStubs10/skill2454.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2455.cs | 196 +++++++ .../Skills/SkillStubs10/skill2455.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2456.cs | 151 +++++ .../Skills/SkillStubs10/skill2456.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2457.cs | 178 ++++++ .../Skills/SkillStubs10/skill2457.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2458.cs | 189 +++++++ .../Skills/SkillStubs10/skill2458.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2459.cs | 192 +++++++ .../Skills/SkillStubs10/skill2459.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2460.cs | 186 +++++++ .../Skills/SkillStubs10/skill2460.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2461.cs | 188 +++++++ .../Skills/SkillStubs10/skill2461.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2462.cs | 160 ++++++ .../Skills/SkillStubs10/skill2462.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2463.cs | 130 +++++ .../Skills/SkillStubs10/skill2463.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2464.cs | 130 +++++ .../Skills/SkillStubs10/skill2464.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2465.cs | 158 ++++++ .../Skills/SkillStubs10/skill2465.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2466.cs | 158 ++++++ .../Skills/SkillStubs10/skill2466.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2467.cs | 190 +++++++ .../Skills/SkillStubs10/skill2467.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2468.cs | 188 +++++++ .../Skills/SkillStubs10/skill2468.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2469.cs | 188 +++++++ .../Skills/SkillStubs10/skill2469.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2470.cs | 186 +++++++ .../Skills/SkillStubs10/skill2470.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2471.cs | 140 +++++ .../Skills/SkillStubs10/skill2471.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2472.cs | 194 +++++++ .../Skills/SkillStubs10/skill2472.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2473.cs | 122 ++++ .../Skills/SkillStubs10/skill2473.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2474.cs | 186 +++++++ .../Skills/SkillStubs10/skill2474.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2475.cs | 186 +++++++ .../Skills/SkillStubs10/skill2475.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2476.cs | 188 +++++++ .../Skills/SkillStubs10/skill2476.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2479.cs | 185 ++++++ .../Skills/SkillStubs10/skill2479.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2480.cs | 190 +++++++ .../Skills/SkillStubs10/skill2480.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2481.cs | 190 +++++++ .../Skills/SkillStubs10/skill2481.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2482.cs | 187 +++++++ .../Skills/SkillStubs10/skill2482.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2483.cs | 189 +++++++ .../Skills/SkillStubs10/skill2483.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2484.cs | 180 ++++++ .../Skills/SkillStubs10/skill2484.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2485.cs | 169 ++++++ .../Skills/SkillStubs10/skill2485.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2486.cs | 151 +++++ .../Skills/SkillStubs10/skill2486.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2487.cs | 165 ++++++ .../Skills/SkillStubs10/skill2487.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2488.cs | 195 +++++++ .../Skills/SkillStubs10/skill2488.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2489.cs | 196 +++++++ .../Skills/SkillStubs10/skill2489.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2490.cs | 186 +++++++ .../Skills/SkillStubs10/skill2490.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2491.cs | 186 +++++++ .../Skills/SkillStubs10/skill2491.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2492.cs | 160 ++++++ .../Skills/SkillStubs10/skill2492.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2493.cs | 160 ++++++ .../Skills/SkillStubs10/skill2493.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2494.cs | 157 ++++++ .../Skills/SkillStubs10/skill2494.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2495.cs | 157 ++++++ .../Skills/SkillStubs10/skill2495.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2496.cs | 187 +++++++ .../Skills/SkillStubs10/skill2496.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2497.cs | 180 ++++++ .../Skills/SkillStubs10/skill2497.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2498.cs | 187 +++++++ .../Skills/SkillStubs10/skill2498.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2499.cs | 186 +++++++ .../Skills/SkillStubs10/skill2499.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2500.cs | 158 ++++++ .../Skills/SkillStubs10/skill2500.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2501.cs | 180 ++++++ .../Skills/SkillStubs10/skill2501.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2502.cs | 187 +++++++ .../Skills/SkillStubs10/skill2502.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2503.cs | 157 ++++++ .../Skills/SkillStubs10/skill2503.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2504.cs | 193 +++++++ .../Skills/SkillStubs10/skill2504.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2505.cs | 164 ++++++ .../Skills/SkillStubs10/skill2505.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2506.cs | 157 ++++++ .../Skills/SkillStubs10/skill2506.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2507.cs | 185 ++++++ .../Skills/SkillStubs10/skill2507.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2508.cs | 124 +++++ .../Skills/SkillStubs10/skill2508.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2509.cs | 151 +++++ .../Skills/SkillStubs10/skill2509.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2510.cs | 181 ++++++ .../Skills/SkillStubs10/skill2510.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2511.cs | 175 ++++++ .../Skills/SkillStubs10/skill2511.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2512.cs | 196 +++++++ .../Skills/SkillStubs10/skill2512.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2513.cs | 175 ++++++ .../Skills/SkillStubs10/skill2513.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2514.cs | 175 ++++++ .../Skills/SkillStubs10/skill2514.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2515.cs | 175 ++++++ .../Skills/SkillStubs10/skill2515.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2516.cs | 180 ++++++ .../Skills/SkillStubs10/skill2516.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2517.cs | 180 ++++++ .../Skills/SkillStubs10/skill2517.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2518.cs | 180 ++++++ .../Skills/SkillStubs10/skill2518.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2519.cs | 187 +++++++ .../Skills/SkillStubs10/skill2519.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2520.cs | 188 +++++++ .../Skills/SkillStubs10/skill2520.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2521.cs | 163 ++++++ .../Skills/SkillStubs10/skill2521.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2522.cs | 186 +++++++ .../Skills/SkillStubs10/skill2522.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2523.cs | 190 +++++++ .../Skills/SkillStubs10/skill2523.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2524.cs | 178 ++++++ .../Skills/SkillStubs10/skill2524.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2525.cs | 187 +++++++ .../Skills/SkillStubs10/skill2525.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2526.cs | 130 +++++ .../Skills/SkillStubs10/skill2526.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2527.cs | 187 +++++++ .../Skills/SkillStubs10/skill2527.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2528.cs | 159 ++++++ .../Skills/SkillStubs10/skill2528.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2529.cs | 173 ++++++ .../Skills/SkillStubs10/skill2529.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2530.cs | 189 +++++++ .../Skills/SkillStubs10/skill2530.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2531.cs | 181 ++++++ .../Skills/SkillStubs10/skill2531.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2532.cs | 186 +++++++ .../Skills/SkillStubs10/skill2532.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2533.cs | 179 ++++++ .../Skills/SkillStubs10/skill2533.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2534.cs | 162 ++++++ .../Skills/SkillStubs10/skill2534.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2535.cs | 158 ++++++ .../Skills/SkillStubs10/skill2535.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2536.cs | 163 ++++++ .../Skills/SkillStubs10/skill2536.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2537.cs | 190 +++++++ .../Skills/SkillStubs10/skill2537.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2538.cs | 200 +++++++ .../Skills/SkillStubs10/skill2538.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2539.cs | 186 +++++++ .../Skills/SkillStubs10/skill2539.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2540.cs | 186 +++++++ .../Skills/SkillStubs10/skill2540.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2541.cs | 188 +++++++ .../Skills/SkillStubs10/skill2541.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2542.cs | 194 +++++++ .../Skills/SkillStubs10/skill2542.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2597.cs | 188 +++++++ .../Skills/SkillStubs10/skill2597.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2601.cs | 122 ++++ .../Skills/SkillStubs10/skill2601.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2632.cs | 186 +++++++ .../Skills/SkillStubs10/skill2632.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2633.cs | 192 +++++++ .../Skills/SkillStubs10/skill2633.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2634.cs | 157 ++++++ .../Skills/SkillStubs10/skill2634.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2635.cs | 186 +++++++ .../Skills/SkillStubs10/skill2635.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2636.cs | 166 ++++++ .../Skills/SkillStubs10/skill2636.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2637.cs | 166 ++++++ .../Skills/SkillStubs10/skill2637.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2638.cs | 195 +++++++ .../Skills/SkillStubs10/skill2638.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2639.cs | 205 +++++++ .../Skills/SkillStubs10/skill2639.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2640.cs | 201 +++++++ .../Skills/SkillStubs10/skill2640.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2641.cs | 194 +++++++ .../Skills/SkillStubs10/skill2641.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2642.cs | 200 +++++++ .../Skills/SkillStubs10/skill2642.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2643.cs | 209 +++++++ .../Skills/SkillStubs10/skill2643.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2644.cs | 198 +++++++ .../Skills/SkillStubs10/skill2644.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2645.cs | 197 +++++++ .../Skills/SkillStubs10/skill2645.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2646.cs | 194 +++++++ .../Skills/SkillStubs10/skill2646.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2647.cs | 201 +++++++ .../Skills/SkillStubs10/skill2647.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2648.cs | 188 +++++++ .../Skills/SkillStubs10/skill2648.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2649.cs | 163 ++++++ .../Skills/SkillStubs10/skill2649.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2650.cs | 157 ++++++ .../Skills/SkillStubs10/skill2650.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2651.cs | 157 ++++++ .../Skills/SkillStubs10/skill2651.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2652.cs | 178 ++++++ .../Skills/SkillStubs10/skill2652.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2653.cs | 198 +++++++ .../Skills/SkillStubs10/skill2653.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2654.cs | 183 ++++++ .../Skills/SkillStubs10/skill2654.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2655.cs | 156 ++++++ .../Skills/SkillStubs10/skill2655.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2656.cs | 156 ++++++ .../Skills/SkillStubs10/skill2656.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2657.cs | 168 ++++++ .../Skills/SkillStubs10/skill2657.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2658.cs | 186 +++++++ .../Skills/SkillStubs10/skill2658.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2659.cs | 185 ++++++ .../Skills/SkillStubs10/skill2659.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2660.cs | 186 +++++++ .../Skills/SkillStubs10/skill2660.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2661.cs | 120 ++++ .../Skills/SkillStubs10/skill2661.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2662.cs | 120 ++++ .../Skills/SkillStubs10/skill2662.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2663.cs | 120 ++++ .../Skills/SkillStubs10/skill2663.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2664.cs | 193 +++++++ .../Skills/SkillStubs10/skill2664.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2665.cs | 189 +++++++ .../Skills/SkillStubs10/skill2665.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2666.cs | 187 +++++++ .../Skills/SkillStubs10/skill2666.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2667.cs | 194 +++++++ .../Skills/SkillStubs10/skill2667.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2668.cs | 157 ++++++ .../Skills/SkillStubs10/skill2668.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2669.cs | 156 ++++++ .../Skills/SkillStubs10/skill2669.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2670.cs | 162 ++++++ .../Skills/SkillStubs10/skill2670.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2671.cs | 160 ++++++ .../Skills/SkillStubs10/skill2671.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2672.cs | 186 +++++++ .../Skills/SkillStubs10/skill2672.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2681.cs | 188 +++++++ .../Skills/SkillStubs10/skill2681.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2682.cs | 186 +++++++ .../Skills/SkillStubs10/skill2682.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2683.cs | 186 +++++++ .../Skills/SkillStubs10/skill2683.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2684.cs | 184 ++++++ .../Skills/SkillStubs10/skill2684.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2685.cs | 184 ++++++ .../Skills/SkillStubs10/skill2685.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2686.cs | 185 ++++++ .../Skills/SkillStubs10/skill2686.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2692.cs | 190 +++++++ .../Skills/SkillStubs10/skill2692.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2693.cs | 187 +++++++ .../Skills/SkillStubs10/skill2693.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2694.cs | 186 +++++++ .../Skills/SkillStubs10/skill2694.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2695.cs | 157 ++++++ .../Skills/SkillStubs10/skill2695.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2696.cs | 160 ++++++ .../Skills/SkillStubs10/skill2696.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2697.cs | 186 +++++++ .../Skills/SkillStubs10/skill2697.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2698.cs | 132 +++++ .../Skills/SkillStubs10/skill2698.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2699.cs | 132 +++++ .../Skills/SkillStubs10/skill2699.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2700.cs | 166 ++++++ .../Skills/SkillStubs10/skill2700.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2701.cs | 189 +++++++ .../Skills/SkillStubs10/skill2701.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2702.cs | 185 ++++++ .../Skills/SkillStubs10/skill2702.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2703.cs | 185 ++++++ .../Skills/SkillStubs10/skill2703.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2704.cs | 186 +++++++ .../Skills/SkillStubs10/skill2704.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2705.cs | 198 +++++++ .../Skills/SkillStubs10/skill2705.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2706.cs | 196 +++++++ .../Skills/SkillStubs10/skill2706.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2707.cs | 187 +++++++ .../Skills/SkillStubs10/skill2707.cs.meta | 2 + .../Scripts/Skills/SkillStubs10/skill2708.cs | 159 ++++++ .../Skills/SkillStubs10/skill2708.cs.meta | 2 + .../Scripts/Skills/SkillStubs11/skill1000.cs | 29 +- .../Scripts/Skills/SkillStubs11/skill1001.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill1002.cs | 24 +- .../Scripts/Skills/SkillStubs11/skill1003.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill1004.cs | 11 +- .../Scripts/Skills/SkillStubs11/skill1005.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill1006.cs | 24 +- .../Scripts/Skills/SkillStubs11/skill1007.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill1008.cs | 29 +- .../Scripts/Skills/SkillStubs11/skill1009.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill1010.cs | 6 +- .../Scripts/Skills/SkillStubs11/skill1011.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill1012.cs | 23 +- .../Scripts/Skills/SkillStubs11/skill1013.cs | 13 +- .../Scripts/Skills/SkillStubs11/skill1014.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill1015.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill1016.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill1017.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill1018.cs | 35 +- .../Scripts/Skills/SkillStubs11/skill1053.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill1091.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill1092.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill1168.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill1169.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill1170.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill1171.cs | 24 +- .../Scripts/Skills/SkillStubs11/skill1172.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill1173.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill1174.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill1175.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill1176.cs | 25 +- .../Scripts/Skills/SkillStubs11/skill140.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill1402.cs | 5 +- .../Scripts/Skills/SkillStubs11/skill141.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill142.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill143.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill144.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill146.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill1568.cs | 24 +- .../Scripts/Skills/SkillStubs11/skill1569.cs | 24 +- .../Scripts/Skills/SkillStubs11/skill1570.cs | 25 +- .../Scripts/Skills/SkillStubs11/skill1571.cs | 24 +- .../Scripts/Skills/SkillStubs11/skill1572.cs | 24 +- .../Scripts/Skills/SkillStubs11/skill1573.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill1574.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill1575.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill1576.cs | 24 +- .../Scripts/Skills/SkillStubs11/skill1577.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill158.cs | 5 +- .../Scripts/Skills/SkillStubs11/skill159.cs | 5 +- .../Scripts/Skills/SkillStubs11/skill160.cs | 5 +- .../Scripts/Skills/SkillStubs11/skill161.cs | 5 +- .../Scripts/Skills/SkillStubs11/skill164.cs | 5 +- .../Scripts/Skills/SkillStubs11/skill165.cs | 6 +- .../Scripts/Skills/SkillStubs11/skill167.cs | 2 +- .../Scripts/Skills/SkillStubs11/skill1722.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill1742.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill1771.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill1772.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill1773.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill1774.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill1775.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill1916.cs | 27 +- .../Scripts/Skills/SkillStubs11/skill1917.cs | 10 +- .../Scripts/Skills/SkillStubs11/skill1918.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill196.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill197.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill198.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill199.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill200.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill201.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill202.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill203.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill204.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill205.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill206.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill207.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill2073.cs | 27 +- .../Scripts/Skills/SkillStubs11/skill208.cs | 25 +- .../Scripts/Skills/SkillStubs11/skill209.cs | 24 +- .../Scripts/Skills/SkillStubs11/skill210.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill211.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill212.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill213.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill214.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill215.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill216.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill217.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill218.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill219.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill220.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill2202.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2203.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2204.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill221.cs | 25 +- .../Scripts/Skills/SkillStubs11/skill222.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill223.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill224.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill225.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2271.cs | 23 +- .../Scripts/Skills/SkillStubs11/skill2272.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2276.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill2277.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill2278.cs | 26 +- .../Scripts/Skills/SkillStubs11/skill2279.cs | 8 +- .../Scripts/Skills/SkillStubs11/skill2280.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill2281.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill2282.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill2283.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill2284.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill2285.cs | 13 +- .../Scripts/Skills/SkillStubs11/skill2286.cs | 8 +- .../Scripts/Skills/SkillStubs11/skill2287.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill2288.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill2289.cs | 24 +- .../Scripts/Skills/SkillStubs11/skill2290.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill2292.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill2293.cs | 12 +- .../Scripts/Skills/SkillStubs11/skill2294.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2295.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill2296.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill2297.cs | 12 +- .../Scripts/Skills/SkillStubs11/skill2298.cs | 9 +- .../Scripts/Skills/SkillStubs11/skill2299.cs | 11 +- .../Scripts/Skills/SkillStubs11/skill2300.cs | 13 +- .../Scripts/Skills/SkillStubs11/skill2301.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill2302.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2303.cs | 10 +- .../Scripts/Skills/SkillStubs11/skill2304.cs | 11 +- .../Scripts/Skills/SkillStubs11/skill2305.cs | 12 +- .../Scripts/Skills/SkillStubs11/skill2306.cs | 13 +- .../Scripts/Skills/SkillStubs11/skill2307.cs | 2 +- .../Scripts/Skills/SkillStubs11/skill2308.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill2309.cs | 11 +- .../Scripts/Skills/SkillStubs11/skill2310.cs | 27 +- .../Scripts/Skills/SkillStubs11/skill2311.cs | 8 +- .../Scripts/Skills/SkillStubs11/skill2313.cs | 6 +- .../Scripts/Skills/SkillStubs11/skill2314.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill2315.cs | 13 +- .../Scripts/Skills/SkillStubs11/skill2316.cs | 10 +- .../Scripts/Skills/SkillStubs11/skill2317.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2329.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2330.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2331.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2332.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2333.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2334.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2335.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill2336.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill2337.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2338.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2339.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2340.cs | 8 + .../Scripts/Skills/SkillStubs11/skill2341.cs | 8 + .../Scripts/Skills/SkillStubs11/skill2342.cs | 8 + .../Scripts/Skills/SkillStubs11/skill2343.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2344.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2345.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2346.cs | 23 +- .../Scripts/Skills/SkillStubs11/skill2354.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill2355.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill2356.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill2357.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill2358.cs | 25 +- .../Scripts/Skills/SkillStubs11/skill2359.cs | 25 +- .../Scripts/Skills/SkillStubs11/skill2360.cs | 25 +- .../Scripts/Skills/SkillStubs11/skill2361.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2362.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2363.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2364.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill2365.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill2443.cs | 8 +- .../Scripts/Skills/SkillStubs11/skill2444.cs | 8 +- .../Scripts/Skills/SkillStubs11/skill2446.cs | 9 +- .../Scripts/Skills/SkillStubs11/skill2477.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2478.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill2543.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill2544.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill2598.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill2600.cs | 8 + .../Scripts/Skills/SkillStubs11/skill2709.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill2710.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill2711.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill2712.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill2713.cs | 2 +- .../Scripts/Skills/SkillStubs11/skill2714.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill2715.cs | 11 +- .../Scripts/Skills/SkillStubs11/skill2716.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill2717.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill2718.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill2719.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill2720.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2721.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill2722.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill2723.cs | 8 +- .../Scripts/Skills/SkillStubs11/skill2725.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill2836.cs | 25 +- .../Scripts/Skills/SkillStubs11/skill2837.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill2838.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill2839.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill2840.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill2861.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill2864.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill2865.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill360.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill361.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill690.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill809.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill810.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill811.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill812.cs | 16 +- .../Scripts/Skills/SkillStubs11/skill813.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill825.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill958.cs | 13 +- .../Scripts/Skills/SkillStubs11/skill959.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill960.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill961.cs | 17 +- .../Scripts/Skills/SkillStubs11/skill962.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill963.cs | 27 +- .../Scripts/Skills/SkillStubs11/skill964.cs | 29 +- .../Scripts/Skills/SkillStubs11/skill965.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill966.cs | 10 +- .../Scripts/Skills/SkillStubs11/skill967.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill968.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill969.cs | 36 +- .../Scripts/Skills/SkillStubs11/skill970.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill971.cs | 25 +- .../Scripts/Skills/SkillStubs11/skill972.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill973.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill974.cs | 22 +- .../Scripts/Skills/SkillStubs11/skill975.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill976.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill977.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill978.cs | 25 +- .../Scripts/Skills/SkillStubs11/skill979.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill980.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill981.cs | 26 +- .../Scripts/Skills/SkillStubs11/skill982.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill983.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill984.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill985.cs | 28 +- .../Scripts/Skills/SkillStubs11/skill986.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill987.cs | 23 +- .../Scripts/Skills/SkillStubs11/skill988.cs | 18 +- .../Scripts/Skills/SkillStubs11/skill989.cs | 27 +- .../Scripts/Skills/SkillStubs11/skill990.cs | 21 +- .../Scripts/Skills/SkillStubs11/skill991.cs | 15 +- .../Scripts/Skills/SkillStubs11/skill992.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill993.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill994.cs | 9 +- .../Scripts/Skills/SkillStubs11/skill995.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill996.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill997.cs | 20 +- .../Scripts/Skills/SkillStubs11/skill998.cs | 19 +- .../Scripts/Skills/SkillStubs11/skill999.cs | 10 +- .../Scripts/Skills/SkillStubs12.meta | 8 + .../Skills/SkillStubs12/SkillStubs12.cs | 83 +++ .../Skills/SkillStubs12/SkillStubs12.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1019.cs | 162 ++++++ .../Skills/SkillStubs12/skill1019.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1020.cs | 155 ++++++ .../Skills/SkillStubs12/skill1020.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1021.cs | 161 ++++++ .../Skills/SkillStubs12/skill1021.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1022.cs | 154 +++++ .../Skills/SkillStubs12/skill1022.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1023.cs | 159 ++++++ .../Skills/SkillStubs12/skill1023.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1024.cs | 156 ++++++ .../Skills/SkillStubs12/skill1024.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1025.cs | 155 ++++++ .../Skills/SkillStubs12/skill1025.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1026.cs | 152 +++++ .../Skills/SkillStubs12/skill1026.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1027.cs | 153 +++++ .../Skills/SkillStubs12/skill1027.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1028.cs | 152 +++++ .../Skills/SkillStubs12/skill1028.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1029.cs | 148 +++++ .../Skills/SkillStubs12/skill1029.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1030.cs | 167 ++++++ .../Skills/SkillStubs12/skill1030.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1031.cs | 154 +++++ .../Skills/SkillStubs12/skill1031.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1032.cs | 161 ++++++ .../Skills/SkillStubs12/skill1032.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1033.cs | 170 ++++++ .../Skills/SkillStubs12/skill1033.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1034.cs | 165 ++++++ .../Skills/SkillStubs12/skill1034.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1035.cs | 154 +++++ .../Skills/SkillStubs12/skill1035.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1036.cs | 162 ++++++ .../Skills/SkillStubs12/skill1036.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1037.cs | 174 ++++++ .../Skills/SkillStubs12/skill1037.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1038.cs | 157 ++++++ .../Skills/SkillStubs12/skill1038.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1039.cs | 157 ++++++ .../Skills/SkillStubs12/skill1039.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1040.cs | 155 ++++++ .../Skills/SkillStubs12/skill1040.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1041.cs | 157 ++++++ .../Skills/SkillStubs12/skill1041.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1042.cs | 166 ++++++ .../Skills/SkillStubs12/skill1042.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1043.cs | 155 ++++++ .../Skills/SkillStubs12/skill1043.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1044.cs | 155 ++++++ .../Skills/SkillStubs12/skill1044.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1045.cs | 154 +++++ .../Skills/SkillStubs12/skill1045.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1046.cs | 157 ++++++ .../Skills/SkillStubs12/skill1046.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1047.cs | 154 +++++ .../Skills/SkillStubs12/skill1047.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1048.cs | 157 ++++++ .../Skills/SkillStubs12/skill1048.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1049.cs | 153 +++++ .../Skills/SkillStubs12/skill1049.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1050.cs | 162 ++++++ .../Skills/SkillStubs12/skill1050.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1051.cs | 155 ++++++ .../Skills/SkillStubs12/skill1051.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1052.cs | 155 ++++++ .../Skills/SkillStubs12/skill1052.cs.meta | 2 + .../Scripts/Skills/SkillStubs12/skill1084.cs | 146 +++++ .../Skills/SkillStubs12/skill1084.cs.meta | 2 + .../Scripts/Skills/SkillStubs2.meta | 8 + .../Scripts/Skills/SkillStubs2/SkillStubs2.cs | 525 ++++++++++++++++++ .../Skills/SkillStubs2/SkillStubs2.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill102.cs | 187 +++++++ .../Skills/SkillStubs2/skill102.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill103.cs | 188 +++++++ .../Skills/SkillStubs2/skill103.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill104.cs | 194 +++++++ .../Skills/SkillStubs2/skill104.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill105.cs | 195 +++++++ .../Skills/SkillStubs2/skill105.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill106.cs | 195 +++++++ .../Skills/SkillStubs2/skill106.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill107.cs | 194 +++++++ .../Skills/SkillStubs2/skill107.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill108.cs | 195 +++++++ .../Skills/SkillStubs2/skill108.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill109.cs | 102 ++++ .../Skills/SkillStubs2/skill109.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill110.cs | 124 +++++ .../Skills/SkillStubs2/skill110.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1100.cs | 194 +++++++ .../Skills/SkillStubs2/skill1100.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1101.cs | 194 +++++++ .../Skills/SkillStubs2/skill1101.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1102.cs | 194 +++++++ .../Skills/SkillStubs2/skill1102.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1103.cs | 194 +++++++ .../Skills/SkillStubs2/skill1103.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1104.cs | 193 +++++++ .../Skills/SkillStubs2/skill1104.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1105.cs | 193 +++++++ .../Skills/SkillStubs2/skill1105.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1106.cs | 191 +++++++ .../Skills/SkillStubs2/skill1106.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1107.cs | 193 +++++++ .../Skills/SkillStubs2/skill1107.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1108.cs | 192 +++++++ .../Skills/SkillStubs2/skill1108.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1109.cs | 192 +++++++ .../Skills/SkillStubs2/skill1109.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill111.cs | 193 +++++++ .../Skills/SkillStubs2/skill111.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill112.cs | 157 ++++++ .../Skills/SkillStubs2/skill112.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1125.cs | 187 +++++++ .../Skills/SkillStubs2/skill1125.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1126.cs | 195 +++++++ .../Skills/SkillStubs2/skill1126.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1127.cs | 195 +++++++ .../Skills/SkillStubs2/skill1127.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1128.cs | 194 +++++++ .../Skills/SkillStubs2/skill1128.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1129.cs | 193 +++++++ .../Skills/SkillStubs2/skill1129.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1130.cs | 196 +++++++ .../Skills/SkillStubs2/skill1130.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1131.cs | 194 +++++++ .../Skills/SkillStubs2/skill1131.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1132.cs | 195 +++++++ .../Skills/SkillStubs2/skill1132.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1133.cs | 194 +++++++ .../Skills/SkillStubs2/skill1133.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1134.cs | 196 +++++++ .../Skills/SkillStubs2/skill1134.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1135.cs | 192 +++++++ .../Skills/SkillStubs2/skill1135.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1136.cs | 196 +++++++ .../Skills/SkillStubs2/skill1136.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1137.cs | 172 ++++++ .../Skills/SkillStubs2/skill1137.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1139.cs | 173 ++++++ .../Skills/SkillStubs2/skill1139.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1140.cs | 197 +++++++ .../Skills/SkillStubs2/skill1140.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1141.cs | 193 +++++++ .../Skills/SkillStubs2/skill1141.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1146.cs | 121 ++++ .../Skills/SkillStubs2/skill1146.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1147.cs | 121 ++++ .../Skills/SkillStubs2/skill1147.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1149.cs | 91 +++ .../Skills/SkillStubs2/skill1149.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1150.cs | 101 ++++ .../Skills/SkillStubs2/skill1150.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1151.cs | 200 +++++++ .../Skills/SkillStubs2/skill1151.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1152.cs | 188 +++++++ .../Skills/SkillStubs2/skill1152.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1153.cs | 97 ++++ .../Skills/SkillStubs2/skill1153.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1184.cs | 101 ++++ .../Skills/SkillStubs2/skill1184.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1185.cs | 101 ++++ .../Skills/SkillStubs2/skill1185.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1186.cs | 175 ++++++ .../Skills/SkillStubs2/skill1186.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1187.cs | 178 ++++++ .../Skills/SkillStubs2/skill1187.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1198.cs | 179 ++++++ .../Skills/SkillStubs2/skill1198.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1199.cs | 179 ++++++ .../Skills/SkillStubs2/skill1199.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill12.cs | 187 +++++++ .../Skills/SkillStubs2/skill12.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1204.cs | 198 +++++++ .../Skills/SkillStubs2/skill1204.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1205.cs | 198 +++++++ .../Skills/SkillStubs2/skill1205.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1206.cs | 197 +++++++ .../Skills/SkillStubs2/skill1206.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1207.cs | 202 +++++++ .../Skills/SkillStubs2/skill1207.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1208.cs | 197 +++++++ .../Skills/SkillStubs2/skill1208.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1209.cs | 197 +++++++ .../Skills/SkillStubs2/skill1209.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1210.cs | 197 +++++++ .../Skills/SkillStubs2/skill1210.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1211.cs | 197 +++++++ .../Skills/SkillStubs2/skill1211.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1212.cs | 200 +++++++ .../Skills/SkillStubs2/skill1212.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1213.cs | 197 +++++++ .../Skills/SkillStubs2/skill1213.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1214.cs | 197 +++++++ .../Skills/SkillStubs2/skill1214.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1215.cs | 197 +++++++ .../Skills/SkillStubs2/skill1215.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1216.cs | 196 +++++++ .../Skills/SkillStubs2/skill1216.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1217.cs | 196 +++++++ .../Skills/SkillStubs2/skill1217.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1218.cs | 196 +++++++ .../Skills/SkillStubs2/skill1218.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1219.cs | 196 +++++++ .../Skills/SkillStubs2/skill1219.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1220.cs | 194 +++++++ .../Skills/SkillStubs2/skill1220.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1221.cs | 194 +++++++ .../Skills/SkillStubs2/skill1221.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1222.cs | 196 +++++++ .../Skills/SkillStubs2/skill1222.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1223.cs | 196 +++++++ .../Skills/SkillStubs2/skill1223.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1224.cs | 195 +++++++ .../Skills/SkillStubs2/skill1224.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1225.cs | 195 +++++++ .../Skills/SkillStubs2/skill1225.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1226.cs | 195 +++++++ .../Skills/SkillStubs2/skill1226.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1227.cs | 199 +++++++ .../Skills/SkillStubs2/skill1227.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1228.cs | 197 +++++++ .../Skills/SkillStubs2/skill1228.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1229.cs | 190 +++++++ .../Skills/SkillStubs2/skill1229.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1230.cs | 198 +++++++ .../Skills/SkillStubs2/skill1230.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1231.cs | 201 +++++++ .../Skills/SkillStubs2/skill1231.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1232.cs | 200 +++++++ .../Skills/SkillStubs2/skill1232.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1233.cs | 200 +++++++ .../Skills/SkillStubs2/skill1233.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1234.cs | 200 +++++++ .../Skills/SkillStubs2/skill1234.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1235.cs | 201 +++++++ .../Skills/SkillStubs2/skill1235.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1236.cs | 196 +++++++ .../Skills/SkillStubs2/skill1236.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1237.cs | 196 +++++++ .../Skills/SkillStubs2/skill1237.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1238.cs | 199 +++++++ .../Skills/SkillStubs2/skill1238.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1239.cs | 207 +++++++ .../Skills/SkillStubs2/skill1239.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1240.cs | 199 +++++++ .../Skills/SkillStubs2/skill1240.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1241.cs | 199 +++++++ .../Skills/SkillStubs2/skill1241.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1242.cs | 198 +++++++ .../Skills/SkillStubs2/skill1242.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1243.cs | 202 +++++++ .../Skills/SkillStubs2/skill1243.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1244.cs | 207 +++++++ .../Skills/SkillStubs2/skill1244.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1245.cs | 197 +++++++ .../Skills/SkillStubs2/skill1245.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1246.cs | 209 +++++++ .../Skills/SkillStubs2/skill1246.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1247.cs | 199 +++++++ .../Skills/SkillStubs2/skill1247.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1248.cs | 197 +++++++ .../Skills/SkillStubs2/skill1248.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1249.cs | 195 +++++++ .../Skills/SkillStubs2/skill1249.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1250.cs | 169 ++++++ .../Skills/SkillStubs2/skill1250.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1251.cs | 169 ++++++ .../Skills/SkillStubs2/skill1251.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1252.cs | 200 +++++++ .../Skills/SkillStubs2/skill1252.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1253.cs | 204 +++++++ .../Skills/SkillStubs2/skill1253.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1254.cs | 196 +++++++ .../Skills/SkillStubs2/skill1254.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1255.cs | 199 +++++++ .../Skills/SkillStubs2/skill1255.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1256.cs | 104 ++++ .../Skills/SkillStubs2/skill1256.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1257.cs | 105 ++++ .../Skills/SkillStubs2/skill1257.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1258.cs | 104 ++++ .../Skills/SkillStubs2/skill1258.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1259.cs | 105 ++++ .../Skills/SkillStubs2/skill1259.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill13.cs | 186 +++++++ .../Skills/SkillStubs2/skill13.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1326.cs | 197 +++++++ .../Skills/SkillStubs2/skill1326.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1327.cs | 202 +++++++ .../Skills/SkillStubs2/skill1327.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill14.cs | 90 +++ .../Skills/SkillStubs2/skill14.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill149.cs | 197 +++++++ .../Skills/SkillStubs2/skill149.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill150.cs | 200 +++++++ .../Skills/SkillStubs2/skill150.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill151.cs | 200 +++++++ .../Skills/SkillStubs2/skill151.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill152.cs | 196 +++++++ .../Skills/SkillStubs2/skill152.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill153.cs | 204 +++++++ .../Skills/SkillStubs2/skill153.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill154.cs | 153 +++++ .../Skills/SkillStubs2/skill154.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill155.cs | 164 ++++++ .../Skills/SkillStubs2/skill155.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill156.cs | 168 ++++++ .../Skills/SkillStubs2/skill156.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill162.cs | 101 ++++ .../Skills/SkillStubs2/skill162.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1820.cs | 200 +++++++ .../Skills/SkillStubs2/skill1820.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1821.cs | 166 ++++++ .../Skills/SkillStubs2/skill1821.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1822.cs | 195 +++++++ .../Skills/SkillStubs2/skill1822.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1823.cs | 165 ++++++ .../Skills/SkillStubs2/skill1823.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1824.cs | 158 ++++++ .../Skills/SkillStubs2/skill1824.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1825.cs | 201 +++++++ .../Skills/SkillStubs2/skill1825.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1826.cs | 206 +++++++ .../Skills/SkillStubs2/skill1826.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1827.cs | 198 +++++++ .../Skills/SkillStubs2/skill1827.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1828.cs | 179 ++++++ .../Skills/SkillStubs2/skill1828.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1829.cs | 205 +++++++ .../Skills/SkillStubs2/skill1829.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill185.cs | 192 +++++++ .../Skills/SkillStubs2/skill185.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill186.cs | 166 ++++++ .../Skills/SkillStubs2/skill186.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1867.cs | 202 +++++++ .../Skills/SkillStubs2/skill1867.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1875.cs | 195 +++++++ .../Skills/SkillStubs2/skill1875.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1929.cs | 206 +++++++ .../Skills/SkillStubs2/skill1929.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1930.cs | 206 +++++++ .../Skills/SkillStubs2/skill1930.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1984.cs | 164 ++++++ .../Skills/SkillStubs2/skill1984.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1985.cs | 172 ++++++ .../Skills/SkillStubs2/skill1985.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1986.cs | 160 ++++++ .../Skills/SkillStubs2/skill1986.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill1987.cs | 168 ++++++ .../Skills/SkillStubs2/skill1987.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2230.cs | 209 +++++++ .../Skills/SkillStubs2/skill2230.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2231.cs | 214 +++++++ .../Skills/SkillStubs2/skill2231.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2232.cs | 208 +++++++ .../Skills/SkillStubs2/skill2232.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2233.cs | 208 +++++++ .../Skills/SkillStubs2/skill2233.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2234.cs | 200 +++++++ .../Skills/SkillStubs2/skill2234.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2235.cs | 200 +++++++ .../Skills/SkillStubs2/skill2235.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2236.cs | 216 +++++++ .../Skills/SkillStubs2/skill2236.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2237.cs | 216 +++++++ .../Skills/SkillStubs2/skill2237.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2238.cs | 206 +++++++ .../Skills/SkillStubs2/skill2238.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2239.cs | 206 +++++++ .../Skills/SkillStubs2/skill2239.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2240.cs | 198 +++++++ .../Skills/SkillStubs2/skill2240.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2241.cs | 208 +++++++ .../Skills/SkillStubs2/skill2241.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2242.cs | 196 +++++++ .../Skills/SkillStubs2/skill2242.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2243.cs | 196 +++++++ .../Skills/SkillStubs2/skill2243.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2312.cs | 177 ++++++ .../Skills/SkillStubs2/skill2312.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2416.cs | 208 +++++++ .../Skills/SkillStubs2/skill2416.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2417.cs | 201 +++++++ .../Skills/SkillStubs2/skill2417.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2434.cs | 197 +++++++ .../Skills/SkillStubs2/skill2434.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2435.cs | 197 +++++++ .../Skills/SkillStubs2/skill2435.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2436.cs | 203 +++++++ .../Skills/SkillStubs2/skill2436.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2437.cs | 206 +++++++ .../Skills/SkillStubs2/skill2437.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill2546.cs | 88 +++ .../Skills/SkillStubs2/skill2546.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill299.cs | 188 +++++++ .../Skills/SkillStubs2/skill299.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill300.cs | 196 +++++++ .../Skills/SkillStubs2/skill300.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill301.cs | 196 +++++++ .../Skills/SkillStubs2/skill301.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill302.cs | 200 +++++++ .../Skills/SkillStubs2/skill302.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill303.cs | 196 +++++++ .../Skills/SkillStubs2/skill303.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill304.cs | 195 +++++++ .../Skills/SkillStubs2/skill304.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill305.cs | 198 +++++++ .../Skills/SkillStubs2/skill305.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill306.cs | 194 +++++++ .../Skills/SkillStubs2/skill306.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill307.cs | 190 +++++++ .../Skills/SkillStubs2/skill307.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill308.cs | 190 +++++++ .../Skills/SkillStubs2/skill308.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill309.cs | 189 +++++++ .../Skills/SkillStubs2/skill309.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill310.cs | 193 +++++++ .../Skills/SkillStubs2/skill310.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill311.cs | 157 ++++++ .../Skills/SkillStubs2/skill311.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill312.cs | 158 ++++++ .../Skills/SkillStubs2/skill312.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill313.cs | 196 +++++++ .../Skills/SkillStubs2/skill313.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill314.cs | 196 +++++++ .../Skills/SkillStubs2/skill314.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill315.cs | 195 +++++++ .../Skills/SkillStubs2/skill315.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill316.cs | 195 +++++++ .../Skills/SkillStubs2/skill316.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill317.cs | 195 +++++++ .../Skills/SkillStubs2/skill317.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill318.cs | 196 +++++++ .../Skills/SkillStubs2/skill318.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill319.cs | 191 +++++++ .../Skills/SkillStubs2/skill319.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill320.cs | 193 +++++++ .../Skills/SkillStubs2/skill320.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill321.cs | 191 +++++++ .../Skills/SkillStubs2/skill321.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill322.cs | 193 +++++++ .../Skills/SkillStubs2/skill322.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill323.cs | 159 ++++++ .../Skills/SkillStubs2/skill323.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill324.cs | 101 ++++ .../Skills/SkillStubs2/skill324.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill325.cs | 100 ++++ .../Skills/SkillStubs2/skill325.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill326.cs | 177 ++++++ .../Skills/SkillStubs2/skill326.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill327.cs | 178 ++++++ .../Skills/SkillStubs2/skill327.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill328.cs | 191 +++++++ .../Skills/SkillStubs2/skill328.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill329.cs | 192 +++++++ .../Skills/SkillStubs2/skill329.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill330.cs | 192 +++++++ .../Skills/SkillStubs2/skill330.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill368.cs | 178 ++++++ .../Skills/SkillStubs2/skill368.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill369.cs | 178 ++++++ .../Skills/SkillStubs2/skill369.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill634.cs | 198 +++++++ .../Skills/SkillStubs2/skill634.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill635.cs | 199 +++++++ .../Skills/SkillStubs2/skill635.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill636.cs | 204 +++++++ .../Skills/SkillStubs2/skill636.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill637.cs | 204 +++++++ .../Skills/SkillStubs2/skill637.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill638.cs | 207 +++++++ .../Skills/SkillStubs2/skill638.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill639.cs | 207 +++++++ .../Skills/SkillStubs2/skill639.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill640.cs | 214 +++++++ .../Skills/SkillStubs2/skill640.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill641.cs | 217 ++++++++ .../Skills/SkillStubs2/skill641.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill642.cs | 207 +++++++ .../Skills/SkillStubs2/skill642.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill643.cs | 207 +++++++ .../Skills/SkillStubs2/skill643.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill644.cs | 202 +++++++ .../Skills/SkillStubs2/skill644.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill645.cs | 202 +++++++ .../Skills/SkillStubs2/skill645.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill646.cs | 211 +++++++ .../Skills/SkillStubs2/skill646.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill647.cs | 205 +++++++ .../Skills/SkillStubs2/skill647.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill648.cs | 197 +++++++ .../Skills/SkillStubs2/skill648.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill649.cs | 197 +++++++ .../Skills/SkillStubs2/skill649.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill650.cs | 193 +++++++ .../Skills/SkillStubs2/skill650.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill651.cs | 193 +++++++ .../Skills/SkillStubs2/skill651.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill652.cs | 193 +++++++ .../Skills/SkillStubs2/skill652.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill653.cs | 193 +++++++ .../Skills/SkillStubs2/skill653.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill654.cs | 203 +++++++ .../Skills/SkillStubs2/skill654.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill655.cs | 196 +++++++ .../Skills/SkillStubs2/skill655.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill656.cs | 160 ++++++ .../Skills/SkillStubs2/skill656.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill657.cs | 164 ++++++ .../Skills/SkillStubs2/skill657.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill658.cs | 205 +++++++ .../Skills/SkillStubs2/skill658.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill659.cs | 206 +++++++ .../Skills/SkillStubs2/skill659.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill660.cs | 198 +++++++ .../Skills/SkillStubs2/skill660.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill661.cs | 202 +++++++ .../Skills/SkillStubs2/skill661.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill662.cs | 204 +++++++ .../Skills/SkillStubs2/skill662.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill663.cs | 200 +++++++ .../Skills/SkillStubs2/skill663.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill664.cs | 200 +++++++ .../Skills/SkillStubs2/skill664.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill665.cs | 200 +++++++ .../Skills/SkillStubs2/skill665.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill666.cs | 197 +++++++ .../Skills/SkillStubs2/skill666.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill667.cs | 197 +++++++ .../Skills/SkillStubs2/skill667.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill668.cs | 198 +++++++ .../Skills/SkillStubs2/skill668.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill669.cs | 198 +++++++ .../Skills/SkillStubs2/skill669.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill670.cs | 193 +++++++ .../Skills/SkillStubs2/skill670.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill671.cs | 193 +++++++ .../Skills/SkillStubs2/skill671.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill672.cs | 195 +++++++ .../Skills/SkillStubs2/skill672.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill673.cs | 195 +++++++ .../Skills/SkillStubs2/skill673.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill674.cs | 197 +++++++ .../Skills/SkillStubs2/skill674.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill675.cs | 197 +++++++ .../Skills/SkillStubs2/skill675.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill676.cs | 195 +++++++ .../Skills/SkillStubs2/skill676.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill677.cs | 202 +++++++ .../Skills/SkillStubs2/skill677.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill678.cs | 104 ++++ .../Skills/SkillStubs2/skill678.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill679.cs | 105 ++++ .../Skills/SkillStubs2/skill679.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill680.cs | 104 ++++ .../Skills/SkillStubs2/skill680.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill681.cs | 105 ++++ .../Skills/SkillStubs2/skill681.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill762.cs | 127 +++++ .../Skills/SkillStubs2/skill762.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill763.cs | 131 +++++ .../Skills/SkillStubs2/skill763.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill764.cs | 131 +++++ .../Skills/SkillStubs2/skill764.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill82.cs | 192 +++++++ .../Skills/SkillStubs2/skill82.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill83.cs | 191 +++++++ .../Skills/SkillStubs2/skill83.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill910.cs | 169 ++++++ .../Skills/SkillStubs2/skill910.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill911.cs | 169 ++++++ .../Skills/SkillStubs2/skill911.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill912.cs | 211 +++++++ .../Skills/SkillStubs2/skill912.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill913.cs | 202 +++++++ .../Skills/SkillStubs2/skill913.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill914.cs | 206 +++++++ .../Skills/SkillStubs2/skill914.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill927.cs | 200 +++++++ .../Skills/SkillStubs2/skill927.cs.meta | 2 + .../Scripts/Skills/SkillStubs2/skill928.cs | 206 +++++++ .../Skills/SkillStubs2/skill928.cs.meta | 2 + .../Scripts/Skills/SkillStubs3.meta | 8 + .../Scripts/Skills/SkillStubs3/SkillStubs3.cs | 525 ++++++++++++++++++ .../Skills/SkillStubs3/SkillStubs3.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1077.cs | 186 +++++++ .../Skills/SkillStubs3/skill1077.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1080.cs | 101 ++++ .../Skills/SkillStubs3/skill1080.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1081.cs | 101 ++++ .../Skills/SkillStubs3/skill1081.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1082.cs | 101 ++++ .../Skills/SkillStubs3/skill1082.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1083.cs | 194 +++++++ .../Skills/SkillStubs3/skill1083.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1085.cs | 125 +++++ .../Skills/SkillStubs3/skill1085.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1086.cs | 194 +++++++ .../Skills/SkillStubs3/skill1086.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1093.cs | 195 +++++++ .../Skills/SkillStubs3/skill1093.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1094.cs | 191 +++++++ .../Skills/SkillStubs3/skill1094.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1095.cs | 154 +++++ .../Skills/SkillStubs3/skill1095.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1096.cs | 192 +++++++ .../Skills/SkillStubs3/skill1096.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1097.cs | 156 ++++++ .../Skills/SkillStubs3/skill1097.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1098.cs | 192 +++++++ .../Skills/SkillStubs3/skill1098.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1099.cs | 191 +++++++ .../Skills/SkillStubs3/skill1099.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1110.cs | 128 +++++ .../Skills/SkillStubs3/skill1110.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1111.cs | 187 +++++++ .../Skills/SkillStubs3/skill1111.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1112.cs | 194 +++++++ .../Skills/SkillStubs3/skill1112.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1113.cs | 193 +++++++ .../Skills/SkillStubs3/skill1113.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1114.cs | 194 +++++++ .../Skills/SkillStubs3/skill1114.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1115.cs | 196 +++++++ .../Skills/SkillStubs3/skill1115.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1116.cs | 189 +++++++ .../Skills/SkillStubs3/skill1116.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1117.cs | 183 ++++++ .../Skills/SkillStubs3/skill1117.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1118.cs | 187 +++++++ .../Skills/SkillStubs3/skill1118.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1119.cs | 193 +++++++ .../Skills/SkillStubs3/skill1119.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1120.cs | 155 ++++++ .../Skills/SkillStubs3/skill1120.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1121.cs | 195 +++++++ .../Skills/SkillStubs3/skill1121.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1122.cs | 195 +++++++ .../Skills/SkillStubs3/skill1122.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1123.cs | 194 +++++++ .../Skills/SkillStubs3/skill1123.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1124.cs | 173 ++++++ .../Skills/SkillStubs3/skill1124.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1138.cs | 155 ++++++ .../Skills/SkillStubs3/skill1138.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1145.cs | 190 +++++++ .../Skills/SkillStubs3/skill1145.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1148.cs | 194 +++++++ .../Skills/SkillStubs3/skill1148.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1178.cs | 205 +++++++ .../Skills/SkillStubs3/skill1178.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1179.cs | 208 +++++++ .../Skills/SkillStubs3/skill1179.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1180.cs | 194 +++++++ .../Skills/SkillStubs3/skill1180.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1181.cs | 187 +++++++ .../Skills/SkillStubs3/skill1181.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1182.cs | 151 +++++ .../Skills/SkillStubs3/skill1182.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1189.cs | 157 ++++++ .../Skills/SkillStubs3/skill1189.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1196.cs | 179 ++++++ .../Skills/SkillStubs3/skill1196.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1197.cs | 179 ++++++ .../Skills/SkillStubs3/skill1197.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1200.cs | 213 +++++++ .../Skills/SkillStubs3/skill1200.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1201.cs | 205 +++++++ .../Skills/SkillStubs3/skill1201.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1202.cs | 198 +++++++ .../Skills/SkillStubs3/skill1202.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1203.cs | 158 ++++++ .../Skills/SkillStubs3/skill1203.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1260.cs | 189 +++++++ .../Skills/SkillStubs3/skill1260.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1261.cs | 189 +++++++ .../Skills/SkillStubs3/skill1261.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1262.cs | 104 ++++ .../Skills/SkillStubs3/skill1262.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1263.cs | 105 ++++ .../Skills/SkillStubs3/skill1263.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1264.cs | 101 ++++ .../Skills/SkillStubs3/skill1264.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1265.cs | 101 ++++ .../Skills/SkillStubs3/skill1265.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1266.cs | 101 ++++ .../Skills/SkillStubs3/skill1266.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1267.cs | 101 ++++ .../Skills/SkillStubs3/skill1267.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1268.cs | 197 +++++++ .../Skills/SkillStubs3/skill1268.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1269.cs | 197 +++++++ .../Skills/SkillStubs3/skill1269.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1270.cs | 125 +++++ .../Skills/SkillStubs3/skill1270.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1271.cs | 125 +++++ .../Skills/SkillStubs3/skill1271.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1272.cs | 201 +++++++ .../Skills/SkillStubs3/skill1272.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1273.cs | 197 +++++++ .../Skills/SkillStubs3/skill1273.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1274.cs | 198 +++++++ .../Skills/SkillStubs3/skill1274.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1275.cs | 198 +++++++ .../Skills/SkillStubs3/skill1275.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1276.cs | 194 +++++++ .../Skills/SkillStubs3/skill1276.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1277.cs | 202 +++++++ .../Skills/SkillStubs3/skill1277.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1278.cs | 157 ++++++ .../Skills/SkillStubs3/skill1278.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1279.cs | 157 ++++++ .../Skills/SkillStubs3/skill1279.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1280.cs | 195 +++++++ .../Skills/SkillStubs3/skill1280.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1281.cs | 195 +++++++ .../Skills/SkillStubs3/skill1281.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1282.cs | 159 ++++++ .../Skills/SkillStubs3/skill1282.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1283.cs | 159 ++++++ .../Skills/SkillStubs3/skill1283.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1284.cs | 195 +++++++ .../Skills/SkillStubs3/skill1284.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1285.cs | 199 +++++++ .../Skills/SkillStubs3/skill1285.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1286.cs | 194 +++++++ .../Skills/SkillStubs3/skill1286.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1287.cs | 198 +++++++ .../Skills/SkillStubs3/skill1287.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1288.cs | 197 +++++++ .../Skills/SkillStubs3/skill1288.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1289.cs | 190 +++++++ .../Skills/SkillStubs3/skill1289.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1290.cs | 207 +++++++ .../Skills/SkillStubs3/skill1290.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1291.cs | 197 +++++++ .../Skills/SkillStubs3/skill1291.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1292.cs | 196 +++++++ .../Skills/SkillStubs3/skill1292.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1293.cs | 196 +++++++ .../Skills/SkillStubs3/skill1293.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1294.cs | 202 +++++++ .../Skills/SkillStubs3/skill1294.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1295.cs | 202 +++++++ .../Skills/SkillStubs3/skill1295.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1296.cs | 199 +++++++ .../Skills/SkillStubs3/skill1296.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1297.cs | 203 +++++++ .../Skills/SkillStubs3/skill1297.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1298.cs | 198 +++++++ .../Skills/SkillStubs3/skill1298.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1299.cs | 190 +++++++ .../Skills/SkillStubs3/skill1299.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1300.cs | 196 +++++++ .../Skills/SkillStubs3/skill1300.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1301.cs | 196 +++++++ .../Skills/SkillStubs3/skill1301.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1302.cs | 158 ++++++ .../Skills/SkillStubs3/skill1302.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1303.cs | 161 ++++++ .../Skills/SkillStubs3/skill1303.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1304.cs | 207 +++++++ .../Skills/SkillStubs3/skill1304.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1305.cs | 198 +++++++ .../Skills/SkillStubs3/skill1305.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1306.cs | 202 +++++++ .../Skills/SkillStubs3/skill1306.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1307.cs | 198 +++++++ .../Skills/SkillStubs3/skill1307.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1308.cs | 197 +++++++ .../Skills/SkillStubs3/skill1308.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1309.cs | 197 +++++++ .../Skills/SkillStubs3/skill1309.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1310.cs | 176 ++++++ .../Skills/SkillStubs3/skill1310.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1311.cs | 176 ++++++ .../Skills/SkillStubs3/skill1311.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1312.cs | 152 +++++ .../Skills/SkillStubs3/skill1312.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1313.cs | 152 +++++ .../Skills/SkillStubs3/skill1313.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1314.cs | 193 +++++++ .../Skills/SkillStubs3/skill1314.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1315.cs | 193 +++++++ .../Skills/SkillStubs3/skill1315.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1316.cs | 197 +++++++ .../Skills/SkillStubs3/skill1316.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1317.cs | 204 +++++++ .../Skills/SkillStubs3/skill1317.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1318.cs | 197 +++++++ .../Skills/SkillStubs3/skill1318.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1319.cs | 201 +++++++ .../Skills/SkillStubs3/skill1319.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1320.cs | 190 +++++++ .../Skills/SkillStubs3/skill1320.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1321.cs | 190 +++++++ .../Skills/SkillStubs3/skill1321.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1322.cs | 160 ++++++ .../Skills/SkillStubs3/skill1322.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1323.cs | 164 ++++++ .../Skills/SkillStubs3/skill1323.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1324.cs | 198 +++++++ .../Skills/SkillStubs3/skill1324.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1325.cs | 158 ++++++ .../Skills/SkillStubs3/skill1325.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1830.cs | 165 ++++++ .../Skills/SkillStubs3/skill1830.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1831.cs | 198 +++++++ .../Skills/SkillStubs3/skill1831.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1832.cs | 167 ++++++ .../Skills/SkillStubs3/skill1832.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1833.cs | 198 +++++++ .../Skills/SkillStubs3/skill1833.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1834.cs | 194 +++++++ .../Skills/SkillStubs3/skill1834.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1835.cs | 196 +++++++ .../Skills/SkillStubs3/skill1835.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1836.cs | 194 +++++++ .../Skills/SkillStubs3/skill1836.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1837.cs | 200 +++++++ .../Skills/SkillStubs3/skill1837.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1838.cs | 162 ++++++ .../Skills/SkillStubs3/skill1838.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1839.cs | 168 ++++++ .../Skills/SkillStubs3/skill1839.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1876.cs | 167 ++++++ .../Skills/SkillStubs3/skill1876.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1877.cs | 199 +++++++ .../Skills/SkillStubs3/skill1877.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill188.cs | 161 ++++++ .../Skills/SkillStubs3/skill188.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1949.cs | 101 ++++ .../Skills/SkillStubs3/skill1949.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill195.cs | 195 +++++++ .../Skills/SkillStubs3/skill195.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1980.cs | 160 ++++++ .../Skills/SkillStubs3/skill1980.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1981.cs | 164 ++++++ .../Skills/SkillStubs3/skill1981.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1982.cs | 159 ++++++ .../Skills/SkillStubs3/skill1982.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill1983.cs | 163 ++++++ .../Skills/SkillStubs3/skill1983.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2212.cs | 245 ++++++++ .../Skills/SkillStubs3/skill2212.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2213.cs | 241 ++++++++ .../Skills/SkillStubs3/skill2213.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2214.cs | 310 +++++++++++ .../Skills/SkillStubs3/skill2214.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2215.cs | 310 +++++++++++ .../Skills/SkillStubs3/skill2215.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2244.cs | 202 +++++++ .../Skills/SkillStubs3/skill2244.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2245.cs | 202 +++++++ .../Skills/SkillStubs3/skill2245.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2246.cs | 195 +++++++ .../Skills/SkillStubs3/skill2246.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2247.cs | 212 +++++++ .../Skills/SkillStubs3/skill2247.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2248.cs | 213 +++++++ .../Skills/SkillStubs3/skill2248.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill230.cs | 172 ++++++ .../Skills/SkillStubs3/skill230.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill231.cs | 175 ++++++ .../Skills/SkillStubs3/skill231.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill234.cs | 186 +++++++ .../Skills/SkillStubs3/skill234.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill235.cs | 187 +++++++ .../Skills/SkillStubs3/skill235.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill236.cs | 194 +++++++ .../Skills/SkillStubs3/skill236.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2366.cs | 297 ++++++++++ .../Skills/SkillStubs3/skill2366.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill237.cs | 194 +++++++ .../Skills/SkillStubs3/skill237.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill238.cs | 194 +++++++ .../Skills/SkillStubs3/skill238.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill239.cs | 187 +++++++ .../Skills/SkillStubs3/skill239.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill240.cs | 205 +++++++ .../Skills/SkillStubs3/skill240.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill241.cs | 187 +++++++ .../Skills/SkillStubs3/skill241.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2418.cs | 200 +++++++ .../Skills/SkillStubs3/skill2418.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2419.cs | 200 +++++++ .../Skills/SkillStubs3/skill2419.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill242.cs | 195 +++++++ .../Skills/SkillStubs3/skill242.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2420.cs | 208 +++++++ .../Skills/SkillStubs3/skill2420.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2421.cs | 206 +++++++ .../Skills/SkillStubs3/skill2421.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill243.cs | 187 +++++++ .../Skills/SkillStubs3/skill243.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2438.cs | 196 +++++++ .../Skills/SkillStubs3/skill2438.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2439.cs | 196 +++++++ .../Skills/SkillStubs3/skill2439.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill244.cs | 163 ++++++ .../Skills/SkillStubs3/skill244.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill245.cs | 195 +++++++ .../Skills/SkillStubs3/skill245.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill2451.cs | 287 ++++++++++ .../Skills/SkillStubs3/skill2451.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill246.cs | 195 +++++++ .../Skills/SkillStubs3/skill246.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill247.cs | 195 +++++++ .../Skills/SkillStubs3/skill247.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill248.cs | 195 +++++++ .../Skills/SkillStubs3/skill248.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill249.cs | 170 ++++++ .../Skills/SkillStubs3/skill249.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill250.cs | 194 +++++++ .../Skills/SkillStubs3/skill250.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill251.cs | 201 +++++++ .../Skills/SkillStubs3/skill251.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill252.cs | 208 +++++++ .../Skills/SkillStubs3/skill252.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill253.cs | 196 +++++++ .../Skills/SkillStubs3/skill253.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill254.cs | 202 +++++++ .../Skills/SkillStubs3/skill254.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill255.cs | 101 ++++ .../Skills/SkillStubs3/skill255.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill256.cs | 102 ++++ .../Skills/SkillStubs3/skill256.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill257.cs | 173 ++++++ .../Skills/SkillStubs3/skill257.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill258.cs | 174 ++++++ .../Skills/SkillStubs3/skill258.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill274.cs | 100 ++++ .../Skills/SkillStubs3/skill274.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill366.cs | 177 ++++++ .../Skills/SkillStubs3/skill366.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill367.cs | 177 ++++++ .../Skills/SkillStubs3/skill367.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill370.cs | 176 ++++++ .../Skills/SkillStubs3/skill370.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill371.cs | 176 ++++++ .../Skills/SkillStubs3/skill371.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill492.cs | 196 +++++++ .../Skills/SkillStubs3/skill492.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill493.cs | 189 +++++++ .../Skills/SkillStubs3/skill493.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill494.cs | 203 +++++++ .../Skills/SkillStubs3/skill494.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill495.cs | 202 +++++++ .../Skills/SkillStubs3/skill495.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill496.cs | 189 +++++++ .../Skills/SkillStubs3/skill496.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill497.cs | 189 +++++++ .../Skills/SkillStubs3/skill497.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill498.cs | 197 +++++++ .../Skills/SkillStubs3/skill498.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill499.cs | 197 +++++++ .../Skills/SkillStubs3/skill499.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill500.cs | 197 +++++++ .../Skills/SkillStubs3/skill500.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill501.cs | 197 +++++++ .../Skills/SkillStubs3/skill501.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill502.cs | 203 +++++++ .../Skills/SkillStubs3/skill502.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill503.cs | 213 +++++++ .../Skills/SkillStubs3/skill503.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill504.cs | 196 +++++++ .../Skills/SkillStubs3/skill504.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill505.cs | 196 +++++++ .../Skills/SkillStubs3/skill505.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill506.cs | 198 +++++++ .../Skills/SkillStubs3/skill506.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill507.cs | 205 +++++++ .../Skills/SkillStubs3/skill507.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill508.cs | 188 +++++++ .../Skills/SkillStubs3/skill508.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill509.cs | 188 +++++++ .../Skills/SkillStubs3/skill509.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill510.cs | 106 ++++ .../Skills/SkillStubs3/skill510.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill511.cs | 105 ++++ .../Skills/SkillStubs3/skill511.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill512.cs | 194 +++++++ .../Skills/SkillStubs3/skill512.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill513.cs | 197 +++++++ .../Skills/SkillStubs3/skill513.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill514.cs | 198 +++++++ .../Skills/SkillStubs3/skill514.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill515.cs | 198 +++++++ .../Skills/SkillStubs3/skill515.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill516.cs | 193 +++++++ .../Skills/SkillStubs3/skill516.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill517.cs | 197 +++++++ .../Skills/SkillStubs3/skill517.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill518.cs | 163 ++++++ .../Skills/SkillStubs3/skill518.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill519.cs | 163 ++++++ .../Skills/SkillStubs3/skill519.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill520.cs | 203 +++++++ .../Skills/SkillStubs3/skill520.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill521.cs | 203 +++++++ .../Skills/SkillStubs3/skill521.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill522.cs | 199 +++++++ .../Skills/SkillStubs3/skill522.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill523.cs | 199 +++++++ .../Skills/SkillStubs3/skill523.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill524.cs | 214 +++++++ .../Skills/SkillStubs3/skill524.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill525.cs | 204 +++++++ .../Skills/SkillStubs3/skill525.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill526.cs | 198 +++++++ .../Skills/SkillStubs3/skill526.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill527.cs | 201 +++++++ .../Skills/SkillStubs3/skill527.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill528.cs | 212 +++++++ .../Skills/SkillStubs3/skill528.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill529.cs | 213 +++++++ .../Skills/SkillStubs3/skill529.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill530.cs | 164 ++++++ .../Skills/SkillStubs3/skill530.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill531.cs | 164 ++++++ .../Skills/SkillStubs3/skill531.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill532.cs | 167 ++++++ .../Skills/SkillStubs3/skill532.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill533.cs | 166 ++++++ .../Skills/SkillStubs3/skill533.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill534.cs | 198 +++++++ .../Skills/SkillStubs3/skill534.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill535.cs | 202 +++++++ .../Skills/SkillStubs3/skill535.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill536.cs | 173 ++++++ .../Skills/SkillStubs3/skill536.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill537.cs | 173 ++++++ .../Skills/SkillStubs3/skill537.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill538.cs | 156 ++++++ .../Skills/SkillStubs3/skill538.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill539.cs | 157 ++++++ .../Skills/SkillStubs3/skill539.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill540.cs | 103 ++++ .../Skills/SkillStubs3/skill540.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill541.cs | 104 ++++ .../Skills/SkillStubs3/skill541.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill590.cs | 188 +++++++ .../Skills/SkillStubs3/skill590.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill591.cs | 188 +++++++ .../Skills/SkillStubs3/skill591.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill592.cs | 198 +++++++ .../Skills/SkillStubs3/skill592.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill593.cs | 197 +++++++ .../Skills/SkillStubs3/skill593.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill594.cs | 196 +++++++ .../Skills/SkillStubs3/skill594.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill595.cs | 203 +++++++ .../Skills/SkillStubs3/skill595.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill596.cs | 200 +++++++ .../Skills/SkillStubs3/skill596.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill597.cs | 200 +++++++ .../Skills/SkillStubs3/skill597.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill598.cs | 196 +++++++ .../Skills/SkillStubs3/skill598.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill599.cs | 204 +++++++ .../Skills/SkillStubs3/skill599.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill600.cs | 192 +++++++ .../Skills/SkillStubs3/skill600.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill601.cs | 192 +++++++ .../Skills/SkillStubs3/skill601.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill602.cs | 215 +++++++ .../Skills/SkillStubs3/skill602.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill603.cs | 207 +++++++ .../Skills/SkillStubs3/skill603.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill604.cs | 196 +++++++ .../Skills/SkillStubs3/skill604.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill605.cs | 190 +++++++ .../Skills/SkillStubs3/skill605.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill606.cs | 197 +++++++ .../Skills/SkillStubs3/skill606.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill607.cs | 203 +++++++ .../Skills/SkillStubs3/skill607.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill608.cs | 189 +++++++ .../Skills/SkillStubs3/skill608.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill609.cs | 189 +++++++ .../Skills/SkillStubs3/skill609.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill610.cs | 212 +++++++ .../Skills/SkillStubs3/skill610.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill906.cs | 193 +++++++ .../Skills/SkillStubs3/skill906.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill907.cs | 155 ++++++ .../Skills/SkillStubs3/skill907.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill908.cs | 192 +++++++ .../Skills/SkillStubs3/skill908.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill909.cs | 194 +++++++ .../Skills/SkillStubs3/skill909.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill929.cs | 192 +++++++ .../Skills/SkillStubs3/skill929.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill930.cs | 127 +++++ .../Skills/SkillStubs3/skill930.cs.meta | 2 + .../Scripts/Skills/SkillStubs3/skill935.cs | 194 +++++++ .../Skills/SkillStubs3/skill935.cs.meta | 2 + .../Scripts/Skills/SkillStubs4.meta | 8 + .../Scripts/Skills/SkillStubs4/SkillStubs4.cs | 525 ++++++++++++++++++ .../Skills/SkillStubs4/SkillStubs4.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill11.cs | 100 ++++ .../Skills/SkillStubs4/skill11.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill113.cs | 192 +++++++ .../Skills/SkillStubs4/skill113.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill114.cs | 193 +++++++ .../Skills/SkillStubs4/skill114.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill115.cs | 192 +++++++ .../Skills/SkillStubs4/skill115.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill116.cs | 196 +++++++ .../Skills/SkillStubs4/skill116.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill117.cs | 201 +++++++ .../Skills/SkillStubs4/skill117.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill118.cs | 200 +++++++ .../Skills/SkillStubs4/skill118.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill119.cs | 200 +++++++ .../Skills/SkillStubs4/skill119.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill120.cs | 192 +++++++ .../Skills/SkillStubs4/skill120.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill121.cs | 192 +++++++ .../Skills/SkillStubs4/skill121.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill122.cs | 196 +++++++ .../Skills/SkillStubs4/skill122.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill123.cs | 222 ++++++++ .../Skills/SkillStubs4/skill123.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill124.cs | 191 +++++++ .../Skills/SkillStubs4/skill124.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill125.cs | 188 +++++++ .../Skills/SkillStubs4/skill125.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill126.cs | 188 +++++++ .../Skills/SkillStubs4/skill126.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill127.cs | 196 +++++++ .../Skills/SkillStubs4/skill127.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill128.cs | 196 +++++++ .../Skills/SkillStubs4/skill128.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill129.cs | 195 +++++++ .../Skills/SkillStubs4/skill129.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill130.cs | 196 +++++++ .../Skills/SkillStubs4/skill130.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1340.cs | 192 +++++++ .../Skills/SkillStubs4/skill1340.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1341.cs | 156 ++++++ .../Skills/SkillStubs4/skill1341.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1342.cs | 192 +++++++ .../Skills/SkillStubs4/skill1342.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1343.cs | 192 +++++++ .../Skills/SkillStubs4/skill1343.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1344.cs | 193 +++++++ .../Skills/SkillStubs4/skill1344.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1345.cs | 193 +++++++ .../Skills/SkillStubs4/skill1345.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1346.cs | 193 +++++++ .../Skills/SkillStubs4/skill1346.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1347.cs | 192 +++++++ .../Skills/SkillStubs4/skill1347.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1348.cs | 192 +++++++ .../Skills/SkillStubs4/skill1348.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1349.cs | 192 +++++++ .../Skills/SkillStubs4/skill1349.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1350.cs | 187 +++++++ .../Skills/SkillStubs4/skill1350.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1351.cs | 187 +++++++ .../Skills/SkillStubs4/skill1351.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1352.cs | 187 +++++++ .../Skills/SkillStubs4/skill1352.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1353.cs | 195 +++++++ .../Skills/SkillStubs4/skill1353.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1354.cs | 187 +++++++ .../Skills/SkillStubs4/skill1354.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1355.cs | 194 +++++++ .../Skills/SkillStubs4/skill1355.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1356.cs | 187 +++++++ .../Skills/SkillStubs4/skill1356.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1357.cs | 186 +++++++ .../Skills/SkillStubs4/skill1357.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1358.cs | 200 +++++++ .../Skills/SkillStubs4/skill1358.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1359.cs | 204 +++++++ .../Skills/SkillStubs4/skill1359.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1360.cs | 155 ++++++ .../Skills/SkillStubs4/skill1360.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1361.cs | 192 +++++++ .../Skills/SkillStubs4/skill1361.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1362.cs | 190 +++++++ .../Skills/SkillStubs4/skill1362.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1363.cs | 193 +++++++ .../Skills/SkillStubs4/skill1363.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1364.cs | 128 +++++ .../Skills/SkillStubs4/skill1364.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1365.cs | 130 +++++ .../Skills/SkillStubs4/skill1365.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1366.cs | 130 +++++ .../Skills/SkillStubs4/skill1366.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1367.cs | 130 +++++ .../Skills/SkillStubs4/skill1367.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1368.cs | 133 +++++ .../Skills/SkillStubs4/skill1368.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1369.cs | 129 +++++ .../Skills/SkillStubs4/skill1369.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1370.cs | 134 +++++ .../Skills/SkillStubs4/skill1370.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1371.cs | 101 ++++ .../Skills/SkillStubs4/skill1371.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1372.cs | 166 ++++++ .../Skills/SkillStubs4/skill1372.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1373.cs | 169 ++++++ .../Skills/SkillStubs4/skill1373.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill15.cs | 192 +++++++ .../Skills/SkillStubs4/skill15.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill16.cs | 214 +++++++ .../Skills/SkillStubs4/skill16.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill163.cs | 188 +++++++ .../Skills/SkillStubs4/skill163.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1664.cs | 196 +++++++ .../Skills/SkillStubs4/skill1664.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1665.cs | 130 +++++ .../Skills/SkillStubs4/skill1665.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1666.cs | 133 +++++ .../Skills/SkillStubs4/skill1666.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1667.cs | 196 +++++++ .../Skills/SkillStubs4/skill1667.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1668.cs | 130 +++++ .../Skills/SkillStubs4/skill1668.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1669.cs | 133 +++++ .../Skills/SkillStubs4/skill1669.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1670.cs | 196 +++++++ .../Skills/SkillStubs4/skill1670.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1671.cs | 130 +++++ .../Skills/SkillStubs4/skill1671.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1672.cs | 129 +++++ .../Skills/SkillStubs4/skill1672.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1673.cs | 196 +++++++ .../Skills/SkillStubs4/skill1673.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1674.cs | 130 +++++ .../Skills/SkillStubs4/skill1674.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1675.cs | 129 +++++ .../Skills/SkillStubs4/skill1675.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1676.cs | 196 +++++++ .../Skills/SkillStubs4/skill1676.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1677.cs | 130 +++++ .../Skills/SkillStubs4/skill1677.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1678.cs | 134 +++++ .../Skills/SkillStubs4/skill1678.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1679.cs | 196 +++++++ .../Skills/SkillStubs4/skill1679.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1680.cs | 130 +++++ .../Skills/SkillStubs4/skill1680.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1681.cs | 134 +++++ .../Skills/SkillStubs4/skill1681.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1682.cs | 195 +++++++ .../Skills/SkillStubs4/skill1682.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1683.cs | 195 +++++++ .../Skills/SkillStubs4/skill1683.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1684.cs | 195 +++++++ .../Skills/SkillStubs4/skill1684.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1685.cs | 195 +++++++ .../Skills/SkillStubs4/skill1685.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1686.cs | 195 +++++++ .../Skills/SkillStubs4/skill1686.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1687.cs | 195 +++++++ .../Skills/SkillStubs4/skill1687.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1688.cs | 160 ++++++ .../Skills/SkillStubs4/skill1688.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1689.cs | 160 ++++++ .../Skills/SkillStubs4/skill1689.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1690.cs | 193 +++++++ .../Skills/SkillStubs4/skill1690.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1691.cs | 203 +++++++ .../Skills/SkillStubs4/skill1691.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1692.cs | 163 ++++++ .../Skills/SkillStubs4/skill1692.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1693.cs | 159 ++++++ .../Skills/SkillStubs4/skill1693.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1694.cs | 196 +++++++ .../Skills/SkillStubs4/skill1694.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1695.cs | 199 +++++++ .../Skills/SkillStubs4/skill1695.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1696.cs | 195 +++++++ .../Skills/SkillStubs4/skill1696.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1697.cs | 199 +++++++ .../Skills/SkillStubs4/skill1697.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1698.cs | 190 +++++++ .../Skills/SkillStubs4/skill1698.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1699.cs | 197 +++++++ .../Skills/SkillStubs4/skill1699.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill17.cs | 201 +++++++ .../Skills/SkillStubs4/skill17.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1700.cs | 190 +++++++ .../Skills/SkillStubs4/skill1700.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1701.cs | 190 +++++++ .../Skills/SkillStubs4/skill1701.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1702.cs | 198 +++++++ .../Skills/SkillStubs4/skill1702.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1703.cs | 198 +++++++ .../Skills/SkillStubs4/skill1703.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1704.cs | 190 +++++++ .../Skills/SkillStubs4/skill1704.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1705.cs | 198 +++++++ .../Skills/SkillStubs4/skill1705.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1706.cs | 196 +++++++ .../Skills/SkillStubs4/skill1706.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1707.cs | 190 +++++++ .../Skills/SkillStubs4/skill1707.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1708.cs | 197 +++++++ .../Skills/SkillStubs4/skill1708.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1709.cs | 197 +++++++ .../Skills/SkillStubs4/skill1709.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1710.cs | 189 +++++++ .../Skills/SkillStubs4/skill1710.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1711.cs | 197 +++++++ .../Skills/SkillStubs4/skill1711.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1712.cs | 207 +++++++ .../Skills/SkillStubs4/skill1712.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1713.cs | 214 +++++++ .../Skills/SkillStubs4/skill1713.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1714.cs | 177 ++++++ .../Skills/SkillStubs4/skill1714.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1715.cs | 177 ++++++ .../Skills/SkillStubs4/skill1715.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1716.cs | 104 ++++ .../Skills/SkillStubs4/skill1716.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1717.cs | 105 ++++ .../Skills/SkillStubs4/skill1717.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1718.cs | 203 +++++++ .../Skills/SkillStubs4/skill1718.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1719.cs | 126 +++++ .../Skills/SkillStubs4/skill1719.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1720.cs | 203 +++++++ .../Skills/SkillStubs4/skill1720.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1721.cs | 126 +++++ .../Skills/SkillStubs4/skill1721.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1731.cs | 175 ++++++ .../Skills/SkillStubs4/skill1731.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1732.cs | 186 +++++++ .../Skills/SkillStubs4/skill1732.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1733.cs | 167 ++++++ .../Skills/SkillStubs4/skill1733.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1734.cs | 167 ++++++ .../Skills/SkillStubs4/skill1734.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1735.cs | 195 +++++++ .../Skills/SkillStubs4/skill1735.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1736.cs | 130 +++++ .../Skills/SkillStubs4/skill1736.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1737.cs | 129 +++++ .../Skills/SkillStubs4/skill1737.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1738.cs | 166 ++++++ .../Skills/SkillStubs4/skill1738.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1739.cs | 190 +++++++ .../Skills/SkillStubs4/skill1739.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1740.cs | 190 +++++++ .../Skills/SkillStubs4/skill1740.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill18.cs | 193 +++++++ .../Skills/SkillStubs4/skill18.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1804.cs | 103 ++++ .../Skills/SkillStubs4/skill1804.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1810.cs | 202 +++++++ .../Skills/SkillStubs4/skill1810.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1811.cs | 171 ++++++ .../Skills/SkillStubs4/skill1811.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1812.cs | 206 +++++++ .../Skills/SkillStubs4/skill1812.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1813.cs | 194 +++++++ .../Skills/SkillStubs4/skill1813.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1814.cs | 201 +++++++ .../Skills/SkillStubs4/skill1814.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1840.cs | 196 +++++++ .../Skills/SkillStubs4/skill1840.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1841.cs | 208 +++++++ .../Skills/SkillStubs4/skill1841.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1842.cs | 199 +++++++ .../Skills/SkillStubs4/skill1842.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1843.cs | 167 ++++++ .../Skills/SkillStubs4/skill1843.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1844.cs | 157 ++++++ .../Skills/SkillStubs4/skill1844.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1845.cs | 157 ++++++ .../Skills/SkillStubs4/skill1845.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1846.cs | 204 +++++++ .../Skills/SkillStubs4/skill1846.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1847.cs | 200 +++++++ .../Skills/SkillStubs4/skill1847.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1848.cs | 159 ++++++ .../Skills/SkillStubs4/skill1848.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1849.cs | 195 +++++++ .../Skills/SkillStubs4/skill1849.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1850.cs | 168 ++++++ .../Skills/SkillStubs4/skill1850.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1857.cs | 205 +++++++ .../Skills/SkillStubs4/skill1857.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1866.cs | 206 +++++++ .../Skills/SkillStubs4/skill1866.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1869.cs | 167 ++++++ .../Skills/SkillStubs4/skill1869.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill1881.cs | 125 +++++ .../Skills/SkillStubs4/skill1881.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill189.cs | 190 +++++++ .../Skills/SkillStubs4/skill189.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill19.cs | 164 ++++++ .../Skills/SkillStubs4/skill19.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill190.cs | 100 ++++ .../Skills/SkillStubs4/skill190.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill191.cs | 193 +++++++ .../Skills/SkillStubs4/skill191.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill192.cs | 197 +++++++ .../Skills/SkillStubs4/skill192.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill193.cs | 192 +++++++ .../Skills/SkillStubs4/skill193.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill194.cs | 191 +++++++ .../Skills/SkillStubs4/skill194.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2216.cs | 222 ++++++++ .../Skills/SkillStubs4/skill2216.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2217.cs | 222 ++++++++ .../Skills/SkillStubs4/skill2217.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2218.cs | 200 +++++++ .../Skills/SkillStubs4/skill2218.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2219.cs | 200 +++++++ .../Skills/SkillStubs4/skill2219.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2220.cs | 205 +++++++ .../Skills/SkillStubs4/skill2220.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2221.cs | 213 +++++++ .../Skills/SkillStubs4/skill2221.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2222.cs | 208 +++++++ .../Skills/SkillStubs4/skill2222.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2223.cs | 217 ++++++++ .../Skills/SkillStubs4/skill2223.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2224.cs | 225 ++++++++ .../Skills/SkillStubs4/skill2224.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill232.cs | 173 ++++++ .../Skills/SkillStubs4/skill232.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill233.cs | 176 ++++++ .../Skills/SkillStubs4/skill233.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2412.cs | 196 +++++++ .../Skills/SkillStubs4/skill2412.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2413.cs | 196 +++++++ .../Skills/SkillStubs4/skill2413.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2414.cs | 226 ++++++++ .../Skills/SkillStubs4/skill2414.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2415.cs | 226 ++++++++ .../Skills/SkillStubs4/skill2415.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2432.cs | 174 ++++++ .../Skills/SkillStubs4/skill2432.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill2433.cs | 174 ++++++ .../Skills/SkillStubs4/skill2433.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill372.cs | 178 ++++++ .../Skills/SkillStubs4/skill372.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill373.cs | 178 ++++++ .../Skills/SkillStubs4/skill373.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill542.cs | 198 +++++++ .../Skills/SkillStubs4/skill542.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill543.cs | 201 +++++++ .../Skills/SkillStubs4/skill543.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill544.cs | 199 +++++++ .../Skills/SkillStubs4/skill544.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill545.cs | 203 +++++++ .../Skills/SkillStubs4/skill545.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill546.cs | 194 +++++++ .../Skills/SkillStubs4/skill546.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill547.cs | 194 +++++++ .../Skills/SkillStubs4/skill547.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill548.cs | 199 +++++++ .../Skills/SkillStubs4/skill548.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill549.cs | 198 +++++++ .../Skills/SkillStubs4/skill549.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill550.cs | 193 +++++++ .../Skills/SkillStubs4/skill550.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill551.cs | 193 +++++++ .../Skills/SkillStubs4/skill551.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill552.cs | 198 +++++++ .../Skills/SkillStubs4/skill552.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill553.cs | 198 +++++++ .../Skills/SkillStubs4/skill553.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill554.cs | 201 +++++++ .../Skills/SkillStubs4/skill554.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill555.cs | 205 +++++++ .../Skills/SkillStubs4/skill555.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill556.cs | 209 +++++++ .../Skills/SkillStubs4/skill556.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill557.cs | 209 +++++++ .../Skills/SkillStubs4/skill557.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill558.cs | 209 +++++++ .../Skills/SkillStubs4/skill558.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill559.cs | 209 +++++++ .../Skills/SkillStubs4/skill559.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill560.cs | 207 +++++++ .../Skills/SkillStubs4/skill560.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill561.cs | 199 +++++++ .../Skills/SkillStubs4/skill561.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill562.cs | 207 +++++++ .../Skills/SkillStubs4/skill562.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill563.cs | 199 +++++++ .../Skills/SkillStubs4/skill563.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill564.cs | 202 +++++++ .../Skills/SkillStubs4/skill564.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill565.cs | 201 +++++++ .../Skills/SkillStubs4/skill565.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill566.cs | 203 +++++++ .../Skills/SkillStubs4/skill566.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill567.cs | 202 +++++++ .../Skills/SkillStubs4/skill567.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill568.cs | 207 +++++++ .../Skills/SkillStubs4/skill568.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill569.cs | 207 +++++++ .../Skills/SkillStubs4/skill569.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill570.cs | 206 +++++++ .../Skills/SkillStubs4/skill570.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill571.cs | 206 +++++++ .../Skills/SkillStubs4/skill571.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill572.cs | 195 +++++++ .../Skills/SkillStubs4/skill572.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill573.cs | 195 +++++++ .../Skills/SkillStubs4/skill573.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill574.cs | 167 ++++++ .../Skills/SkillStubs4/skill574.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill575.cs | 167 ++++++ .../Skills/SkillStubs4/skill575.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill576.cs | 194 +++++++ .../Skills/SkillStubs4/skill576.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill577.cs | 194 +++++++ .../Skills/SkillStubs4/skill577.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill578.cs | 199 +++++++ .../Skills/SkillStubs4/skill578.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill579.cs | 199 +++++++ .../Skills/SkillStubs4/skill579.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill580.cs | 204 +++++++ .../Skills/SkillStubs4/skill580.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill581.cs | 204 +++++++ .../Skills/SkillStubs4/skill581.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill582.cs | 205 +++++++ .../Skills/SkillStubs4/skill582.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill583.cs | 198 +++++++ .../Skills/SkillStubs4/skill583.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill584.cs | 202 +++++++ .../Skills/SkillStubs4/skill584.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill585.cs | 212 +++++++ .../Skills/SkillStubs4/skill585.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill586.cs | 203 +++++++ .../Skills/SkillStubs4/skill586.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill587.cs | 205 +++++++ .../Skills/SkillStubs4/skill587.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill588.cs | 104 ++++ .../Skills/SkillStubs4/skill588.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill589.cs | 105 ++++ .../Skills/SkillStubs4/skill589.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill611.cs | 204 +++++++ .../Skills/SkillStubs4/skill611.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill612.cs | 165 ++++++ .../Skills/SkillStubs4/skill612.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill613.cs | 169 ++++++ .../Skills/SkillStubs4/skill613.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill614.cs | 200 +++++++ .../Skills/SkillStubs4/skill614.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill615.cs | 207 +++++++ .../Skills/SkillStubs4/skill615.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill616.cs | 207 +++++++ .../Skills/SkillStubs4/skill616.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill617.cs | 203 +++++++ .../Skills/SkillStubs4/skill617.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill618.cs | 203 +++++++ .../Skills/SkillStubs4/skill618.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill619.cs | 211 +++++++ .../Skills/SkillStubs4/skill619.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill620.cs | 197 +++++++ .../Skills/SkillStubs4/skill620.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill621.cs | 205 +++++++ .../Skills/SkillStubs4/skill621.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill622.cs | 174 ++++++ .../Skills/SkillStubs4/skill622.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill623.cs | 174 ++++++ .../Skills/SkillStubs4/skill623.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill624.cs | 196 +++++++ .../Skills/SkillStubs4/skill624.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill625.cs | 204 +++++++ .../Skills/SkillStubs4/skill625.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill626.cs | 214 +++++++ .../Skills/SkillStubs4/skill626.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill627.cs | 215 +++++++ .../Skills/SkillStubs4/skill627.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill628.cs | 204 +++++++ .../Skills/SkillStubs4/skill628.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill629.cs | 204 +++++++ .../Skills/SkillStubs4/skill629.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill630.cs | 104 ++++ .../Skills/SkillStubs4/skill630.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill631.cs | 106 ++++ .../Skills/SkillStubs4/skill631.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill632.cs | 104 ++++ .../Skills/SkillStubs4/skill632.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill633.cs | 105 ++++ .../Skills/SkillStubs4/skill633.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill915.cs | 165 ++++++ .../Skills/SkillStubs4/skill915.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill916.cs | 163 ++++++ .../Skills/SkillStubs4/skill916.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill917.cs | 162 ++++++ .../Skills/SkillStubs4/skill917.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill918.cs | 208 +++++++ .../Skills/SkillStubs4/skill918.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill919.cs | 162 ++++++ .../Skills/SkillStubs4/skill919.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill920.cs | 158 ++++++ .../Skills/SkillStubs4/skill920.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill921.cs | 205 +++++++ .../Skills/SkillStubs4/skill921.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill922.cs | 206 +++++++ .../Skills/SkillStubs4/skill922.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill931.cs | 163 ++++++ .../Skills/SkillStubs4/skill931.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill932.cs | 208 +++++++ .../Skills/SkillStubs4/skill932.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill933.cs | 205 +++++++ .../Skills/SkillStubs4/skill933.cs.meta | 2 + .../Scripts/Skills/SkillStubs4/skill934.cs | 206 +++++++ .../Skills/SkillStubs4/skill934.cs.meta | 2 + .../Scripts/Skills/SkillStubs5.meta | 8 + .../Scripts/Skills/SkillStubs5/SkillStubs5.cs | 525 ++++++++++++++++++ .../Skills/SkillStubs5/SkillStubs5.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1374.cs | 198 +++++++ .../Skills/SkillStubs5/skill1374.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1375.cs | 197 +++++++ .../Skills/SkillStubs5/skill1375.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1376.cs | 195 +++++++ .../Skills/SkillStubs5/skill1376.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1377.cs | 198 +++++++ .../Skills/SkillStubs5/skill1377.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1378.cs | 202 +++++++ .../Skills/SkillStubs5/skill1378.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1379.cs | 194 +++++++ .../Skills/SkillStubs5/skill1379.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1380.cs | 196 +++++++ .../Skills/SkillStubs5/skill1380.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1381.cs | 192 +++++++ .../Skills/SkillStubs5/skill1381.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1382.cs | 192 +++++++ .../Skills/SkillStubs5/skill1382.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1383.cs | 195 +++++++ .../Skills/SkillStubs5/skill1383.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1384.cs | 176 ++++++ .../Skills/SkillStubs5/skill1384.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1385.cs | 166 ++++++ .../Skills/SkillStubs5/skill1385.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1386.cs | 166 ++++++ .../Skills/SkillStubs5/skill1386.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1387.cs | 166 ++++++ .../Skills/SkillStubs5/skill1387.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1388.cs | 166 ++++++ .../Skills/SkillStubs5/skill1388.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1389.cs | 175 ++++++ .../Skills/SkillStubs5/skill1389.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1390.cs | 175 ++++++ .../Skills/SkillStubs5/skill1390.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1391.cs | 175 ++++++ .../Skills/SkillStubs5/skill1391.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1392.cs | 175 ++++++ .../Skills/SkillStubs5/skill1392.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1393.cs | 167 ++++++ .../Skills/SkillStubs5/skill1393.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1394.cs | 167 ++++++ .../Skills/SkillStubs5/skill1394.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1395.cs | 101 ++++ .../Skills/SkillStubs5/skill1395.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1396.cs | 166 ++++++ .../Skills/SkillStubs5/skill1396.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1397.cs | 169 ++++++ .../Skills/SkillStubs5/skill1397.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1398.cs | 170 ++++++ .../Skills/SkillStubs5/skill1398.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1399.cs | 163 ++++++ .../Skills/SkillStubs5/skill1399.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1400.cs | 194 +++++++ .../Skills/SkillStubs5/skill1400.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1401.cs | 194 +++++++ .../Skills/SkillStubs5/skill1401.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1498.cs | 192 +++++++ .../Skills/SkillStubs5/skill1498.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1618.cs | 208 +++++++ .../Skills/SkillStubs5/skill1618.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1619.cs | 201 +++++++ .../Skills/SkillStubs5/skill1619.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1620.cs | 204 +++++++ .../Skills/SkillStubs5/skill1620.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1621.cs | 208 +++++++ .../Skills/SkillStubs5/skill1621.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1622.cs | 204 +++++++ .../Skills/SkillStubs5/skill1622.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1623.cs | 206 +++++++ .../Skills/SkillStubs5/skill1623.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1624.cs | 205 +++++++ .../Skills/SkillStubs5/skill1624.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1625.cs | 201 +++++++ .../Skills/SkillStubs5/skill1625.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1626.cs | 215 +++++++ .../Skills/SkillStubs5/skill1626.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1627.cs | 205 +++++++ .../Skills/SkillStubs5/skill1627.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1628.cs | 197 +++++++ .../Skills/SkillStubs5/skill1628.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1629.cs | 201 +++++++ .../Skills/SkillStubs5/skill1629.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1630.cs | 204 +++++++ .../Skills/SkillStubs5/skill1630.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1631.cs | 199 +++++++ .../Skills/SkillStubs5/skill1631.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1632.cs | 197 +++++++ .../Skills/SkillStubs5/skill1632.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1633.cs | 202 +++++++ .../Skills/SkillStubs5/skill1633.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1634.cs | 195 +++++++ .../Skills/SkillStubs5/skill1634.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1635.cs | 197 +++++++ .../Skills/SkillStubs5/skill1635.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1636.cs | 206 +++++++ .../Skills/SkillStubs5/skill1636.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1637.cs | 198 +++++++ .../Skills/SkillStubs5/skill1637.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1638.cs | 197 +++++++ .../Skills/SkillStubs5/skill1638.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1639.cs | 197 +++++++ .../Skills/SkillStubs5/skill1639.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1640.cs | 104 ++++ .../Skills/SkillStubs5/skill1640.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1641.cs | 105 ++++ .../Skills/SkillStubs5/skill1641.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1642.cs | 166 ++++++ .../Skills/SkillStubs5/skill1642.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1643.cs | 170 ++++++ .../Skills/SkillStubs5/skill1643.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1644.cs | 177 ++++++ .../Skills/SkillStubs5/skill1644.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1645.cs | 177 ++++++ .../Skills/SkillStubs5/skill1645.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1651.cs | 179 ++++++ .../Skills/SkillStubs5/skill1651.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1652.cs | 179 ++++++ .../Skills/SkillStubs5/skill1652.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1653.cs | 167 ++++++ .../Skills/SkillStubs5/skill1653.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1657.cs | 167 ++++++ .../Skills/SkillStubs5/skill1657.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1658.cs | 167 ++++++ .../Skills/SkillStubs5/skill1658.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1659.cs | 167 ++++++ .../Skills/SkillStubs5/skill1659.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1660.cs | 167 ++++++ .../Skills/SkillStubs5/skill1660.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1661.cs | 167 ++++++ .../Skills/SkillStubs5/skill1661.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1662.cs | 167 ++++++ .../Skills/SkillStubs5/skill1662.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1663.cs | 177 ++++++ .../Skills/SkillStubs5/skill1663.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1723.cs | 163 ++++++ .../Skills/SkillStubs5/skill1723.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1724.cs | 166 ++++++ .../Skills/SkillStubs5/skill1724.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1725.cs | 160 ++++++ .../Skills/SkillStubs5/skill1725.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1726.cs | 160 ++++++ .../Skills/SkillStubs5/skill1726.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1727.cs | 199 +++++++ .../Skills/SkillStubs5/skill1727.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1728.cs | 199 +++++++ .../Skills/SkillStubs5/skill1728.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1729.cs | 198 +++++++ .../Skills/SkillStubs5/skill1729.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1730.cs | 198 +++++++ .../Skills/SkillStubs5/skill1730.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1851.cs | 160 ++++++ .../Skills/SkillStubs5/skill1851.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1852.cs | 198 +++++++ .../Skills/SkillStubs5/skill1852.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1853.cs | 166 ++++++ .../Skills/SkillStubs5/skill1853.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1854.cs | 198 +++++++ .../Skills/SkillStubs5/skill1854.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1855.cs | 199 +++++++ .../Skills/SkillStubs5/skill1855.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1856.cs | 166 ++++++ .../Skills/SkillStubs5/skill1856.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1859.cs | 168 ++++++ .../Skills/SkillStubs5/skill1859.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1860.cs | 196 +++++++ .../Skills/SkillStubs5/skill1860.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1861.cs | 127 +++++ .../Skills/SkillStubs5/skill1861.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1862.cs | 164 ++++++ .../Skills/SkillStubs5/skill1862.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1863.cs | 157 ++++++ .../Skills/SkillStubs5/skill1863.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1870.cs | 167 ++++++ .../Skills/SkillStubs5/skill1870.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill1907.cs | 126 +++++ .../Skills/SkillStubs5/skill1907.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2225.cs | 166 ++++++ .../Skills/SkillStubs5/skill2225.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2226.cs | 211 +++++++ .../Skills/SkillStubs5/skill2226.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2227.cs | 211 +++++++ .../Skills/SkillStubs5/skill2227.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2228.cs | 205 +++++++ .../Skills/SkillStubs5/skill2228.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2229.cs | 209 +++++++ .../Skills/SkillStubs5/skill2229.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2249.cs | 207 +++++++ .../Skills/SkillStubs5/skill2249.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2250.cs | 207 +++++++ .../Skills/SkillStubs5/skill2250.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2251.cs | 201 +++++++ .../Skills/SkillStubs5/skill2251.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2252.cs | 196 +++++++ .../Skills/SkillStubs5/skill2252.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2253.cs | 199 +++++++ .../Skills/SkillStubs5/skill2253.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2440.cs | 167 ++++++ .../Skills/SkillStubs5/skill2440.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2441.cs | 167 ++++++ .../Skills/SkillStubs5/skill2441.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2442.cs | 208 +++++++ .../Skills/SkillStubs5/skill2442.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2445.cs | 215 +++++++ .../Skills/SkillStubs5/skill2445.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2447.cs | 206 +++++++ .../Skills/SkillStubs5/skill2447.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2448.cs | 206 +++++++ .../Skills/SkillStubs5/skill2448.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2449.cs | 201 +++++++ .../Skills/SkillStubs5/skill2449.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2450.cs | 201 +++++++ .../Skills/SkillStubs5/skill2450.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2545.cs | 190 +++++++ .../Skills/SkillStubs5/skill2545.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2547.cs | 183 ++++++ .../Skills/SkillStubs5/skill2547.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2548.cs | 195 +++++++ .../Skills/SkillStubs5/skill2548.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2549.cs | 209 +++++++ .../Skills/SkillStubs5/skill2549.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2550.cs | 162 ++++++ .../Skills/SkillStubs5/skill2550.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2551.cs | 291 ++++++++++ .../Skills/SkillStubs5/skill2551.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2552.cs | 196 +++++++ .../Skills/SkillStubs5/skill2552.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2553.cs | 197 +++++++ .../Skills/SkillStubs5/skill2553.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2554.cs | 204 +++++++ .../Skills/SkillStubs5/skill2554.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2555.cs | 193 +++++++ .../Skills/SkillStubs5/skill2555.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2556.cs | 194 +++++++ .../Skills/SkillStubs5/skill2556.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2557.cs | 293 ++++++++++ .../Skills/SkillStubs5/skill2557.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2558.cs | 240 ++++++++ .../Skills/SkillStubs5/skill2558.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2559.cs | 192 +++++++ .../Skills/SkillStubs5/skill2559.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2560.cs | 167 ++++++ .../Skills/SkillStubs5/skill2560.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2561.cs | 165 ++++++ .../Skills/SkillStubs5/skill2561.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2562.cs | 196 +++++++ .../Skills/SkillStubs5/skill2562.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2563.cs | 191 +++++++ .../Skills/SkillStubs5/skill2563.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2564.cs | 194 +++++++ .../Skills/SkillStubs5/skill2564.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2565.cs | 187 +++++++ .../Skills/SkillStubs5/skill2565.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2566.cs | 195 +++++++ .../Skills/SkillStubs5/skill2566.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2567.cs | 263 +++++++++ .../Skills/SkillStubs5/skill2567.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2568.cs | 215 +++++++ .../Skills/SkillStubs5/skill2568.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2569.cs | 207 +++++++ .../Skills/SkillStubs5/skill2569.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2570.cs | 161 ++++++ .../Skills/SkillStubs5/skill2570.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2571.cs | 187 +++++++ .../Skills/SkillStubs5/skill2571.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2572.cs | 198 +++++++ .../Skills/SkillStubs5/skill2572.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2573.cs | 205 +++++++ .../Skills/SkillStubs5/skill2573.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2574.cs | 188 +++++++ .../Skills/SkillStubs5/skill2574.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2575.cs | 199 +++++++ .../Skills/SkillStubs5/skill2575.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2576.cs | 188 +++++++ .../Skills/SkillStubs5/skill2576.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2577.cs | 202 +++++++ .../Skills/SkillStubs5/skill2577.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2578.cs | 195 +++++++ .../Skills/SkillStubs5/skill2578.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2579.cs | 195 +++++++ .../Skills/SkillStubs5/skill2579.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2580.cs | 197 +++++++ .../Skills/SkillStubs5/skill2580.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2581.cs | 201 +++++++ .../Skills/SkillStubs5/skill2581.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2582.cs | 263 +++++++++ .../Skills/SkillStubs5/skill2582.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2583.cs | 201 +++++++ .../Skills/SkillStubs5/skill2583.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2584.cs | 188 +++++++ .../Skills/SkillStubs5/skill2584.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2585.cs | 202 +++++++ .../Skills/SkillStubs5/skill2585.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2586.cs | 194 +++++++ .../Skills/SkillStubs5/skill2586.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2587.cs | 206 +++++++ .../Skills/SkillStubs5/skill2587.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2588.cs | 201 +++++++ .../Skills/SkillStubs5/skill2588.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2589.cs | 194 +++++++ .../Skills/SkillStubs5/skill2589.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2590.cs | 169 ++++++ .../Skills/SkillStubs5/skill2590.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2591.cs | 272 +++++++++ .../Skills/SkillStubs5/skill2591.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2592.cs | 224 ++++++++ .../Skills/SkillStubs5/skill2592.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2593.cs | 118 ++++ .../Skills/SkillStubs5/skill2593.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2594.cs | 163 ++++++ .../Skills/SkillStubs5/skill2594.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2595.cs | 194 +++++++ .../Skills/SkillStubs5/skill2595.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2596.cs | 163 ++++++ .../Skills/SkillStubs5/skill2596.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2599.cs | 121 ++++ .../Skills/SkillStubs5/skill2599.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2602.cs | 193 +++++++ .../Skills/SkillStubs5/skill2602.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2603.cs | 200 +++++++ .../Skills/SkillStubs5/skill2603.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2604.cs | 193 +++++++ .../Skills/SkillStubs5/skill2604.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2605.cs | 196 +++++++ .../Skills/SkillStubs5/skill2605.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2606.cs | 164 ++++++ .../Skills/SkillStubs5/skill2606.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2607.cs | 192 +++++++ .../Skills/SkillStubs5/skill2607.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2608.cs | 194 +++++++ .../Skills/SkillStubs5/skill2608.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2609.cs | 194 +++++++ .../Skills/SkillStubs5/skill2609.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2610.cs | 195 +++++++ .../Skills/SkillStubs5/skill2610.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2611.cs | 193 +++++++ .../Skills/SkillStubs5/skill2611.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2612.cs | 160 ++++++ .../Skills/SkillStubs5/skill2612.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2613.cs | 199 +++++++ .../Skills/SkillStubs5/skill2613.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2614.cs | 185 ++++++ .../Skills/SkillStubs5/skill2614.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2615.cs | 118 ++++ .../Skills/SkillStubs5/skill2615.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2616.cs | 147 +++++ .../Skills/SkillStubs5/skill2616.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2617.cs | 130 +++++ .../Skills/SkillStubs5/skill2617.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2618.cs | 130 +++++ .../Skills/SkillStubs5/skill2618.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2619.cs | 199 +++++++ .../Skills/SkillStubs5/skill2619.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2673.cs | 177 ++++++ .../Skills/SkillStubs5/skill2673.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2674.cs | 180 ++++++ .../Skills/SkillStubs5/skill2674.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2675.cs | 182 ++++++ .../Skills/SkillStubs5/skill2675.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2676.cs | 182 ++++++ .../Skills/SkillStubs5/skill2676.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2687.cs | 102 ++++ .../Skills/SkillStubs5/skill2687.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2688.cs | 102 ++++ .../Skills/SkillStubs5/skill2688.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2726.cs | 159 ++++++ .../Skills/SkillStubs5/skill2726.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2727.cs | 159 ++++++ .../Skills/SkillStubs5/skill2727.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2728.cs | 195 +++++++ .../Skills/SkillStubs5/skill2728.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2729.cs | 188 +++++++ .../Skills/SkillStubs5/skill2729.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2730.cs | 199 +++++++ .../Skills/SkillStubs5/skill2730.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2731.cs | 198 +++++++ .../Skills/SkillStubs5/skill2731.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2732.cs | 211 +++++++ .../Skills/SkillStubs5/skill2732.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2733.cs | 210 +++++++ .../Skills/SkillStubs5/skill2733.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2734.cs | 165 ++++++ .../Skills/SkillStubs5/skill2734.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2735.cs | 177 ++++++ .../Skills/SkillStubs5/skill2735.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2736.cs | 298 ++++++++++ .../Skills/SkillStubs5/skill2736.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2737.cs | 294 ++++++++++ .../Skills/SkillStubs5/skill2737.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2738.cs | 199 +++++++ .../Skills/SkillStubs5/skill2738.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2739.cs | 199 +++++++ .../Skills/SkillStubs5/skill2739.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2740.cs | 202 +++++++ .../Skills/SkillStubs5/skill2740.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2741.cs | 202 +++++++ .../Skills/SkillStubs5/skill2741.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2742.cs | 207 +++++++ .../Skills/SkillStubs5/skill2742.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2743.cs | 207 +++++++ .../Skills/SkillStubs5/skill2743.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2744.cs | 197 +++++++ .../Skills/SkillStubs5/skill2744.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2745.cs | 197 +++++++ .../Skills/SkillStubs5/skill2745.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2746.cs | 197 +++++++ .../Skills/SkillStubs5/skill2746.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2747.cs | 197 +++++++ .../Skills/SkillStubs5/skill2747.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2748.cs | 296 ++++++++++ .../Skills/SkillStubs5/skill2748.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2749.cs | 296 ++++++++++ .../Skills/SkillStubs5/skill2749.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2750.cs | 250 +++++++++ .../Skills/SkillStubs5/skill2750.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2751.cs | 243 ++++++++ .../Skills/SkillStubs5/skill2751.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2752.cs | 194 +++++++ .../Skills/SkillStubs5/skill2752.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2753.cs | 194 +++++++ .../Skills/SkillStubs5/skill2753.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2754.cs | 180 ++++++ .../Skills/SkillStubs5/skill2754.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2755.cs | 180 ++++++ .../Skills/SkillStubs5/skill2755.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2756.cs | 177 ++++++ .../Skills/SkillStubs5/skill2756.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2757.cs | 179 ++++++ .../Skills/SkillStubs5/skill2757.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2758.cs | 200 +++++++ .../Skills/SkillStubs5/skill2758.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2759.cs | 195 +++++++ .../Skills/SkillStubs5/skill2759.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2760.cs | 201 +++++++ .../Skills/SkillStubs5/skill2760.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2761.cs | 201 +++++++ .../Skills/SkillStubs5/skill2761.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2762.cs | 190 +++++++ .../Skills/SkillStubs5/skill2762.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2763.cs | 190 +++++++ .../Skills/SkillStubs5/skill2763.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2764.cs | 198 +++++++ .../Skills/SkillStubs5/skill2764.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2765.cs | 198 +++++++ .../Skills/SkillStubs5/skill2765.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2766.cs | 266 +++++++++ .../Skills/SkillStubs5/skill2766.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2767.cs | 266 +++++++++ .../Skills/SkillStubs5/skill2767.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2768.cs | 218 ++++++++ .../Skills/SkillStubs5/skill2768.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2769.cs | 218 ++++++++ .../Skills/SkillStubs5/skill2769.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2770.cs | 212 +++++++ .../Skills/SkillStubs5/skill2770.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2771.cs | 212 +++++++ .../Skills/SkillStubs5/skill2771.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2772.cs | 172 ++++++ .../Skills/SkillStubs5/skill2772.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2773.cs | 164 ++++++ .../Skills/SkillStubs5/skill2773.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2774.cs | 168 ++++++ .../Skills/SkillStubs5/skill2774.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2775.cs | 287 ++++++++++ .../Skills/SkillStubs5/skill2775.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2776.cs | 162 ++++++ .../Skills/SkillStubs5/skill2776.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2821.cs | 287 ++++++++++ .../Skills/SkillStubs5/skill2821.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2822.cs | 162 ++++++ .../Skills/SkillStubs5/skill2822.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2825.cs | 105 ++++ .../Skills/SkillStubs5/skill2825.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2826.cs | 106 ++++ .../Skills/SkillStubs5/skill2826.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2827.cs | 105 ++++ .../Skills/SkillStubs5/skill2827.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2828.cs | 106 ++++ .../Skills/SkillStubs5/skill2828.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2835.cs | 106 ++++ .../Skills/SkillStubs5/skill2835.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2847.cs | 115 ++++ .../Skills/SkillStubs5/skill2847.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2848.cs | 112 ++++ .../Skills/SkillStubs5/skill2848.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2849.cs | 142 +++++ .../Skills/SkillStubs5/skill2849.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2850.cs | 102 ++++ .../Skills/SkillStubs5/skill2850.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2851.cs | 107 ++++ .../Skills/SkillStubs5/skill2851.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2852.cs | 107 ++++ .../Skills/SkillStubs5/skill2852.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2853.cs | 148 +++++ .../Skills/SkillStubs5/skill2853.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2854.cs | 142 +++++ .../Skills/SkillStubs5/skill2854.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2855.cs | 104 ++++ .../Skills/SkillStubs5/skill2855.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2856.cs | 104 ++++ .../Skills/SkillStubs5/skill2856.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2857.cs | 104 ++++ .../Skills/SkillStubs5/skill2857.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2858.cs | 104 ++++ .../Skills/SkillStubs5/skill2858.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2859.cs | 120 ++++ .../Skills/SkillStubs5/skill2859.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2860.cs | 117 ++++ .../Skills/SkillStubs5/skill2860.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2862.cs | 117 ++++ .../Skills/SkillStubs5/skill2862.cs.meta | 2 + .../Scripts/Skills/SkillStubs5/skill2863.cs | 111 ++++ .../Skills/SkillStubs5/skill2863.cs.meta | 2 + .../Scripts/Skills/SkillStubs6.meta | 8 + .../Scripts/Skills/SkillStubs6/SkillStubs6.cs | 525 ++++++++++++++++++ .../Skills/SkillStubs6/SkillStubs6.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill147.cs | 186 +++++++ .../Skills/SkillStubs6/skill147.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill148.cs | 184 ++++++ .../Skills/SkillStubs6/skill148.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill168.cs | 185 ++++++ .../Skills/SkillStubs6/skill168.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill169.cs | 187 +++++++ .../Skills/SkillStubs6/skill169.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill170.cs | 189 +++++++ .../Skills/SkillStubs6/skill170.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill171.cs | 185 ++++++ .../Skills/SkillStubs6/skill171.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill172.cs | 185 ++++++ .../Skills/SkillStubs6/skill172.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill173.cs | 184 ++++++ .../Skills/SkillStubs6/skill173.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill174.cs | 183 ++++++ .../Skills/SkillStubs6/skill174.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill175.cs | 186 +++++++ .../Skills/SkillStubs6/skill175.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill20.cs | 185 ++++++ .../Skills/SkillStubs6/skill20.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill21.cs | 177 ++++++ .../Skills/SkillStubs6/skill21.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill22.cs | 177 ++++++ .../Skills/SkillStubs6/skill22.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill23.cs | 177 ++++++ .../Skills/SkillStubs6/skill23.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill24.cs | 177 ++++++ .../Skills/SkillStubs6/skill24.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill25.cs | 184 ++++++ .../Skills/SkillStubs6/skill25.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill259.cs | 185 ++++++ .../Skills/SkillStubs6/skill259.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill26.cs | 184 ++++++ .../Skills/SkillStubs6/skill26.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill260.cs | 177 ++++++ .../Skills/SkillStubs6/skill260.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill261.cs | 177 ++++++ .../Skills/SkillStubs6/skill261.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill262.cs | 177 ++++++ .../Skills/SkillStubs6/skill262.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2620.cs | 192 +++++++ .../Skills/SkillStubs6/skill2620.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2621.cs | 201 +++++++ .../Skills/SkillStubs6/skill2621.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2622.cs | 201 +++++++ .../Skills/SkillStubs6/skill2622.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2623.cs | 209 +++++++ .../Skills/SkillStubs6/skill2623.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2624.cs | 204 +++++++ .../Skills/SkillStubs6/skill2624.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2625.cs | 108 ++++ .../Skills/SkillStubs6/skill2625.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2626.cs | 104 ++++ .../Skills/SkillStubs6/skill2626.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2627.cs | 189 +++++++ .../Skills/SkillStubs6/skill2627.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2628.cs | 192 +++++++ .../Skills/SkillStubs6/skill2628.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2629.cs | 157 ++++++ .../Skills/SkillStubs6/skill2629.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill263.cs | 177 ++++++ .../Skills/SkillStubs6/skill263.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2630.cs | 202 +++++++ .../Skills/SkillStubs6/skill2630.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2631.cs | 200 +++++++ .../Skills/SkillStubs6/skill2631.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill264.cs | 177 ++++++ .../Skills/SkillStubs6/skill264.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill265.cs | 177 ++++++ .../Skills/SkillStubs6/skill265.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill266.cs | 177 ++++++ .../Skills/SkillStubs6/skill266.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill267.cs | 177 ++++++ .../Skills/SkillStubs6/skill267.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2677.cs | 177 ++++++ .../Skills/SkillStubs6/skill2677.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2678.cs | 180 ++++++ .../Skills/SkillStubs6/skill2678.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2679.cs | 182 ++++++ .../Skills/SkillStubs6/skill2679.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill268.cs | 177 ++++++ .../Skills/SkillStubs6/skill268.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2680.cs | 182 ++++++ .../Skills/SkillStubs6/skill2680.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2689.cs | 101 ++++ .../Skills/SkillStubs6/skill2689.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill269.cs | 177 ++++++ .../Skills/SkillStubs6/skill269.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2690.cs | 101 ++++ .../Skills/SkillStubs6/skill2690.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2691.cs | 102 ++++ .../Skills/SkillStubs6/skill2691.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill27.cs | 185 ++++++ .../Skills/SkillStubs6/skill27.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill270.cs | 188 +++++++ .../Skills/SkillStubs6/skill270.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill271.cs | 177 ++++++ .../Skills/SkillStubs6/skill271.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill272.cs | 177 ++++++ .../Skills/SkillStubs6/skill272.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill273.cs | 184 ++++++ .../Skills/SkillStubs6/skill273.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill275.cs | 178 ++++++ .../Skills/SkillStubs6/skill275.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill276.cs | 184 ++++++ .../Skills/SkillStubs6/skill276.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill277.cs | 178 ++++++ .../Skills/SkillStubs6/skill277.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2777.cs | 198 +++++++ .../Skills/SkillStubs6/skill2777.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2778.cs | 199 +++++++ .../Skills/SkillStubs6/skill2778.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2779.cs | 202 +++++++ .../Skills/SkillStubs6/skill2779.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill278.cs | 184 ++++++ .../Skills/SkillStubs6/skill278.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2780.cs | 202 +++++++ .../Skills/SkillStubs6/skill2780.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2781.cs | 191 +++++++ .../Skills/SkillStubs6/skill2781.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2782.cs | 199 +++++++ .../Skills/SkillStubs6/skill2782.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2783.cs | 205 +++++++ .../Skills/SkillStubs6/skill2783.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2784.cs | 205 +++++++ .../Skills/SkillStubs6/skill2784.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2785.cs | 198 +++++++ .../Skills/SkillStubs6/skill2785.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2786.cs | 198 +++++++ .../Skills/SkillStubs6/skill2786.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2787.cs | 200 +++++++ .../Skills/SkillStubs6/skill2787.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2788.cs | 200 +++++++ .../Skills/SkillStubs6/skill2788.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2789.cs | 200 +++++++ .../Skills/SkillStubs6/skill2789.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill279.cs | 184 ++++++ .../Skills/SkillStubs6/skill279.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2790.cs | 200 +++++++ .../Skills/SkillStubs6/skill2790.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2791.cs | 204 +++++++ .../Skills/SkillStubs6/skill2791.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2792.cs | 204 +++++++ .../Skills/SkillStubs6/skill2792.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2793.cs | 266 +++++++++ .../Skills/SkillStubs6/skill2793.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2794.cs | 266 +++++++++ .../Skills/SkillStubs6/skill2794.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2795.cs | 204 +++++++ .../Skills/SkillStubs6/skill2795.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2796.cs | 204 +++++++ .../Skills/SkillStubs6/skill2796.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2797.cs | 191 +++++++ .../Skills/SkillStubs6/skill2797.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2798.cs | 198 +++++++ .../Skills/SkillStubs6/skill2798.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2799.cs | 205 +++++++ .../Skills/SkillStubs6/skill2799.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill28.cs | 177 ++++++ .../Skills/SkillStubs6/skill28.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill280.cs | 184 ++++++ .../Skills/SkillStubs6/skill280.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2800.cs | 205 +++++++ .../Skills/SkillStubs6/skill2800.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2801.cs | 204 +++++++ .../Skills/SkillStubs6/skill2801.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2802.cs | 206 +++++++ .../Skills/SkillStubs6/skill2802.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2803.cs | 187 +++++++ .../Skills/SkillStubs6/skill2803.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2804.cs | 216 +++++++ .../Skills/SkillStubs6/skill2804.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2805.cs | 202 +++++++ .../Skills/SkillStubs6/skill2805.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2806.cs | 202 +++++++ .../Skills/SkillStubs6/skill2806.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2807.cs | 197 +++++++ .../Skills/SkillStubs6/skill2807.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2808.cs | 197 +++++++ .../Skills/SkillStubs6/skill2808.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2809.cs | 172 ++++++ .../Skills/SkillStubs6/skill2809.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill281.cs | 184 ++++++ .../Skills/SkillStubs6/skill281.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2810.cs | 172 ++++++ .../Skills/SkillStubs6/skill2810.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2811.cs | 285 ++++++++++ .../Skills/SkillStubs6/skill2811.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2812.cs | 285 ++++++++++ .../Skills/SkillStubs6/skill2812.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2813.cs | 234 ++++++++ .../Skills/SkillStubs6/skill2813.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2814.cs | 234 ++++++++ .../Skills/SkillStubs6/skill2814.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2815.cs | 123 ++++ .../Skills/SkillStubs6/skill2815.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2816.cs | 130 +++++ .../Skills/SkillStubs6/skill2816.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2817.cs | 197 +++++++ .../Skills/SkillStubs6/skill2817.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2818.cs | 197 +++++++ .../Skills/SkillStubs6/skill2818.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2819.cs | 168 ++++++ .../Skills/SkillStubs6/skill2819.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill282.cs | 184 ++++++ .../Skills/SkillStubs6/skill282.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2820.cs | 168 ++++++ .../Skills/SkillStubs6/skill2820.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2823.cs | 158 ++++++ .../Skills/SkillStubs6/skill2823.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2824.cs | 158 ++++++ .../Skills/SkillStubs6/skill2824.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2829.cs | 104 ++++ .../Skills/SkillStubs6/skill2829.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill283.cs | 185 ++++++ .../Skills/SkillStubs6/skill283.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2830.cs | 105 ++++ .../Skills/SkillStubs6/skill2830.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2831.cs | 104 ++++ .../Skills/SkillStubs6/skill2831.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2832.cs | 105 ++++ .../Skills/SkillStubs6/skill2832.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2833.cs | 105 ++++ .../Skills/SkillStubs6/skill2833.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2834.cs | 106 ++++ .../Skills/SkillStubs6/skill2834.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill284.cs | 184 ++++++ .../Skills/SkillStubs6/skill284.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2841.cs | 108 ++++ .../Skills/SkillStubs6/skill2841.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2842.cs | 108 ++++ .../Skills/SkillStubs6/skill2842.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2843.cs | 104 ++++ .../Skills/SkillStubs6/skill2843.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2844.cs | 104 ++++ .../Skills/SkillStubs6/skill2844.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2845.cs | 209 +++++++ .../Skills/SkillStubs6/skill2845.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill2846.cs | 209 +++++++ .../Skills/SkillStubs6/skill2846.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill285.cs | 184 ++++++ .../Skills/SkillStubs6/skill285.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill286.cs | 191 +++++++ .../Skills/SkillStubs6/skill286.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill287.cs | 184 ++++++ .../Skills/SkillStubs6/skill287.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill288.cs | 186 +++++++ .../Skills/SkillStubs6/skill288.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill289.cs | 184 ++++++ .../Skills/SkillStubs6/skill289.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill29.cs | 185 ++++++ .../Skills/SkillStubs6/skill29.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill290.cs | 184 ++++++ .../Skills/SkillStubs6/skill290.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill291.cs | 184 ++++++ .../Skills/SkillStubs6/skill291.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill292.cs | 186 +++++++ .../Skills/SkillStubs6/skill292.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill293.cs | 188 +++++++ .../Skills/SkillStubs6/skill293.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill294.cs | 184 ++++++ .../Skills/SkillStubs6/skill294.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill295.cs | 190 +++++++ .../Skills/SkillStubs6/skill295.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill296.cs | 188 +++++++ .../Skills/SkillStubs6/skill296.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill297.cs | 188 +++++++ .../Skills/SkillStubs6/skill297.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill298.cs | 188 +++++++ .../Skills/SkillStubs6/skill298.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill30.cs | 177 ++++++ .../Skills/SkillStubs6/skill30.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill31.cs | 185 ++++++ .../Skills/SkillStubs6/skill31.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill32.cs | 177 ++++++ .../Skills/SkillStubs6/skill32.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill33.cs | 183 ++++++ .../Skills/SkillStubs6/skill33.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill331.cs | 186 +++++++ .../Skills/SkillStubs6/skill331.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill332.cs | 186 +++++++ .../Skills/SkillStubs6/skill332.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill333.cs | 186 +++++++ .../Skills/SkillStubs6/skill333.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill334.cs | 185 ++++++ .../Skills/SkillStubs6/skill334.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill335.cs | 178 ++++++ .../Skills/SkillStubs6/skill335.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill336.cs | 184 ++++++ .../Skills/SkillStubs6/skill336.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill337.cs | 185 ++++++ .../Skills/SkillStubs6/skill337.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill338.cs | 184 ++++++ .../Skills/SkillStubs6/skill338.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill339.cs | 177 ++++++ .../Skills/SkillStubs6/skill339.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill34.cs | 184 ++++++ .../Skills/SkillStubs6/skill34.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill340.cs | 184 ++++++ .../Skills/SkillStubs6/skill340.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill341.cs | 185 ++++++ .../Skills/SkillStubs6/skill341.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill342.cs | 185 ++++++ .../Skills/SkillStubs6/skill342.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill343.cs | 184 ++++++ .../Skills/SkillStubs6/skill343.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill344.cs | 178 ++++++ .../Skills/SkillStubs6/skill344.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill345.cs | 185 ++++++ .../Skills/SkillStubs6/skill345.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill346.cs | 186 +++++++ .../Skills/SkillStubs6/skill346.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill347.cs | 184 ++++++ .../Skills/SkillStubs6/skill347.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill348.cs | 186 +++++++ .../Skills/SkillStubs6/skill348.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill349.cs | 186 +++++++ .../Skills/SkillStubs6/skill349.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill35.cs | 184 ++++++ .../Skills/SkillStubs6/skill35.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill350.cs | 185 ++++++ .../Skills/SkillStubs6/skill350.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill351.cs | 185 ++++++ .../Skills/SkillStubs6/skill351.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill352.cs | 184 ++++++ .../Skills/SkillStubs6/skill352.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill353.cs | 187 +++++++ .../Skills/SkillStubs6/skill353.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill354.cs | 187 +++++++ .../Skills/SkillStubs6/skill354.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill355.cs | 191 +++++++ .../Skills/SkillStubs6/skill355.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill356.cs | 188 +++++++ .../Skills/SkillStubs6/skill356.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill357.cs | 187 +++++++ .../Skills/SkillStubs6/skill357.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill358.cs | 183 ++++++ .../Skills/SkillStubs6/skill358.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill359.cs | 185 ++++++ .../Skills/SkillStubs6/skill359.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill36.cs | 184 ++++++ .../Skills/SkillStubs6/skill36.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill37.cs | 183 ++++++ .../Skills/SkillStubs6/skill37.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill38.cs | 183 ++++++ .../Skills/SkillStubs6/skill38.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill39.cs | 184 ++++++ .../Skills/SkillStubs6/skill39.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill40.cs | 176 ++++++ .../Skills/SkillStubs6/skill40.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill41.cs | 184 ++++++ .../Skills/SkillStubs6/skill41.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill42.cs | 184 ++++++ .../Skills/SkillStubs6/skill42.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill43.cs | 184 ++++++ .../Skills/SkillStubs6/skill43.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill44.cs | 183 ++++++ .../Skills/SkillStubs6/skill44.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill45.cs | 176 ++++++ .../Skills/SkillStubs6/skill45.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill46.cs | 184 ++++++ .../Skills/SkillStubs6/skill46.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill47.cs | 184 ++++++ .../Skills/SkillStubs6/skill47.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill48.cs | 184 ++++++ .../Skills/SkillStubs6/skill48.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill49.cs | 184 ++++++ .../Skills/SkillStubs6/skill49.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill50.cs | 188 +++++++ .../Skills/SkillStubs6/skill50.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill51.cs | 183 ++++++ .../Skills/SkillStubs6/skill51.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill52.cs | 186 +++++++ .../Skills/SkillStubs6/skill52.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill682.cs | 184 ++++++ .../Skills/SkillStubs6/skill682.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill683.cs | 184 ++++++ .../Skills/SkillStubs6/skill683.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill684.cs | 186 +++++++ .../Skills/SkillStubs6/skill684.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill685.cs | 184 ++++++ .../Skills/SkillStubs6/skill685.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill686.cs | 182 ++++++ .../Skills/SkillStubs6/skill686.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill687.cs | 189 +++++++ .../Skills/SkillStubs6/skill687.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill688.cs | 189 +++++++ .../Skills/SkillStubs6/skill688.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill689.cs | 186 +++++++ .../Skills/SkillStubs6/skill689.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill691.cs | 191 +++++++ .../Skills/SkillStubs6/skill691.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill692.cs | 187 +++++++ .../Skills/SkillStubs6/skill692.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill693.cs | 186 +++++++ .../Skills/SkillStubs6/skill693.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill694.cs | 185 ++++++ .../Skills/SkillStubs6/skill694.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill695.cs | 185 ++++++ .../Skills/SkillStubs6/skill695.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill696.cs | 184 ++++++ .../Skills/SkillStubs6/skill696.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill697.cs | 187 +++++++ .../Skills/SkillStubs6/skill697.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill698.cs | 179 ++++++ .../Skills/SkillStubs6/skill698.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill699.cs | 184 ++++++ .../Skills/SkillStubs6/skill699.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill700.cs | 190 +++++++ .../Skills/SkillStubs6/skill700.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill701.cs | 184 ++++++ .../Skills/SkillStubs6/skill701.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill702.cs | 184 ++++++ .../Skills/SkillStubs6/skill702.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill703.cs | 190 +++++++ .../Skills/SkillStubs6/skill703.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill704.cs | 187 +++++++ .../Skills/SkillStubs6/skill704.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill705.cs | 185 ++++++ .../Skills/SkillStubs6/skill705.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill706.cs | 184 ++++++ .../Skills/SkillStubs6/skill706.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill707.cs | 187 +++++++ .../Skills/SkillStubs6/skill707.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill708.cs | 183 ++++++ .../Skills/SkillStubs6/skill708.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill709.cs | 184 ++++++ .../Skills/SkillStubs6/skill709.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill710.cs | 183 ++++++ .../Skills/SkillStubs6/skill710.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill711.cs | 152 +++++ .../Skills/SkillStubs6/skill711.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill712.cs | 149 +++++ .../Skills/SkillStubs6/skill712.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill713.cs | 149 +++++ .../Skills/SkillStubs6/skill713.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill714.cs | 147 +++++ .../Skills/SkillStubs6/skill714.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill715.cs | 151 +++++ .../Skills/SkillStubs6/skill715.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill716.cs | 149 +++++ .../Skills/SkillStubs6/skill716.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill717.cs | 148 +++++ .../Skills/SkillStubs6/skill717.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill718.cs | 148 +++++ .../Skills/SkillStubs6/skill718.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill719.cs | 149 +++++ .../Skills/SkillStubs6/skill719.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill720.cs | 151 +++++ .../Skills/SkillStubs6/skill720.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill721.cs | 149 +++++ .../Skills/SkillStubs6/skill721.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill722.cs | 149 +++++ .../Skills/SkillStubs6/skill722.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill723.cs | 154 +++++ .../Skills/SkillStubs6/skill723.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill724.cs | 149 +++++ .../Skills/SkillStubs6/skill724.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill725.cs | 157 ++++++ .../Skills/SkillStubs6/skill725.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill726.cs | 147 +++++ .../Skills/SkillStubs6/skill726.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill727.cs | 149 +++++ .../Skills/SkillStubs6/skill727.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill728.cs | 149 +++++ .../Skills/SkillStubs6/skill728.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill729.cs | 149 +++++ .../Skills/SkillStubs6/skill729.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill730.cs | 149 +++++ .../Skills/SkillStubs6/skill730.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill731.cs | 149 +++++ .../Skills/SkillStubs6/skill731.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill732.cs | 153 +++++ .../Skills/SkillStubs6/skill732.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill733.cs | 149 +++++ .../Skills/SkillStubs6/skill733.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill734.cs | 149 +++++ .../Skills/SkillStubs6/skill734.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill735.cs | 149 +++++ .../Skills/SkillStubs6/skill735.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill736.cs | 149 +++++ .../Skills/SkillStubs6/skill736.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill737.cs | 149 +++++ .../Skills/SkillStubs6/skill737.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill738.cs | 120 ++++ .../Skills/SkillStubs6/skill738.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill739.cs | 120 ++++ .../Skills/SkillStubs6/skill739.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill740.cs | 149 +++++ .../Skills/SkillStubs6/skill740.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill741.cs | 149 +++++ .../Skills/SkillStubs6/skill741.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill742.cs | 149 +++++ .../Skills/SkillStubs6/skill742.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill743.cs | 118 ++++ .../Skills/SkillStubs6/skill743.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill744.cs | 118 ++++ .../Skills/SkillStubs6/skill744.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill745.cs | 118 ++++ .../Skills/SkillStubs6/skill745.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill746.cs | 118 ++++ .../Skills/SkillStubs6/skill746.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill747.cs | 190 +++++++ .../Skills/SkillStubs6/skill747.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill748.cs | 189 +++++++ .../Skills/SkillStubs6/skill748.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill749.cs | 189 +++++++ .../Skills/SkillStubs6/skill749.cs.meta | 2 + .../Scripts/Skills/SkillStubs6/skill750.cs | 189 +++++++ .../Skills/SkillStubs6/skill750.cs.meta | 2 + .../Scripts/Skills/SkillStubs7.meta | 8 + .../Scripts/Skills/SkillStubs7/SkillStubs7.cs | 525 ++++++++++++++++++ .../Skills/SkillStubs7/SkillStubs7.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1054.cs | 188 +++++++ .../Skills/SkillStubs7/skill1054.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1055.cs | 190 +++++++ .../Skills/SkillStubs7/skill1055.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1056.cs | 190 +++++++ .../Skills/SkillStubs7/skill1056.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1057.cs | 187 +++++++ .../Skills/SkillStubs7/skill1057.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1058.cs | 188 +++++++ .../Skills/SkillStubs7/skill1058.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1059.cs | 186 +++++++ .../Skills/SkillStubs7/skill1059.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1060.cs | 186 +++++++ .../Skills/SkillStubs7/skill1060.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1061.cs | 193 +++++++ .../Skills/SkillStubs7/skill1061.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1062.cs | 187 +++++++ .../Skills/SkillStubs7/skill1062.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1063.cs | 178 ++++++ .../Skills/SkillStubs7/skill1063.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1064.cs | 191 +++++++ .../Skills/SkillStubs7/skill1064.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1065.cs | 186 +++++++ .../Skills/SkillStubs7/skill1065.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1066.cs | 187 +++++++ .../Skills/SkillStubs7/skill1066.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1067.cs | 186 +++++++ .../Skills/SkillStubs7/skill1067.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1068.cs | 194 +++++++ .../Skills/SkillStubs7/skill1068.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1069.cs | 193 +++++++ .../Skills/SkillStubs7/skill1069.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1070.cs | 193 +++++++ .../Skills/SkillStubs7/skill1070.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1071.cs | 192 +++++++ .../Skills/SkillStubs7/skill1071.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1072.cs | 179 ++++++ .../Skills/SkillStubs7/skill1072.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1073.cs | 168 ++++++ .../Skills/SkillStubs7/skill1073.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1074.cs | 186 +++++++ .../Skills/SkillStubs7/skill1074.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1075.cs | 193 +++++++ .../Skills/SkillStubs7/skill1075.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1076.cs | 130 +++++ .../Skills/SkillStubs7/skill1076.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1087.cs | 150 +++++ .../Skills/SkillStubs7/skill1087.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1088.cs | 184 ++++++ .../Skills/SkillStubs7/skill1088.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1089.cs | 186 +++++++ .../Skills/SkillStubs7/skill1089.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1090.cs | 185 ++++++ .../Skills/SkillStubs7/skill1090.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1142.cs | 158 ++++++ .../Skills/SkillStubs7/skill1142.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1143.cs | 158 ++++++ .../Skills/SkillStubs7/skill1143.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1144.cs | 158 ++++++ .../Skills/SkillStubs7/skill1144.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1154.cs | 186 +++++++ .../Skills/SkillStubs7/skill1154.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1155.cs | 186 +++++++ .../Skills/SkillStubs7/skill1155.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1156.cs | 189 +++++++ .../Skills/SkillStubs7/skill1156.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1157.cs | 190 +++++++ .../Skills/SkillStubs7/skill1157.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1158.cs | 183 ++++++ .../Skills/SkillStubs7/skill1158.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1159.cs | 181 ++++++ .../Skills/SkillStubs7/skill1159.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1160.cs | 186 +++++++ .../Skills/SkillStubs7/skill1160.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1161.cs | 186 +++++++ .../Skills/SkillStubs7/skill1161.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1162.cs | 185 ++++++ .../Skills/SkillStubs7/skill1162.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1163.cs | 189 +++++++ .../Skills/SkillStubs7/skill1163.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1164.cs | 189 +++++++ .../Skills/SkillStubs7/skill1164.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1165.cs | 189 +++++++ .../Skills/SkillStubs7/skill1165.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1166.cs | 189 +++++++ .../Skills/SkillStubs7/skill1166.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1167.cs | 189 +++++++ .../Skills/SkillStubs7/skill1167.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1177.cs | 188 +++++++ .../Skills/SkillStubs7/skill1177.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1183.cs | 189 +++++++ .../Skills/SkillStubs7/skill1183.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1188.cs | 155 ++++++ .../Skills/SkillStubs7/skill1188.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1190.cs | 122 ++++ .../Skills/SkillStubs7/skill1190.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1191.cs | 120 ++++ .../Skills/SkillStubs7/skill1191.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1192.cs | 185 ++++++ .../Skills/SkillStubs7/skill1192.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1193.cs | 194 +++++++ .../Skills/SkillStubs7/skill1193.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1194.cs | 198 +++++++ .../Skills/SkillStubs7/skill1194.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1328.cs | 185 ++++++ .../Skills/SkillStubs7/skill1328.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1329.cs | 189 +++++++ .../Skills/SkillStubs7/skill1329.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1330.cs | 190 +++++++ .../Skills/SkillStubs7/skill1330.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1331.cs | 188 +++++++ .../Skills/SkillStubs7/skill1331.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1332.cs | 188 +++++++ .../Skills/SkillStubs7/skill1332.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1333.cs | 189 +++++++ .../Skills/SkillStubs7/skill1333.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1334.cs | 185 ++++++ .../Skills/SkillStubs7/skill1334.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1335.cs | 186 +++++++ .../Skills/SkillStubs7/skill1335.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1336.cs | 118 ++++ .../Skills/SkillStubs7/skill1336.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1337.cs | 118 ++++ .../Skills/SkillStubs7/skill1337.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1338.cs | 184 ++++++ .../Skills/SkillStubs7/skill1338.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1339.cs | 184 ++++++ .../Skills/SkillStubs7/skill1339.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1403.cs | 179 ++++++ .../Skills/SkillStubs7/skill1403.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1404.cs | 179 ++++++ .../Skills/SkillStubs7/skill1404.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1405.cs | 179 ++++++ .../Skills/SkillStubs7/skill1405.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1406.cs | 179 ++++++ .../Skills/SkillStubs7/skill1406.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1407.cs | 179 ++++++ .../Skills/SkillStubs7/skill1407.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1408.cs | 179 ++++++ .../Skills/SkillStubs7/skill1408.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1409.cs | 179 ++++++ .../Skills/SkillStubs7/skill1409.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1410.cs | 179 ++++++ .../Skills/SkillStubs7/skill1410.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1411.cs | 179 ++++++ .../Skills/SkillStubs7/skill1411.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1412.cs | 179 ++++++ .../Skills/SkillStubs7/skill1412.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1413.cs | 179 ++++++ .../Skills/SkillStubs7/skill1413.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1414.cs | 179 ++++++ .../Skills/SkillStubs7/skill1414.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1415.cs | 179 ++++++ .../Skills/SkillStubs7/skill1415.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1416.cs | 179 ++++++ .../Skills/SkillStubs7/skill1416.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1417.cs | 179 ++++++ .../Skills/SkillStubs7/skill1417.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1418.cs | 179 ++++++ .../Skills/SkillStubs7/skill1418.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1419.cs | 179 ++++++ .../Skills/SkillStubs7/skill1419.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1420.cs | 179 ++++++ .../Skills/SkillStubs7/skill1420.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1421.cs | 179 ++++++ .../Skills/SkillStubs7/skill1421.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1422.cs | 179 ++++++ .../Skills/SkillStubs7/skill1422.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1423.cs | 179 ++++++ .../Skills/SkillStubs7/skill1423.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1424.cs | 179 ++++++ .../Skills/SkillStubs7/skill1424.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1425.cs | 179 ++++++ .../Skills/SkillStubs7/skill1425.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1426.cs | 179 ++++++ .../Skills/SkillStubs7/skill1426.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1427.cs | 179 ++++++ .../Skills/SkillStubs7/skill1427.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1428.cs | 179 ++++++ .../Skills/SkillStubs7/skill1428.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1429.cs | 179 ++++++ .../Skills/SkillStubs7/skill1429.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1430.cs | 179 ++++++ .../Skills/SkillStubs7/skill1430.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1431.cs | 179 ++++++ .../Skills/SkillStubs7/skill1431.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1432.cs | 179 ++++++ .../Skills/SkillStubs7/skill1432.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1433.cs | 179 ++++++ .../Skills/SkillStubs7/skill1433.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1434.cs | 179 ++++++ .../Skills/SkillStubs7/skill1434.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1435.cs | 179 ++++++ .../Skills/SkillStubs7/skill1435.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill1436.cs | 179 ++++++ .../Skills/SkillStubs7/skill1436.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill751.cs | 189 +++++++ .../Skills/SkillStubs7/skill751.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill752.cs | 189 +++++++ .../Skills/SkillStubs7/skill752.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill753.cs | 187 +++++++ .../Skills/SkillStubs7/skill753.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill754.cs | 188 +++++++ .../Skills/SkillStubs7/skill754.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill755.cs | 188 +++++++ .../Skills/SkillStubs7/skill755.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill756.cs | 188 +++++++ .../Skills/SkillStubs7/skill756.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill757.cs | 186 +++++++ .../Skills/SkillStubs7/skill757.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill758.cs | 188 +++++++ .../Skills/SkillStubs7/skill758.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill759.cs | 189 +++++++ .../Skills/SkillStubs7/skill759.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill760.cs | 188 +++++++ .../Skills/SkillStubs7/skill760.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill761.cs | 196 +++++++ .../Skills/SkillStubs7/skill761.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill765.cs | 186 +++++++ .../Skills/SkillStubs7/skill765.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill766.cs | 185 ++++++ .../Skills/SkillStubs7/skill766.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill767.cs | 185 ++++++ .../Skills/SkillStubs7/skill767.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill768.cs | 185 ++++++ .../Skills/SkillStubs7/skill768.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill769.cs | 185 ++++++ .../Skills/SkillStubs7/skill769.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill770.cs | 186 +++++++ .../Skills/SkillStubs7/skill770.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill771.cs | 188 +++++++ .../Skills/SkillStubs7/skill771.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill772.cs | 187 +++++++ .../Skills/SkillStubs7/skill772.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill773.cs | 187 +++++++ .../Skills/SkillStubs7/skill773.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill774.cs | 149 +++++ .../Skills/SkillStubs7/skill774.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill775.cs | 187 +++++++ .../Skills/SkillStubs7/skill775.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill776.cs | 188 +++++++ .../Skills/SkillStubs7/skill776.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill777.cs | 186 +++++++ .../Skills/SkillStubs7/skill777.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill778.cs | 178 ++++++ .../Skills/SkillStubs7/skill778.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill779.cs | 183 ++++++ .../Skills/SkillStubs7/skill779.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill780.cs | 184 ++++++ .../Skills/SkillStubs7/skill780.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill781.cs | 192 +++++++ .../Skills/SkillStubs7/skill781.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill782.cs | 183 ++++++ .../Skills/SkillStubs7/skill782.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill783.cs | 183 ++++++ .../Skills/SkillStubs7/skill783.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill784.cs | 186 +++++++ .../Skills/SkillStubs7/skill784.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill785.cs | 185 ++++++ .../Skills/SkillStubs7/skill785.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill786.cs | 183 ++++++ .../Skills/SkillStubs7/skill786.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill787.cs | 183 ++++++ .../Skills/SkillStubs7/skill787.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill788.cs | 184 ++++++ .../Skills/SkillStubs7/skill788.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill789.cs | 187 +++++++ .../Skills/SkillStubs7/skill789.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill790.cs | 186 +++++++ .../Skills/SkillStubs7/skill790.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill791.cs | 186 +++++++ .../Skills/SkillStubs7/skill791.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill792.cs | 186 +++++++ .../Skills/SkillStubs7/skill792.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill793.cs | 186 +++++++ .../Skills/SkillStubs7/skill793.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill794.cs | 185 ++++++ .../Skills/SkillStubs7/skill794.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill795.cs | 190 +++++++ .../Skills/SkillStubs7/skill795.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill796.cs | 200 +++++++ .../Skills/SkillStubs7/skill796.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill797.cs | 191 +++++++ .../Skills/SkillStubs7/skill797.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill798.cs | 201 +++++++ .../Skills/SkillStubs7/skill798.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill799.cs | 183 ++++++ .../Skills/SkillStubs7/skill799.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill800.cs | 188 +++++++ .../Skills/SkillStubs7/skill800.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill801.cs | 189 +++++++ .../Skills/SkillStubs7/skill801.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill802.cs | 189 +++++++ .../Skills/SkillStubs7/skill802.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill803.cs | 189 +++++++ .../Skills/SkillStubs7/skill803.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill804.cs | 189 +++++++ .../Skills/SkillStubs7/skill804.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill805.cs | 189 +++++++ .../Skills/SkillStubs7/skill805.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill806.cs | 193 +++++++ .../Skills/SkillStubs7/skill806.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill807.cs | 186 +++++++ .../Skills/SkillStubs7/skill807.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill808.cs | 184 ++++++ .../Skills/SkillStubs7/skill808.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill814.cs | 156 ++++++ .../Skills/SkillStubs7/skill814.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill815.cs | 185 ++++++ .../Skills/SkillStubs7/skill815.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill816.cs | 185 ++++++ .../Skills/SkillStubs7/skill816.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill817.cs | 191 +++++++ .../Skills/SkillStubs7/skill817.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill818.cs | 187 +++++++ .../Skills/SkillStubs7/skill818.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill819.cs | 151 +++++ .../Skills/SkillStubs7/skill819.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill820.cs | 174 ++++++ .../Skills/SkillStubs7/skill820.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill821.cs | 185 ++++++ .../Skills/SkillStubs7/skill821.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill822.cs | 196 +++++++ .../Skills/SkillStubs7/skill822.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill823.cs | 189 +++++++ .../Skills/SkillStubs7/skill823.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill824.cs | 188 +++++++ .../Skills/SkillStubs7/skill824.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill826.cs | 178 ++++++ .../Skills/SkillStubs7/skill826.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill827.cs | 185 ++++++ .../Skills/SkillStubs7/skill827.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill828.cs | 196 +++++++ .../Skills/SkillStubs7/skill828.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill829.cs | 184 ++++++ .../Skills/SkillStubs7/skill829.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill830.cs | 184 ++++++ .../Skills/SkillStubs7/skill830.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill831.cs | 178 ++++++ .../Skills/SkillStubs7/skill831.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill832.cs | 184 ++++++ .../Skills/SkillStubs7/skill832.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill833.cs | 186 +++++++ .../Skills/SkillStubs7/skill833.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill834.cs | 178 ++++++ .../Skills/SkillStubs7/skill834.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill835.cs | 188 +++++++ .../Skills/SkillStubs7/skill835.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill836.cs | 186 +++++++ .../Skills/SkillStubs7/skill836.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill837.cs | 186 +++++++ .../Skills/SkillStubs7/skill837.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill838.cs | 186 +++++++ .../Skills/SkillStubs7/skill838.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill839.cs | 186 +++++++ .../Skills/SkillStubs7/skill839.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill840.cs | 186 +++++++ .../Skills/SkillStubs7/skill840.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill841.cs | 186 +++++++ .../Skills/SkillStubs7/skill841.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill842.cs | 190 +++++++ .../Skills/SkillStubs7/skill842.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill843.cs | 186 +++++++ .../Skills/SkillStubs7/skill843.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill844.cs | 190 +++++++ .../Skills/SkillStubs7/skill844.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill845.cs | 188 +++++++ .../Skills/SkillStubs7/skill845.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill846.cs | 185 ++++++ .../Skills/SkillStubs7/skill846.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill847.cs | 190 +++++++ .../Skills/SkillStubs7/skill847.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill848.cs | 188 +++++++ .../Skills/SkillStubs7/skill848.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill849.cs | 188 +++++++ .../Skills/SkillStubs7/skill849.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill850.cs | 188 +++++++ .../Skills/SkillStubs7/skill850.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill851.cs | 188 +++++++ .../Skills/SkillStubs7/skill851.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill852.cs | 186 +++++++ .../Skills/SkillStubs7/skill852.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill853.cs | 187 +++++++ .../Skills/SkillStubs7/skill853.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill854.cs | 188 +++++++ .../Skills/SkillStubs7/skill854.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill855.cs | 188 +++++++ .../Skills/SkillStubs7/skill855.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill856.cs | 188 +++++++ .../Skills/SkillStubs7/skill856.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill857.cs | 188 +++++++ .../Skills/SkillStubs7/skill857.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill858.cs | 188 +++++++ .../Skills/SkillStubs7/skill858.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill859.cs | 188 +++++++ .../Skills/SkillStubs7/skill859.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill860.cs | 189 +++++++ .../Skills/SkillStubs7/skill860.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill861.cs | 190 +++++++ .../Skills/SkillStubs7/skill861.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill862.cs | 190 +++++++ .../Skills/SkillStubs7/skill862.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill863.cs | 189 +++++++ .../Skills/SkillStubs7/skill863.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill864.cs | 193 +++++++ .../Skills/SkillStubs7/skill864.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill865.cs | 189 +++++++ .../Skills/SkillStubs7/skill865.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill866.cs | 186 +++++++ .../Skills/SkillStubs7/skill866.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill867.cs | 183 ++++++ .../Skills/SkillStubs7/skill867.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill868.cs | 184 ++++++ .../Skills/SkillStubs7/skill868.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill869.cs | 183 ++++++ .../Skills/SkillStubs7/skill869.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill870.cs | 184 ++++++ .../Skills/SkillStubs7/skill870.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill871.cs | 188 +++++++ .../Skills/SkillStubs7/skill871.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill872.cs | 182 ++++++ .../Skills/SkillStubs7/skill872.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill873.cs | 184 ++++++ .../Skills/SkillStubs7/skill873.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill874.cs | 184 ++++++ .../Skills/SkillStubs7/skill874.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill875.cs | 159 ++++++ .../Skills/SkillStubs7/skill875.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill876.cs | 183 ++++++ .../Skills/SkillStubs7/skill876.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill877.cs | 185 ++++++ .../Skills/SkillStubs7/skill877.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill878.cs | 183 ++++++ .../Skills/SkillStubs7/skill878.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill879.cs | 183 ++++++ .../Skills/SkillStubs7/skill879.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill880.cs | 184 ++++++ .../Skills/SkillStubs7/skill880.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill881.cs | 184 ++++++ .../Skills/SkillStubs7/skill881.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill882.cs | 188 +++++++ .../Skills/SkillStubs7/skill882.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill883.cs | 183 ++++++ .../Skills/SkillStubs7/skill883.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill884.cs | 184 ++++++ .../Skills/SkillStubs7/skill884.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill885.cs | 184 ++++++ .../Skills/SkillStubs7/skill885.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill886.cs | 184 ++++++ .../Skills/SkillStubs7/skill886.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill887.cs | 183 ++++++ .../Skills/SkillStubs7/skill887.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill888.cs | 184 ++++++ .../Skills/SkillStubs7/skill888.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill889.cs | 184 ++++++ .../Skills/SkillStubs7/skill889.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill890.cs | 184 ++++++ .../Skills/SkillStubs7/skill890.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill891.cs | 184 ++++++ .../Skills/SkillStubs7/skill891.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill892.cs | 184 ++++++ .../Skills/SkillStubs7/skill892.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill893.cs | 186 +++++++ .../Skills/SkillStubs7/skill893.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill894.cs | 185 ++++++ .../Skills/SkillStubs7/skill894.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill895.cs | 186 +++++++ .../Skills/SkillStubs7/skill895.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill936.cs | 118 ++++ .../Skills/SkillStubs7/skill936.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill937.cs | 118 ++++ .../Skills/SkillStubs7/skill937.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill938.cs | 118 ++++ .../Skills/SkillStubs7/skill938.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill939.cs | 118 ++++ .../Skills/SkillStubs7/skill939.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill940.cs | 118 ++++ .../Skills/SkillStubs7/skill940.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill941.cs | 118 ++++ .../Skills/SkillStubs7/skill941.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill942.cs | 118 ++++ .../Skills/SkillStubs7/skill942.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill943.cs | 118 ++++ .../Skills/SkillStubs7/skill943.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill944.cs | 118 ++++ .../Skills/SkillStubs7/skill944.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill945.cs | 188 +++++++ .../Skills/SkillStubs7/skill945.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill946.cs | 185 ++++++ .../Skills/SkillStubs7/skill946.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill947.cs | 190 +++++++ .../Skills/SkillStubs7/skill947.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill948.cs | 186 +++++++ .../Skills/SkillStubs7/skill948.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill949.cs | 190 +++++++ .../Skills/SkillStubs7/skill949.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill950.cs | 120 ++++ .../Skills/SkillStubs7/skill950.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill951.cs | 120 ++++ .../Skills/SkillStubs7/skill951.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill952.cs | 122 ++++ .../Skills/SkillStubs7/skill952.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill953.cs | 119 ++++ .../Skills/SkillStubs7/skill953.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill954.cs | 120 ++++ .../Skills/SkillStubs7/skill954.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill955.cs | 120 ++++ .../Skills/SkillStubs7/skill955.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill956.cs | 120 ++++ .../Skills/SkillStubs7/skill956.cs.meta | 2 + .../Scripts/Skills/SkillStubs7/skill957.cs | 195 +++++++ .../Skills/SkillStubs7/skill957.cs.meta | 2 + .../Scripts/Skills/SkillStubs8.meta | 8 + .../Scripts/Skills/SkillStubs8/SkillStubs8.cs | 525 ++++++++++++++++++ .../Skills/SkillStubs8/SkillStubs8.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1437.cs | 179 ++++++ .../Skills/SkillStubs8/skill1437.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1438.cs | 179 ++++++ .../Skills/SkillStubs8/skill1438.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1439.cs | 179 ++++++ .../Skills/SkillStubs8/skill1439.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1440.cs | 179 ++++++ .../Skills/SkillStubs8/skill1440.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1441.cs | 179 ++++++ .../Skills/SkillStubs8/skill1441.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1442.cs | 179 ++++++ .../Skills/SkillStubs8/skill1442.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1443.cs | 179 ++++++ .../Skills/SkillStubs8/skill1443.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1444.cs | 179 ++++++ .../Skills/SkillStubs8/skill1444.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1445.cs | 179 ++++++ .../Skills/SkillStubs8/skill1445.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1446.cs | 179 ++++++ .../Skills/SkillStubs8/skill1446.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1447.cs | 179 ++++++ .../Skills/SkillStubs8/skill1447.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1448.cs | 179 ++++++ .../Skills/SkillStubs8/skill1448.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1449.cs | 179 ++++++ .../Skills/SkillStubs8/skill1449.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1450.cs | 179 ++++++ .../Skills/SkillStubs8/skill1450.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1451.cs | 179 ++++++ .../Skills/SkillStubs8/skill1451.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1452.cs | 179 ++++++ .../Skills/SkillStubs8/skill1452.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1453.cs | 179 ++++++ .../Skills/SkillStubs8/skill1453.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1454.cs | 179 ++++++ .../Skills/SkillStubs8/skill1454.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1455.cs | 179 ++++++ .../Skills/SkillStubs8/skill1455.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1456.cs | 179 ++++++ .../Skills/SkillStubs8/skill1456.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1457.cs | 179 ++++++ .../Skills/SkillStubs8/skill1457.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1458.cs | 179 ++++++ .../Skills/SkillStubs8/skill1458.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1459.cs | 179 ++++++ .../Skills/SkillStubs8/skill1459.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1460.cs | 179 ++++++ .../Skills/SkillStubs8/skill1460.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1461.cs | 179 ++++++ .../Skills/SkillStubs8/skill1461.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1462.cs | 179 ++++++ .../Skills/SkillStubs8/skill1462.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1463.cs | 179 ++++++ .../Skills/SkillStubs8/skill1463.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1464.cs | 179 ++++++ .../Skills/SkillStubs8/skill1464.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1465.cs | 179 ++++++ .../Skills/SkillStubs8/skill1465.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1466.cs | 179 ++++++ .../Skills/SkillStubs8/skill1466.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1467.cs | 179 ++++++ .../Skills/SkillStubs8/skill1467.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1468.cs | 179 ++++++ .../Skills/SkillStubs8/skill1468.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1469.cs | 179 ++++++ .../Skills/SkillStubs8/skill1469.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1470.cs | 179 ++++++ .../Skills/SkillStubs8/skill1470.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1471.cs | 179 ++++++ .../Skills/SkillStubs8/skill1471.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1472.cs | 179 ++++++ .../Skills/SkillStubs8/skill1472.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1473.cs | 179 ++++++ .../Skills/SkillStubs8/skill1473.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1474.cs | 179 ++++++ .../Skills/SkillStubs8/skill1474.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1475.cs | 179 ++++++ .../Skills/SkillStubs8/skill1475.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1476.cs | 179 ++++++ .../Skills/SkillStubs8/skill1476.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1477.cs | 179 ++++++ .../Skills/SkillStubs8/skill1477.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1478.cs | 179 ++++++ .../Skills/SkillStubs8/skill1478.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1479.cs | 179 ++++++ .../Skills/SkillStubs8/skill1479.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1480.cs | 179 ++++++ .../Skills/SkillStubs8/skill1480.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1481.cs | 179 ++++++ .../Skills/SkillStubs8/skill1481.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1482.cs | 179 ++++++ .../Skills/SkillStubs8/skill1482.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1483.cs | 179 ++++++ .../Skills/SkillStubs8/skill1483.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1484.cs | 179 ++++++ .../Skills/SkillStubs8/skill1484.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1485.cs | 179 ++++++ .../Skills/SkillStubs8/skill1485.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1486.cs | 179 ++++++ .../Skills/SkillStubs8/skill1486.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1487.cs | 179 ++++++ .../Skills/SkillStubs8/skill1487.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1488.cs | 179 ++++++ .../Skills/SkillStubs8/skill1488.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1489.cs | 179 ++++++ .../Skills/SkillStubs8/skill1489.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1490.cs | 179 ++++++ .../Skills/SkillStubs8/skill1490.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1491.cs | 179 ++++++ .../Skills/SkillStubs8/skill1491.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1492.cs | 179 ++++++ .../Skills/SkillStubs8/skill1492.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1493.cs | 179 ++++++ .../Skills/SkillStubs8/skill1493.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1494.cs | 179 ++++++ .../Skills/SkillStubs8/skill1494.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1495.cs | 179 ++++++ .../Skills/SkillStubs8/skill1495.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1496.cs | 179 ++++++ .../Skills/SkillStubs8/skill1496.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1497.cs | 179 ++++++ .../Skills/SkillStubs8/skill1497.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1499.cs | 189 +++++++ .../Skills/SkillStubs8/skill1499.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1500.cs | 190 +++++++ .../Skills/SkillStubs8/skill1500.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1501.cs | 186 +++++++ .../Skills/SkillStubs8/skill1501.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1502.cs | 186 +++++++ .../Skills/SkillStubs8/skill1502.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1503.cs | 186 +++++++ .../Skills/SkillStubs8/skill1503.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1504.cs | 193 +++++++ .../Skills/SkillStubs8/skill1504.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1505.cs | 179 ++++++ .../Skills/SkillStubs8/skill1505.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1506.cs | 199 +++++++ .../Skills/SkillStubs8/skill1506.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1507.cs | 195 +++++++ .../Skills/SkillStubs8/skill1507.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1508.cs | 186 +++++++ .../Skills/SkillStubs8/skill1508.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1509.cs | 185 ++++++ .../Skills/SkillStubs8/skill1509.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1510.cs | 177 ++++++ .../Skills/SkillStubs8/skill1510.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1511.cs | 193 +++++++ .../Skills/SkillStubs8/skill1511.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1512.cs | 126 +++++ .../Skills/SkillStubs8/skill1512.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1513.cs | 187 +++++++ .../Skills/SkillStubs8/skill1513.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1514.cs | 206 +++++++ .../Skills/SkillStubs8/skill1514.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1515.cs | 202 +++++++ .../Skills/SkillStubs8/skill1515.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1516.cs | 193 +++++++ .../Skills/SkillStubs8/skill1516.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1517.cs | 193 +++++++ .../Skills/SkillStubs8/skill1517.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1518.cs | 162 ++++++ .../Skills/SkillStubs8/skill1518.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1519.cs | 162 ++++++ .../Skills/SkillStubs8/skill1519.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1520.cs | 162 ++++++ .../Skills/SkillStubs8/skill1520.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1521.cs | 162 ++++++ .../Skills/SkillStubs8/skill1521.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1522.cs | 189 +++++++ .../Skills/SkillStubs8/skill1522.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1523.cs | 92 +++ .../Skills/SkillStubs8/skill1523.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1524.cs | 192 +++++++ .../Skills/SkillStubs8/skill1524.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1525.cs | 181 ++++++ .../Skills/SkillStubs8/skill1525.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1526.cs | 181 ++++++ .../Skills/SkillStubs8/skill1526.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1527.cs | 181 ++++++ .../Skills/SkillStubs8/skill1527.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1528.cs | 175 ++++++ .../Skills/SkillStubs8/skill1528.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1529.cs | 183 ++++++ .../Skills/SkillStubs8/skill1529.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1530.cs | 179 ++++++ .../Skills/SkillStubs8/skill1530.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1531.cs | 179 ++++++ .../Skills/SkillStubs8/skill1531.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1532.cs | 179 ++++++ .../Skills/SkillStubs8/skill1532.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1533.cs | 179 ++++++ .../Skills/SkillStubs8/skill1533.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1534.cs | 179 ++++++ .../Skills/SkillStubs8/skill1534.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1535.cs | 179 ++++++ .../Skills/SkillStubs8/skill1535.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1536.cs | 179 ++++++ .../Skills/SkillStubs8/skill1536.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1537.cs | 179 ++++++ .../Skills/SkillStubs8/skill1537.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1538.cs | 179 ++++++ .../Skills/SkillStubs8/skill1538.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1539.cs | 179 ++++++ .../Skills/SkillStubs8/skill1539.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1540.cs | 179 ++++++ .../Skills/SkillStubs8/skill1540.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1541.cs | 179 ++++++ .../Skills/SkillStubs8/skill1541.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1542.cs | 179 ++++++ .../Skills/SkillStubs8/skill1542.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1543.cs | 179 ++++++ .../Skills/SkillStubs8/skill1543.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1544.cs | 179 ++++++ .../Skills/SkillStubs8/skill1544.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1545.cs | 179 ++++++ .../Skills/SkillStubs8/skill1545.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1546.cs | 179 ++++++ .../Skills/SkillStubs8/skill1546.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1547.cs | 179 ++++++ .../Skills/SkillStubs8/skill1547.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1548.cs | 179 ++++++ .../Skills/SkillStubs8/skill1548.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1549.cs | 179 ++++++ .../Skills/SkillStubs8/skill1549.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1550.cs | 179 ++++++ .../Skills/SkillStubs8/skill1550.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1551.cs | 179 ++++++ .../Skills/SkillStubs8/skill1551.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1552.cs | 179 ++++++ .../Skills/SkillStubs8/skill1552.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1553.cs | 179 ++++++ .../Skills/SkillStubs8/skill1553.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1554.cs | 179 ++++++ .../Skills/SkillStubs8/skill1554.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1555.cs | 179 ++++++ .../Skills/SkillStubs8/skill1555.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1556.cs | 179 ++++++ .../Skills/SkillStubs8/skill1556.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1557.cs | 179 ++++++ .../Skills/SkillStubs8/skill1557.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1558.cs | 179 ++++++ .../Skills/SkillStubs8/skill1558.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1559.cs | 191 +++++++ .../Skills/SkillStubs8/skill1559.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1560.cs | 191 +++++++ .../Skills/SkillStubs8/skill1560.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1561.cs | 191 +++++++ .../Skills/SkillStubs8/skill1561.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1562.cs | 191 +++++++ .../Skills/SkillStubs8/skill1562.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1563.cs | 191 +++++++ .../Skills/SkillStubs8/skill1563.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1564.cs | 125 +++++ .../Skills/SkillStubs8/skill1564.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1565.cs | 194 +++++++ .../Skills/SkillStubs8/skill1565.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1566.cs | 185 ++++++ .../Skills/SkillStubs8/skill1566.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1567.cs | 186 +++++++ .../Skills/SkillStubs8/skill1567.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1578.cs | 150 +++++ .../Skills/SkillStubs8/skill1578.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1579.cs | 150 +++++ .../Skills/SkillStubs8/skill1579.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1580.cs | 150 +++++ .../Skills/SkillStubs8/skill1580.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1581.cs | 149 +++++ .../Skills/SkillStubs8/skill1581.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1582.cs | 150 +++++ .../Skills/SkillStubs8/skill1582.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1583.cs | 150 +++++ .../Skills/SkillStubs8/skill1583.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1584.cs | 150 +++++ .../Skills/SkillStubs8/skill1584.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1585.cs | 150 +++++ .../Skills/SkillStubs8/skill1585.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1586.cs | 150 +++++ .../Skills/SkillStubs8/skill1586.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1587.cs | 150 +++++ .../Skills/SkillStubs8/skill1587.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1588.cs | 150 +++++ .../Skills/SkillStubs8/skill1588.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1589.cs | 150 +++++ .../Skills/SkillStubs8/skill1589.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1590.cs | 150 +++++ .../Skills/SkillStubs8/skill1590.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1591.cs | 150 +++++ .../Skills/SkillStubs8/skill1591.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1592.cs | 150 +++++ .../Skills/SkillStubs8/skill1592.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1593.cs | 150 +++++ .../Skills/SkillStubs8/skill1593.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1594.cs | 150 +++++ .../Skills/SkillStubs8/skill1594.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1595.cs | 150 +++++ .../Skills/SkillStubs8/skill1595.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1596.cs | 150 +++++ .../Skills/SkillStubs8/skill1596.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1597.cs | 150 +++++ .../Skills/SkillStubs8/skill1597.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1598.cs | 150 +++++ .../Skills/SkillStubs8/skill1598.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1599.cs | 150 +++++ .../Skills/SkillStubs8/skill1599.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1600.cs | 150 +++++ .../Skills/SkillStubs8/skill1600.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1601.cs | 151 +++++ .../Skills/SkillStubs8/skill1601.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1602.cs | 150 +++++ .../Skills/SkillStubs8/skill1602.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1603.cs | 187 +++++++ .../Skills/SkillStubs8/skill1603.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1604.cs | 187 +++++++ .../Skills/SkillStubs8/skill1604.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1605.cs | 187 +++++++ .../Skills/SkillStubs8/skill1605.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1606.cs | 187 +++++++ .../Skills/SkillStubs8/skill1606.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1607.cs | 187 +++++++ .../Skills/SkillStubs8/skill1607.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1608.cs | 187 +++++++ .../Skills/SkillStubs8/skill1608.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1609.cs | 187 +++++++ .../Skills/SkillStubs8/skill1609.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1610.cs | 187 +++++++ .../Skills/SkillStubs8/skill1610.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1611.cs | 187 +++++++ .../Skills/SkillStubs8/skill1611.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1612.cs | 187 +++++++ .../Skills/SkillStubs8/skill1612.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1613.cs | 187 +++++++ .../Skills/SkillStubs8/skill1613.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1614.cs | 187 +++++++ .../Skills/SkillStubs8/skill1614.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1615.cs | 187 +++++++ .../Skills/SkillStubs8/skill1615.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1616.cs | 187 +++++++ .../Skills/SkillStubs8/skill1616.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1617.cs | 187 +++++++ .../Skills/SkillStubs8/skill1617.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1646.cs | 188 +++++++ .../Skills/SkillStubs8/skill1646.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1647.cs | 192 +++++++ .../Skills/SkillStubs8/skill1647.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1648.cs | 187 +++++++ .../Skills/SkillStubs8/skill1648.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1649.cs | 183 ++++++ .../Skills/SkillStubs8/skill1649.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1650.cs | 189 +++++++ .../Skills/SkillStubs8/skill1650.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1654.cs | 182 ++++++ .../Skills/SkillStubs8/skill1654.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1655.cs | 186 +++++++ .../Skills/SkillStubs8/skill1655.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1656.cs | 193 +++++++ .../Skills/SkillStubs8/skill1656.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1741.cs | 154 +++++ .../Skills/SkillStubs8/skill1741.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1743.cs | 151 +++++ .../Skills/SkillStubs8/skill1743.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1744.cs | 151 +++++ .../Skills/SkillStubs8/skill1744.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1745.cs | 151 +++++ .../Skills/SkillStubs8/skill1745.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1746.cs | 155 ++++++ .../Skills/SkillStubs8/skill1746.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1747.cs | 151 +++++ .../Skills/SkillStubs8/skill1747.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1748.cs | 151 +++++ .../Skills/SkillStubs8/skill1748.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1749.cs | 168 ++++++ .../Skills/SkillStubs8/skill1749.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1750.cs | 169 ++++++ .../Skills/SkillStubs8/skill1750.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1751.cs | 168 ++++++ .../Skills/SkillStubs8/skill1751.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1752.cs | 168 ++++++ .../Skills/SkillStubs8/skill1752.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1753.cs | 168 ++++++ .../Skills/SkillStubs8/skill1753.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1754.cs | 130 +++++ .../Skills/SkillStubs8/skill1754.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1755.cs | 189 +++++++ .../Skills/SkillStubs8/skill1755.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1756.cs | 186 +++++++ .../Skills/SkillStubs8/skill1756.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1757.cs | 185 ++++++ .../Skills/SkillStubs8/skill1757.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1758.cs | 186 +++++++ .../Skills/SkillStubs8/skill1758.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1759.cs | 152 +++++ .../Skills/SkillStubs8/skill1759.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1760.cs | 152 +++++ .../Skills/SkillStubs8/skill1760.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1761.cs | 152 +++++ .../Skills/SkillStubs8/skill1761.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1762.cs | 152 +++++ .../Skills/SkillStubs8/skill1762.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1763.cs | 169 ++++++ .../Skills/SkillStubs8/skill1763.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1764.cs | 151 +++++ .../Skills/SkillStubs8/skill1764.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1765.cs | 151 +++++ .../Skills/SkillStubs8/skill1765.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1766.cs | 186 +++++++ .../Skills/SkillStubs8/skill1766.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1767.cs | 170 ++++++ .../Skills/SkillStubs8/skill1767.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1768.cs | 170 ++++++ .../Skills/SkillStubs8/skill1768.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1769.cs | 172 ++++++ .../Skills/SkillStubs8/skill1769.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1770.cs | 172 ++++++ .../Skills/SkillStubs8/skill1770.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1776.cs | 183 ++++++ .../Skills/SkillStubs8/skill1776.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1777.cs | 181 ++++++ .../Skills/SkillStubs8/skill1777.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1778.cs | 180 ++++++ .../Skills/SkillStubs8/skill1778.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1779.cs | 183 ++++++ .../Skills/SkillStubs8/skill1779.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1780.cs | 181 ++++++ .../Skills/SkillStubs8/skill1780.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1781.cs | 157 ++++++ .../Skills/SkillStubs8/skill1781.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1782.cs | 157 ++++++ .../Skills/SkillStubs8/skill1782.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1783.cs | 157 ++++++ .../Skills/SkillStubs8/skill1783.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1784.cs | 157 ++++++ .../Skills/SkillStubs8/skill1784.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1785.cs | 157 ++++++ .../Skills/SkillStubs8/skill1785.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1786.cs | 151 +++++ .../Skills/SkillStubs8/skill1786.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1787.cs | 187 +++++++ .../Skills/SkillStubs8/skill1787.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1788.cs | 186 +++++++ .../Skills/SkillStubs8/skill1788.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1789.cs | 151 +++++ .../Skills/SkillStubs8/skill1789.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1790.cs | 186 +++++++ .../Skills/SkillStubs8/skill1790.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1791.cs | 186 +++++++ .../Skills/SkillStubs8/skill1791.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1792.cs | 150 +++++ .../Skills/SkillStubs8/skill1792.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1793.cs | 186 +++++++ .../Skills/SkillStubs8/skill1793.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1794.cs | 190 +++++++ .../Skills/SkillStubs8/skill1794.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1795.cs | 127 +++++ .../Skills/SkillStubs8/skill1795.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1796.cs | 185 ++++++ .../Skills/SkillStubs8/skill1796.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1797.cs | 181 ++++++ .../Skills/SkillStubs8/skill1797.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1798.cs | 150 +++++ .../Skills/SkillStubs8/skill1798.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1799.cs | 150 +++++ .../Skills/SkillStubs8/skill1799.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1800.cs | 152 +++++ .../Skills/SkillStubs8/skill1800.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1801.cs | 191 +++++++ .../Skills/SkillStubs8/skill1801.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1802.cs | 188 +++++++ .../Skills/SkillStubs8/skill1802.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1803.cs | 150 +++++ .../Skills/SkillStubs8/skill1803.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1858.cs | 166 ++++++ .../Skills/SkillStubs8/skill1858.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1878.cs | 187 +++++++ .../Skills/SkillStubs8/skill1878.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1879.cs | 186 +++++++ .../Skills/SkillStubs8/skill1879.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1880.cs | 187 +++++++ .../Skills/SkillStubs8/skill1880.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1882.cs | 186 +++++++ .../Skills/SkillStubs8/skill1882.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1883.cs | 185 ++++++ .../Skills/SkillStubs8/skill1883.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1884.cs | 192 +++++++ .../Skills/SkillStubs8/skill1884.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1885.cs | 192 +++++++ .../Skills/SkillStubs8/skill1885.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1886.cs | 184 ++++++ .../Skills/SkillStubs8/skill1886.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1887.cs | 151 +++++ .../Skills/SkillStubs8/skill1887.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1888.cs | 159 ++++++ .../Skills/SkillStubs8/skill1888.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1889.cs | 198 +++++++ .../Skills/SkillStubs8/skill1889.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1890.cs | 185 ++++++ .../Skills/SkillStubs8/skill1890.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1891.cs | 187 +++++++ .../Skills/SkillStubs8/skill1891.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1892.cs | 186 +++++++ .../Skills/SkillStubs8/skill1892.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1893.cs | 190 +++++++ .../Skills/SkillStubs8/skill1893.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1894.cs | 186 +++++++ .../Skills/SkillStubs8/skill1894.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1895.cs | 186 +++++++ .../Skills/SkillStubs8/skill1895.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1896.cs | 159 ++++++ .../Skills/SkillStubs8/skill1896.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1897.cs | 159 ++++++ .../Skills/SkillStubs8/skill1897.cs.meta | 2 + .../Scripts/Skills/SkillStubs8/skill1898.cs | 151 +++++ .../Skills/SkillStubs8/skill1898.cs.meta | 2 + .../Scripts/Skills/SkillStubs9.meta | 8 + .../Scripts/Skills/SkillStubs9/SkillStubs9.cs | 525 ++++++++++++++++++ .../Skills/SkillStubs9/SkillStubs9.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1899.cs | 157 ++++++ .../Skills/SkillStubs9/skill1899.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1900.cs | 150 +++++ .../Skills/SkillStubs9/skill1900.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1901.cs | 179 ++++++ .../Skills/SkillStubs9/skill1901.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1902.cs | 179 ++++++ .../Skills/SkillStubs9/skill1902.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1903.cs | 187 +++++++ .../Skills/SkillStubs9/skill1903.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1904.cs | 179 ++++++ .../Skills/SkillStubs9/skill1904.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1905.cs | 179 ++++++ .../Skills/SkillStubs9/skill1905.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1906.cs | 179 ++++++ .../Skills/SkillStubs9/skill1906.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1908.cs | 151 +++++ .../Skills/SkillStubs9/skill1908.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1909.cs | 151 +++++ .../Skills/SkillStubs9/skill1909.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1910.cs | 171 ++++++ .../Skills/SkillStubs9/skill1910.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1911.cs | 181 ++++++ .../Skills/SkillStubs9/skill1911.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1912.cs | 169 ++++++ .../Skills/SkillStubs9/skill1912.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1913.cs | 195 +++++++ .../Skills/SkillStubs9/skill1913.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1914.cs | 187 +++++++ .../Skills/SkillStubs9/skill1914.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1915.cs | 186 +++++++ .../Skills/SkillStubs9/skill1915.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1919.cs | 179 ++++++ .../Skills/SkillStubs9/skill1919.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1920.cs | 185 ++++++ .../Skills/SkillStubs9/skill1920.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1921.cs | 193 +++++++ .../Skills/SkillStubs9/skill1921.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1922.cs | 172 ++++++ .../Skills/SkillStubs9/skill1922.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1923.cs | 152 +++++ .../Skills/SkillStubs9/skill1923.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1924.cs | 147 +++++ .../Skills/SkillStubs9/skill1924.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1925.cs | 168 ++++++ .../Skills/SkillStubs9/skill1925.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1926.cs | 172 ++++++ .../Skills/SkillStubs9/skill1926.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1927.cs | 150 +++++ .../Skills/SkillStubs9/skill1927.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1928.cs | 139 +++++ .../Skills/SkillStubs9/skill1928.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1931.cs | 188 +++++++ .../Skills/SkillStubs9/skill1931.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1932.cs | 169 ++++++ .../Skills/SkillStubs9/skill1932.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1933.cs | 188 +++++++ .../Skills/SkillStubs9/skill1933.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1934.cs | 187 +++++++ .../Skills/SkillStubs9/skill1934.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1935.cs | 144 +++++ .../Skills/SkillStubs9/skill1935.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1936.cs | 192 +++++++ .../Skills/SkillStubs9/skill1936.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1937.cs | 174 ++++++ .../Skills/SkillStubs9/skill1937.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1938.cs | 177 ++++++ .../Skills/SkillStubs9/skill1938.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1939.cs | 170 ++++++ .../Skills/SkillStubs9/skill1939.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1940.cs | 171 ++++++ .../Skills/SkillStubs9/skill1940.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1941.cs | 167 ++++++ .../Skills/SkillStubs9/skill1941.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1942.cs | 172 ++++++ .../Skills/SkillStubs9/skill1942.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1943.cs | 169 ++++++ .../Skills/SkillStubs9/skill1943.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1944.cs | 185 ++++++ .../Skills/SkillStubs9/skill1944.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1945.cs | 178 ++++++ .../Skills/SkillStubs9/skill1945.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1946.cs | 186 +++++++ .../Skills/SkillStubs9/skill1946.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1947.cs | 186 +++++++ .../Skills/SkillStubs9/skill1947.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1948.cs | 157 ++++++ .../Skills/SkillStubs9/skill1948.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1950.cs | 157 ++++++ .../Skills/SkillStubs9/skill1950.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1952.cs | 158 ++++++ .../Skills/SkillStubs9/skill1952.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1953.cs | 157 ++++++ .../Skills/SkillStubs9/skill1953.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1954.cs | 149 +++++ .../Skills/SkillStubs9/skill1954.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1955.cs | 148 +++++ .../Skills/SkillStubs9/skill1955.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1956.cs | 193 +++++++ .../Skills/SkillStubs9/skill1956.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1957.cs | 196 +++++++ .../Skills/SkillStubs9/skill1957.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1958.cs | 193 +++++++ .../Skills/SkillStubs9/skill1958.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1959.cs | 151 +++++ .../Skills/SkillStubs9/skill1959.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1960.cs | 151 +++++ .../Skills/SkillStubs9/skill1960.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1961.cs | 186 +++++++ .../Skills/SkillStubs9/skill1961.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1962.cs | 189 +++++++ .../Skills/SkillStubs9/skill1962.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1963.cs | 170 ++++++ .../Skills/SkillStubs9/skill1963.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1964.cs | 186 +++++++ .../Skills/SkillStubs9/skill1964.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1965.cs | 170 ++++++ .../Skills/SkillStubs9/skill1965.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1966.cs | 151 +++++ .../Skills/SkillStubs9/skill1966.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1967.cs | 186 +++++++ .../Skills/SkillStubs9/skill1967.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1968.cs | 128 +++++ .../Skills/SkillStubs9/skill1968.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1969.cs | 122 ++++ .../Skills/SkillStubs9/skill1969.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1970.cs | 122 ++++ .../Skills/SkillStubs9/skill1970.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1971.cs | 122 ++++ .../Skills/SkillStubs9/skill1971.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1972.cs | 187 +++++++ .../Skills/SkillStubs9/skill1972.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1973.cs | 151 +++++ .../Skills/SkillStubs9/skill1973.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1974.cs | 150 +++++ .../Skills/SkillStubs9/skill1974.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1975.cs | 150 +++++ .../Skills/SkillStubs9/skill1975.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1976.cs | 151 +++++ .../Skills/SkillStubs9/skill1976.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1977.cs | 124 +++++ .../Skills/SkillStubs9/skill1977.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1978.cs | 125 +++++ .../Skills/SkillStubs9/skill1978.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1979.cs | 194 +++++++ .../Skills/SkillStubs9/skill1979.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1988.cs | 150 +++++ .../Skills/SkillStubs9/skill1988.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1989.cs | 151 +++++ .../Skills/SkillStubs9/skill1989.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1990.cs | 151 +++++ .../Skills/SkillStubs9/skill1990.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1991.cs | 187 +++++++ .../Skills/SkillStubs9/skill1991.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1992.cs | 159 ++++++ .../Skills/SkillStubs9/skill1992.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1993.cs | 187 +++++++ .../Skills/SkillStubs9/skill1993.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1994.cs | 188 +++++++ .../Skills/SkillStubs9/skill1994.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1995.cs | 191 +++++++ .../Skills/SkillStubs9/skill1995.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1996.cs | 184 ++++++ .../Skills/SkillStubs9/skill1996.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1997.cs | 187 +++++++ .../Skills/SkillStubs9/skill1997.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1998.cs | 184 ++++++ .../Skills/SkillStubs9/skill1998.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill1999.cs | 184 ++++++ .../Skills/SkillStubs9/skill1999.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2000.cs | 184 ++++++ .../Skills/SkillStubs9/skill2000.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2001.cs | 185 ++++++ .../Skills/SkillStubs9/skill2001.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2002.cs | 193 +++++++ .../Skills/SkillStubs9/skill2002.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2003.cs | 193 +++++++ .../Skills/SkillStubs9/skill2003.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2004.cs | 187 +++++++ .../Skills/SkillStubs9/skill2004.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2005.cs | 187 +++++++ .../Skills/SkillStubs9/skill2005.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2006.cs | 193 +++++++ .../Skills/SkillStubs9/skill2006.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2007.cs | 189 +++++++ .../Skills/SkillStubs9/skill2007.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2008.cs | 159 ++++++ .../Skills/SkillStubs9/skill2008.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2009.cs | 202 +++++++ .../Skills/SkillStubs9/skill2009.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2010.cs | 179 ++++++ .../Skills/SkillStubs9/skill2010.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2011.cs | 179 ++++++ .../Skills/SkillStubs9/skill2011.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2012.cs | 193 +++++++ .../Skills/SkillStubs9/skill2012.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2013.cs | 195 +++++++ .../Skills/SkillStubs9/skill2013.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2014.cs | 188 +++++++ .../Skills/SkillStubs9/skill2014.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2015.cs | 180 ++++++ .../Skills/SkillStubs9/skill2015.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2016.cs | 188 +++++++ .../Skills/SkillStubs9/skill2016.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2017.cs | 199 +++++++ .../Skills/SkillStubs9/skill2017.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2018.cs | 161 ++++++ .../Skills/SkillStubs9/skill2018.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2019.cs | 188 +++++++ .../Skills/SkillStubs9/skill2019.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2020.cs | 191 +++++++ .../Skills/SkillStubs9/skill2020.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2021.cs | 187 +++++++ .../Skills/SkillStubs9/skill2021.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2022.cs | 194 +++++++ .../Skills/SkillStubs9/skill2022.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2023.cs | 188 +++++++ .../Skills/SkillStubs9/skill2023.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2024.cs | 185 ++++++ .../Skills/SkillStubs9/skill2024.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2025.cs | 190 +++++++ .../Skills/SkillStubs9/skill2025.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2026.cs | 179 ++++++ .../Skills/SkillStubs9/skill2026.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2027.cs | 196 +++++++ .../Skills/SkillStubs9/skill2027.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2028.cs | 186 +++++++ .../Skills/SkillStubs9/skill2028.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2029.cs | 197 +++++++ .../Skills/SkillStubs9/skill2029.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2030.cs | 195 +++++++ .../Skills/SkillStubs9/skill2030.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2031.cs | 193 +++++++ .../Skills/SkillStubs9/skill2031.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2032.cs | 184 ++++++ .../Skills/SkillStubs9/skill2032.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2033.cs | 190 +++++++ .../Skills/SkillStubs9/skill2033.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2034.cs | 196 +++++++ .../Skills/SkillStubs9/skill2034.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2035.cs | 187 +++++++ .../Skills/SkillStubs9/skill2035.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2036.cs | 190 +++++++ .../Skills/SkillStubs9/skill2036.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2037.cs | 191 +++++++ .../Skills/SkillStubs9/skill2037.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2038.cs | 191 +++++++ .../Skills/SkillStubs9/skill2038.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2039.cs | 192 +++++++ .../Skills/SkillStubs9/skill2039.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2040.cs | 196 +++++++ .../Skills/SkillStubs9/skill2040.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2041.cs | 187 +++++++ .../Skills/SkillStubs9/skill2041.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2042.cs | 159 ++++++ .../Skills/SkillStubs9/skill2042.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2043.cs | 189 +++++++ .../Skills/SkillStubs9/skill2043.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2044.cs | 187 +++++++ .../Skills/SkillStubs9/skill2044.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2045.cs | 161 ++++++ .../Skills/SkillStubs9/skill2045.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2046.cs | 162 ++++++ .../Skills/SkillStubs9/skill2046.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2047.cs | 161 ++++++ .../Skills/SkillStubs9/skill2047.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2048.cs | 168 ++++++ .../Skills/SkillStubs9/skill2048.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2049.cs | 159 ++++++ .../Skills/SkillStubs9/skill2049.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2050.cs | 192 +++++++ .../Skills/SkillStubs9/skill2050.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2051.cs | 193 +++++++ .../Skills/SkillStubs9/skill2051.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2052.cs | 193 +++++++ .../Skills/SkillStubs9/skill2052.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2053.cs | 194 +++++++ .../Skills/SkillStubs9/skill2053.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2054.cs | 198 +++++++ .../Skills/SkillStubs9/skill2054.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2055.cs | 150 +++++ .../Skills/SkillStubs9/skill2055.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2056.cs | 197 +++++++ .../Skills/SkillStubs9/skill2056.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2057.cs | 187 +++++++ .../Skills/SkillStubs9/skill2057.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2058.cs | 191 +++++++ .../Skills/SkillStubs9/skill2058.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2059.cs | 192 +++++++ .../Skills/SkillStubs9/skill2059.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2060.cs | 153 +++++ .../Skills/SkillStubs9/skill2060.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2061.cs | 189 +++++++ .../Skills/SkillStubs9/skill2061.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2062.cs | 192 +++++++ .../Skills/SkillStubs9/skill2062.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2063.cs | 153 +++++ .../Skills/SkillStubs9/skill2063.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2064.cs | 187 +++++++ .../Skills/SkillStubs9/skill2064.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2065.cs | 186 +++++++ .../Skills/SkillStubs9/skill2065.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2066.cs | 158 ++++++ .../Skills/SkillStubs9/skill2066.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2067.cs | 186 +++++++ .../Skills/SkillStubs9/skill2067.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2068.cs | 186 +++++++ .../Skills/SkillStubs9/skill2068.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2069.cs | 190 +++++++ .../Skills/SkillStubs9/skill2069.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2070.cs | 190 +++++++ .../Skills/SkillStubs9/skill2070.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2071.cs | 157 ++++++ .../Skills/SkillStubs9/skill2071.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2072.cs | 158 ++++++ .../Skills/SkillStubs9/skill2072.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2074.cs | 184 ++++++ .../Skills/SkillStubs9/skill2074.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2075.cs | 152 +++++ .../Skills/SkillStubs9/skill2075.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2076.cs | 160 ++++++ .../Skills/SkillStubs9/skill2076.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2077.cs | 195 +++++++ .../Skills/SkillStubs9/skill2077.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2078.cs | 184 ++++++ .../Skills/SkillStubs9/skill2078.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2079.cs | 200 +++++++ .../Skills/SkillStubs9/skill2079.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2080.cs | 191 +++++++ .../Skills/SkillStubs9/skill2080.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2081.cs | 191 +++++++ .../Skills/SkillStubs9/skill2081.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2082.cs | 192 +++++++ .../Skills/SkillStubs9/skill2082.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2083.cs | 194 +++++++ .../Skills/SkillStubs9/skill2083.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2084.cs | 190 +++++++ .../Skills/SkillStubs9/skill2084.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2085.cs | 184 ++++++ .../Skills/SkillStubs9/skill2085.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2086.cs | 189 +++++++ .../Skills/SkillStubs9/skill2086.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2087.cs | 194 +++++++ .../Skills/SkillStubs9/skill2087.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2088.cs | 189 +++++++ .../Skills/SkillStubs9/skill2088.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2089.cs | 189 +++++++ .../Skills/SkillStubs9/skill2089.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2090.cs | 194 +++++++ .../Skills/SkillStubs9/skill2090.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2091.cs | 198 +++++++ .../Skills/SkillStubs9/skill2091.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2092.cs | 194 +++++++ .../Skills/SkillStubs9/skill2092.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2093.cs | 194 +++++++ .../Skills/SkillStubs9/skill2093.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2094.cs | 192 +++++++ .../Skills/SkillStubs9/skill2094.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2095.cs | 153 +++++ .../Skills/SkillStubs9/skill2095.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2096.cs | 192 +++++++ .../Skills/SkillStubs9/skill2096.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2097.cs | 154 +++++ .../Skills/SkillStubs9/skill2097.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2098.cs | 192 +++++++ .../Skills/SkillStubs9/skill2098.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2099.cs | 153 +++++ .../Skills/SkillStubs9/skill2099.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2100.cs | 192 +++++++ .../Skills/SkillStubs9/skill2100.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2101.cs | 153 +++++ .../Skills/SkillStubs9/skill2101.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2102.cs | 193 +++++++ .../Skills/SkillStubs9/skill2102.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2103.cs | 154 +++++ .../Skills/SkillStubs9/skill2103.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2104.cs | 192 +++++++ .../Skills/SkillStubs9/skill2104.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2105.cs | 154 +++++ .../Skills/SkillStubs9/skill2105.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2106.cs | 192 +++++++ .../Skills/SkillStubs9/skill2106.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2107.cs | 152 +++++ .../Skills/SkillStubs9/skill2107.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2108.cs | 193 +++++++ .../Skills/SkillStubs9/skill2108.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2109.cs | 153 +++++ .../Skills/SkillStubs9/skill2109.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2110.cs | 193 +++++++ .../Skills/SkillStubs9/skill2110.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2111.cs | 153 +++++ .../Skills/SkillStubs9/skill2111.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2112.cs | 192 +++++++ .../Skills/SkillStubs9/skill2112.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2113.cs | 153 +++++ .../Skills/SkillStubs9/skill2113.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2114.cs | 193 +++++++ .../Skills/SkillStubs9/skill2114.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2115.cs | 158 ++++++ .../Skills/SkillStubs9/skill2115.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2116.cs | 193 +++++++ .../Skills/SkillStubs9/skill2116.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2117.cs | 153 +++++ .../Skills/SkillStubs9/skill2117.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2118.cs | 192 +++++++ .../Skills/SkillStubs9/skill2118.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2119.cs | 154 +++++ .../Skills/SkillStubs9/skill2119.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2120.cs | 190 +++++++ .../Skills/SkillStubs9/skill2120.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2121.cs | 190 +++++++ .../Skills/SkillStubs9/skill2121.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2122.cs | 190 +++++++ .../Skills/SkillStubs9/skill2122.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2123.cs | 190 +++++++ .../Skills/SkillStubs9/skill2123.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2124.cs | 191 +++++++ .../Skills/SkillStubs9/skill2124.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2125.cs | 191 +++++++ .../Skills/SkillStubs9/skill2125.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2126.cs | 196 +++++++ .../Skills/SkillStubs9/skill2126.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2127.cs | 201 +++++++ .../Skills/SkillStubs9/skill2127.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2128.cs | 188 +++++++ .../Skills/SkillStubs9/skill2128.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2129.cs | 189 +++++++ .../Skills/SkillStubs9/skill2129.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2130.cs | 183 ++++++ .../Skills/SkillStubs9/skill2130.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2131.cs | 184 ++++++ .../Skills/SkillStubs9/skill2131.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2132.cs | 184 ++++++ .../Skills/SkillStubs9/skill2132.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2133.cs | 191 +++++++ .../Skills/SkillStubs9/skill2133.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2134.cs | 184 ++++++ .../Skills/SkillStubs9/skill2134.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2135.cs | 191 +++++++ .../Skills/SkillStubs9/skill2135.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2136.cs | 192 +++++++ .../Skills/SkillStubs9/skill2136.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2137.cs | 183 ++++++ .../Skills/SkillStubs9/skill2137.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2138.cs | 199 +++++++ .../Skills/SkillStubs9/skill2138.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2139.cs | 190 +++++++ .../Skills/SkillStubs9/skill2139.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2140.cs | 195 +++++++ .../Skills/SkillStubs9/skill2140.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2141.cs | 194 +++++++ .../Skills/SkillStubs9/skill2141.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2142.cs | 190 +++++++ .../Skills/SkillStubs9/skill2142.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2143.cs | 194 +++++++ .../Skills/SkillStubs9/skill2143.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2144.cs | 189 +++++++ .../Skills/SkillStubs9/skill2144.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2145.cs | 189 +++++++ .../Skills/SkillStubs9/skill2145.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2146.cs | 190 +++++++ .../Skills/SkillStubs9/skill2146.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2147.cs | 175 ++++++ .../Skills/SkillStubs9/skill2147.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2148.cs | 188 +++++++ .../Skills/SkillStubs9/skill2148.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2149.cs | 196 +++++++ .../Skills/SkillStubs9/skill2149.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2150.cs | 187 +++++++ .../Skills/SkillStubs9/skill2150.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2151.cs | 188 +++++++ .../Skills/SkillStubs9/skill2151.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2152.cs | 122 ++++ .../Skills/SkillStubs9/skill2152.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2153.cs | 188 +++++++ .../Skills/SkillStubs9/skill2153.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2154.cs | 188 +++++++ .../Skills/SkillStubs9/skill2154.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2155.cs | 152 +++++ .../Skills/SkillStubs9/skill2155.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2156.cs | 190 +++++++ .../Skills/SkillStubs9/skill2156.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2157.cs | 128 +++++ .../Skills/SkillStubs9/skill2157.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2158.cs | 155 ++++++ .../Skills/SkillStubs9/skill2158.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2159.cs | 163 ++++++ .../Skills/SkillStubs9/skill2159.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2160.cs | 197 +++++++ .../Skills/SkillStubs9/skill2160.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2161.cs | 157 ++++++ .../Skills/SkillStubs9/skill2161.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2162.cs | 190 +++++++ .../Skills/SkillStubs9/skill2162.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2163.cs | 150 +++++ .../Skills/SkillStubs9/skill2163.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2164.cs | 171 ++++++ .../Skills/SkillStubs9/skill2164.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2165.cs | 169 ++++++ .../Skills/SkillStubs9/skill2165.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2166.cs | 185 ++++++ .../Skills/SkillStubs9/skill2166.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2167.cs | 185 ++++++ .../Skills/SkillStubs9/skill2167.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2168.cs | 185 ++++++ .../Skills/SkillStubs9/skill2168.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2169.cs | 194 +++++++ .../Skills/SkillStubs9/skill2169.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2170.cs | 198 +++++++ .../Skills/SkillStubs9/skill2170.cs.meta | 2 + .../Scripts/Skills/SkillStubs9/skill2171.cs | 190 +++++++ .../Skills/SkillStubs9/skill2171.cs.meta | 2 + 4964 files changed, 434421 insertions(+), 794 deletions(-) create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/SkillStubs10.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/SkillStubs10.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2172.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2172.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2173.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2173.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2174.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2174.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2175.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2175.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2176.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2176.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2177.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2177.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2178.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2178.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2179.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2179.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2180.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2180.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2181.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2181.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2182.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2182.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2183.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2183.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2184.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2184.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2185.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2185.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2186.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2186.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2187.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2187.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2188.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2188.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2189.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2189.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2190.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2190.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2191.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2191.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2192.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2192.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2193.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2193.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2194.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2194.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2195.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2195.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2196.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2196.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2197.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2197.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2198.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2198.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2199.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2199.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2200.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2200.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2201.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2201.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2205.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2205.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2266.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2266.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2267.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2267.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2268.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2268.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2269.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2269.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2270.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2270.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2273.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2273.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2274.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2274.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2275.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2275.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2291.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2291.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2318.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2318.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2319.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2319.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2320.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2320.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2321.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2321.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2322.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2322.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2323.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2323.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2324.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2324.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2325.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2325.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2326.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2326.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2327.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2327.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2328.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2328.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2347.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2347.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2348.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2348.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2349.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2349.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2350.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2350.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2351.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2351.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2353.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2353.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2376.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2376.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2377.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2377.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2378.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2378.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2379.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2379.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2380.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2380.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2381.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2381.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2382.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2382.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2383.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2383.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2384.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2384.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2385.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2385.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2386.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2386.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2387.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2387.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2388.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2388.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2389.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2389.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2390.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2390.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2391.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2391.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2392.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2392.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2393.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2393.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2394.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2394.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2395.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2395.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2396.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2396.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2397.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2397.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2398.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2398.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2399.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2399.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2400.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2400.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2401.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2401.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2402.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2402.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2403.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2403.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2404.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2404.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2405.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2405.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2406.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2406.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2407.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2407.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2408.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2408.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2409.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2409.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2410.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2410.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2411.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2411.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2422.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2422.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2423.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2423.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2424.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2424.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2425.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2425.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2426.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2426.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2427.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2427.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2428.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2428.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2429.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2429.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2430.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2430.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2431.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2431.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2454.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2454.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2455.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2455.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2456.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2456.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2457.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2457.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2458.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2458.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2459.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2459.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2460.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2460.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2461.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2461.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2462.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2462.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2463.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2463.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2464.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2464.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2465.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2465.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2466.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2466.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2467.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2467.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2468.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2468.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2469.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2469.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2470.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2470.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2471.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2471.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2472.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2472.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2473.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2473.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2474.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2474.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2475.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2475.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2476.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2476.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2479.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2479.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2480.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2480.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2481.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2481.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2482.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2482.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2483.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2483.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2484.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2484.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2485.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2485.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2486.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2486.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2487.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2487.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2488.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2488.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2489.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2489.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2490.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2490.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2491.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2491.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2492.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2492.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2493.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2493.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2494.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2494.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2495.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2495.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2496.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2496.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2497.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2497.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2498.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2498.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2499.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2499.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2500.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2500.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2501.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2501.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2502.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2502.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2503.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2503.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2504.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2504.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2505.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2505.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2506.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2506.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2507.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2507.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2508.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2508.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2509.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2509.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2510.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2510.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2511.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2511.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2512.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2512.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2513.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2513.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2514.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2514.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2515.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2515.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2516.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2516.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2517.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2517.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2518.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2518.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2519.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2519.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2520.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2520.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2521.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2521.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2522.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2522.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2523.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2523.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2524.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2524.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2525.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2525.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2526.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2526.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2527.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2527.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2528.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2528.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2529.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2529.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2530.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2530.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2531.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2531.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2532.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2532.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2533.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2533.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2534.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2534.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2535.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2535.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2536.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2536.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2537.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2537.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2538.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2538.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2539.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2539.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2540.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2540.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2541.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2541.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2542.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2542.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2597.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2597.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2601.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2601.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2632.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2632.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2633.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2633.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2634.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2634.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2635.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2635.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2636.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2636.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2637.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2637.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2638.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2638.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2639.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2639.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2640.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2640.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2641.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2641.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2642.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2642.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2643.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2643.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2644.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2644.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2645.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2645.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2646.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2646.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2647.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2647.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2648.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2648.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2649.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2649.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2650.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2650.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2651.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2651.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2652.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2652.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2653.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2653.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2654.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2654.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2655.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2655.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2656.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2656.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2657.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2657.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2658.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2658.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2659.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2659.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2660.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2660.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2661.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2661.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2662.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2662.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2663.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2663.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2664.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2664.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2665.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2665.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2666.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2666.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2667.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2667.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2668.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2668.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2669.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2669.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2670.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2670.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2671.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2671.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2672.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2672.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2681.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2681.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2682.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2682.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2683.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2683.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2684.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2684.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2685.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2685.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2686.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2686.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2692.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2692.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2693.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2693.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2694.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2694.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2695.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2695.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2696.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2696.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2697.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2697.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2698.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2698.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2699.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2699.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2700.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2700.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2701.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2701.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2702.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2702.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2703.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2703.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2704.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2704.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2705.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2705.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2706.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2706.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2707.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2707.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2708.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2708.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/SkillStubs12.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/SkillStubs12.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1019.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1019.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1020.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1020.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1021.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1021.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1022.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1022.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1023.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1023.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1024.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1024.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1025.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1025.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1026.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1026.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1027.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1027.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1028.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1028.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1029.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1029.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1030.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1030.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1031.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1031.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1032.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1032.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1033.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1033.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1034.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1034.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1035.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1035.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1036.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1036.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1037.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1037.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1038.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1038.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1039.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1039.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1040.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1040.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1041.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1041.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1042.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1042.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1043.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1043.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1044.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1044.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1045.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1045.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1046.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1046.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1047.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1047.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1048.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1048.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1049.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1049.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1050.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1050.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1051.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1051.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1052.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1052.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1084.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1084.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/SkillStubs2.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/SkillStubs2.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill102.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill102.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill103.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill103.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill104.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill104.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill105.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill105.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill106.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill106.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill107.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill107.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill108.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill108.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill109.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill109.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill110.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill110.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1100.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1100.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1101.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1101.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1102.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1102.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1103.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1103.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1104.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1104.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1105.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1105.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1106.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1106.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1107.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1107.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1108.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1108.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1109.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1109.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill111.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill111.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill112.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill112.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1125.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1125.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1126.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1126.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1127.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1127.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1128.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1128.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1129.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1129.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1130.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1130.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1131.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1131.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1132.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1132.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1133.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1133.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1134.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1134.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1135.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1135.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1136.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1136.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1137.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1137.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1139.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1139.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1140.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1140.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1141.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1141.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1146.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1146.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1147.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1147.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1149.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1149.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1150.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1150.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1151.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1151.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1152.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1152.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1153.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1153.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1184.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1184.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1185.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1185.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1186.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1186.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1187.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1187.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1198.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1198.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1199.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1199.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill12.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill12.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1204.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1204.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1205.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1205.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1206.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1206.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1207.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1207.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1208.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1208.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1209.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1209.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1210.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1210.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1211.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1211.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1212.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1212.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1213.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1213.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1214.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1214.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1215.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1215.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1216.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1216.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1217.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1217.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1218.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1218.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1219.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1219.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1220.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1220.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1221.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1221.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1222.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1222.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1223.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1223.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1224.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1224.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1225.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1225.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1226.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1226.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1227.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1227.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1228.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1228.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1229.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1229.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1230.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1230.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1231.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1231.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1232.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1232.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1233.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1233.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1234.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1234.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1235.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1235.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1236.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1236.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1237.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1237.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1238.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1238.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1239.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1239.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1240.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1240.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1241.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1241.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1242.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1242.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1243.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1243.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1244.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1244.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1245.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1245.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1246.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1246.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1247.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1247.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1248.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1248.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1249.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1249.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1250.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1250.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1251.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1251.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1252.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1252.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1253.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1253.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1254.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1254.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1255.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1255.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1256.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1256.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1257.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1257.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1258.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1258.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1259.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1259.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill13.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill13.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1326.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1326.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1327.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1327.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill14.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill14.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill149.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill149.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill150.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill150.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill151.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill151.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill152.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill152.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill153.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill153.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill154.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill154.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill155.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill155.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill156.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill156.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill162.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill162.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1820.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1820.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1821.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1821.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1822.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1822.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1823.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1823.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1824.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1824.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1825.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1825.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1826.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1826.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1827.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1827.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1828.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1828.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1829.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1829.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill185.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill185.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill186.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill186.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1867.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1867.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1875.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1875.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1929.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1929.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1930.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1930.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1984.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1984.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1985.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1985.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1986.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1986.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1987.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1987.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2230.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2230.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2231.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2231.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2232.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2232.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2233.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2233.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2234.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2234.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2235.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2235.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2236.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2236.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2237.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2237.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2238.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2238.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2239.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2239.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2240.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2240.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2241.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2241.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2242.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2242.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2243.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2243.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2312.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2312.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2416.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2416.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2417.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2417.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2434.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2434.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2435.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2435.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2436.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2436.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2437.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2437.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2546.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2546.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill299.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill299.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill300.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill300.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill301.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill301.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill302.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill302.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill303.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill303.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill304.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill304.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill305.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill305.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill306.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill306.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill307.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill307.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill308.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill308.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill309.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill309.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill310.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill310.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill311.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill311.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill312.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill312.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill313.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill313.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill314.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill314.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill315.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill315.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill316.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill316.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill317.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill317.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill318.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill318.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill319.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill319.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill320.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill320.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill321.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill321.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill322.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill322.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill323.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill323.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill324.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill324.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill325.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill325.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill326.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill326.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill327.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill327.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill328.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill328.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill329.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill329.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill330.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill330.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill368.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill368.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill369.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill369.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill634.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill634.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill635.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill635.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill636.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill636.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill637.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill637.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill638.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill638.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill639.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill639.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill640.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill640.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill641.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill641.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill642.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill642.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill643.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill643.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill644.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill644.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill645.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill645.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill646.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill646.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill647.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill647.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill648.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill648.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill649.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill649.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill650.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill650.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill651.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill651.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill652.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill652.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill653.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill653.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill654.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill654.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill655.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill655.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill656.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill656.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill657.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill657.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill658.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill658.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill659.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill659.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill660.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill660.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill661.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill661.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill662.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill662.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill663.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill663.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill664.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill664.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill665.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill665.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill666.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill666.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill667.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill667.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill668.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill668.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill669.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill669.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill670.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill670.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill671.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill671.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill672.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill672.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill673.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill673.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill674.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill674.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill675.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill675.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill676.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill676.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill677.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill677.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill678.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill678.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill679.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill679.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill680.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill680.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill681.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill681.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill762.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill762.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill763.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill763.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill764.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill764.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill82.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill82.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill83.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill83.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill910.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill910.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill911.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill911.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill912.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill912.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill913.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill913.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill914.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill914.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill927.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill927.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill928.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill928.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/SkillStubs3.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/SkillStubs3.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1077.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1077.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1080.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1080.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1081.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1081.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1082.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1082.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1083.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1083.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1085.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1085.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1086.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1086.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1093.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1093.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1094.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1094.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1095.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1095.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1096.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1096.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1097.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1097.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1098.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1098.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1099.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1099.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1110.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1110.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1111.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1111.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1112.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1112.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1113.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1113.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1114.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1114.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1115.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1115.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1116.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1116.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1117.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1117.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1118.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1118.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1119.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1119.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1120.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1120.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1121.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1121.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1122.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1122.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1123.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1123.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1124.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1124.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1138.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1138.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1145.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1145.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1148.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1148.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1178.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1178.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1179.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1179.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1180.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1180.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1181.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1181.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1182.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1182.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1189.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1189.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1196.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1196.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1197.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1197.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1200.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1200.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1201.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1201.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1202.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1202.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1203.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1203.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1260.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1260.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1261.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1261.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1262.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1262.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1263.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1263.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1264.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1264.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1265.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1265.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1266.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1266.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1267.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1267.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1268.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1268.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1269.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1269.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1270.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1270.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1271.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1271.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1272.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1272.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1273.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1273.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1274.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1274.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1275.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1275.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1276.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1276.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1277.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1277.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1278.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1278.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1279.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1279.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1280.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1280.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1281.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1281.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1282.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1282.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1283.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1283.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1284.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1284.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1285.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1285.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1286.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1286.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1287.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1287.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1288.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1288.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1289.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1289.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1290.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1290.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1291.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1291.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1292.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1292.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1293.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1293.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1294.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1294.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1295.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1295.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1296.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1296.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1297.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1297.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1298.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1298.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1299.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1299.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1300.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1300.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1301.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1301.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1302.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1302.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1303.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1303.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1304.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1304.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1305.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1305.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1306.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1306.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1307.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1307.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1308.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1308.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1309.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1309.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1310.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1310.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1311.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1311.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1312.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1312.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1313.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1313.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1314.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1314.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1315.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1315.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1316.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1316.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1317.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1317.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1318.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1318.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1319.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1319.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1320.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1320.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1321.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1321.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1322.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1322.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1323.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1323.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1324.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1324.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1325.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1325.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1830.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1830.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1831.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1831.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1832.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1832.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1833.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1833.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1834.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1834.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1835.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1835.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1836.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1836.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1837.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1837.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1838.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1838.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1839.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1839.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1876.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1876.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1877.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1877.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill188.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill188.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1949.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1949.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill195.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill195.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1980.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1980.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1981.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1981.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1982.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1982.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1983.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1983.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2212.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2212.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2213.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2213.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2214.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2214.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2215.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2215.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2244.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2244.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2245.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2245.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2246.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2246.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2247.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2247.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2248.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2248.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill230.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill230.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill231.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill231.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill234.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill234.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill235.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill235.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill236.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill236.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2366.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2366.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill237.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill237.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill238.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill238.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill239.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill239.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill240.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill240.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill241.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill241.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2418.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2418.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2419.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2419.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill242.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill242.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2420.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2420.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2421.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2421.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill243.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill243.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2438.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2438.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2439.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2439.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill244.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill244.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill245.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill245.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2451.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2451.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill246.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill246.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill247.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill247.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill248.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill248.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill249.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill249.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill250.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill250.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill251.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill251.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill252.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill252.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill253.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill253.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill254.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill254.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill255.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill255.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill256.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill256.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill257.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill257.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill258.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill258.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill274.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill274.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill366.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill366.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill367.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill367.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill370.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill370.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill371.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill371.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill492.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill492.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill493.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill493.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill494.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill494.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill495.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill495.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill496.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill496.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill497.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill497.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill498.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill498.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill499.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill499.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill500.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill500.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill501.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill501.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill502.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill502.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill503.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill503.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill504.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill504.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill505.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill505.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill506.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill506.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill507.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill507.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill508.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill508.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill509.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill509.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill510.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill510.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill511.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill511.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill512.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill512.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill513.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill513.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill514.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill514.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill515.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill515.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill516.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill516.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill517.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill517.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill518.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill518.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill519.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill519.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill520.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill520.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill521.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill521.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill522.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill522.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill523.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill523.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill524.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill524.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill525.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill525.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill526.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill526.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill527.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill527.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill528.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill528.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill529.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill529.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill530.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill530.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill531.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill531.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill532.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill532.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill533.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill533.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill534.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill534.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill535.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill535.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill536.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill536.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill537.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill537.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill538.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill538.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill539.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill539.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill540.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill540.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill541.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill541.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill590.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill590.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill591.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill591.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill592.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill592.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill593.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill593.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill594.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill594.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill595.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill595.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill596.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill596.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill597.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill597.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill598.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill598.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill599.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill599.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill600.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill600.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill601.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill601.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill602.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill602.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill603.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill603.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill604.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill604.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill605.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill605.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill606.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill606.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill607.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill607.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill608.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill608.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill609.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill609.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill610.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill610.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill906.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill906.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill907.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill907.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill908.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill908.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill909.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill909.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill929.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill929.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill930.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill930.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill935.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill935.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/SkillStubs4.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/SkillStubs4.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill11.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill11.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill113.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill113.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill114.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill114.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill115.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill115.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill116.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill116.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill117.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill117.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill118.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill118.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill119.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill119.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill120.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill120.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill121.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill121.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill122.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill122.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill123.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill123.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill124.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill124.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill125.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill125.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill126.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill126.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill127.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill127.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill128.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill128.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill129.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill129.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill130.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill130.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1340.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1340.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1341.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1341.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1342.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1342.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1343.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1343.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1344.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1344.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1345.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1345.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1346.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1346.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1347.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1347.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1348.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1348.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1349.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1349.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1350.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1350.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1351.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1351.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1352.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1352.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1353.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1353.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1354.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1354.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1355.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1355.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1356.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1356.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1357.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1357.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1358.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1358.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1359.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1359.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1360.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1360.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1361.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1361.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1362.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1362.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1363.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1363.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1364.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1364.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1365.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1365.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1366.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1366.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1367.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1367.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1368.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1368.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1369.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1369.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1370.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1370.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1371.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1371.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1372.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1372.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1373.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1373.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill15.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill15.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill16.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill16.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill163.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill163.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1664.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1664.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1665.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1665.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1666.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1666.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1667.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1667.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1668.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1668.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1669.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1669.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1670.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1670.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1671.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1671.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1672.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1672.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1673.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1673.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1674.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1674.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1675.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1675.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1676.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1676.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1677.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1677.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1678.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1678.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1679.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1679.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1680.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1680.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1681.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1681.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1682.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1682.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1683.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1683.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1684.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1684.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1685.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1685.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1686.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1686.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1687.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1687.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1688.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1688.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1689.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1689.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1690.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1690.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1691.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1691.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1692.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1692.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1693.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1693.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1694.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1694.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1695.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1695.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1696.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1696.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1697.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1697.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1698.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1698.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1699.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1699.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill17.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill17.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1700.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1700.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1701.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1701.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1702.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1702.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1703.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1703.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1704.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1704.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1705.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1705.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1706.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1706.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1707.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1707.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1708.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1708.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1709.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1709.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1710.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1710.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1711.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1711.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1712.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1712.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1713.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1713.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1714.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1714.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1715.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1715.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1716.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1716.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1717.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1717.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1718.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1718.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1719.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1719.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1720.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1720.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1721.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1721.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1731.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1731.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1732.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1732.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1733.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1733.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1734.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1734.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1735.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1735.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1736.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1736.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1737.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1737.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1738.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1738.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1739.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1739.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1740.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1740.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill18.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill18.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1804.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1804.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1810.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1810.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1811.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1811.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1812.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1812.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1813.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1813.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1814.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1814.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1840.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1840.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1841.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1841.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1842.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1842.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1843.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1843.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1844.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1844.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1845.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1845.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1846.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1846.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1847.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1847.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1848.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1848.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1849.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1849.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1850.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1850.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1857.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1857.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1866.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1866.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1869.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1869.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1881.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1881.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill189.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill189.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill19.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill19.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill190.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill190.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill191.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill191.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill192.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill192.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill193.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill193.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill194.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill194.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2216.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2216.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2217.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2217.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2218.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2218.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2219.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2219.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2220.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2220.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2221.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2221.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2222.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2222.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2223.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2223.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2224.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2224.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill232.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill232.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill233.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill233.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2412.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2412.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2413.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2413.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2414.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2414.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2415.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2415.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2432.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2432.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2433.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2433.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill372.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill372.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill373.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill373.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill542.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill542.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill543.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill543.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill544.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill544.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill545.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill545.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill546.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill546.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill547.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill547.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill548.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill548.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill549.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill549.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill550.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill550.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill551.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill551.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill552.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill552.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill553.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill553.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill554.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill554.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill555.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill555.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill556.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill556.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill557.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill557.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill558.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill558.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill559.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill559.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill560.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill560.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill561.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill561.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill562.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill562.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill563.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill563.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill564.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill564.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill565.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill565.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill566.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill566.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill567.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill567.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill568.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill568.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill569.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill569.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill570.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill570.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill571.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill571.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill572.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill572.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill573.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill573.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill574.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill574.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill575.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill575.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill576.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill576.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill577.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill577.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill578.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill578.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill579.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill579.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill580.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill580.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill581.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill581.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill582.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill582.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill583.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill583.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill584.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill584.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill585.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill585.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill586.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill586.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill587.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill587.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill588.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill588.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill589.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill589.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill611.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill611.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill612.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill612.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill613.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill613.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill614.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill614.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill615.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill615.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill616.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill616.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill617.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill617.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill618.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill618.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill619.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill619.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill620.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill620.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill621.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill621.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill622.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill622.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill623.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill623.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill624.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill624.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill625.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill625.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill626.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill626.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill627.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill627.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill628.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill628.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill629.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill629.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill630.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill630.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill631.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill631.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill632.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill632.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill633.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill633.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill915.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill915.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill916.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill916.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill917.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill917.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill918.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill918.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill919.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill919.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill920.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill920.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill921.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill921.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill922.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill922.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill931.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill931.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill932.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill932.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill933.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill933.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill934.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill934.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/SkillStubs5.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/SkillStubs5.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1374.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1374.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1375.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1375.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1376.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1376.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1377.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1377.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1378.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1378.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1379.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1379.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1380.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1380.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1381.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1381.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1382.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1382.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1383.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1383.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1384.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1384.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1385.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1385.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1386.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1386.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1387.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1387.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1388.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1388.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1389.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1389.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1390.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1390.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1391.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1391.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1392.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1392.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1393.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1393.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1394.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1394.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1395.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1395.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1396.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1396.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1397.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1397.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1398.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1398.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1399.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1399.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1400.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1400.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1401.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1401.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1498.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1498.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1618.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1618.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1619.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1619.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1620.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1620.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1621.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1621.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1622.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1622.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1623.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1623.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1624.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1624.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1625.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1625.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1626.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1626.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1627.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1627.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1628.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1628.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1629.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1629.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1630.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1630.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1631.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1631.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1632.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1632.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1633.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1633.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1634.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1634.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1635.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1635.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1636.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1636.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1637.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1637.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1638.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1638.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1639.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1639.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1640.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1640.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1641.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1641.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1642.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1642.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1643.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1643.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1644.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1644.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1645.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1645.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1651.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1651.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1652.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1652.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1653.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1653.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1657.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1657.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1658.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1658.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1659.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1659.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1660.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1660.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1661.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1661.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1662.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1662.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1663.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1663.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1723.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1723.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1724.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1724.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1725.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1725.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1726.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1726.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1727.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1727.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1728.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1728.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1729.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1729.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1730.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1730.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1851.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1851.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1852.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1852.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1853.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1853.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1854.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1854.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1855.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1855.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1856.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1856.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1859.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1859.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1860.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1860.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1861.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1861.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1862.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1862.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1863.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1863.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1870.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1870.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1907.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1907.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2225.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2225.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2226.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2226.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2227.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2227.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2228.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2228.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2229.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2229.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2249.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2249.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2250.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2250.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2251.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2251.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2252.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2252.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2253.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2253.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2440.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2440.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2441.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2441.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2442.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2442.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2445.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2445.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2447.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2447.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2448.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2448.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2449.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2449.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2450.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2450.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2545.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2545.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2547.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2547.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2548.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2548.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2549.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2549.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2550.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2550.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2551.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2551.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2552.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2552.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2553.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2553.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2554.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2554.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2555.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2555.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2556.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2556.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2557.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2557.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2558.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2558.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2559.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2559.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2560.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2560.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2561.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2561.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2562.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2562.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2563.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2563.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2564.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2564.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2565.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2565.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2566.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2566.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2567.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2567.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2568.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2568.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2569.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2569.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2570.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2570.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2571.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2571.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2572.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2572.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2573.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2573.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2574.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2574.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2575.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2575.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2576.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2576.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2577.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2577.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2578.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2578.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2579.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2579.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2580.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2580.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2581.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2581.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2582.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2582.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2583.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2583.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2584.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2584.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2585.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2585.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2586.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2586.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2587.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2587.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2588.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2588.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2589.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2589.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2590.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2590.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2591.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2591.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2592.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2592.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2593.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2593.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2594.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2594.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2595.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2595.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2596.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2596.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2599.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2599.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2602.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2602.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2603.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2603.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2604.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2604.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2605.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2605.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2606.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2606.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2607.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2607.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2608.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2608.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2609.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2609.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2610.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2610.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2611.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2611.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2612.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2612.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2613.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2613.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2614.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2614.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2615.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2615.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2616.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2616.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2617.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2617.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2618.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2618.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2619.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2619.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2673.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2673.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2674.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2674.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2675.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2675.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2676.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2676.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2687.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2687.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2688.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2688.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2726.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2726.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2727.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2727.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2728.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2728.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2729.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2729.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2730.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2730.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2731.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2731.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2732.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2732.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2733.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2733.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2734.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2734.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2735.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2735.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2736.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2736.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2737.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2737.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2738.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2738.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2739.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2739.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2740.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2740.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2741.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2741.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2742.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2742.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2743.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2743.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2744.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2744.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2745.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2745.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2746.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2746.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2747.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2747.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2748.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2748.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2749.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2749.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2750.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2750.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2751.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2751.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2752.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2752.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2753.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2753.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2754.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2754.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2755.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2755.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2756.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2756.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2757.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2757.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2758.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2758.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2759.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2759.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2760.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2760.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2761.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2761.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2762.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2762.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2763.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2763.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2764.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2764.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2765.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2765.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2766.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2766.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2767.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2767.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2768.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2768.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2769.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2769.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2770.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2770.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2771.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2771.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2772.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2772.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2773.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2773.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2774.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2774.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2775.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2775.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2776.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2776.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2821.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2821.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2822.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2822.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2825.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2825.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2826.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2826.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2827.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2827.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2828.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2828.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2835.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2835.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2847.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2847.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2848.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2848.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2849.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2849.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2850.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2850.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2851.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2851.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2852.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2852.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2853.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2853.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2854.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2854.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2855.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2855.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2856.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2856.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2857.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2857.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2858.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2858.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2859.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2859.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2860.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2860.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2862.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2862.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2863.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2863.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/SkillStubs6.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/SkillStubs6.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill147.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill147.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill148.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill148.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill168.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill168.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill169.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill169.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill170.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill170.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill171.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill171.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill172.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill172.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill173.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill173.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill174.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill174.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill175.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill175.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill20.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill20.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill21.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill21.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill22.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill22.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill23.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill23.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill24.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill24.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill25.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill25.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill259.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill259.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill26.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill26.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill260.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill260.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill261.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill261.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill262.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill262.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2620.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2620.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2621.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2621.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2622.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2622.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2623.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2623.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2624.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2624.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2625.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2625.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2626.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2626.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2627.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2627.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2628.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2628.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2629.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2629.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill263.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill263.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2630.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2630.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2631.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2631.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill264.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill264.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill265.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill265.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill266.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill266.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill267.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill267.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2677.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2677.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2678.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2678.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2679.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2679.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill268.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill268.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2680.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2680.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2689.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2689.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill269.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill269.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2690.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2690.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2691.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2691.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill27.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill27.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill270.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill270.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill271.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill271.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill272.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill272.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill273.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill273.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill275.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill275.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill276.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill276.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill277.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill277.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2777.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2777.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2778.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2778.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2779.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2779.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill278.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill278.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2780.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2780.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2781.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2781.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2782.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2782.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2783.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2783.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2784.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2784.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2785.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2785.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2786.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2786.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2787.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2787.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2788.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2788.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2789.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2789.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill279.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill279.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2790.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2790.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2791.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2791.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2792.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2792.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2793.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2793.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2794.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2794.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2795.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2795.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2796.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2796.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2797.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2797.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2798.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2798.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2799.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2799.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill28.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill28.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill280.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill280.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2800.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2800.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2801.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2801.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2802.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2802.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2803.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2803.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2804.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2804.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2805.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2805.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2806.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2806.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2807.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2807.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2808.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2808.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2809.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2809.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill281.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill281.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2810.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2810.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2811.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2811.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2812.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2812.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2813.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2813.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2814.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2814.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2815.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2815.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2816.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2816.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2817.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2817.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2818.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2818.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2819.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2819.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill282.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill282.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2820.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2820.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2823.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2823.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2824.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2824.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2829.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2829.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill283.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill283.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2830.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2830.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2831.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2831.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2832.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2832.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2833.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2833.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2834.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2834.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill284.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill284.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2841.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2841.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2842.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2842.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2843.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2843.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2844.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2844.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2845.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2845.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2846.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2846.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill285.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill285.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill286.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill286.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill287.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill287.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill288.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill288.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill289.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill289.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill29.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill29.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill290.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill290.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill291.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill291.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill292.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill292.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill293.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill293.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill294.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill294.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill295.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill295.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill296.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill296.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill297.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill297.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill298.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill298.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill30.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill30.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill31.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill31.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill32.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill32.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill33.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill33.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill331.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill331.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill332.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill332.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill333.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill333.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill334.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill334.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill335.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill335.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill336.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill336.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill337.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill337.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill338.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill338.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill339.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill339.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill34.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill34.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill340.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill340.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill341.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill341.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill342.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill342.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill343.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill343.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill344.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill344.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill345.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill345.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill346.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill346.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill347.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill347.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill348.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill348.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill349.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill349.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill35.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill35.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill350.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill350.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill351.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill351.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill352.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill352.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill353.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill353.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill354.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill354.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill355.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill355.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill356.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill356.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill357.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill357.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill358.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill358.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill359.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill359.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill36.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill36.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill37.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill37.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill38.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill38.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill39.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill39.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill40.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill40.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill41.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill41.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill42.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill42.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill43.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill43.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill44.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill44.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill45.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill45.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill46.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill46.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill47.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill47.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill48.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill48.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill49.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill49.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill50.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill50.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill51.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill51.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill52.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill52.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill682.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill682.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill683.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill683.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill684.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill684.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill685.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill685.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill686.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill686.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill687.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill687.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill688.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill688.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill689.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill689.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill691.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill691.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill692.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill692.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill693.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill693.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill694.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill694.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill695.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill695.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill696.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill696.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill697.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill697.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill698.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill698.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill699.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill699.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill700.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill700.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill701.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill701.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill702.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill702.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill703.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill703.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill704.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill704.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill705.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill705.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill706.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill706.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill707.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill707.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill708.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill708.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill709.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill709.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill710.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill710.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill711.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill711.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill712.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill712.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill713.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill713.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill714.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill714.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill715.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill715.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill716.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill716.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill717.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill717.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill718.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill718.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill719.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill719.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill720.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill720.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill721.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill721.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill722.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill722.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill723.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill723.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill724.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill724.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill725.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill725.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill726.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill726.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill727.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill727.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill728.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill728.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill729.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill729.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill730.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill730.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill731.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill731.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill732.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill732.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill733.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill733.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill734.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill734.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill735.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill735.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill736.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill736.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill737.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill737.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill738.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill738.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill739.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill739.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill740.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill740.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill741.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill741.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill742.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill742.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill743.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill743.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill744.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill744.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill745.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill745.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill746.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill746.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill747.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill747.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill748.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill748.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill749.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill749.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill750.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill750.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/SkillStubs7.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/SkillStubs7.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1054.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1054.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1055.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1055.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1056.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1056.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1057.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1057.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1058.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1058.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1059.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1059.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1060.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1060.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1061.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1061.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1062.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1062.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1063.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1063.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1064.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1064.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1065.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1065.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1066.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1066.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1067.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1067.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1068.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1068.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1069.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1069.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1070.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1070.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1071.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1071.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1072.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1072.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1073.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1073.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1074.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1074.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1075.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1075.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1076.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1076.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1087.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1087.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1088.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1088.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1089.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1089.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1090.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1090.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1142.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1142.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1143.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1143.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1144.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1144.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1154.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1154.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1155.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1155.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1156.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1156.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1157.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1157.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1158.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1158.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1159.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1159.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1160.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1160.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1161.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1161.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1162.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1162.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1163.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1163.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1164.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1164.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1165.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1165.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1166.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1166.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1167.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1167.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1177.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1177.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1183.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1183.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1188.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1188.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1190.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1190.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1191.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1191.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1192.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1192.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1193.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1193.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1194.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1194.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1328.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1328.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1329.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1329.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1330.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1330.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1331.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1331.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1332.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1332.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1333.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1333.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1334.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1334.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1335.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1335.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1336.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1336.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1337.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1337.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1338.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1338.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1339.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1339.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1403.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1403.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1404.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1404.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1405.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1405.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1406.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1406.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1407.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1407.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1408.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1408.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1409.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1409.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1410.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1410.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1411.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1411.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1412.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1412.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1413.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1413.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1414.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1414.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1415.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1415.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1416.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1416.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1417.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1417.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1418.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1418.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1419.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1419.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1420.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1420.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1421.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1421.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1422.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1422.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1423.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1423.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1424.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1424.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1425.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1425.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1426.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1426.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1427.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1427.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1428.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1428.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1429.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1429.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1430.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1430.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1431.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1431.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1432.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1432.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1433.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1433.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1434.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1434.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1435.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1435.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1436.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1436.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill751.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill751.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill752.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill752.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill753.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill753.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill754.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill754.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill755.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill755.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill756.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill756.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill757.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill757.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill758.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill758.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill759.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill759.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill760.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill760.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill761.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill761.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill765.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill765.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill766.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill766.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill767.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill767.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill768.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill768.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill769.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill769.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill770.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill770.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill771.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill771.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill772.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill772.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill773.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill773.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill774.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill774.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill775.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill775.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill776.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill776.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill777.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill777.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill778.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill778.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill779.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill779.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill780.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill780.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill781.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill781.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill782.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill782.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill783.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill783.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill784.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill784.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill785.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill785.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill786.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill786.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill787.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill787.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill788.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill788.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill789.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill789.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill790.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill790.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill791.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill791.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill792.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill792.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill793.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill793.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill794.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill794.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill795.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill795.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill796.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill796.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill797.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill797.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill798.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill798.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill799.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill799.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill800.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill800.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill801.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill801.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill802.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill802.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill803.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill803.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill804.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill804.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill805.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill805.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill806.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill806.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill807.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill807.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill808.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill808.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill814.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill814.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill815.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill815.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill816.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill816.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill817.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill817.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill818.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill818.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill819.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill819.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill820.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill820.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill821.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill821.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill822.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill822.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill823.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill823.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill824.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill824.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill826.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill826.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill827.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill827.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill828.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill828.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill829.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill829.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill830.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill830.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill831.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill831.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill832.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill832.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill833.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill833.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill834.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill834.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill835.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill835.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill836.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill836.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill837.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill837.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill838.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill838.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill839.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill839.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill840.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill840.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill841.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill841.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill842.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill842.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill843.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill843.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill844.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill844.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill845.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill845.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill846.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill846.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill847.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill847.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill848.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill848.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill849.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill849.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill850.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill850.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill851.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill851.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill852.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill852.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill853.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill853.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill854.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill854.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill855.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill855.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill856.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill856.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill857.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill857.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill858.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill858.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill859.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill859.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill860.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill860.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill861.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill861.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill862.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill862.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill863.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill863.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill864.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill864.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill865.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill865.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill866.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill866.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill867.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill867.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill868.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill868.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill869.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill869.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill870.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill870.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill871.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill871.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill872.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill872.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill873.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill873.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill874.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill874.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill875.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill875.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill876.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill876.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill877.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill877.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill878.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill878.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill879.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill879.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill880.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill880.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill881.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill881.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill882.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill882.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill883.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill883.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill884.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill884.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill885.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill885.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill886.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill886.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill887.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill887.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill888.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill888.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill889.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill889.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill890.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill890.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill891.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill891.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill892.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill892.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill893.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill893.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill894.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill894.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill895.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill895.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill936.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill936.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill937.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill937.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill938.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill938.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill939.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill939.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill940.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill940.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill941.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill941.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill942.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill942.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill943.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill943.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill944.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill944.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill945.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill945.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill946.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill946.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill947.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill947.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill948.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill948.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill949.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill949.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill950.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill950.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill951.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill951.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill952.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill952.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill953.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill953.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill954.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill954.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill955.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill955.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill956.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill956.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill957.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill957.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/SkillStubs8.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/SkillStubs8.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1437.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1437.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1438.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1438.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1439.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1439.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1440.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1440.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1441.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1441.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1442.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1442.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1443.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1443.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1444.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1444.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1445.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1445.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1446.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1446.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1447.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1447.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1448.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1448.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1449.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1449.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1450.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1450.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1451.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1451.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1452.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1452.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1453.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1453.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1454.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1454.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1455.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1455.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1456.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1456.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1457.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1457.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1458.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1458.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1459.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1459.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1460.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1460.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1461.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1461.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1462.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1462.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1463.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1463.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1464.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1464.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1465.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1465.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1466.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1466.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1467.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1467.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1468.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1468.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1469.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1469.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1470.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1470.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1471.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1471.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1472.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1472.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1473.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1473.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1474.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1474.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1475.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1475.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1476.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1476.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1477.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1477.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1478.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1478.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1479.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1479.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1480.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1480.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1481.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1481.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1482.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1482.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1483.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1483.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1484.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1484.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1485.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1485.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1486.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1486.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1487.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1487.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1488.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1488.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1489.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1489.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1490.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1490.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1491.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1491.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1492.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1492.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1493.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1493.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1494.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1494.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1495.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1495.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1496.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1496.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1497.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1497.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1499.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1499.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1500.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1500.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1501.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1501.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1502.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1502.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1503.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1503.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1504.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1504.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1505.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1505.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1506.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1506.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1507.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1507.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1508.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1508.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1509.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1509.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1510.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1510.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1511.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1511.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1512.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1512.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1513.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1513.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1514.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1514.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1515.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1515.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1516.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1516.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1517.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1517.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1518.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1518.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1519.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1519.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1520.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1520.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1521.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1521.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1522.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1522.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1523.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1523.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1524.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1524.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1525.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1525.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1526.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1526.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1527.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1527.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1528.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1528.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1529.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1529.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1530.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1530.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1531.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1531.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1532.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1532.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1533.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1533.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1534.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1534.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1535.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1535.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1536.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1536.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1537.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1537.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1538.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1538.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1539.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1539.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1540.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1540.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1541.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1541.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1542.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1542.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1543.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1543.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1544.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1544.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1545.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1545.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1546.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1546.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1547.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1547.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1548.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1548.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1549.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1549.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1550.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1550.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1551.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1551.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1552.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1552.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1553.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1553.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1554.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1554.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1555.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1555.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1556.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1556.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1557.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1557.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1558.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1558.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1559.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1559.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1560.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1560.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1561.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1561.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1562.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1562.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1563.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1563.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1564.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1564.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1565.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1565.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1566.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1566.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1567.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1567.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1578.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1578.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1579.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1579.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1580.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1580.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1581.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1581.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1582.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1582.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1583.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1583.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1584.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1584.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1585.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1585.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1586.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1586.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1587.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1587.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1588.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1588.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1589.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1589.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1590.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1590.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1591.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1591.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1592.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1592.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1593.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1593.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1594.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1594.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1595.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1595.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1596.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1596.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1597.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1597.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1598.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1598.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1599.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1599.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1600.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1600.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1601.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1601.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1602.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1602.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1603.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1603.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1604.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1604.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1605.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1605.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1606.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1606.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1607.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1607.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1608.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1608.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1609.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1609.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1610.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1610.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1611.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1611.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1612.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1612.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1613.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1613.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1614.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1614.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1615.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1615.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1616.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1616.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1617.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1617.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1646.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1646.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1647.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1647.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1648.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1648.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1649.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1649.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1650.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1650.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1654.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1654.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1655.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1655.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1656.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1656.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1741.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1741.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1743.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1743.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1744.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1744.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1745.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1745.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1746.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1746.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1747.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1747.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1748.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1748.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1749.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1749.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1750.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1750.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1751.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1751.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1752.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1752.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1753.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1753.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1754.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1754.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1755.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1755.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1756.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1756.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1757.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1757.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1758.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1758.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1759.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1759.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1760.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1760.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1761.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1761.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1762.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1762.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1763.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1763.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1764.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1764.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1765.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1765.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1766.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1766.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1767.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1767.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1768.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1768.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1769.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1769.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1770.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1770.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1776.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1776.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1777.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1777.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1778.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1778.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1779.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1779.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1780.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1780.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1781.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1781.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1782.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1782.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1783.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1783.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1784.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1784.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1785.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1785.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1786.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1786.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1787.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1787.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1788.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1788.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1789.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1789.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1790.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1790.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1791.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1791.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1792.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1792.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1793.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1793.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1794.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1794.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1795.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1795.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1796.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1796.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1797.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1797.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1798.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1798.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1799.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1799.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1800.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1800.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1801.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1801.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1802.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1802.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1803.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1803.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1858.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1858.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1878.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1878.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1879.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1879.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1880.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1880.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1882.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1882.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1883.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1883.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1884.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1884.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1885.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1885.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1886.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1886.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1887.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1887.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1888.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1888.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1889.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1889.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1890.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1890.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1891.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1891.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1892.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1892.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1893.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1893.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1894.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1894.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1895.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1895.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1896.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1896.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1897.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1897.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1898.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1898.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/SkillStubs9.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/SkillStubs9.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1899.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1899.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1900.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1900.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1901.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1901.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1902.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1902.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1903.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1903.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1904.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1904.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1905.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1905.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1906.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1906.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1908.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1908.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1909.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1909.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1910.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1910.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1911.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1911.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1912.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1912.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1913.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1913.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1914.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1914.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1915.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1915.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1919.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1919.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1920.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1920.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1921.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1921.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1922.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1922.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1923.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1923.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1924.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1924.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1925.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1925.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1926.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1926.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1927.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1927.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1928.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1928.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1931.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1931.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1932.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1932.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1933.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1933.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1934.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1934.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1935.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1935.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1936.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1936.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1937.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1937.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1938.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1938.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1939.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1939.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1940.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1940.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1941.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1941.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1942.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1942.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1943.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1943.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1944.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1944.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1945.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1945.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1946.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1946.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1947.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1947.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1948.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1948.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1950.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1950.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1952.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1952.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1953.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1953.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1954.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1954.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1955.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1955.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1956.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1956.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1957.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1957.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1958.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1958.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1959.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1959.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1960.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1960.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1961.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1961.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1962.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1962.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1963.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1963.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1964.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1964.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1965.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1965.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1966.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1966.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1967.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1967.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1968.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1968.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1969.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1969.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1970.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1970.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1971.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1971.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1972.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1972.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1973.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1973.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1974.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1974.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1975.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1975.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1976.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1976.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1977.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1977.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1978.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1978.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1979.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1979.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1988.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1988.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1989.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1989.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1990.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1990.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1991.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1991.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1992.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1992.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1993.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1993.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1994.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1994.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1995.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1995.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1996.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1996.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1997.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1997.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1998.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1998.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1999.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1999.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2000.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2000.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2001.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2001.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2002.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2002.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2003.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2003.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2004.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2004.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2005.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2005.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2006.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2006.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2007.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2007.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2008.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2008.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2009.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2009.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2010.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2010.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2011.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2011.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2012.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2012.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2013.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2013.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2014.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2014.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2015.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2015.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2016.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2016.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2017.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2017.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2018.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2018.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2019.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2019.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2020.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2020.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2021.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2021.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2022.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2022.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2023.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2023.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2024.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2024.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2025.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2025.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2026.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2026.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2027.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2027.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2028.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2028.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2029.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2029.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2030.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2030.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2031.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2031.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2032.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2032.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2033.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2033.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2034.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2034.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2035.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2035.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2036.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2036.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2037.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2037.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2038.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2038.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2039.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2039.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2040.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2040.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2041.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2041.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2042.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2042.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2043.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2043.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2044.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2044.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2045.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2045.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2046.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2046.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2047.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2047.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2048.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2048.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2049.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2049.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2050.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2050.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2051.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2051.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2052.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2052.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2053.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2053.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2054.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2054.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2055.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2055.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2056.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2056.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2057.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2057.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2058.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2058.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2059.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2059.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2060.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2060.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2061.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2061.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2062.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2062.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2063.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2063.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2064.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2064.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2065.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2065.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2066.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2066.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2067.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2067.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2068.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2068.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2069.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2069.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2070.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2070.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2071.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2071.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2072.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2072.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2074.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2074.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2075.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2075.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2076.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2076.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2077.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2077.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2078.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2078.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2079.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2079.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2080.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2080.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2081.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2081.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2082.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2082.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2083.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2083.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2084.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2084.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2085.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2085.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2086.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2086.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2087.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2087.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2088.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2088.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2089.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2089.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2090.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2090.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2091.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2091.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2092.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2092.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2093.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2093.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2094.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2094.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2095.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2095.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2096.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2096.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2097.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2097.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2098.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2098.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2099.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2099.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2100.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2100.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2101.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2101.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2102.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2102.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2103.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2103.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2104.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2104.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2105.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2105.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2106.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2106.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2107.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2107.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2108.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2108.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2109.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2109.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2110.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2110.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2111.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2111.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2112.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2112.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2113.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2113.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2114.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2114.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2115.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2115.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2116.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2116.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2117.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2117.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2118.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2118.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2119.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2119.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2120.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2120.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2121.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2121.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2122.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2122.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2123.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2123.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2124.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2124.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2125.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2125.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2126.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2126.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2127.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2127.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2128.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2128.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2129.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2129.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2130.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2130.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2131.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2131.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2132.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2132.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2133.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2133.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2134.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2134.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2135.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2135.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2136.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2136.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2137.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2137.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2138.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2138.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2139.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2139.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2140.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2140.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2141.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2141.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2142.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2142.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2143.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2143.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2144.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2144.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2145.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2145.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2146.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2146.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2147.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2147.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2148.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2148.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2149.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2149.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2150.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2150.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2151.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2151.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2152.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2152.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2153.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2153.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2154.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2154.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2155.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2155.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2156.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2156.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2157.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2157.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2158.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2158.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2159.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2159.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2160.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2160.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2161.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2161.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2162.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2162.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2163.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2163.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2164.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2164.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2165.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2165.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2166.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2166.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2167.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2167.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2168.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2168.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2169.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2169.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2170.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2170.cs.meta create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2171.cs create mode 100644 Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2171.cs.meta diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs1/skill1.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs1/skill1.cs index 27a925a456..6b6fdd5f06 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs1/skill1.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs1/skill1.cs @@ -166,6 +166,9 @@ namespace BrewMonster public float GetAttackdistance(Skill skill) => 0f; public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10.meta new file mode 100644 index 0000000000..21110d2c12 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cdb9f17f476ea41a8bacb9a3a907b38f +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/SkillStubs10.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/SkillStubs10.cs new file mode 100644 index 0000000000..44c651ff6e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/SkillStubs10.cs @@ -0,0 +1,525 @@ +using BrewMonster.Scripts.Skills; +using UnityEngine; + +namespace BrewMonster +{ + public static partial class SkillStubs + { + // Skill stub declarations + public static Skill2172Stub __stub_Skill2172Stub = new Skill2172Stub(); + public static Skill2173Stub __stub_Skill2173Stub = new Skill2173Stub(); + public static Skill2174Stub __stub_Skill2174Stub = new Skill2174Stub(); + public static Skill2175Stub __stub_Skill2175Stub = new Skill2175Stub(); + public static Skill2176Stub __stub_Skill2176Stub = new Skill2176Stub(); + public static Skill2177Stub __stub_Skill2177Stub = new Skill2177Stub(); + public static Skill2178Stub __stub_Skill2178Stub = new Skill2178Stub(); + public static Skill2179Stub __stub_Skill2179Stub = new Skill2179Stub(); + public static Skill2180Stub __stub_Skill2180Stub = new Skill2180Stub(); + public static Skill2181Stub __stub_Skill2181Stub = new Skill2181Stub(); + public static Skill2182Stub __stub_Skill2182Stub = new Skill2182Stub(); + public static Skill2183Stub __stub_Skill2183Stub = new Skill2183Stub(); + public static Skill2184Stub __stub_Skill2184Stub = new Skill2184Stub(); + public static Skill2185Stub __stub_Skill2185Stub = new Skill2185Stub(); + public static Skill2186Stub __stub_Skill2186Stub = new Skill2186Stub(); + public static Skill2187Stub __stub_Skill2187Stub = new Skill2187Stub(); + public static Skill2188Stub __stub_Skill2188Stub = new Skill2188Stub(); + public static Skill2189Stub __stub_Skill2189Stub = new Skill2189Stub(); + public static Skill2190Stub __stub_Skill2190Stub = new Skill2190Stub(); + public static Skill2191Stub __stub_Skill2191Stub = new Skill2191Stub(); + public static Skill2192Stub __stub_Skill2192Stub = new Skill2192Stub(); + public static Skill2193Stub __stub_Skill2193Stub = new Skill2193Stub(); + public static Skill2194Stub __stub_Skill2194Stub = new Skill2194Stub(); + public static Skill2195Stub __stub_Skill2195Stub = new Skill2195Stub(); + public static Skill2196Stub __stub_Skill2196Stub = new Skill2196Stub(); + public static Skill2197Stub __stub_Skill2197Stub = new Skill2197Stub(); + public static Skill2198Stub __stub_Skill2198Stub = new Skill2198Stub(); + public static Skill2199Stub __stub_Skill2199Stub = new Skill2199Stub(); + public static Skill2200Stub __stub_Skill2200Stub = new Skill2200Stub(); + public static Skill2201Stub __stub_Skill2201Stub = new Skill2201Stub(); + public static Skill2205Stub __stub_Skill2205Stub = new Skill2205Stub(); + public static Skill2266Stub __stub_Skill2266Stub = new Skill2266Stub(); + public static Skill2267Stub __stub_Skill2267Stub = new Skill2267Stub(); + public static Skill2268Stub __stub_Skill2268Stub = new Skill2268Stub(); + public static Skill2269Stub __stub_Skill2269Stub = new Skill2269Stub(); + public static Skill2270Stub __stub_Skill2270Stub = new Skill2270Stub(); + public static Skill2273Stub __stub_Skill2273Stub = new Skill2273Stub(); + public static Skill2274Stub __stub_Skill2274Stub = new Skill2274Stub(); + public static Skill2275Stub __stub_Skill2275Stub = new Skill2275Stub(); + public static Skill2291Stub __stub_Skill2291Stub = new Skill2291Stub(); + public static Skill2318Stub __stub_Skill2318Stub = new Skill2318Stub(); + public static Skill2319Stub __stub_Skill2319Stub = new Skill2319Stub(); + public static Skill2320Stub __stub_Skill2320Stub = new Skill2320Stub(); + public static Skill2321Stub __stub_Skill2321Stub = new Skill2321Stub(); + public static Skill2322Stub __stub_Skill2322Stub = new Skill2322Stub(); + public static Skill2323Stub __stub_Skill2323Stub = new Skill2323Stub(); + public static Skill2324Stub __stub_Skill2324Stub = new Skill2324Stub(); + public static Skill2325Stub __stub_Skill2325Stub = new Skill2325Stub(); + public static Skill2326Stub __stub_Skill2326Stub = new Skill2326Stub(); + public static Skill2327Stub __stub_Skill2327Stub = new Skill2327Stub(); + public static Skill2328Stub __stub_Skill2328Stub = new Skill2328Stub(); + public static Skill2347Stub __stub_Skill2347Stub = new Skill2347Stub(); + public static Skill2348Stub __stub_Skill2348Stub = new Skill2348Stub(); + public static Skill2349Stub __stub_Skill2349Stub = new Skill2349Stub(); + public static Skill2350Stub __stub_Skill2350Stub = new Skill2350Stub(); + public static Skill2351Stub __stub_Skill2351Stub = new Skill2351Stub(); + public static Skill2353Stub __stub_Skill2353Stub = new Skill2353Stub(); + public static Skill2376Stub __stub_Skill2376Stub = new Skill2376Stub(); + public static Skill2377Stub __stub_Skill2377Stub = new Skill2377Stub(); + public static Skill2378Stub __stub_Skill2378Stub = new Skill2378Stub(); + public static Skill2379Stub __stub_Skill2379Stub = new Skill2379Stub(); + public static Skill2380Stub __stub_Skill2380Stub = new Skill2380Stub(); + public static Skill2381Stub __stub_Skill2381Stub = new Skill2381Stub(); + public static Skill2382Stub __stub_Skill2382Stub = new Skill2382Stub(); + public static Skill2383Stub __stub_Skill2383Stub = new Skill2383Stub(); + public static Skill2384Stub __stub_Skill2384Stub = new Skill2384Stub(); + public static Skill2385Stub __stub_Skill2385Stub = new Skill2385Stub(); + public static Skill2386Stub __stub_Skill2386Stub = new Skill2386Stub(); + public static Skill2387Stub __stub_Skill2387Stub = new Skill2387Stub(); + public static Skill2388Stub __stub_Skill2388Stub = new Skill2388Stub(); + public static Skill2389Stub __stub_Skill2389Stub = new Skill2389Stub(); + public static Skill2390Stub __stub_Skill2390Stub = new Skill2390Stub(); + public static Skill2391Stub __stub_Skill2391Stub = new Skill2391Stub(); + public static Skill2392Stub __stub_Skill2392Stub = new Skill2392Stub(); + public static Skill2393Stub __stub_Skill2393Stub = new Skill2393Stub(); + public static Skill2394Stub __stub_Skill2394Stub = new Skill2394Stub(); + public static Skill2395Stub __stub_Skill2395Stub = new Skill2395Stub(); + public static Skill2396Stub __stub_Skill2396Stub = new Skill2396Stub(); + public static Skill2397Stub __stub_Skill2397Stub = new Skill2397Stub(); + public static Skill2398Stub __stub_Skill2398Stub = new Skill2398Stub(); + public static Skill2399Stub __stub_Skill2399Stub = new Skill2399Stub(); + public static Skill2400Stub __stub_Skill2400Stub = new Skill2400Stub(); + public static Skill2401Stub __stub_Skill2401Stub = new Skill2401Stub(); + public static Skill2402Stub __stub_Skill2402Stub = new Skill2402Stub(); + public static Skill2403Stub __stub_Skill2403Stub = new Skill2403Stub(); + public static Skill2404Stub __stub_Skill2404Stub = new Skill2404Stub(); + public static Skill2405Stub __stub_Skill2405Stub = new Skill2405Stub(); + public static Skill2406Stub __stub_Skill2406Stub = new Skill2406Stub(); + public static Skill2407Stub __stub_Skill2407Stub = new Skill2407Stub(); + public static Skill2408Stub __stub_Skill2408Stub = new Skill2408Stub(); + public static Skill2409Stub __stub_Skill2409Stub = new Skill2409Stub(); + public static Skill2410Stub __stub_Skill2410Stub = new Skill2410Stub(); + public static Skill2411Stub __stub_Skill2411Stub = new Skill2411Stub(); + public static Skill2422Stub __stub_Skill2422Stub = new Skill2422Stub(); + public static Skill2423Stub __stub_Skill2423Stub = new Skill2423Stub(); + public static Skill2424Stub __stub_Skill2424Stub = new Skill2424Stub(); + public static Skill2425Stub __stub_Skill2425Stub = new Skill2425Stub(); + public static Skill2426Stub __stub_Skill2426Stub = new Skill2426Stub(); + public static Skill2427Stub __stub_Skill2427Stub = new Skill2427Stub(); + public static Skill2428Stub __stub_Skill2428Stub = new Skill2428Stub(); + public static Skill2429Stub __stub_Skill2429Stub = new Skill2429Stub(); + public static Skill2430Stub __stub_Skill2430Stub = new Skill2430Stub(); + public static Skill2431Stub __stub_Skill2431Stub = new Skill2431Stub(); + public static Skill2454Stub __stub_Skill2454Stub = new Skill2454Stub(); + public static Skill2455Stub __stub_Skill2455Stub = new Skill2455Stub(); + public static Skill2456Stub __stub_Skill2456Stub = new Skill2456Stub(); + public static Skill2457Stub __stub_Skill2457Stub = new Skill2457Stub(); + public static Skill2458Stub __stub_Skill2458Stub = new Skill2458Stub(); + public static Skill2459Stub __stub_Skill2459Stub = new Skill2459Stub(); + public static Skill2460Stub __stub_Skill2460Stub = new Skill2460Stub(); + public static Skill2461Stub __stub_Skill2461Stub = new Skill2461Stub(); + public static Skill2462Stub __stub_Skill2462Stub = new Skill2462Stub(); + public static Skill2463Stub __stub_Skill2463Stub = new Skill2463Stub(); + public static Skill2464Stub __stub_Skill2464Stub = new Skill2464Stub(); + public static Skill2465Stub __stub_Skill2465Stub = new Skill2465Stub(); + public static Skill2466Stub __stub_Skill2466Stub = new Skill2466Stub(); + public static Skill2467Stub __stub_Skill2467Stub = new Skill2467Stub(); + public static Skill2468Stub __stub_Skill2468Stub = new Skill2468Stub(); + public static Skill2469Stub __stub_Skill2469Stub = new Skill2469Stub(); + public static Skill2470Stub __stub_Skill2470Stub = new Skill2470Stub(); + public static Skill2471Stub __stub_Skill2471Stub = new Skill2471Stub(); + public static Skill2472Stub __stub_Skill2472Stub = new Skill2472Stub(); + public static Skill2473Stub __stub_Skill2473Stub = new Skill2473Stub(); + public static Skill2474Stub __stub_Skill2474Stub = new Skill2474Stub(); + public static Skill2475Stub __stub_Skill2475Stub = new Skill2475Stub(); + public static Skill2476Stub __stub_Skill2476Stub = new Skill2476Stub(); + public static Skill2479Stub __stub_Skill2479Stub = new Skill2479Stub(); + public static Skill2480Stub __stub_Skill2480Stub = new Skill2480Stub(); + public static Skill2481Stub __stub_Skill2481Stub = new Skill2481Stub(); + public static Skill2482Stub __stub_Skill2482Stub = new Skill2482Stub(); + public static Skill2483Stub __stub_Skill2483Stub = new Skill2483Stub(); + public static Skill2484Stub __stub_Skill2484Stub = new Skill2484Stub(); + public static Skill2485Stub __stub_Skill2485Stub = new Skill2485Stub(); + public static Skill2486Stub __stub_Skill2486Stub = new Skill2486Stub(); + public static Skill2487Stub __stub_Skill2487Stub = new Skill2487Stub(); + public static Skill2488Stub __stub_Skill2488Stub = new Skill2488Stub(); + public static Skill2489Stub __stub_Skill2489Stub = new Skill2489Stub(); + public static Skill2490Stub __stub_Skill2490Stub = new Skill2490Stub(); + public static Skill2491Stub __stub_Skill2491Stub = new Skill2491Stub(); + public static Skill2492Stub __stub_Skill2492Stub = new Skill2492Stub(); + public static Skill2493Stub __stub_Skill2493Stub = new Skill2493Stub(); + public static Skill2494Stub __stub_Skill2494Stub = new Skill2494Stub(); + public static Skill2495Stub __stub_Skill2495Stub = new Skill2495Stub(); + public static Skill2496Stub __stub_Skill2496Stub = new Skill2496Stub(); + public static Skill2497Stub __stub_Skill2497Stub = new Skill2497Stub(); + public static Skill2498Stub __stub_Skill2498Stub = new Skill2498Stub(); + public static Skill2499Stub __stub_Skill2499Stub = new Skill2499Stub(); + public static Skill2500Stub __stub_Skill2500Stub = new Skill2500Stub(); + public static Skill2501Stub __stub_Skill2501Stub = new Skill2501Stub(); + public static Skill2502Stub __stub_Skill2502Stub = new Skill2502Stub(); + public static Skill2503Stub __stub_Skill2503Stub = new Skill2503Stub(); + public static Skill2504Stub __stub_Skill2504Stub = new Skill2504Stub(); + public static Skill2505Stub __stub_Skill2505Stub = new Skill2505Stub(); + public static Skill2506Stub __stub_Skill2506Stub = new Skill2506Stub(); + public static Skill2507Stub __stub_Skill2507Stub = new Skill2507Stub(); + public static Skill2508Stub __stub_Skill2508Stub = new Skill2508Stub(); + public static Skill2509Stub __stub_Skill2509Stub = new Skill2509Stub(); + public static Skill2510Stub __stub_Skill2510Stub = new Skill2510Stub(); + public static Skill2511Stub __stub_Skill2511Stub = new Skill2511Stub(); + public static Skill2512Stub __stub_Skill2512Stub = new Skill2512Stub(); + public static Skill2513Stub __stub_Skill2513Stub = new Skill2513Stub(); + public static Skill2514Stub __stub_Skill2514Stub = new Skill2514Stub(); + public static Skill2515Stub __stub_Skill2515Stub = new Skill2515Stub(); + public static Skill2516Stub __stub_Skill2516Stub = new Skill2516Stub(); + public static Skill2517Stub __stub_Skill2517Stub = new Skill2517Stub(); + public static Skill2518Stub __stub_Skill2518Stub = new Skill2518Stub(); + public static Skill2519Stub __stub_Skill2519Stub = new Skill2519Stub(); + public static Skill2520Stub __stub_Skill2520Stub = new Skill2520Stub(); + public static Skill2521Stub __stub_Skill2521Stub = new Skill2521Stub(); + public static Skill2522Stub __stub_Skill2522Stub = new Skill2522Stub(); + public static Skill2523Stub __stub_Skill2523Stub = new Skill2523Stub(); + public static Skill2524Stub __stub_Skill2524Stub = new Skill2524Stub(); + public static Skill2525Stub __stub_Skill2525Stub = new Skill2525Stub(); + public static Skill2526Stub __stub_Skill2526Stub = new Skill2526Stub(); + public static Skill2527Stub __stub_Skill2527Stub = new Skill2527Stub(); + public static Skill2528Stub __stub_Skill2528Stub = new Skill2528Stub(); + public static Skill2529Stub __stub_Skill2529Stub = new Skill2529Stub(); + public static Skill2530Stub __stub_Skill2530Stub = new Skill2530Stub(); + public static Skill2531Stub __stub_Skill2531Stub = new Skill2531Stub(); + public static Skill2532Stub __stub_Skill2532Stub = new Skill2532Stub(); + public static Skill2533Stub __stub_Skill2533Stub = new Skill2533Stub(); + public static Skill2534Stub __stub_Skill2534Stub = new Skill2534Stub(); + public static Skill2535Stub __stub_Skill2535Stub = new Skill2535Stub(); + public static Skill2536Stub __stub_Skill2536Stub = new Skill2536Stub(); + public static Skill2537Stub __stub_Skill2537Stub = new Skill2537Stub(); + public static Skill2538Stub __stub_Skill2538Stub = new Skill2538Stub(); + public static Skill2539Stub __stub_Skill2539Stub = new Skill2539Stub(); + public static Skill2540Stub __stub_Skill2540Stub = new Skill2540Stub(); + public static Skill2541Stub __stub_Skill2541Stub = new Skill2541Stub(); + public static Skill2542Stub __stub_Skill2542Stub = new Skill2542Stub(); + public static Skill2597Stub __stub_Skill2597Stub = new Skill2597Stub(); + public static Skill2601Stub __stub_Skill2601Stub = new Skill2601Stub(); + public static Skill2632Stub __stub_Skill2632Stub = new Skill2632Stub(); + public static Skill2633Stub __stub_Skill2633Stub = new Skill2633Stub(); + public static Skill2634Stub __stub_Skill2634Stub = new Skill2634Stub(); + public static Skill2635Stub __stub_Skill2635Stub = new Skill2635Stub(); + public static Skill2636Stub __stub_Skill2636Stub = new Skill2636Stub(); + public static Skill2637Stub __stub_Skill2637Stub = new Skill2637Stub(); + public static Skill2638Stub __stub_Skill2638Stub = new Skill2638Stub(); + public static Skill2639Stub __stub_Skill2639Stub = new Skill2639Stub(); + public static Skill2640Stub __stub_Skill2640Stub = new Skill2640Stub(); + public static Skill2641Stub __stub_Skill2641Stub = new Skill2641Stub(); + public static Skill2642Stub __stub_Skill2642Stub = new Skill2642Stub(); + public static Skill2643Stub __stub_Skill2643Stub = new Skill2643Stub(); + public static Skill2644Stub __stub_Skill2644Stub = new Skill2644Stub(); + public static Skill2645Stub __stub_Skill2645Stub = new Skill2645Stub(); + public static Skill2646Stub __stub_Skill2646Stub = new Skill2646Stub(); + public static Skill2647Stub __stub_Skill2647Stub = new Skill2647Stub(); + public static Skill2648Stub __stub_Skill2648Stub = new Skill2648Stub(); + public static Skill2649Stub __stub_Skill2649Stub = new Skill2649Stub(); + public static Skill2650Stub __stub_Skill2650Stub = new Skill2650Stub(); + public static Skill2651Stub __stub_Skill2651Stub = new Skill2651Stub(); + public static Skill2652Stub __stub_Skill2652Stub = new Skill2652Stub(); + public static Skill2653Stub __stub_Skill2653Stub = new Skill2653Stub(); + public static Skill2654Stub __stub_Skill2654Stub = new Skill2654Stub(); + public static Skill2655Stub __stub_Skill2655Stub = new Skill2655Stub(); + public static Skill2656Stub __stub_Skill2656Stub = new Skill2656Stub(); + public static Skill2657Stub __stub_Skill2657Stub = new Skill2657Stub(); + public static Skill2658Stub __stub_Skill2658Stub = new Skill2658Stub(); + public static Skill2659Stub __stub_Skill2659Stub = new Skill2659Stub(); + public static Skill2660Stub __stub_Skill2660Stub = new Skill2660Stub(); + public static Skill2661Stub __stub_Skill2661Stub = new Skill2661Stub(); + public static Skill2662Stub __stub_Skill2662Stub = new Skill2662Stub(); + public static Skill2663Stub __stub_Skill2663Stub = new Skill2663Stub(); + public static Skill2664Stub __stub_Skill2664Stub = new Skill2664Stub(); + public static Skill2665Stub __stub_Skill2665Stub = new Skill2665Stub(); + public static Skill2666Stub __stub_Skill2666Stub = new Skill2666Stub(); + public static Skill2667Stub __stub_Skill2667Stub = new Skill2667Stub(); + public static Skill2668Stub __stub_Skill2668Stub = new Skill2668Stub(); + public static Skill2669Stub __stub_Skill2669Stub = new Skill2669Stub(); + public static Skill2670Stub __stub_Skill2670Stub = new Skill2670Stub(); + public static Skill2671Stub __stub_Skill2671Stub = new Skill2671Stub(); + public static Skill2672Stub __stub_Skill2672Stub = new Skill2672Stub(); + public static Skill2681Stub __stub_Skill2681Stub = new Skill2681Stub(); + public static Skill2682Stub __stub_Skill2682Stub = new Skill2682Stub(); + public static Skill2683Stub __stub_Skill2683Stub = new Skill2683Stub(); + public static Skill2684Stub __stub_Skill2684Stub = new Skill2684Stub(); + public static Skill2685Stub __stub_Skill2685Stub = new Skill2685Stub(); + public static Skill2686Stub __stub_Skill2686Stub = new Skill2686Stub(); + public static Skill2692Stub __stub_Skill2692Stub = new Skill2692Stub(); + public static Skill2693Stub __stub_Skill2693Stub = new Skill2693Stub(); + public static Skill2694Stub __stub_Skill2694Stub = new Skill2694Stub(); + public static Skill2695Stub __stub_Skill2695Stub = new Skill2695Stub(); + public static Skill2696Stub __stub_Skill2696Stub = new Skill2696Stub(); + public static Skill2697Stub __stub_Skill2697Stub = new Skill2697Stub(); + public static Skill2698Stub __stub_Skill2698Stub = new Skill2698Stub(); + public static Skill2699Stub __stub_Skill2699Stub = new Skill2699Stub(); + public static Skill2700Stub __stub_Skill2700Stub = new Skill2700Stub(); + public static Skill2701Stub __stub_Skill2701Stub = new Skill2701Stub(); + public static Skill2702Stub __stub_Skill2702Stub = new Skill2702Stub(); + public static Skill2703Stub __stub_Skill2703Stub = new Skill2703Stub(); + public static Skill2704Stub __stub_Skill2704Stub = new Skill2704Stub(); + public static Skill2705Stub __stub_Skill2705Stub = new Skill2705Stub(); + public static Skill2706Stub __stub_Skill2706Stub = new Skill2706Stub(); + public static Skill2707Stub __stub_Skill2707Stub = new Skill2707Stub(); + public static Skill2708Stub __stub_Skill2708Stub = new Skill2708Stub(); + +#if SKILL_SERVER + public static Skill2172 __stub_Skill2172 = new Skill2172(); + public static Skill2173 __stub_Skill2173 = new Skill2173(); + public static Skill2174 __stub_Skill2174 = new Skill2174(); + public static Skill2175 __stub_Skill2175 = new Skill2175(); + public static Skill2176 __stub_Skill2176 = new Skill2176(); + public static Skill2177 __stub_Skill2177 = new Skill2177(); + public static Skill2178 __stub_Skill2178 = new Skill2178(); + public static Skill2179 __stub_Skill2179 = new Skill2179(); + public static Skill2180 __stub_Skill2180 = new Skill2180(); + public static Skill2181 __stub_Skill2181 = new Skill2181(); + public static Skill2182 __stub_Skill2182 = new Skill2182(); + public static Skill2183 __stub_Skill2183 = new Skill2183(); + public static Skill2184 __stub_Skill2184 = new Skill2184(); + public static Skill2185 __stub_Skill2185 = new Skill2185(); + public static Skill2186 __stub_Skill2186 = new Skill2186(); + public static Skill2187 __stub_Skill2187 = new Skill2187(); + public static Skill2188 __stub_Skill2188 = new Skill2188(); + public static Skill2189 __stub_Skill2189 = new Skill2189(); + public static Skill2190 __stub_Skill2190 = new Skill2190(); + public static Skill2191 __stub_Skill2191 = new Skill2191(); + public static Skill2192 __stub_Skill2192 = new Skill2192(); + public static Skill2193 __stub_Skill2193 = new Skill2193(); + public static Skill2194 __stub_Skill2194 = new Skill2194(); + public static Skill2195 __stub_Skill2195 = new Skill2195(); + public static Skill2196 __stub_Skill2196 = new Skill2196(); + public static Skill2197 __stub_Skill2197 = new Skill2197(); + public static Skill2198 __stub_Skill2198 = new Skill2198(); + public static Skill2199 __stub_Skill2199 = new Skill2199(); + public static Skill2200 __stub_Skill2200 = new Skill2200(); + public static Skill2201 __stub_Skill2201 = new Skill2201(); + public static Skill2205 __stub_Skill2205 = new Skill2205(); + public static Skill2266 __stub_Skill2266 = new Skill2266(); + public static Skill2267 __stub_Skill2267 = new Skill2267(); + public static Skill2268 __stub_Skill2268 = new Skill2268(); + public static Skill2269 __stub_Skill2269 = new Skill2269(); + public static Skill2270 __stub_Skill2270 = new Skill2270(); + public static Skill2273 __stub_Skill2273 = new Skill2273(); + public static Skill2274 __stub_Skill2274 = new Skill2274(); + public static Skill2275 __stub_Skill2275 = new Skill2275(); + public static Skill2291 __stub_Skill2291 = new Skill2291(); + public static Skill2318 __stub_Skill2318 = new Skill2318(); + public static Skill2319 __stub_Skill2319 = new Skill2319(); + public static Skill2320 __stub_Skill2320 = new Skill2320(); + public static Skill2321 __stub_Skill2321 = new Skill2321(); + public static Skill2322 __stub_Skill2322 = new Skill2322(); + public static Skill2323 __stub_Skill2323 = new Skill2323(); + public static Skill2324 __stub_Skill2324 = new Skill2324(); + public static Skill2325 __stub_Skill2325 = new Skill2325(); + public static Skill2326 __stub_Skill2326 = new Skill2326(); + public static Skill2327 __stub_Skill2327 = new Skill2327(); + public static Skill2328 __stub_Skill2328 = new Skill2328(); + public static Skill2347 __stub_Skill2347 = new Skill2347(); + public static Skill2348 __stub_Skill2348 = new Skill2348(); + public static Skill2349 __stub_Skill2349 = new Skill2349(); + public static Skill2350 __stub_Skill2350 = new Skill2350(); + public static Skill2351 __stub_Skill2351 = new Skill2351(); + public static Skill2353 __stub_Skill2353 = new Skill2353(); + public static Skill2376 __stub_Skill2376 = new Skill2376(); + public static Skill2377 __stub_Skill2377 = new Skill2377(); + public static Skill2378 __stub_Skill2378 = new Skill2378(); + public static Skill2379 __stub_Skill2379 = new Skill2379(); + public static Skill2380 __stub_Skill2380 = new Skill2380(); + public static Skill2381 __stub_Skill2381 = new Skill2381(); + public static Skill2382 __stub_Skill2382 = new Skill2382(); + public static Skill2383 __stub_Skill2383 = new Skill2383(); + public static Skill2384 __stub_Skill2384 = new Skill2384(); + public static Skill2385 __stub_Skill2385 = new Skill2385(); + public static Skill2386 __stub_Skill2386 = new Skill2386(); + public static Skill2387 __stub_Skill2387 = new Skill2387(); + public static Skill2388 __stub_Skill2388 = new Skill2388(); + public static Skill2389 __stub_Skill2389 = new Skill2389(); + public static Skill2390 __stub_Skill2390 = new Skill2390(); + public static Skill2391 __stub_Skill2391 = new Skill2391(); + public static Skill2392 __stub_Skill2392 = new Skill2392(); + public static Skill2393 __stub_Skill2393 = new Skill2393(); + public static Skill2394 __stub_Skill2394 = new Skill2394(); + public static Skill2395 __stub_Skill2395 = new Skill2395(); + public static Skill2396 __stub_Skill2396 = new Skill2396(); + public static Skill2397 __stub_Skill2397 = new Skill2397(); + public static Skill2398 __stub_Skill2398 = new Skill2398(); + public static Skill2399 __stub_Skill2399 = new Skill2399(); + public static Skill2400 __stub_Skill2400 = new Skill2400(); + public static Skill2401 __stub_Skill2401 = new Skill2401(); + public static Skill2402 __stub_Skill2402 = new Skill2402(); + public static Skill2403 __stub_Skill2403 = new Skill2403(); + public static Skill2404 __stub_Skill2404 = new Skill2404(); + public static Skill2405 __stub_Skill2405 = new Skill2405(); + public static Skill2406 __stub_Skill2406 = new Skill2406(); + public static Skill2407 __stub_Skill2407 = new Skill2407(); + public static Skill2408 __stub_Skill2408 = new Skill2408(); + public static Skill2409 __stub_Skill2409 = new Skill2409(); + public static Skill2410 __stub_Skill2410 = new Skill2410(); + public static Skill2411 __stub_Skill2411 = new Skill2411(); + public static Skill2422 __stub_Skill2422 = new Skill2422(); + public static Skill2423 __stub_Skill2423 = new Skill2423(); + public static Skill2424 __stub_Skill2424 = new Skill2424(); + public static Skill2425 __stub_Skill2425 = new Skill2425(); + public static Skill2426 __stub_Skill2426 = new Skill2426(); + public static Skill2427 __stub_Skill2427 = new Skill2427(); + public static Skill2428 __stub_Skill2428 = new Skill2428(); + public static Skill2429 __stub_Skill2429 = new Skill2429(); + public static Skill2430 __stub_Skill2430 = new Skill2430(); + public static Skill2431 __stub_Skill2431 = new Skill2431(); + public static Skill2454 __stub_Skill2454 = new Skill2454(); + public static Skill2455 __stub_Skill2455 = new Skill2455(); + public static Skill2456 __stub_Skill2456 = new Skill2456(); + public static Skill2457 __stub_Skill2457 = new Skill2457(); + public static Skill2458 __stub_Skill2458 = new Skill2458(); + public static Skill2459 __stub_Skill2459 = new Skill2459(); + public static Skill2460 __stub_Skill2460 = new Skill2460(); + public static Skill2461 __stub_Skill2461 = new Skill2461(); + public static Skill2462 __stub_Skill2462 = new Skill2462(); + public static Skill2463 __stub_Skill2463 = new Skill2463(); + public static Skill2464 __stub_Skill2464 = new Skill2464(); + public static Skill2465 __stub_Skill2465 = new Skill2465(); + public static Skill2466 __stub_Skill2466 = new Skill2466(); + public static Skill2467 __stub_Skill2467 = new Skill2467(); + public static Skill2468 __stub_Skill2468 = new Skill2468(); + public static Skill2469 __stub_Skill2469 = new Skill2469(); + public static Skill2470 __stub_Skill2470 = new Skill2470(); + public static Skill2471 __stub_Skill2471 = new Skill2471(); + public static Skill2472 __stub_Skill2472 = new Skill2472(); + public static Skill2473 __stub_Skill2473 = new Skill2473(); + public static Skill2474 __stub_Skill2474 = new Skill2474(); + public static Skill2475 __stub_Skill2475 = new Skill2475(); + public static Skill2476 __stub_Skill2476 = new Skill2476(); + public static Skill2479 __stub_Skill2479 = new Skill2479(); + public static Skill2480 __stub_Skill2480 = new Skill2480(); + public static Skill2481 __stub_Skill2481 = new Skill2481(); + public static Skill2482 __stub_Skill2482 = new Skill2482(); + public static Skill2483 __stub_Skill2483 = new Skill2483(); + public static Skill2484 __stub_Skill2484 = new Skill2484(); + public static Skill2485 __stub_Skill2485 = new Skill2485(); + public static Skill2486 __stub_Skill2486 = new Skill2486(); + public static Skill2487 __stub_Skill2487 = new Skill2487(); + public static Skill2488 __stub_Skill2488 = new Skill2488(); + public static Skill2489 __stub_Skill2489 = new Skill2489(); + public static Skill2490 __stub_Skill2490 = new Skill2490(); + public static Skill2491 __stub_Skill2491 = new Skill2491(); + public static Skill2492 __stub_Skill2492 = new Skill2492(); + public static Skill2493 __stub_Skill2493 = new Skill2493(); + public static Skill2494 __stub_Skill2494 = new Skill2494(); + public static Skill2495 __stub_Skill2495 = new Skill2495(); + public static Skill2496 __stub_Skill2496 = new Skill2496(); + public static Skill2497 __stub_Skill2497 = new Skill2497(); + public static Skill2498 __stub_Skill2498 = new Skill2498(); + public static Skill2499 __stub_Skill2499 = new Skill2499(); + public static Skill2500 __stub_Skill2500 = new Skill2500(); + public static Skill2501 __stub_Skill2501 = new Skill2501(); + public static Skill2502 __stub_Skill2502 = new Skill2502(); + public static Skill2503 __stub_Skill2503 = new Skill2503(); + public static Skill2504 __stub_Skill2504 = new Skill2504(); + public static Skill2505 __stub_Skill2505 = new Skill2505(); + public static Skill2506 __stub_Skill2506 = new Skill2506(); + public static Skill2507 __stub_Skill2507 = new Skill2507(); + public static Skill2508 __stub_Skill2508 = new Skill2508(); + public static Skill2509 __stub_Skill2509 = new Skill2509(); + public static Skill2510 __stub_Skill2510 = new Skill2510(); + public static Skill2511 __stub_Skill2511 = new Skill2511(); + public static Skill2512 __stub_Skill2512 = new Skill2512(); + public static Skill2513 __stub_Skill2513 = new Skill2513(); + public static Skill2514 __stub_Skill2514 = new Skill2514(); + public static Skill2515 __stub_Skill2515 = new Skill2515(); + public static Skill2516 __stub_Skill2516 = new Skill2516(); + public static Skill2517 __stub_Skill2517 = new Skill2517(); + public static Skill2518 __stub_Skill2518 = new Skill2518(); + public static Skill2519 __stub_Skill2519 = new Skill2519(); + public static Skill2520 __stub_Skill2520 = new Skill2520(); + public static Skill2521 __stub_Skill2521 = new Skill2521(); + public static Skill2522 __stub_Skill2522 = new Skill2522(); + public static Skill2523 __stub_Skill2523 = new Skill2523(); + public static Skill2524 __stub_Skill2524 = new Skill2524(); + public static Skill2525 __stub_Skill2525 = new Skill2525(); + public static Skill2526 __stub_Skill2526 = new Skill2526(); + public static Skill2527 __stub_Skill2527 = new Skill2527(); + public static Skill2528 __stub_Skill2528 = new Skill2528(); + public static Skill2529 __stub_Skill2529 = new Skill2529(); + public static Skill2530 __stub_Skill2530 = new Skill2530(); + public static Skill2531 __stub_Skill2531 = new Skill2531(); + public static Skill2532 __stub_Skill2532 = new Skill2532(); + public static Skill2533 __stub_Skill2533 = new Skill2533(); + public static Skill2534 __stub_Skill2534 = new Skill2534(); + public static Skill2535 __stub_Skill2535 = new Skill2535(); + public static Skill2536 __stub_Skill2536 = new Skill2536(); + public static Skill2537 __stub_Skill2537 = new Skill2537(); + public static Skill2538 __stub_Skill2538 = new Skill2538(); + public static Skill2539 __stub_Skill2539 = new Skill2539(); + public static Skill2540 __stub_Skill2540 = new Skill2540(); + public static Skill2541 __stub_Skill2541 = new Skill2541(); + public static Skill2542 __stub_Skill2542 = new Skill2542(); + public static Skill2597 __stub_Skill2597 = new Skill2597(); + public static Skill2601 __stub_Skill2601 = new Skill2601(); + public static Skill2632 __stub_Skill2632 = new Skill2632(); + public static Skill2633 __stub_Skill2633 = new Skill2633(); + public static Skill2634 __stub_Skill2634 = new Skill2634(); + public static Skill2635 __stub_Skill2635 = new Skill2635(); + public static Skill2636 __stub_Skill2636 = new Skill2636(); + public static Skill2637 __stub_Skill2637 = new Skill2637(); + public static Skill2638 __stub_Skill2638 = new Skill2638(); + public static Skill2639 __stub_Skill2639 = new Skill2639(); + public static Skill2640 __stub_Skill2640 = new Skill2640(); + public static Skill2641 __stub_Skill2641 = new Skill2641(); + public static Skill2642 __stub_Skill2642 = new Skill2642(); + public static Skill2643 __stub_Skill2643 = new Skill2643(); + public static Skill2644 __stub_Skill2644 = new Skill2644(); + public static Skill2645 __stub_Skill2645 = new Skill2645(); + public static Skill2646 __stub_Skill2646 = new Skill2646(); + public static Skill2647 __stub_Skill2647 = new Skill2647(); + public static Skill2648 __stub_Skill2648 = new Skill2648(); + public static Skill2649 __stub_Skill2649 = new Skill2649(); + public static Skill2650 __stub_Skill2650 = new Skill2650(); + public static Skill2651 __stub_Skill2651 = new Skill2651(); + public static Skill2652 __stub_Skill2652 = new Skill2652(); + public static Skill2653 __stub_Skill2653 = new Skill2653(); + public static Skill2654 __stub_Skill2654 = new Skill2654(); + public static Skill2655 __stub_Skill2655 = new Skill2655(); + public static Skill2656 __stub_Skill2656 = new Skill2656(); + public static Skill2657 __stub_Skill2657 = new Skill2657(); + public static Skill2658 __stub_Skill2658 = new Skill2658(); + public static Skill2659 __stub_Skill2659 = new Skill2659(); + public static Skill2660 __stub_Skill2660 = new Skill2660(); + public static Skill2661 __stub_Skill2661 = new Skill2661(); + public static Skill2662 __stub_Skill2662 = new Skill2662(); + public static Skill2663 __stub_Skill2663 = new Skill2663(); + public static Skill2664 __stub_Skill2664 = new Skill2664(); + public static Skill2665 __stub_Skill2665 = new Skill2665(); + public static Skill2666 __stub_Skill2666 = new Skill2666(); + public static Skill2667 __stub_Skill2667 = new Skill2667(); + public static Skill2668 __stub_Skill2668 = new Skill2668(); + public static Skill2669 __stub_Skill2669 = new Skill2669(); + public static Skill2670 __stub_Skill2670 = new Skill2670(); + public static Skill2671 __stub_Skill2671 = new Skill2671(); + public static Skill2672 __stub_Skill2672 = new Skill2672(); + public static Skill2681 __stub_Skill2681 = new Skill2681(); + public static Skill2682 __stub_Skill2682 = new Skill2682(); + public static Skill2683 __stub_Skill2683 = new Skill2683(); + public static Skill2684 __stub_Skill2684 = new Skill2684(); + public static Skill2685 __stub_Skill2685 = new Skill2685(); + public static Skill2686 __stub_Skill2686 = new Skill2686(); + public static Skill2692 __stub_Skill2692 = new Skill2692(); + public static Skill2693 __stub_Skill2693 = new Skill2693(); + public static Skill2694 __stub_Skill2694 = new Skill2694(); + public static Skill2695 __stub_Skill2695 = new Skill2695(); + public static Skill2696 __stub_Skill2696 = new Skill2696(); + public static Skill2697 __stub_Skill2697 = new Skill2697(); + public static Skill2698 __stub_Skill2698 = new Skill2698(); + public static Skill2699 __stub_Skill2699 = new Skill2699(); + public static Skill2700 __stub_Skill2700 = new Skill2700(); + public static Skill2701 __stub_Skill2701 = new Skill2701(); + public static Skill2702 __stub_Skill2702 = new Skill2702(); + public static Skill2703 __stub_Skill2703 = new Skill2703(); + public static Skill2704 __stub_Skill2704 = new Skill2704(); + public static Skill2705 __stub_Skill2705 = new Skill2705(); + public static Skill2706 __stub_Skill2706 = new Skill2706(); + public static Skill2707 __stub_Skill2707 = new Skill2707(); + public static Skill2708 __stub_Skill2708 = new Skill2708(); +#endif + } +} diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/SkillStubs10.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/SkillStubs10.cs.meta new file mode 100644 index 0000000000..4f264a4597 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/SkillStubs10.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 88d579d1068d74d38aa23d42b9eb27ea \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2172.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2172.cs new file mode 100644 index 0000000000..8ff98aa2d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2172.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2172 : Skill + { + public const int SKILL_ID = 2172; + + public Skill2172() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2172Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2172Stub() : base(2172) + { + cls = 127; + name = "坏金币"; + nativename = "坏金币"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1狂龙斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狂龙斩击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2172Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2172.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2172.cs.meta new file mode 100644 index 0000000000..34f610638d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2172.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fee1261c70c3d4162a163100c598b38d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2173.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2173.cs new file mode 100644 index 0000000000..2d83d7d0ab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2173.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2173 : Skill + { + public const int SKILL_ID = 2173; + + public Skill2173() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2173Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2173Stub() : base(2173) + { + cls = 127; + name = "辰炎击退"; + nativename = "辰炎击退"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2173Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 18f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 17f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == 4 ? 0 : 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (10 * skill.GetLevel ()); + skill.GetVictim ().SetRepel2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2173.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2173.cs.meta new file mode 100644 index 0000000000..154a71327d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2173.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 147b661551b15404ea2217ecc9f9a894 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2174.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2174.cs new file mode 100644 index 0000000000..b7ecc525db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2174.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2174 : Skill + { + public const int SKILL_ID = 2174; + + public Skill2174() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2174Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2174Stub() : base(2174) + { + cls = 127; + name = "辰炎击飞"; + nativename = "辰炎击飞"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2174Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == 4 ? 0 : 100); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (6 * skill.GetLevel ()); + skill.GetVictim ().SetKnockup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2174.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2174.cs.meta new file mode 100644 index 0000000000..5a7cc4cfdd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2174.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e512fb675d6814be6a0fd21162081a7e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2175.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2175.cs new file mode 100644 index 0000000000..663de0c19d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2175.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2175 : Skill + { + public const int SKILL_ID = 2175; + + public Skill2175() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2175Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2175Stub() : base(2175) + { + cls = 127; + name = "辰炎万象天引"; + nativename = "辰炎万象天引"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "武侠_龙爪手"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/龙爪手_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)9; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1100; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2175Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == 4 ? 0 : 100); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (10 * skill.GetLevel ()); + skill.GetVictim ().SetPullover (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2175.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2175.cs.meta new file mode 100644 index 0000000000..cb5004f987 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2175.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6a1f9e9de0e314d0c9b61c91f173ef55 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2176.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2176.cs new file mode 100644 index 0000000000..ff548993a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2176.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2176 : Skill + { + public const int SKILL_ID = 2176; + + public Skill2176() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2176Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2176Stub() : base(2176) + { + cls = 127; + name = "透明怪火焰伤害"; + nativename = "透明怪火焰伤害"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2176Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2176.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2176.cs.meta new file mode 100644 index 0000000000..3c12934606 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2176.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 93972a5555e2f4b05b4fc0f9d948c752 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2177.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2177.cs new file mode 100644 index 0000000000..772ce9911b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2177.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2177 : Skill + { + public const int SKILL_ID = 2177; + + public Skill2177() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2177Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2177Stub() : base(2177) + { + cls = 127; + name = "清除自身负面状态"; + nativename = "清除自身负面状态"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2177Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2177.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2177.cs.meta new file mode 100644 index 0000000000..ce8f21729a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2177.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f57420f32f70046a3a04585f03d86917 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2178.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2178.cs new file mode 100644 index 0000000000..9131403e38 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2178.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2178 : Skill + { + public const int SKILL_ID = 2178; + + public Skill2178() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2178Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2178Stub() : base(2178) + { + cls = 127; + name = "自身伤害加深"; + nativename = "自身伤害加深"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2178Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInchurt3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2178.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2178.cs.meta new file mode 100644 index 0000000000..9be9768c61 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2178.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 46623409cdd964e4d94d89d4b1ef9f43 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2179.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2179.cs new file mode 100644 index 0000000000..cbec64f5fa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2179.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2179 : Skill + { + public const int SKILL_ID = 2179; + + public Skill2179() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2179Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2179Stub() : base(2179) + { + cls = 127; + name = "怪物幽冥遁2"; + nativename = "怪物幽冥遁2"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2179Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000 * skill.GetLevel ()); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2179.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2179.cs.meta new file mode 100644 index 0000000000..22fbb610d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2179.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 07e8141d79e2e41d4b945d4d282e5e18 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2180.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2180.cs new file mode 100644 index 0000000000..f41145355a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2180.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2180 : Skill + { + public const int SKILL_ID = 2180; + + public Skill2180() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2180Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2180Stub() : base(2180) + { + cls = 127; + name = "火焰陷阱延迟3秒"; + nativename = "火焰陷阱延迟3秒"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "炙炎阵"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/炙炎阵击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2180Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2180.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2180.cs.meta new file mode 100644 index 0000000000..04911acf18 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2180.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fba6fa1d6070d40f892561d881178f48 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2181.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2181.cs new file mode 100644 index 0000000000..cfc16ae223 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2181.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2181 : Skill + { + public const int SKILL_ID = 2181; + + public Skill2181() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2181Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2181Stub() : base(2181) + { + cls = 127; + name = "火焰陷阱立即生效"; + nativename = "火焰陷阱立即生效"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "炙炎阵"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/炙炎阵击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2181Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2181.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2181.cs.meta new file mode 100644 index 0000000000..7aed4bc0b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2181.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 07ebaff2e8b0b4180b79c1fe1f6003ea \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2182.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2182.cs new file mode 100644 index 0000000000..6da17c8ad8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2182.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2182 : Skill + { + public const int SKILL_ID = 2182; + + public Skill2182() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2182Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2182Stub() : base(2182) + { + cls = 127; + name = "物品技能-龙魂觉醒"; + nativename = "物品技能-龙魂觉醒"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2182Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (1 * skill.GetLevel ()); + skill.GetVictim ().SetEnhanceskilldamage (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2182.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2182.cs.meta new file mode 100644 index 0000000000..dc7f5cb464 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2182.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c34721cd6cc9544f08264d1dfcddabf5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2183.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2183.cs new file mode 100644 index 0000000000..499f26b198 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2183.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2183 : Skill + { + public const int SKILL_ID = 2183; + + public Skill2183() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2183Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2183Stub() : base(2183) + { + cls = 127; + name = "水之壁障"; + nativename = "水之壁障"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "极度乾坤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/极度乾坤击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 7000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2183Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunefire2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2183.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2183.cs.meta new file mode 100644 index 0000000000..d0fef43f3c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2183.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2fa90a6336f5d4bb1a2dbb52d43e209e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2184.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2184.cs new file mode 100644 index 0000000000..b385562b04 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2184.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2184 : Skill + { + public const int SKILL_ID = 2184; + + public Skill2184() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2184Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 7000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(skill.GetLevel()); + skill.SetDamage(10 * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2184Stub() : base(2184) + { + cls = 127; + name = "自身小圆秒杀"; + nativename = "自身小圆秒杀"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2184Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 18f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetReducefire (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2184.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2184.cs.meta new file mode 100644 index 0000000000..a2fd5a8c85 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2184.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd608482f78ff4fe088fe0dbafc4f702 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2185.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2185.cs new file mode 100644 index 0000000000..11aebd1c99 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2185.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2185 : Skill + { + public const int SKILL_ID = 2185; + + public Skill2185() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2185Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2185Stub() : base(2185) + { + cls = 127; + name = "火之觉醒"; + nativename = "火之觉醒"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "天地无级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/天地无级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2185Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == 6 ? 100 : 0); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetFireblade (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetEnhanceskilldamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2185.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2185.cs.meta new file mode 100644 index 0000000000..c239eb35e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2185.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 81ed822a75dbe45e899a1ac430322d99 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2186.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2186.cs new file mode 100644 index 0000000000..d842c5a0f9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2186.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2186 : Skill + { + public const int SKILL_ID = 2186; + + public Skill2186() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2186Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2186Stub() : base(2186) + { + cls = 127; + name = " 光之迅捷"; + nativename = " 光之迅捷"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2186Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2186.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2186.cs.meta new file mode 100644 index 0000000000..50a3e737bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2186.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6cadfddaad23f41298e3a10116e69366 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2187.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2187.cs new file mode 100644 index 0000000000..fdcb57d2a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2187.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2187 : Skill + { + public const int SKILL_ID = 2187; + + public Skill2187() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2187Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(0.5f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2187Stub() : base(2187) + { + cls = 127; + name = "小圆减攻速"; + nativename = "小圆减攻速"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物火球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/带尾焰的火球.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/爆炸效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2187Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 19f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + 1 ? 100 : (skill.GetPlayer ().GetCls () == + 2 ? 100 : (skill.GetPlayer ().GetCls () == + 3 ? 100 : (skill.GetPlayer ().GetCls () == + 7 ? 100 : (skill.GetPlayer ().GetCls () == 9 ? 100 : 0))))); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetSlowpray (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCurweapon () == + 13 ? 100 : (skill.GetPlayer ().GetCurweapon () == + 23749 ? 100 : (skill.GetPlayer ().GetCurweapon () == 182 ? 100 : 0))); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.15f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2187.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2187.cs.meta new file mode 100644 index 0000000000..85c345bab2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2187.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0a9c6c38c8fcc49eaaf8895cbb676873 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2188.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2188.cs new file mode 100644 index 0000000000..6bc1482916 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2188.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2188 : Skill + { + public const int SKILL_ID = 2188; + + public Skill2188() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2188Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 7000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(skill.GetLevel()); + skill.SetFiredamage(10 * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2188Stub() : base(2188) + { + cls = 127; + name = "火系秒团"; + nativename = "火系秒团"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2188Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2188.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2188.cs.meta new file mode 100644 index 0000000000..ef0d74fb02 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2188.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 46b98abeb1f414acb89a81efb8d823b9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2189.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2189.cs new file mode 100644 index 0000000000..0a883745e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2189.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2189 : Skill + { + public const int SKILL_ID = 2189; + + public Skill2189() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2189Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2189Stub() : base(2189) + { + cls = 127; + name = "自身圆击飞"; + nativename = "自身圆击飞"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2189Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (3 * skill.GetLevel ()); + skill.GetVictim ().SetKnockup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2189.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2189.cs.meta new file mode 100644 index 0000000000..56f6aa90c2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2189.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1340192d4547d492daf6e5e0cf1b1eae \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2190.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2190.cs new file mode 100644 index 0000000000..779d30cd59 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2190.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2190 : Skill + { + public const int SKILL_ID = 2190; + + public Skill2190() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2190Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2190Stub() : base(2190) + { + cls = 127; + name = "自身圆群拉"; + nativename = "自身圆群拉"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "武侠_龙爪手"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/龙爪手_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)9; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1100; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2190Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (10 * skill.GetLevel ()); + skill.GetVictim ().SetPullover (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2190.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2190.cs.meta new file mode 100644 index 0000000000..7adc2ce037 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2190.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8be81c7eca00f410f994e08dec1a92ff \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2191.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2191.cs new file mode 100644 index 0000000000..6ee839b55d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2191.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2191 : Skill + { + public const int SKILL_ID = 2191; + + public Skill2191() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2191Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(0.5f * skill.GetMagicattack()); + skill.SetWooddamage(0.5f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2191Stub() : base(2191) + { + cls = 127; + name = "大圆群伤"; + nativename = "大圆群伤"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物火球术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/带尾焰的火球.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/爆炸效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2191Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2191.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2191.cs.meta new file mode 100644 index 0000000000..48ef4524ae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2191.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7f86417bb06f4443c8a25879a76f4f81 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2192.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2192.cs new file mode 100644 index 0000000000..ac16680989 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2192.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2192 : Skill + { + public const int SKILL_ID = 2192; + + public Skill2192() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2192Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2192Stub() : base(2192) + { + cls = 127; + name = "单体金远"; + nativename = "单体金远"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物风球术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/风球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2192Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2192.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2192.cs.meta new file mode 100644 index 0000000000..5cf97cee64 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2192.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ed6e37d6e452846d4b866200d3011359 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2193.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2193.cs new file mode 100644 index 0000000000..5ea741b727 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2193.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2193 : Skill + { + public const int SKILL_ID = 2193; + + public Skill2193() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2193Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2193Stub() : base(2193) + { + cls = 127; + name = "单体木远"; + nativename = "单体木远"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物喷蚁酸"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2193Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2193.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2193.cs.meta new file mode 100644 index 0000000000..0570480ca2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2193.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0d32aee01a6894fd3a5fad7e1c60a8d8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2194.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2194.cs new file mode 100644 index 0000000000..f38c95190b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2194.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2194 : Skill + { + public const int SKILL_ID = 2194; + + public Skill2194() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2194Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2194Stub() : base(2194) + { + cls = 127; + name = "单体水远"; + nativename = "单体水远"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物冰球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2194Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2194.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2194.cs.meta new file mode 100644 index 0000000000..829294d2b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2194.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a4ab87e63b45f4d759dd1b3ffda9f754 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2195.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2195.cs new file mode 100644 index 0000000000..74cf4e5c11 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2195.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2195 : Skill + { + public const int SKILL_ID = 2195; + + public Skill2195() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2195Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2195Stub() : base(2195) + { + cls = 127; + name = "单体火远"; + nativename = "单体火远"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物火球术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/带尾焰的火球.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/爆炸效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2195Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2195.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2195.cs.meta new file mode 100644 index 0000000000..36ea02290b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2195.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 81fdda171fe1e4015997b147fe7874bc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2196.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2196.cs new file mode 100644 index 0000000000..9087d8c296 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2196.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2196 : Skill + { + public const int SKILL_ID = 2196; + + public Skill2196() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2196Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2196Stub() : base(2196) + { + cls = 127; + name = "单体土远"; + nativename = "单体土远"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物掷石"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/石头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/石头击碎.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2196Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2196.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2196.cs.meta new file mode 100644 index 0000000000..731e612c28 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2196.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2aa9469b6522c42dc9d0b8d94a3ca13d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2197.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2197.cs new file mode 100644 index 0000000000..5b4236e17f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2197.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2197 : Skill + { + public const int SKILL_ID = 2197; + + public Skill2197() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2197Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2197Stub() : base(2197) + { + cls = 127; + name = "单体物远"; + nativename = "单体物远"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物沦技能攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/沦技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/沦技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2197Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2197.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2197.cs.meta new file mode 100644 index 0000000000..a522c03be0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2197.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7933b283f953a470c8335ecf83b5f3c7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2198.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2198.cs new file mode 100644 index 0000000000..4d0d0c7acb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2198.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2198 : Skill + { + public const int SKILL_ID = 2198; + + public Skill2198() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2198Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2198Stub() : base(2198) + { + cls = 127; + name = "单体火dot远"; + nativename = "单体火dot远"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物喷火术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/燃烧.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2198Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage ()); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2198.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2198.cs.meta new file mode 100644 index 0000000000..2d52989553 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2198.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e318327c48e024721bb16e66337fc6a9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2199.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2199.cs new file mode 100644 index 0000000000..4b353e6ccd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2199.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2199 : Skill + { + public const int SKILL_ID = 2199; + + public Skill2199() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2199Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2199Stub() : base(2199) + { + cls = 127; + name = "仙幻天传送球"; + nativename = "仙幻天传送球"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2199Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 116); + skill.GetVictim ().SetTime (500); + skill.GetVictim ().SetRatio (-162); + skill.GetVictim ().SetAmount (260); + skill.GetVictim ().SetValue (-433); + skill.GetVictim ().SetDelaytransmit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2199.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2199.cs.meta new file mode 100644 index 0000000000..8441864c99 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2199.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: df286dab530614cd6b6eee58857f8ebe \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2200.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2200.cs new file mode 100644 index 0000000000..2b5e3e01fc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2200.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2200 : Skill + { + public const int SKILL_ID = 2200; + + public Skill2200() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2200Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2200Stub() : base(2200) + { + cls = 127; + name = "魔幻天传送球"; + nativename = "魔幻天传送球"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2200Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 117); + skill.GetVictim ().SetTime (500); + skill.GetVictim ().SetRatio (-191); + skill.GetVictim ().SetAmount (258.5f); + skill.GetVictim ().SetValue (-462); + skill.GetVictim ().SetDelaytransmit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2200.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2200.cs.meta new file mode 100644 index 0000000000..de17c4b0b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2200.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 45f140c6cee2e48c99f90c5ea9abac5d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2201.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2201.cs new file mode 100644 index 0000000000..1136b5005b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2201.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2201 : Skill + { + public const int SKILL_ID = 2201; + + public Skill2201() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2201Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2201Stub() : base(2201) + { + cls = 127; + name = "赛马光环"; + nativename = "赛马光环"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2201Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetLevel ()); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (2268); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2201.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2201.cs.meta new file mode 100644 index 0000000000..0faca9b6fd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2201.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4bc85ebd0620043678af72e7cae54f82 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2205.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2205.cs new file mode 100644 index 0000000000..a215a6d16a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2205.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2205 : Skill + { + public const int SKILL_ID = 2205; + + public Skill2205() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2205Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2205Stub() : base(2205) + { + cls = 127; + name = "纯表现光效"; + nativename = "纯表现光效"; + icon = "宠物强体"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "兽王鼓舞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王鼓舞击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2205Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (46 * (skill.GetLevel () - 1) + 2); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInsertvstate (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.95f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2205.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2205.cs.meta new file mode 100644 index 0000000000..c53cd9974c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2205.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bbde4a2ddad4a4a66adf4da4bd222cc4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2266.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2266.cs new file mode 100644 index 0000000000..ad4a210382 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2266.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2266 : Skill + { + public const int SKILL_ID = 2266; + + public Skill2266() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2266Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2266Stub() : base(2266) + { + cls = 127; + name = "怪物诅咒光环"; + nativename = "怪物诅咒光环"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2266Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 2); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (2267); + skill.GetVictim ().SetAuracurse2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2266.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2266.cs.meta new file mode 100644 index 0000000000..7c8fe81904 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2266.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dba0ac7d9ba64480a9113aa1a88c2156 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2267.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2267.cs new file mode 100644 index 0000000000..df91dff33b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2267.cs @@ -0,0 +1,132 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2267 : Skill + { + public const int SKILL_ID = 2267; + + public Skill2267() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2267Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2267Stub() : base(2267) + { + cls = 127; + name = "诅咒光环效果"; + nativename = "诅咒光环效果"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2267Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2267.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2267.cs.meta new file mode 100644 index 0000000000..70a5d82156 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2267.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cfe42b169e2bf49238b12068066ed45e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2268.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2268.cs new file mode 100644 index 0000000000..a5f8b132f9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2268.cs @@ -0,0 +1,132 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2268 : Skill + { + public const int SKILL_ID = 2268; + + public Skill2268() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2268Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2268Stub() : base(2268) + { + cls = 127; + name = "赛马光环效果"; + nativename = "赛马光环效果"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2268Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetMaxhp ()); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2268.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2268.cs.meta new file mode 100644 index 0000000000..062f5698f3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2268.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 94061e472224a4e3eb12f0ba703b95e2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2269.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2269.cs new file mode 100644 index 0000000000..3755586929 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2269.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2269 : Skill + { + public const int SKILL_ID = 2269; + + public Skill2269() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2269Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2269Stub() : base(2269) + { + cls = 127; + name = "药品-加速、对怪伤害提高"; + nativename = "药品-加速、对怪伤害提高"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "凌波微步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌波微步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2269Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 100 : 0); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetEnhanceskilldamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2269.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2269.cs.meta new file mode 100644 index 0000000000..770c68e382 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2269.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 51f0442c7f95d43efba9fd89c73f7c13 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2270.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2270.cs new file mode 100644 index 0000000000..1c6b7c1934 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2270.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2270 : Skill + { + public const int SKILL_ID = 2270; + + public Skill2270() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2270Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2270Stub() : base(2270) + { + cls = 127; + name = "药品-重生"; + nativename = "药品-重生"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "润泽"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/润泽.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2270Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (14400000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetChanceofrebirth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2270.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2270.cs.meta new file mode 100644 index 0000000000..c68681428f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2270.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c5b0848fb3fef41c19a70f94b7f45ace \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2273.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2273.cs new file mode 100644 index 0000000000..05def8d860 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2273.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2273 : Skill + { + public const int SKILL_ID = 2273; + + public Skill2273() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2273Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2273Stub() : base(2273) + { + cls = 127; + name = "物品技能-反隐"; + nativename = "物品技能-反隐"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_归刃诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/状态效果/归刃诀_瞬发.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2273Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetIncantiinvisibleactive (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2273.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2273.cs.meta new file mode 100644 index 0000000000..908f61c4bb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2273.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b8366c597860047a8ba82382f9ffde60 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2274.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2274.cs new file mode 100644 index 0000000000..3132cdfc64 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2274.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2274 : Skill + { + public const int SKILL_ID = 2274; + + public Skill2274() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2274Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2274Stub() : base(2274) + { + cls = 127; + name = "怪物变身"; + nativename = "怪物变身"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "庇护"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/庇护击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2274Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (25 + skill.GetLevel ()); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2274.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2274.cs.meta new file mode 100644 index 0000000000..b6e64ab9d7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2274.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 00c184673214e4ddc8ef8116a3815727 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2275.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2275.cs new file mode 100644 index 0000000000..2557e4821d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2275.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2275 : Skill + { + public const int SKILL_ID = 2275; + + public Skill2275() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2275Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2275Stub() : base(2275) + { + cls = 127; + name = "发射"; + nativename = "发射"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "企鹅"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/企鹅飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/企鹅击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2275Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 150 ? (skill.GetPlayer ().GetMaxhp () == 813246 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetValue (5 * skill.GetLevel ()); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetCls () == -1 ? 1000 : 1); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2275.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2275.cs.meta new file mode 100644 index 0000000000..2947d1e92b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2275.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3a8242485ab3043b880184ffbedf96d7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2291.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2291.cs new file mode 100644 index 0000000000..bb872ebb22 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2291.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2291 : Skill + { + public const int SKILL_ID = 2291; + + public Skill2291() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2291Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2291Stub() : base(2291) + { + cls = 127; + name = "吸取能量"; + nativename = "吸取能量"; + icon = "寒冰领域"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "吸星大法蓝色"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/状态效果/蓝色连线.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寒霜_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)9; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)2; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2291Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 131 ? (skill.GetPlayer ().GetMaxhp () == 4123 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 1.2f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2291.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2291.cs.meta new file mode 100644 index 0000000000..156530467f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2291.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 24d325a3e62be4e0badaa5aad4d4c10f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2318.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2318.cs new file mode 100644 index 0000000000..7c71922c39 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2318.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2318 : Skill + { + public const int SKILL_ID = 2318; + + public Skill2318() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2318Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2318Stub() : base(2318) + { + cls = 127; + name = "穹世界奖励攻击药"; + nativename = "穹世界奖励攻击药"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2318Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.22f); + skill.GetVictim ().SetGiant (1); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetBlessmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2318.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2318.cs.meta new file mode 100644 index 0000000000..69ecb0ecb1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2318.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8d7da3edfd4e14ac2aeeaa1b13376152 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2319.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2319.cs new file mode 100644 index 0000000000..fa4f054ac4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2319.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2319 : Skill + { + public const int SKILL_ID = 2319; + + public Skill2319() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2319Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2319Stub() : base(2319) + { + cls = 127; + name = "穹世界奖励防御药"; + nativename = "穹世界奖励防御药"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2319Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetStoneskin (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.22f); + skill.GetVictim ().SetInchp (1); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIronshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2319.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2319.cs.meta new file mode 100644 index 0000000000..1ae4b1b9d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2319.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 231a55b20b6c4400b866153a0f4d95d9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2320.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2320.cs new file mode 100644 index 0000000000..aa875be34e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2320.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2320 : Skill + { + public const int SKILL_ID = 2320; + + public Skill2320() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2320Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2320Stub() : base(2320) + { + cls = 127; + name = "水银兽马甲技能"; + nativename = "水银兽马甲技能"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冷凝术改"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_冷凝术改_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2320Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (1000); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2320.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2320.cs.meta new file mode 100644 index 0000000000..39e530bb41 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2320.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5dffffa1fa5864b70ae8bfe8e672321d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2321.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2321.cs new file mode 100644 index 0000000000..1db27caa88 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2321.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2321 : Skill + { + public const int SKILL_ID = 2321; + + public Skill2321() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2321Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack() * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2321Stub() : base(2321) + { + cls = 127; + name = "水银兽马甲攻击"; + nativename = "水银兽马甲攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽芒_冰霜散射_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_冰霜散射_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2321Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2321.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2321.cs.meta new file mode 100644 index 0000000000..a1b4418d2a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2321.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c28f84c146aab48a6a56a2c5a8878b48 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2322.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2322.cs new file mode 100644 index 0000000000..0a149c5cef --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2322.cs @@ -0,0 +1,156 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2322 : Skill + { + public const int SKILL_ID = 2322; + + public Skill2322() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2322Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2322Stub() : base(2322) + { + cls = 127; + name = "靶子嘲讽"; + nativename = "靶子嘲讽"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2322Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 3f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 90000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50000); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2322.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2322.cs.meta new file mode 100644 index 0000000000..1c657a644c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2322.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 572c6874578c64cafb8713ce135276aa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2323.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2323.cs new file mode 100644 index 0000000000..4e86415923 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2323.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2323 : Skill + { + public const int SKILL_ID = 2323; + + public Skill2323() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2323Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2323Stub() : base(2323) + { + cls = 127; + name = "小水银兽冰封"; + nativename = "小水银兽冰封"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冷凝术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_冷凝术_飞行击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2323Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetDizzyinchurt (1); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (109); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2323.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2323.cs.meta new file mode 100644 index 0000000000..645b761279 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2323.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6a0bf629da8524daf9056245cbf77be8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2324.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2324.cs new file mode 100644 index 0000000000..12c8681ecb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2324.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2324 : Skill + { + public const int SKILL_ID = 2324; + + public Skill2324() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2324Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2324Stub() : base(2324) + { + cls = 127; + name = "流银祝福"; + nativename = "流银祝福"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_归刃诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/状态效果/归刃诀_瞬发.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2324Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (skill.GetLevel () * 0.1f); + skill.GetVictim ().SetAdddefencedegree (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.85f); + skill.GetVictim ().SetValue (600000); + skill.GetVictim ().SetDecnormalattackhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (skill.GetLevel () * 0.1f); + skill.GetVictim ().SetInchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp ()); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2324.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2324.cs.meta new file mode 100644 index 0000000000..d95b4d34a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2324.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fd4f0757054904f62862c972aa6b46b1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2325.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2325.cs new file mode 100644 index 0000000000..e0455bd063 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2325.cs @@ -0,0 +1,173 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2325 : Skill + { + public const int SKILL_ID = 2325; + + public Skill2325() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2325Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2325Stub() : base(2325) + { + cls = 127; + name = "青蛙诅咒"; + nativename = "青蛙诅咒"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill2325Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (26); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2325.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2325.cs.meta new file mode 100644 index 0000000000..74349cd6a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2325.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ceba8621626db4d71b2553fc08ce06ca \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2326.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2326.cs new file mode 100644 index 0000000000..e0b09b13a7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2326.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2326 : Skill + { + public const int SKILL_ID = 2326; + + public Skill2326() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2326Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2326Stub() : base(2326) + { + cls = 127; + name = "小水银兽超冰封"; + nativename = "小水银兽超冰封"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冷凝术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_冷凝术_飞行击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2326Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (skill.GetLevel () < 10 ? skill.GetLevel () : 30); + skill.GetVictim ().SetDizzyinchurt (1); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (109); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2326.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2326.cs.meta new file mode 100644 index 0000000000..24364c85ae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2326.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: acbbac8ccebd4484faa13148a9058c58 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2327.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2327.cs new file mode 100644 index 0000000000..c5b9d15d60 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2327.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2327 : Skill + { + public const int SKILL_ID = 2327; + + public Skill2327() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2327Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2327Stub() : base(2327) + { + cls = 127; + name = "水银兽冰封碎裂"; + nativename = "水银兽冰封碎裂"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_流觞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_流殇_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2327Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (24000); + skill.GetVictim ().SetAmount (12000 * 3 * skill.GetLevel ()); + skill.GetVictim ().SetFlood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2327.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2327.cs.meta new file mode 100644 index 0000000000..70b1bf9eb0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2327.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b0ec81a1ec712418dbf7c93eab64e913 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2328.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2328.cs new file mode 100644 index 0000000000..90669ea08c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2328.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2328 : Skill + { + public const int SKILL_ID = 2328; + + public Skill2328() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2328Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2328Stub() : base(2328) + { + cls = 127; + name = "驱散状态带伤害"; + nativename = "驱散状态带伤害"; + icon = "寒冰领域"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "怪物风球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 992; + commoncooldowntime = 10000; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/风球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2328Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetDirecthurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2328.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2328.cs.meta new file mode 100644 index 0000000000..d07092fe66 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2328.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 070cb0bb4dbd4459895ae82c62edc6a5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2347.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2347.cs new file mode 100644 index 0000000000..c136245b07 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2347.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2347 : Skill + { + public const int SKILL_ID = 2347; + + public Skill2347() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2347Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2347Stub() : base(2347) + { + cls = 127; + name = "天地回光"; + nativename = "天地回光"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1玄冰水龙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/玄冰水龙击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 10000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 5.0f; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2347Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 4000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT0 () < + 6 ? (skill.GetLevel () > + 9 ? 30 * skill.GetT1 () : skill.GetLevel () * skill.GetT1 ()) : skill.GetT1 () * 0.5f); + skill.GetVictim ().SetWaterhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetTargetregionplayernum (); + public float GetTalent1(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2347.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2347.cs.meta new file mode 100644 index 0000000000..a5426e9e2d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2347.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d541e188bae19400d8f901090c4d1e8a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2348.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2348.cs new file mode 100644 index 0000000000..e0c89d30a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2348.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2348 : Skill + { + public const int SKILL_ID = 2348; + + public Skill2348() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2348Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2348Stub() : base(2348) + { + cls = 127; + name = "花母之怒"; + nativename = "花母之怒"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_剑印伤_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_剑印伤_飞行总.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_剑印伤_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2348Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT0 () > + 2 ? (skill.GetLevel () > + 9 ? 30 * skill.GetT1 () : skill.GetLevel () * skill.GetT1 ()) : skill.GetT1 () * 0.5f); + skill.GetVictim ().SetWaterhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetTargetregionplayernum (); + public float GetTalent1(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2348.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2348.cs.meta new file mode 100644 index 0000000000..52a55586af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2348.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bf79d13dbd37e468d8dfb17f07674fee \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2349.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2349.cs new file mode 100644 index 0000000000..1bd5fb6947 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2349.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2349 : Skill + { + public const int SKILL_ID = 2349; + + public Skill2349() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2349Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1550; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2349Stub() : base(2349) + { + cls = 127; + name = "单体闪电术"; + nativename = "单体闪电术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "炸雷"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/炸雷飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/炸雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2349Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2349.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2349.cs.meta new file mode 100644 index 0000000000..77520197a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2349.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: af2d0ff1757a74f1a836be4c50a745bb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2350.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2350.cs new file mode 100644 index 0000000000..86fe4c0797 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2350.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2350 : Skill + { + public const int SKILL_ID = 2350; + + public Skill2350() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2350Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2350Stub() : base(2350) + { + cls = 127; + name = "近战撕咬"; + nativename = "近战撕咬"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "年兽_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/年兽_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2350Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 9f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2350.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2350.cs.meta new file mode 100644 index 0000000000..035d6f3f14 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2350.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1f1a74cd47f5c4bba82d27a799510781 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2351.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2351.cs new file mode 100644 index 0000000000..202def8afb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2351.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2351 : Skill + { + public const int SKILL_ID = 2351; + + public Skill2351() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2351Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetLevel() * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2351Stub() : base(2351) + { + cls = 127; + name = "暗影突袭"; + nativename = "暗影突袭"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_复仇雷霆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_复仇雷霆_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2351Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2351.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2351.cs.meta new file mode 100644 index 0000000000..4c98b4f42f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2351.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e4e216b0ce49c4dc58093890218f55f7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2353.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2353.cs new file mode 100644 index 0000000000..03fe0636fb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2353.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2353 : Skill + { + public const int SKILL_ID = 2353; + + public Skill2353() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2353Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2353Stub() : base(2353) + { + cls = 127; + name = "单体水魔法串球"; + nativename = "单体水魔法串球"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "水母蓝色"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/水母飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/水母击中蓝色.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 80; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2353Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2353.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2353.cs.meta new file mode 100644 index 0000000000..7b6511cc2f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2353.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 789ee3e3e8a9c4b1ab748c4e12dd6fd7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2376.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2376.cs new file mode 100644 index 0000000000..a7081db300 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2376.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2376 : Skill + { + public const int SKILL_ID = 2376; + + public Skill2376() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2376Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2376Stub() : base(2376) + { + cls = 127; + name = "怪物剑气"; + nativename = "怪物剑气"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_破风剑气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/破风剑气_旋转剑气.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/破风剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2376Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2376.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2376.cs.meta new file mode 100644 index 0000000000..ca9c2cd04b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2376.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 381b5171720284d268c662221832ef1f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2377.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2377.cs new file mode 100644 index 0000000000..3e17c5d46b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2377.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2377 : Skill + { + public const int SKILL_ID = 2377; + + public Skill2377() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2377Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2377Stub() : base(2377) + { + cls = 127; + name = "愤怒"; + nativename = "愤怒"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2377Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 3f; + public float GetAttackdistance(Skill skill) => 8f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 7f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetCls () == 4 ? 3000 : (skill.GetLevel () == 10 ? skill.GetT0 () : 3000)); + skill.GetVictim ().SetFirehurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () * 30; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2377.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2377.cs.meta new file mode 100644 index 0000000000..9874645136 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2377.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6f7857045fdfb4d4697dbdf0c7e67726 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2378.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2378.cs new file mode 100644 index 0000000000..f4d359b3d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2378.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2378 : Skill + { + public const int SKILL_ID = 2378; + + public Skill2378() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2378Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(0.4f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2378Stub() : base(2378) + { + cls = 127; + name = "boss无盾不摧之斧"; + nativename = "boss无盾不摧之斧"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "武侠_回旋击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/武侠_回旋击.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/武侠_回旋击.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2378Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 8f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetValue (skill.GetLevel () == 10 ? skill.GetT0 () : 10000); + skill.GetVictim ().SetDelayearthhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => 30 * player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2378.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2378.cs.meta new file mode 100644 index 0000000000..e07cfe0af6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2378.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 562fa4a7622544270be736ff6fa5d086 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2379.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2379.cs new file mode 100644 index 0000000000..a3bf8c75fd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2379.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2379 : Skill + { + public const int SKILL_ID = 2379; + + public Skill2379() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2379Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2379Stub() : base(2379) + { + cls = 127; + name = "无斧可破之盾"; + nativename = "无斧可破之盾"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "法师_寒冰护甲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寒冰护甲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2379Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetAmount (10000000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.005f * skill.GetLevel ()); + skill.GetVictim ().SetHealshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2379.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2379.cs.meta new file mode 100644 index 0000000000..af9f4562aa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2379.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fddc7dec0fbc44c95846549ae0eccdf9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2380.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2380.cs new file mode 100644 index 0000000000..ad2a63f201 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2380.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2380 : Skill + { + public const int SKILL_ID = 2380; + + public Skill2380() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2380Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2380Stub() : base(2380) + { + cls = 127; + name = "无盾不摧之斧"; + nativename = "无盾不摧之斧"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "武侠_回旋击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/武侠_回旋击.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/武侠_回旋击.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2380Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetMaxhp () == + 9667813 ? (skill.GetPlayer ().GetCls () == -1 ? 100 : 0) : 0); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetHealshield (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetMaxhp () == + 9667813 ? (skill.GetPlayer ().GetCls () == -1 ? 100 : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.05f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2380.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2380.cs.meta new file mode 100644 index 0000000000..76395e1b49 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2380.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 77425cad4584b4465be0e9e9dda90cfe \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2381.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2381.cs new file mode 100644 index 0000000000..605ec4111e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2381.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2381 : Skill + { + public const int SKILL_ID = 2381; + + public Skill2381() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2381Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2381Stub() : base(2381) + { + cls = 127; + name = "群体半月斩"; + nativename = "群体半月斩"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽灵_羽斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽灵_羽斩_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽灵_羽斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2381Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2381.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2381.cs.meta new file mode 100644 index 0000000000..63389b2951 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2381.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0284f6b4fbe6c4896966d7614b00a0e2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2382.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2382.cs new file mode 100644 index 0000000000..f4c93da561 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2382.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2382 : Skill + { + public const int SKILL_ID = 2382; + + public Skill2382() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2382Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2382Stub() : base(2382) + { + cls = 127; + name = "物攻减法防"; + nativename = "物攻减法防"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1连射"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/连射飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/连射击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2382Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetDefense () < 1000 ? (skill.GetLevel () == 10 ? skill.GetT0 () * 30 : 100) : 100); + skill.GetVictim ().SetPhysichurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.85f); + skill.GetVictim ().SetValue (600000); + skill.GetVictim ().SetDecnormalattackhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2382.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2382.cs.meta new file mode 100644 index 0000000000..6bb2337221 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2382.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e62b258f0b31440e092c6ad0534b549b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2383.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2383.cs new file mode 100644 index 0000000000..2e6b873fb1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2383.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2383 : Skill + { + public const int SKILL_ID = 2383; + + public Skill2383() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2383Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2383Stub() : base(2383) + { + cls = 127; + name = "法攻减物防"; + nativename = "法攻减物防"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "2惊雷"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/惊雷飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/惊雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2383Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetGoldresist () < + 1000 ? (skill.GetLevel () == 10 ? skill.GetT0 () * 30 : 100) : 100); + skill.GetVictim ().SetGoldhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.85f); + skill.GetVictim ().SetValue (600000); + skill.GetVictim ().SetDecnormalattackhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2383.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2383.cs.meta new file mode 100644 index 0000000000..7c6e0a431c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2383.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 783ede4960b61411b86563b22c096b1b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2384.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2384.cs new file mode 100644 index 0000000000..483a67ebd9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2384.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2384 : Skill + { + public const int SKILL_ID = 2384; + + public Skill2384() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2384Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetLevel() * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2384Stub() : base(2384) + { + cls = 127; + name = "怪物自身圆物理攻击"; + nativename = "怪物自身圆物理攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_碎石剑气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_碎石剑气_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_碎石剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 2.3f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2384Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (3000); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2384.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2384.cs.meta new file mode 100644 index 0000000000..41bca4addd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2384.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bf4017b4dd5614caaa0dca1676ed2169 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2385.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2385.cs new file mode 100644 index 0000000000..8fb5898378 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2385.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2385 : Skill + { + public const int SKILL_ID = 2385; + + public Skill2385() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2385Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 950; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 850; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2385Stub() : base(2385) + { + cls = 127; + name = "商会头目火球"; + nativename = "商会头目火球"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "商会头目_技能_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/13混混_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2385Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 850; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2385.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2385.cs.meta new file mode 100644 index 0000000000..3477941ec8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2385.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5fa402f6740114bcba5b02713227ff32 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2386.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2386.cs new file mode 100644 index 0000000000..70fe86a69a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2386.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2386 : Skill + { + public const int SKILL_ID = 2386; + + public Skill2386() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2386Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2386Stub() : base(2386) + { + cls = 127; + name = "暴君步兵火焰吐息"; + nativename = "暴君步兵火焰吐息"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "炎索"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/炎索击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2386Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 8f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (2000); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2386.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2386.cs.meta new file mode 100644 index 0000000000..0205f46e3b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2386.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 28dac7852c23641ac89339b472811cd8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2387.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2387.cs new file mode 100644 index 0000000000..a4e6cc5253 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2387.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2387 : Skill + { + public const int SKILL_ID = 2387; + + public Skill2387() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2387Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2387Stub() : base(2387) + { + cls = 127; + name = "愤怒"; + nativename = "愤怒"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "浣熊长老_愤怒_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/剑客_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2387Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 8f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2387.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2387.cs.meta new file mode 100644 index 0000000000..ef8a183f1d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2387.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 311a881426adf4ec3a6d3ddb0e009542 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2388.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2388.cs new file mode 100644 index 0000000000..5c761c5511 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2388.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2388 : Skill + { + public const int SKILL_ID = 2388; + + public Skill2388() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2388Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2388Stub() : base(2388) + { + cls = 127; + name = "浣熊打滚"; + nativename = "浣熊打滚"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "浣熊长老_愤怒_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/剑客_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2388Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 8f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2388.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2388.cs.meta new file mode 100644 index 0000000000..b741e81499 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2388.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e18c9f670389f461e9d494501304be1c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2389.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2389.cs new file mode 100644 index 0000000000..0d1134800e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2389.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2389 : Skill + { + public const int SKILL_ID = 2389; + + public Skill2389() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2389Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetLevel() * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2389Stub() : base(2389) + { + cls = 127; + name = "弓箭乱射"; + nativename = "弓箭乱射"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1连射"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/连射飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/连射击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2389Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 25f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2389.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2389.cs.meta new file mode 100644 index 0000000000..f0e45e9eb7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2389.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 216dd8c4639a04b9fabe20f247de2dd5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2390.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2390.cs new file mode 100644 index 0000000000..0083690637 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2390.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2390 : Skill + { + public const int SKILL_ID = 2390; + + public Skill2390() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2390Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetLevel() * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2390Stub() : base(2390) + { + cls = 127; + name = "愤怒"; + nativename = "愤怒"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "致命矢"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/致命矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/致命矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2390Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 8f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2390.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2390.cs.meta new file mode 100644 index 0000000000..2443b90624 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2390.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: faa8bf06a21b6400ea55f9d6e9d7b988 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2391.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2391.cs new file mode 100644 index 0000000000..83b420f4e9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2391.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2391 : Skill + { + public const int SKILL_ID = 2391; + + public Skill2391() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2391Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetLevel() * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2391Stub() : base(2391) + { + cls = 127; + name = "愤怒"; + nativename = "愤怒"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "走私商贩_普攻_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/13混混_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2391Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 8f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 6f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2391.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2391.cs.meta new file mode 100644 index 0000000000..23d74fd061 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2391.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 479bf5011f9c54937aec4aed1cb8131d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2392.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2392.cs new file mode 100644 index 0000000000..d2c1e0d6ab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2392.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2392 : Skill + { + public const int SKILL_ID = 2392; + + public Skill2392() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2392Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2392Stub() : base(2392) + { + cls = 127; + name = "风系单体"; + nativename = "风系单体"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "龙卷风"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/龙卷风击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2500; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2392Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2392.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2392.cs.meta new file mode 100644 index 0000000000..914ea70edb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2392.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cf3e69ed474884c5e95de46085268d7e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2393.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2393.cs new file mode 100644 index 0000000000..1152961fe6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2393.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2393 : Skill + { + public const int SKILL_ID = 2393; + + public Skill2393() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2393Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2393Stub() : base(2393) + { + cls = 127; + name = "愤怒"; + nativename = "愤怒"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "风法师_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/邪恶青帝殿前将军_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2393Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 8f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2393.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2393.cs.meta new file mode 100644 index 0000000000..740317ebcd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2393.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f863d09d76ffe4cc6b4eebbae1dd6d70 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2394.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2394.cs new file mode 100644 index 0000000000..9c26bc895f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2394.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2394 : Skill + { + public const int SKILL_ID = 2394; + + public Skill2394() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2394Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2394Stub() : base(2394) + { + cls = 127; + name = "近身闪电"; + nativename = "近身闪电"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神雷"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/神雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2394Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2394.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2394.cs.meta new file mode 100644 index 0000000000..de039830c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2394.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8ef88e64d2f304fe6a10ce1f00cd9fe7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2395.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2395.cs new file mode 100644 index 0000000000..06cafe95c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2395.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2395 : Skill + { + public const int SKILL_ID = 2395; + + public Skill2395() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2395Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 737; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2395Stub() : base(2395) + { + cls = 127; + name = "愤怒"; + nativename = "愤怒"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_复仇雷霆"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_复仇雷霆_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2395Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 737; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2395.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2395.cs.meta new file mode 100644 index 0000000000..86942de541 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2395.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7f0f6acac45304772b9bc2956e996d9b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2396.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2396.cs new file mode 100644 index 0000000000..a879371be4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2396.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2396 : Skill + { + public const int SKILL_ID = 2396; + + public Skill2396() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2396Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2396Stub() : base(2396) + { + cls = 127; + name = "流银闸刀技能"; + nativename = "流银闸刀技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "暴君之子_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/13混混_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2396Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 3f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT0 () * skill.GetLevel ()); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 3f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2396.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2396.cs.meta new file mode 100644 index 0000000000..9fde7cd4df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2396.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b212d7770b8f8405983d59135b9fec4d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2397.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2397.cs new file mode 100644 index 0000000000..46191f0307 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2397.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2397 : Skill + { + public const int SKILL_ID = 2397; + + public Skill2397() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2397Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 150; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2397Stub() : base(2397) + { + cls = 127; + name = "流银火焰"; + nativename = "流银火焰"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "炙炎阵"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/炙炎阵击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2397Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 150; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2397.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2397.cs.meta new file mode 100644 index 0000000000..f49738ca2f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2397.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f38971955533e4269a649a1e13341aed \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2398.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2398.cs new file mode 100644 index 0000000000..b824d03235 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2398.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2398 : Skill + { + public const int SKILL_ID = 2398; + + public Skill2398() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2398Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2398Stub() : base(2398) + { + cls = 127; + name = "流银蝙蝠群攻"; + nativename = "流银蝙蝠群攻"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剧毒蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剧毒蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剧毒蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2398Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2400; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetDeeppoision (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2398.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2398.cs.meta new file mode 100644 index 0000000000..8cfe336e2b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2398.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ecaf7db2a17214be4885a41c1a33016a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2399.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2399.cs new file mode 100644 index 0000000000..0ae90c80c7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2399.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2399 : Skill + { + public const int SKILL_ID = 2399; + + public Skill2399() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2399Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2399Stub() : base(2399) + { + cls = 127; + name = "灵化蝙蝠boss技能"; + nativename = "灵化蝙蝠boss技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物施毒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2399Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1700; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 2f; + public float GetAttackdistance(Skill skill) => 6f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2399.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2399.cs.meta new file mode 100644 index 0000000000..1e82aca298 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2399.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0028de8389f1d47209dd77288684bd99 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2400.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2400.cs new file mode 100644 index 0000000000..e4318e03bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2400.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2400 : Skill + { + public const int SKILL_ID = 2400; + + public Skill2400() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2400Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2400Stub() : base(2400) + { + cls = 127; + name = "水银兽祝福"; + nativename = "水银兽祝福"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物施毒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2400Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1700; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 6f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (24000); + skill.GetVictim ().SetValue (400000); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2400.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2400.cs.meta new file mode 100644 index 0000000000..9c32b931e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2400.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 522521587b9b840cca5f27ae29a40585 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2401.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2401.cs new file mode 100644 index 0000000000..79cf53d59b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2401.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2401 : Skill + { + public const int SKILL_ID = 2401; + + public Skill2401() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2401Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2401Stub() : base(2401) + { + cls = 127; + name = "水银兽水银喷雾"; + nativename = "水银兽水银喷雾"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_激流术_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_激流术_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2401Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 2f; + public float GetAttackdistance(Skill skill) => 10f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2401.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2401.cs.meta new file mode 100644 index 0000000000..45a6575bb9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2401.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 327f591e995d84d2789a2278afa8cce6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2402.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2402.cs new file mode 100644 index 0000000000..62f2122db5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2402.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2402 : Skill + { + public const int SKILL_ID = 2402; + + public Skill2402() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2402Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2402Stub() : base(2402) + { + cls = 127; + name = "灵光万丈"; + nativename = "灵光万丈"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体催眠术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/怪物催眠飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/催眠击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2402Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2402.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2402.cs.meta new file mode 100644 index 0000000000..c31a5eaeb7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2402.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 74e1c9b5f3e65424bb125a996c2b03a3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2403.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2403.cs new file mode 100644 index 0000000000..5f63edb887 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2403.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2403 : Skill + { + public const int SKILL_ID = 2403; + + public Skill2403() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2403Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 4330; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2403Stub() : base(2403) + { + cls = 127; + name = "灵思"; + nativename = "灵思"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2403Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetFastattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2403.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2403.cs.meta new file mode 100644 index 0000000000..bb06200f90 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2403.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dc718da453ee64e52823dc02c2ed7b7d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2404.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2404.cs new file mode 100644 index 0000000000..14920a75da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2404.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2404 : Skill + { + public const int SKILL_ID = 2404; + + public Skill2404() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2404Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2150; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(0.5f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2404Stub() : base(2404) + { + cls = 127; + name = "愤怒"; + nativename = "愤怒"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽灵_羽斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽灵_羽斩_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽灵_羽斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2404Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2150; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 16f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (skill.GetLevel () * 5); + skill.GetVictim ().SetRepel2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2404.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2404.cs.meta new file mode 100644 index 0000000000..d4a34a9d18 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2404.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ad1fc541988404f47a925d342a2319c3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2405.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2405.cs new file mode 100644 index 0000000000..8b55ff1b22 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2405.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2405 : Skill + { + public const int SKILL_ID = 2405; + + public Skill2405() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2405Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetLevel() * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2405Stub() : base(2405) + { + cls = 127; + name = "暴君之子技能"; + nativename = "暴君之子技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "暴君之子_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/13混混_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2405Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 4f; + public float GetAttackdistance(Skill skill) => 16f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2405.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2405.cs.meta new file mode 100644 index 0000000000..2780bde1f7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2405.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a1648d2d5cc0a4c7a8772ad5643bfd49 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2406.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2406.cs new file mode 100644 index 0000000000..e0c28a2648 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2406.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2406 : Skill + { + public const int SKILL_ID = 2406; + + public Skill2406() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2406Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2406Stub() : base(2406) + { + cls = 127; + name = "真元爆裂"; + nativename = "真元爆裂"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "移元术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/移元术飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2406Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 50f; + public float GetAttackdistance(Skill skill) => 16f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetAp () > + 398 ? (skill.GetLevel () > + 9 ? skill.GetT0 () * 30 : skill.GetT0 () * skill.GetLevel ()) : skill.GetT0 () * 0.2f); + skill.GetVictim ().SetGoldhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (400); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2406.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2406.cs.meta new file mode 100644 index 0000000000..8870293590 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2406.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ebc5c93e0ef25485595e87ffe636743a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2407.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2407.cs new file mode 100644 index 0000000000..6a7de618a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2407.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2407 : Skill + { + public const int SKILL_ID = 2407; + + public Skill2407() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2407Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2407Stub() : base(2407) + { + cls = 127; + name = "暴君之子光环"; + nativename = "暴君之子光环"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "武侠_龙依"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/武侠_龙依.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2407Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (110); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2407.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2407.cs.meta new file mode 100644 index 0000000000..6220cc7467 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2407.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2ee7a6a714eec4b97ac35f1736a05057 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2408.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2408.cs new file mode 100644 index 0000000000..940b24e5ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2408.cs @@ -0,0 +1,145 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2408 : Skill + { + public const int SKILL_ID = 2408; + + public Skill2408() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2408Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2408Stub() : base(2408) + { + cls = 127; + name = "暴君光环效果"; + nativename = "暴君光环效果"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2408Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (110); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2408.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2408.cs.meta new file mode 100644 index 0000000000..30ce47567c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2408.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cf25f9124469e4e64a74e2700a242f9a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2409.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2409.cs new file mode 100644 index 0000000000..beaef39a16 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2409.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2409 : Skill + { + public const int SKILL_ID = 2409; + + public Skill2409() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2409Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2409Stub() : base(2409) + { + cls = 127; + name = "瞬间治疗2"; + nativename = "瞬间治疗2"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2409Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * skill.GetLevel () * 0.1f); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2409.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2409.cs.meta new file mode 100644 index 0000000000..b78f36435f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2409.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c6a41f3bf1f5a4c6aa415b0212452697 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2410.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2410.cs new file mode 100644 index 0000000000..d06ab194c6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2410.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2410 : Skill + { + public const int SKILL_ID = 2410; + + public Skill2410() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2410Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2410Stub() : base(2410) + { + cls = 127; + name = "流银光环"; + nativename = "流银光环"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "武侠_龙依"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/武侠_龙依.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2410Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 1); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (2411); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2410.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2410.cs.meta new file mode 100644 index 0000000000..3d06b1bd72 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2410.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bf3a4f52df1d046b7ac0f2afab0d3c1d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2411.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2411.cs new file mode 100644 index 0000000000..31fc862ef6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2411.cs @@ -0,0 +1,144 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2411 : Skill + { + public const int SKILL_ID = 2411; + + public Skill2411() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2411Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2411Stub() : base(2411) + { + cls = 127; + name = "流银光环效果"; + nativename = "流银光环效果"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2411Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetRebirth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2411.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2411.cs.meta new file mode 100644 index 0000000000..477bc9d8e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2411.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5b7bac9eacf2c497aa4a676282ceb1c2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2422.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2422.cs new file mode 100644 index 0000000000..69b26833d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2422.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2422 : Skill + { + public const int SKILL_ID = 2422; + + public Skill2422() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2422Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2422Stub() : base(2422) + { + cls = 127; + name = "蒸汽井灭火"; + nativename = "蒸汽井灭火"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2422Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetMaxhp () * 2); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2422.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2422.cs.meta new file mode 100644 index 0000000000..14715f9982 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2422.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 69d5adeb43f2d4ebe804dcf4673e2507 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2423.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2423.cs new file mode 100644 index 0000000000..dbb193358f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2423.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2423 : Skill + { + public const int SKILL_ID = 2423; + + public Skill2423() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2423Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2423Stub() : base(2423) + { + cls = 127; + name = "楼炽禁飞"; + nativename = "楼炽禁飞"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1落雷"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/落雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2423Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetLevel () < 2 && skill.GetPlayer ().GetCls () == 4 ? 0 : 100)); + skill.GetVictim ().SetTime ((skill.GetLevel () < 2) ? 2000 : (skill.GetLevel () - 1) * 10000); + skill.GetVictim ().SetNofly (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2423.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2423.cs.meta new file mode 100644 index 0000000000..b882c110e4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2423.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8321f26263c134da4b722a7dca752e88 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2424.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2424.cs new file mode 100644 index 0000000000..e32c2dd799 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2424.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2424 : Skill + { + public const int SKILL_ID = 2424; + + public Skill2424() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2424Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2424Stub() : base(2424) + { + cls = 127; + name = "范围囚禁"; + nativename = "范围囚禁"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2424Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 450; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 40); + public override float GetPraydistance(Skill skill) => (float)(3 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (109); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2424.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2424.cs.meta new file mode 100644 index 0000000000..01e6ad4df7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2424.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dc2af0c2fe6dc46218d454ca8ba1b4b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2425.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2425.cs new file mode 100644 index 0000000000..f26690a1b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2425.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2425 : Skill + { + public const int SKILL_ID = 2425; + + public Skill2425() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2425Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2425Stub() : base(2425) + { + cls = 127; + name = "炸弹爆炸"; + nativename = "炸弹爆炸"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽刃"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽刃飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽刃中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.2f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2425Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 100f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 100f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public int GetAttackspeed(Skill skill) => 40; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2425.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2425.cs.meta new file mode 100644 index 0000000000..eb5de050d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2425.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6c03677036fe047d98c2d1ebb9b542a8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2426.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2426.cs new file mode 100644 index 0000000000..55a582e1eb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2426.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2426 : Skill + { + public const int SKILL_ID = 2426; + + public Skill2426() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2426Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 6000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(skill.GetLevel() - 1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2426Stub() : base(2426) + { + cls = 127; + name = "楼炽扇伤"; + nativename = "楼炽扇伤"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "火虫_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/火虫_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2426Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2426.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2426.cs.meta new file mode 100644 index 0000000000..9dab84cc72 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2426.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 95fdf2daa7d6948ef9bf784f674f7381 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2427.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2427.cs new file mode 100644 index 0000000000..179b72de38 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2427.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2427 : Skill + { + public const int SKILL_ID = 2427; + + public Skill2427() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2427Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2427Stub() : base(2427) + { + cls = 127; + name = "能量觉醒"; + nativename = "能量觉醒"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "般若心经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/般若心经.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2427Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetEnhanceskilldamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2427.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2427.cs.meta new file mode 100644 index 0000000000..88a3cb1bfd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2427.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 46318954f623a487db50f839f087ec84 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2428.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2428.cs new file mode 100644 index 0000000000..d783cb286b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2428.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2428 : Skill + { + public const int SKILL_ID = 2428; + + public Skill2428() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2428Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2428Stub() : base(2428) + { + cls = 127; + name = "自身伤害加深"; + nativename = "自身伤害加深"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2428Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (90000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInchurt3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2428.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2428.cs.meta new file mode 100644 index 0000000000..cd5f849651 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2428.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6fd6f94b091f94d359a2b1c4c2a6cf12 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2429.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2429.cs new file mode 100644 index 0000000000..0cd47a4543 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2429.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2429 : Skill + { + public const int SKILL_ID = 2429; + + public Skill2429() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2429Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2429Stub() : base(2429) + { + cls = 127; + name = "楼炽点名"; + nativename = "楼炽点名"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2429Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 * skill.GetLevel ()); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + skill.GetVictim ().SetTime (4000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (109); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2429.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2429.cs.meta new file mode 100644 index 0000000000..e6fe44fe86 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2429.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4c238831ed23c493988c27b5bc6586c3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2430.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2430.cs new file mode 100644 index 0000000000..a0cac1d4f2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2430.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2430 : Skill + { + public const int SKILL_ID = 2430; + + public Skill2430() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2430Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2430Stub() : base(2430) + { + cls = 127; + name = "变忧郁男"; + nativename = "变忧郁男"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2430Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000 + skill.GetLevel () * 10000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2430.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2430.cs.meta new file mode 100644 index 0000000000..ad9dae4ddb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2430.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 979156f45b0f041d59286b0cf5637659 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2431.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2431.cs new file mode 100644 index 0000000000..8ab55da3df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2431.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2431 : Skill + { + public const int SKILL_ID = 2431; + + public Skill2431() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2431Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2431Stub() : base(2431) + { + cls = 127; + name = "强化"; + nativename = "强化"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1宠物治疗"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/宠物治疗击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2431Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetHpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2431.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2431.cs.meta new file mode 100644 index 0000000000..1e06365355 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2431.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ba26da21460634fbc99bd7e3b36e02d5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2454.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2454.cs new file mode 100644 index 0000000000..7a42656e91 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2454.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2454 : Skill + { + public const int SKILL_ID = 2454; + + public Skill2454() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2454Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2454Stub() : base(2454) + { + cls = 127; + name = "变浣熊"; + nativename = "变浣熊"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "仙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2454Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (skill.GetLevel () * 20000 - 17000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (11); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2454.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2454.cs.meta new file mode 100644 index 0000000000..93eb0ab104 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2454.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 616bb8d5f16094046880523f614449d8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2455.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2455.cs new file mode 100644 index 0000000000..6c97305cdc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2455.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2455 : Skill + { + public const int SKILL_ID = 2455; + + public Skill2455() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2455Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2455Stub() : base(2455) + { + cls = 127; + name = "减法攻"; + nativename = "减法攻"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "法师_业火符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/法师_业火符_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/法师_业火符_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2455Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetDecmagic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.85f); + skill.GetVictim ().SetValue (600000); + skill.GetVictim ().SetDecnormalattackhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2455.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2455.cs.meta new file mode 100644 index 0000000000..d9332f8836 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2455.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: afcc99a9d96a148298d3f96bf56f7b78 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2456.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2456.cs new file mode 100644 index 0000000000..17a1341c44 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2456.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2456 : Skill + { + public const int SKILL_ID = 2456; + + public Skill2456() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2456Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2456Stub() : base(2456) + { + cls = 127; + name = "变马车"; + nativename = "变马车"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2456Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 2000 : 10000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2456.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2456.cs.meta new file mode 100644 index 0000000000..6b7bb29279 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2456.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 621e860a6549d4dc1a4ddbeeb830d51e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2457.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2457.cs new file mode 100644 index 0000000000..e39e1c6c24 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2457.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2457 : Skill + { + public const int SKILL_ID = 2457; + + public Skill2457() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2457Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2457Stub() : base(2457) + { + cls = 127; + name = "自身圆AOE附加伤害加深"; + nativename = "自身圆AOE附加伤害加深"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "旋刃"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/旋刃释放.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/旋刃击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill2457Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.05f * skill.GetLevel ()); + skill.GetVictim ().SetAmount (20); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInchurt3 (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.2f); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2457.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2457.cs.meta new file mode 100644 index 0000000000..713d291d80 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2457.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b4b9dd80cadaf41608a6f5b0a6cc1ef0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2458.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2458.cs new file mode 100644 index 0000000000..5a9f191c5e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2458.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2458 : Skill + { + public const int SKILL_ID = 2458; + + public Skill2458() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2458Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2458Stub() : base(2458) + { + cls = 127; + name = "火圈加速"; + nativename = "火圈加速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神行真言"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/神行真言击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2458Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetAmount (5); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetIncflyspeed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2458.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2458.cs.meta new file mode 100644 index 0000000000..3911d77df8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2458.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2e9b01e854aca4a359f980a8817d99ac \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2459.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2459.cs new file mode 100644 index 0000000000..8f793cbd08 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2459.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2459 : Skill + { + public const int SKILL_ID = 2459; + + public Skill2459() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2459Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2459Stub() : base(2459) + { + cls = 127; + name = "缚龙爪群拉"; + nativename = "缚龙爪群拉"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "武侠_龙爪手"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/龙爪手_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)9; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1100; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2459Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(20 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 90); + public override float GetPraydistance(Skill skill) => (float)(20 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetPlayer ().GetCls () == -1 ? 100 : 0)); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (20 * skill.GetLevel () + 20); + skill.GetVictim ().SetPullover (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetScaledechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2459.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2459.cs.meta new file mode 100644 index 0000000000..c25d1ed08a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2459.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cbe9b526ab071463ab0468b6dfa8afea \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2460.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2460.cs new file mode 100644 index 0000000000..e1ace4f25c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2460.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2460 : Skill + { + public const int SKILL_ID = 2460; + + public Skill2460() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2460Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2460Stub() : base(2460) + { + cls = 127; + name = "伤害闪避"; + nativename = "伤害闪避"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2460Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncdamagedodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2460.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2460.cs.meta new file mode 100644 index 0000000000..4be6b37334 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2460.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aed028691c84141998788ea9ec74bc14 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2461.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2461.cs new file mode 100644 index 0000000000..239e11e93d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2461.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2461 : Skill + { + public const int SKILL_ID = 2461; + + public Skill2461() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2461Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2461Stub() : base(2461) + { + cls = 127; + name = "破盾"; + nativename = "破盾"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1还魂咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/还魂咒中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2461Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * + ((skill.GetLevel () == 1 && skill.GetPlayer ().GetLevel () == 150) + || (skill.GetLevel () == 2 && skill.GetPlayer ().GetLevel () == 149) ? 100 : 0)); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetRatio (0.01f); + skill.GetVictim ().SetIncdamagedodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2461.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2461.cs.meta new file mode 100644 index 0000000000..4184db6ed6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2461.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b00788e196e6e45a1bcfce4d107754c8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2462.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2462.cs new file mode 100644 index 0000000000..5262ac028b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2462.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2462 : Skill + { + public const int SKILL_ID = 2462; + + public Skill2462() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2462Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2462Stub() : base(2462) + { + cls = 127; + name = "巨龙光环"; + nativename = "巨龙光环"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2462Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (30); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (skill.GetLevel () < 6 ? 2463 : 2464); + skill.GetVictim ().SetAuracurse2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2462.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2462.cs.meta new file mode 100644 index 0000000000..eb5a49b8ab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2462.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2b714b271dd6541c79c269dcc1976883 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2463.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2463.cs new file mode 100644 index 0000000000..cafc020fe7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2463.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2463 : Skill + { + public const int SKILL_ID = 2463; + + public Skill2463() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2463Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2463Stub() : base(2463) + { + cls = 127; + name = "光环水效果"; + nativename = "光环水效果"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "光环水"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/光环水击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2463Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT0 () * skill.GetLevel ()); + skill.GetVictim ().SetWaterhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2463.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2463.cs.meta new file mode 100644 index 0000000000..51eeba0aa9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2463.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eaa0f142013d84cbaad22f1a8cd65c45 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2464.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2464.cs new file mode 100644 index 0000000000..cb72a76c14 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2464.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2464 : Skill + { + public const int SKILL_ID = 2464; + + public Skill2464() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2464Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2464Stub() : base(2464) + { + cls = 127; + name = "光环风效果"; + nativename = "光环风效果"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "光环风"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/光环风击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2464Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT0 () * (skill.GetLevel () - 5)); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2464.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2464.cs.meta new file mode 100644 index 0000000000..7d8cae28be --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2464.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 20cbff13a829942e68e328bd040a4318 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2465.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2465.cs new file mode 100644 index 0000000000..3f513c9dcd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2465.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2465 : Skill + { + public const int SKILL_ID = 2465; + + public Skill2465() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2465Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2465Stub() : base(2465) + { + cls = 127; + name = "免疫水伤害"; + nativename = "免疫水伤害"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2465Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunewater2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2465.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2465.cs.meta new file mode 100644 index 0000000000..b10f060e1c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2465.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6c6991186395546c98cfeaf5fe992219 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2466.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2466.cs new file mode 100644 index 0000000000..7967e176ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2466.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2466 : Skill + { + public const int SKILL_ID = 2466; + + public Skill2466() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2466Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2466Stub() : base(2466) + { + cls = 127; + name = "免疫风伤害"; + nativename = "免疫风伤害"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2466Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunemetal2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2466.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2466.cs.meta new file mode 100644 index 0000000000..428fd7eb10 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2466.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8b9527352d277465b85a3e0445dd65d9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2467.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2467.cs new file mode 100644 index 0000000000..99ab541ef8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2467.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2467 : Skill + { + public const int SKILL_ID = 2467; + + public Skill2467() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2467Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1334; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1335; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage((1 + 0.5f * skill.GetLevel()) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2467Stub() : base(2467) + { + cls = 127; + name = "目标圆降低治疗效果"; + nativename = "目标圆降低治疗效果"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "2013人界野外BOSS目标圆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/技能/邪恶半龙骑士_愤怒施放.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2200; + m_bTraceTarget = false; + m_FlyClusterCount = 10; + m_FlyClusterInterval = 60; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 8.0f; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2467Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1335; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.50f); + skill.GetVictim ().SetAmount (0.50f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetWeakenbless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 70f; + public int GetAttackspeed(Skill skill) => 16; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2467.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2467.cs.meta new file mode 100644 index 0000000000..20327c8918 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2467.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 09103fa9ab8e24320821614ba89ec92f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2468.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2468.cs new file mode 100644 index 0000000000..7a503cacfd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2468.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2468 : Skill + { + public const int SKILL_ID = 2468; + + public Skill2468() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2468Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1334; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1335; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage((1 + 0.5f * skill.GetLevel()) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2468Stub() : base(2468) + { + cls = 127; + name = "自身圆扇形流血"; + nativename = "自身圆扇形流血"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "2013人界野外BOSS扇形"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/技能/邪恶半龙骑士_技能子效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物击中/新种族_怪物重兵器击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2468Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1335; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetAmount (30000); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 16; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2468.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2468.cs.meta new file mode 100644 index 0000000000..d8e6294d2c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2468.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2d2730da4828542458be8798185d9a56 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2469.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2469.cs new file mode 100644 index 0000000000..269eb98e2a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2469.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2469 : Skill + { + public const int SKILL_ID = 2469; + + public Skill2469() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2469Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2469Stub() : base(2469) + { + cls = 127; + name = "召小怪回血护盾"; + nativename = "召小怪回血护盾"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "法师_烈焰护甲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/烈焰护甲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2469Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 2000 : skill.GetLevel () * 10000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetAmount (10000000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.002f * skill.GetLevel ()); + skill.GetVictim ().SetHealshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2469.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2469.cs.meta new file mode 100644 index 0000000000..eb0e247a4c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2469.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ed5ed5da6626d4b6990c127a30a8791b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2470.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2470.cs new file mode 100644 index 0000000000..58dc869b48 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2470.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2470 : Skill + { + public const int SKILL_ID = 2470; + + public Skill2470() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2470Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1334; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1335; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2470Stub() : base(2470) + { + cls = 127; + name = "目标圆催眠"; + nativename = "目标圆催眠"; + icon = "狂暴"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2013人界野外BOSS目标圆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/技能/邪恶半龙骑士_愤怒施放.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2200; + m_bTraceTarget = false; + m_FlyClusterCount = 10; + m_FlyClusterInterval = 60; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 8.0f; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2470Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1335; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue ((1 + 0.5f * skill.GetLevel ()) * skill.GetMagicattack ()); + skill.GetVictim ().SetGoldhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 70f; + public int GetAttackspeed(Skill skill) => 16; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2470.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2470.cs.meta new file mode 100644 index 0000000000..fde191635f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2470.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5030e2be9b647463a82aaa0e5bd22972 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2471.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2471.cs new file mode 100644 index 0000000000..638e86b10e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2471.cs @@ -0,0 +1,140 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2471 : Skill + { + public const int SKILL_ID = 2471; + + public Skill2471() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2471Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2471Stub() : base(2471) + { + cls = 127; + name = "作废"; + nativename = "作废"; + icon = ""; + max_level = 1; + type = 6; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2471Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSharpblade (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2471.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2471.cs.meta new file mode 100644 index 0000000000..c6a3fb4b8e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2471.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5110b844b42374edd9ec488423565a71 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2472.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2472.cs new file mode 100644 index 0000000000..a55337f50f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2472.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2472 : Skill + { + public const int SKILL_ID = 2472; + + public Skill2472() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2472Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2472Stub() : base(2472) + { + cls = 127; + name = "低血量狂暴"; + nativename = "低血量狂暴"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "法师_烈焰护甲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/烈焰护甲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2472Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.5f + 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetSharpblade (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.5f + 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2472.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2472.cs.meta new file mode 100644 index 0000000000..db2736001c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2472.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8f62d4a3ee21f481bbdcd21b713d41fb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2473.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2473.cs new file mode 100644 index 0000000000..93e1e7503a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2473.cs @@ -0,0 +1,122 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2473 : Skill + { + public const int SKILL_ID = 2473; + + public Skill2473() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2473Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2473Stub() : base(2473) + { + cls = 127; + name = "变雪人_玩具"; + nativename = "变雪人_玩具"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2473Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (-10); + skill.GetVictim ().SetValue (13); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2473.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2473.cs.meta new file mode 100644 index 0000000000..1dcf647c44 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2473.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 27c696ac6f3364af2ac370bb01a04a4a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2474.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2474.cs new file mode 100644 index 0000000000..c8bc6d655c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2474.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2474 : Skill + { + public const int SKILL_ID = 2474; + + public Skill2474() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2474Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2474Stub() : base(2474) + { + cls = 127; + name = "变身魔法棒"; + nativename = "变身魔法棒"; + icon = "寒冰领域"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "怪物风球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 992; + commoncooldowntime = 10000; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/风球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2474Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetValue (skill.GetLevel () == 10 ? 46 : (10 + skill.GetLevel ())); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2474.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2474.cs.meta new file mode 100644 index 0000000000..9fb63b5574 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2474.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8de76398127e242939ef032632f414a5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2475.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2475.cs new file mode 100644 index 0000000000..e621372684 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2475.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2475 : Skill + { + public const int SKILL_ID = 2475; + + public Skill2475() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2475Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2475Stub() : base(2475) + { + cls = 127; + name = "春节怪物变身2"; + nativename = "春节怪物变身2"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物风球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/风球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2475Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetValue (skill.GetLevel () == 10 ? 46 : (10 + skill.GetLevel ())); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2475.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2475.cs.meta new file mode 100644 index 0000000000..a9e4ed508c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2475.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1eb3331489f4e4d0cb38ae11af541db5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2476.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2476.cs new file mode 100644 index 0000000000..654fef5b86 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2476.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2476 : Skill + { + public const int SKILL_ID = 2476; + + public Skill2476() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2476Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 950; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2476Stub() : base(2476) + { + cls = 127; + name = "物品使用中"; + nativename = "物品使用中"; + icon = "寒冰领域"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "吸星大法蓝色"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/状态效果/蓝色连线.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寒霜_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)9; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)2; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2476Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetLevel() == 1 ? 25 : 15); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + (skill.GetLevel () + 131) ? (skill.GetPlayer ().GetMaxhp () == + (skill.GetLevel () * 111 + 4123) ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 1.2f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2476.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2476.cs.meta new file mode 100644 index 0000000000..7e3d572bc8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2476.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5990bf363d7794943afa4bb0c432d951 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2479.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2479.cs new file mode 100644 index 0000000000..fe2628079f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2479.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2479 : Skill + { + public const int SKILL_ID = 2479; + + public Skill2479() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2479Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2479Stub() : base(2479) + { + cls = 127; + name = "随机副本-神隐"; + nativename = "随机副本-神隐"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2479Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () * 3000); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2479.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2479.cs.meta new file mode 100644 index 0000000000..3ce2b797b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2479.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 05b325c974dbc486eb12692c7a7172e4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2480.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2480.cs new file mode 100644 index 0000000000..1c09d611dc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2480.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2480 : Skill + { + public const int SKILL_ID = 2480; + + public Skill2480() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2480Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2480Stub() : base(2480) + { + cls = 127; + name = "随机副本-BOSS任3伤害加深"; + nativename = "随机副本-BOSS任3伤害加深"; + icon = "天师护法"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2480Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (1 + 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2480.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2480.cs.meta new file mode 100644 index 0000000000..381c137df4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2480.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 58afb816e8a8f4157aba5da72a823b34 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2481.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2481.cs new file mode 100644 index 0000000000..931b3f5de5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2481.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2481 : Skill + { + public const int SKILL_ID = 2481; + + public Skill2481() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2481Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetHp(0.25f * skill.GetLevel() * skill.GetPlayer().GetMaxhp()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2481Stub() : base(2481) + { + cls = 127; + name = "分身出生扣血加不可选中"; + nativename = "分身出生扣血加不可选中"; + icon = "流星锤"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2481Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (500); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2481.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2481.cs.meta new file mode 100644 index 0000000000..4166cdcdf7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2481.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8db90775d03d94e3dbab9cd2e60d49f7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2482.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2482.cs new file mode 100644 index 0000000000..1b7730ce3d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2482.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2482 : Skill + { + public const int SKILL_ID = 2482; + + public Skill2482() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2482Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2482Stub() : base(2482) + { + cls = 127; + name = "随机副本-自爆光圈"; + nativename = "随机副本-自爆光圈"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2482Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(2 + skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetValue (20000 + 5000 * skill.GetLevel ()); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2482.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2482.cs.meta new file mode 100644 index 0000000000..696b39f946 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2482.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5a98653a50e304e1c83a57b83033ec01 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2483.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2483.cs new file mode 100644 index 0000000000..3d4b95f357 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2483.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2483 : Skill + { + public const int SKILL_ID = 2483; + + public Skill2483() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2483Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2483Stub() : base(2483) + { + cls = 127; + name = "随机副本-击飞"; + nativename = "随机副本-击飞"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2483Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (6 * skill.GetLevel ()); + skill.GetVictim ().SetKnockup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2483.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2483.cs.meta new file mode 100644 index 0000000000..c991016f86 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2483.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: acb5ee8ca223b452b91ba88a0de8de60 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2484.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2484.cs new file mode 100644 index 0000000000..bccf7de0d4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2484.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2484 : Skill + { + public const int SKILL_ID = 2484; + + public Skill2484() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2484Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio((skill.GetLevel() - 1) * 0.2f); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2484Stub() : base(2484) + { + cls = 127; + name = "随机副本-法术秒杀"; + nativename = "随机副本-法术秒杀"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_复仇雷霆"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_复仇雷霆_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2484Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3450; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 45f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2484.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2484.cs.meta new file mode 100644 index 0000000000..fbff6c2ce3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2484.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 391209b8e34d74acb86aba41f14f6ddb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2485.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2485.cs new file mode 100644 index 0000000000..bddbfb7978 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2485.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2485 : Skill + { + public const int SKILL_ID = 2485; + + public Skill2485() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2485Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(0.5f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2485Stub() : base(2485) + { + cls = 127; + name = "灾难之神群击飞"; + nativename = "灾难之神群击飞"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "灾难之神"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2485Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (3000); + skill.GetVictim ().SetValue (3 * skill.GetLevel ()); + skill.GetVictim ().SetKnockup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (0.5f * skill.GetT0 ()); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1500); + skill.GetVictim ().SetAmount (0.5f * skill.GetT0 ()); + skill.GetVictim ().SetThunder (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2485.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2485.cs.meta new file mode 100644 index 0000000000..1ef02747a5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2485.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a0c9a8f91e34a403384d7c294c2e80e3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2486.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2486.cs new file mode 100644 index 0000000000..b75c1cec94 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2486.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2486 : Skill + { + public const int SKILL_ID = 2486; + + public Skill2486() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2486Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2486Stub() : base(2486) + { + cls = 127; + name = "变身投石车"; + nativename = "变身投石车"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2486Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : 60000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (3); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2486.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2486.cs.meta new file mode 100644 index 0000000000..ed9a755b33 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2486.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 54326ecc200d04e529e2c48228c1aee2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2487.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2487.cs new file mode 100644 index 0000000000..2fcfae1e38 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2487.cs @@ -0,0 +1,165 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2487 : Skill + { + public const int SKILL_ID = 2487; + + public Skill2487() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2487Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 4800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2487Stub() : base(2487) + { + cls = 127; + name = "倒转出生"; + nativename = "倒转出生"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2487Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 4800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.75f); + skill.GetVictim ().SetValue (1800000); + skill.GetVictim ().SetDecnormalattackhurt (1); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetStoneskin (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2487.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2487.cs.meta new file mode 100644 index 0000000000..49476a3e97 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2487.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cb1071c0da3b84f9a849d9e731fe91f5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2488.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2488.cs new file mode 100644 index 0000000000..e4047d688b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2488.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2488 : Skill + { + public const int SKILL_ID = 2488; + + public Skill2488() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2488Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2488Stub() : base(2488) + { + cls = 127; + name = "倒转溅血"; + nativename = "倒转溅血"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "刺客_撕裂伤口"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_撕裂伤口_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2488Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1400; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 160); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (24000); + skill.GetVictim ().SetAmount (skill.GetT0 () * 8 * skill.GetLevel () * 0.3f); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (24000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (200); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2488.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2488.cs.meta new file mode 100644 index 0000000000..8839a48ac5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2488.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: afb07dd5a4d824bfdad7951c937b20c4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2489.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2489.cs new file mode 100644 index 0000000000..6826b25435 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2489.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2489 : Skill + { + public const int SKILL_ID = 2489; + + public Skill2489() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2489Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2489Stub() : base(2489) + { + cls = 127; + name = "倒转单体"; + nativename = "倒转单体"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖兽_虎啸"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖兽_虎啸_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖兽_虎啸_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2489Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetCls () == 4 ? skill.GetT0 () : skill.GetT0 () * 20); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (27000); + skill.GetVictim ().SetRatio (4); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetCls () == 4 ? skill.GetT0 () : skill.GetT0 () * 20); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 16f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2489.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2489.cs.meta new file mode 100644 index 0000000000..6e8731b2a5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2489.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 08097ef5d835f44e68551c7e15b39667 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2490.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2490.cs new file mode 100644 index 0000000000..4e1164ff76 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2490.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2490 : Skill + { + public const int SKILL_ID = 2490; + + public Skill2490() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2490Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 4600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2490Stub() : base(2490) + { + cls = 127; + name = "倒转扇形"; + nativename = "倒转扇形"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2490Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 4600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 80); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetCls () == 4 ? skill.GetT0 () : skill.GetT0 () * 20); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2490.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2490.cs.meta new file mode 100644 index 0000000000..a7b19cc540 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2490.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 76f4f749af12344079714d6e10b6a34c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2491.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2491.cs new file mode 100644 index 0000000000..8401e8f51c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2491.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2491 : Skill + { + public const int SKILL_ID = 2491; + + public Skill2491() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2491Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2491Stub() : base(2491) + { + cls = 127; + name = "倒转通用"; + nativename = "倒转通用"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "火海刀山群体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/火海刀山击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2200; + m_bTraceTarget = false; + m_FlyClusterCount = 22; + m_FlyClusterInterval = 60; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 8.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2491Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 16f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2491.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2491.cs.meta new file mode 100644 index 0000000000..f95cbca384 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2491.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7e3df44ad86aa4967b9df836b32c5909 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2492.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2492.cs new file mode 100644 index 0000000000..1b3a4b82f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2492.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2492 : Skill + { + public const int SKILL_ID = 2492; + + public Skill2492() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2492Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2492Stub() : base(2492) + { + cls = 127; + name = "怀光通用扇形"; + nativename = "怀光通用扇形"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2492Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (20000 * skill.GetLevel ()); + skill.GetVictim ().SetPhysichurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel () - 0.01f); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2492.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2492.cs.meta new file mode 100644 index 0000000000..8c7108da98 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2492.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: de294a8763d0b418ca85d753dd798fd1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2493.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2493.cs new file mode 100644 index 0000000000..f6274f57e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2493.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2493 : Skill + { + public const int SKILL_ID = 2493; + + public Skill2493() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2493Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2493Stub() : base(2493) + { + cls = 127; + name = "怀光扇形"; + nativename = "怀光扇形"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2493Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 70); + public override float GetPraydistance(Skill skill) => 18f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetScaledechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2493.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2493.cs.meta new file mode 100644 index 0000000000..c3533d336a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2493.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 20be536abfb0146bfbfa02eb51838a83 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2494.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2494.cs new file mode 100644 index 0000000000..1a79ff9c0c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2494.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2494 : Skill + { + public const int SKILL_ID = 2494; + + public Skill2494() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2494Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2494Stub() : base(2494) + { + cls = 127; + name = "怀光中程"; + nativename = "怀光中程"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2494Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 70); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2494.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2494.cs.meta new file mode 100644 index 0000000000..e2d053b45b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2494.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f4726c765b7b34c7296f75b1ba2e6baa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2495.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2495.cs new file mode 100644 index 0000000000..7c2ea100b4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2495.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2495 : Skill + { + public const int SKILL_ID = 2495; + + public Skill2495() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2495Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2495Stub() : base(2495) + { + cls = 127; + name = "怀光狂暴"; + nativename = "怀光狂暴"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2495Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 70); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel () - 0.05f); + skill.GetVictim ().SetFastattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2495.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2495.cs.meta new file mode 100644 index 0000000000..9fd871699e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2495.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 380d5d2d1884f4c319b4c819bd1ba6a0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2496.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2496.cs new file mode 100644 index 0000000000..a4e12f2a72 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2496.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2496 : Skill + { + public const int SKILL_ID = 2496; + + public Skill2496() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2496Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2496Stub() : base(2496) + { + cls = 127; + name = "通用陷阱·水"; + nativename = "通用陷阱·水"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽芒_冰霜散射_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_冰霜散射_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2496Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (30); + skill.GetVictim ().SetDizzyinchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2496.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2496.cs.meta new file mode 100644 index 0000000000..4a6679eb46 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2496.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 95a1d1e2f66084c959d1f1462af04702 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2497.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2497.cs new file mode 100644 index 0000000000..7e40c55ba2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2497.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2497 : Skill + { + public const int SKILL_ID = 2497; + + public Skill2497() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2497Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.2f *(skill.GetLevel() - 1)); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2497Stub() : base(2497) + { + cls = 127; + name = "通用陷阱·金"; + nativename = "通用陷阱·金"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽芒_擎天雷鸣"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_擎天雷鸣.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2497Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2497.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2497.cs.meta new file mode 100644 index 0000000000..9b61592d90 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2497.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8cd56bd4a1432415cb07bacec9bb23bc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2498.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2498.cs new file mode 100644 index 0000000000..38fd39f8e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2498.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2498 : Skill + { + public const int SKILL_ID = 2498; + + public Skill2498() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2498Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2498Stub() : base(2498) + { + cls = 127; + name = "通用陷阱·火"; + nativename = "通用陷阱·火"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2498Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2498.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2498.cs.meta new file mode 100644 index 0000000000..ccebc70484 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2498.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1a0d642ac5f184486b5a88af9f2facb4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2499.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2499.cs new file mode 100644 index 0000000000..0abec08bc3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2499.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2499 : Skill + { + public const int SKILL_ID = 2499; + + public Skill2499() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2499Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2499Stub() : base(2499) + { + cls = 127; + name = "通用陷阱·木"; + nativename = "通用陷阱·木"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "毒虫_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒虫_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2499Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 * skill.GetLevel ()); + skill.GetVictim ().SetAmount (skill.GetMagicdamage () * skill.GetLevel ()); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2499.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2499.cs.meta new file mode 100644 index 0000000000..d76b6aa987 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2499.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f7257c76039734a3c9ea1f697c9228fa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2500.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2500.cs new file mode 100644 index 0000000000..e33756de78 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2500.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2500 : Skill + { + public const int SKILL_ID = 2500; + + public Skill2500() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2500Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2500Stub() : base(2500) + { + cls = 127; + name = "通用陷阱·土"; + nativename = "通用陷阱·土"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2500Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2500.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2500.cs.meta new file mode 100644 index 0000000000..5eeecfdee9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2500.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bb61061346eef467086a3681d008c1b0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2501.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2501.cs new file mode 100644 index 0000000000..7c3812f1a2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2501.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2501 : Skill + { + public const int SKILL_ID = 2501; + + public Skill2501() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2501Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio((skill.GetLevel() - 1) * 0.2f); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2501Stub() : base(2501) + { + cls = 127; + name = "随机副本-近战秒杀"; + nativename = "随机副本-近战秒杀"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_虚空剑劲"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_虚空剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2501Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 4f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2501.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2501.cs.meta new file mode 100644 index 0000000000..154921decd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2501.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b2dd586c2e87f450cbd19634086267df \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2502.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2502.cs new file mode 100644 index 0000000000..c764261095 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2502.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2502 : Skill + { + public const int SKILL_ID = 2502; + + public Skill2502() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2502Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.1f * skill.GetLevel()); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2502Stub() : base(2502) + { + cls = 127; + name = "自身群"; + nativename = "自身群"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "楼炽_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/楼炽_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2502Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10 * skill.GetLevel ()); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2502.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2502.cs.meta new file mode 100644 index 0000000000..9e667e060e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2502.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ab024cc3e84bb4272805ee2826184787 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2503.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2503.cs new file mode 100644 index 0000000000..df704af148 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2503.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2503 : Skill + { + public const int SKILL_ID = 2503; + + public Skill2503() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2503Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2503Stub() : base(2503) + { + cls = 127; + name = "自身祝福"; + nativename = "自身祝福"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2503Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.09f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2503.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2503.cs.meta new file mode 100644 index 0000000000..f3b7083511 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2503.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2234fb52a1e5749e1a0c27e1d308a055 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2504.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2504.cs new file mode 100644 index 0000000000..68b6ded637 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2504.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2504 : Skill + { + public const int SKILL_ID = 2504; + + public Skill2504() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2504Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.1f * skill.GetLevel()); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2504Stub() : base(2504) + { + cls = 127; + name = "扇形群"; + nativename = "扇形群"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "楼炽_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/楼炽_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2504Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetRatio (50); + skill.GetVictim ().SetAmount (skill.GetT0 ()); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetSpecialphysichurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetSpecialphysichurttrigger (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2504.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2504.cs.meta new file mode 100644 index 0000000000..53d7aa55bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2504.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f1b5cf09b3ff84f5681b22a84c6b308e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2505.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2505.cs new file mode 100644 index 0000000000..27626f6e1c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2505.cs @@ -0,0 +1,164 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2505 : Skill + { + public const int SKILL_ID = 2505; + + public Skill2505() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2505Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2505Stub() : base(2505) + { + cls = 127; + name = "反弹术"; + nativename = "反弹术"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2505Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 3600000 : skill.GetLevel () * 10000)); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (skill.GetLevel () * skill.GetT0 ()); + skill.GetVictim ().SetSoulretort (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 3600000 : skill.GetLevel () * 10000)); + skill.GetVictim ().SetImmuneall (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2505.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2505.cs.meta new file mode 100644 index 0000000000..3e2305e2b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2505.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9f5c42515ddee4d2ab88ff2c79dcd526 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2506.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2506.cs new file mode 100644 index 0000000000..0fae7ea1ed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2506.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2506 : Skill + { + public const int SKILL_ID = 2506; + + public Skill2506() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2506Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetHp(skill.GetPlayer().GetMaxhp() * 0.05f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2506Stub() : base(2506) + { + cls = 127; + name = "召唤"; + nativename = "召唤"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2506Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2506.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2506.cs.meta new file mode 100644 index 0000000000..7a9ba2534e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2506.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 175496fe6c3a84cc0a8c9f179fdc0245 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2507.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2507.cs new file mode 100644 index 0000000000..ab8721c275 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2507.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2507 : Skill + { + public const int SKILL_ID = 2507; + + public Skill2507() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2507Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2507Stub() : base(2507) + { + cls = 127; + name = "庇护祝福"; + nativename = "庇护祝福"; + icon = ""; + max_level = 10; + type = 12; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "1移元术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/移元术飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2507Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetInvincible6 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2507.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2507.cs.meta new file mode 100644 index 0000000000..33c56221a7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2507.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 02da071e508e94bf49e42b67dcb2188a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2508.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2508.cs new file mode 100644 index 0000000000..54727d208a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2508.cs @@ -0,0 +1,124 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2508 : Skill + { + public const int SKILL_ID = 2508; + + public Skill2508() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2508Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2508Stub() : base(2508) + { + cls = 127; + name = "物品技能-帮派PVP药品"; + nativename = "物品技能-帮派PVP药品"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2508Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (20); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetIncvigour2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2508.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2508.cs.meta new file mode 100644 index 0000000000..68f1f42265 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2508.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6a754cc3cfc05400098b412d8292b64e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2509.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2509.cs new file mode 100644 index 0000000000..55f17e0651 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2509.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2509 : Skill + { + public const int SKILL_ID = 2509; + + public Skill2509() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2509Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2509Stub() : base(2509) + { + cls = 127; + name = "变身风法师"; + nativename = "变身风法师"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2509Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : 30000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (47); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2509.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2509.cs.meta new file mode 100644 index 0000000000..03c83cfddc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2509.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 43a2577120f7541b8b78e3c3a04abd8f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2510.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2510.cs new file mode 100644 index 0000000000..b178665fdb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2510.cs @@ -0,0 +1,181 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2510 : Skill + { + public const int SKILL_ID = 2510; + + public Skill2510() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2510Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack() * 1000); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2510Stub() : base(2510) + { + cls = 127; + name = "刀阵"; + nativename = "刀阵"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1吞噬"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/吞噬击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2510Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2510.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2510.cs.meta new file mode 100644 index 0000000000..a27ce2f645 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2510.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5b0c29d20eddc49e98a75ed83f8a5225 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2511.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2511.cs new file mode 100644 index 0000000000..2aaa2db7ef --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2511.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2511 : Skill + { + public const int SKILL_ID = 2511; + + public Skill2511() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2511Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack() * 2); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2511Stub() : base(2511) + { + cls = 127; + name = "突袭"; + nativename = "突袭"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_撕裂伤口"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_撕裂伤口_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2511Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2511.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2511.cs.meta new file mode 100644 index 0000000000..b1749e23dc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2511.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1786f2e5014f648b39bf7723e9e855ed \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2512.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2512.cs new file mode 100644 index 0000000000..614a5c83bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2512.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2512 : Skill + { + public const int SKILL_ID = 2512; + + public Skill2512() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2512Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2512Stub() : base(2512) + { + cls = 127; + name = "物品使用中"; + nativename = "物品使用中"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "拉雪人"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/状态效果/蓝色连线.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/能量结晶冰_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)9; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2512Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(3 + 5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 150 ? (skill.GetPlayer ().GetMaxhp () == 8132460 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetAmount (2000); + skill.GetVictim ().SetValue (5 * skill.GetLevel ()); + skill.GetVictim ().SetPullover (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetValue (2000000); + skill.GetVictim ().SetDirecthurt (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10 + 5 * skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2512.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2512.cs.meta new file mode 100644 index 0000000000..18bb2a54c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2512.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9adfea42124ae40d18e9f9c012de3c48 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2513.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2513.cs new file mode 100644 index 0000000000..b4997b785e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2513.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2513 : Skill + { + public const int SKILL_ID = 2513; + + public Skill2513() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2513Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2513Stub() : base(2513) + { + cls = 127; + name = "拔刀斩"; + nativename = "拔刀斩"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2014拔刀斩"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/技能/boss白虎_愤怒施放落爪效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2513Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2513.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2513.cs.meta new file mode 100644 index 0000000000..2a58a9f00a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2513.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dcef353d0589a4d9f9059fab62ec3487 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2514.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2514.cs new file mode 100644 index 0000000000..996a88948a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2514.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2514 : Skill + { + public const int SKILL_ID = 2514; + + public Skill2514() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2514Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack() * 0.8f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2514Stub() : base(2514) + { + cls = 127; + name = "横斩"; + nativename = "横斩"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_撕裂伤口"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_撕裂伤口_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2514Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 45); + public override float GetPraydistance(Skill skill) => 45f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2514.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2514.cs.meta new file mode 100644 index 0000000000..b0f56bcbaf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2514.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e7e5114d0209e47e7b33559a21c7887b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2515.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2515.cs new file mode 100644 index 0000000000..0c7d40df25 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2515.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2515 : Skill + { + public const int SKILL_ID = 2515; + + public Skill2515() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2515Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack() * 1.2f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2515Stub() : base(2515) + { + cls = 127; + name = "竖斩"; + nativename = "竖斩"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_撕裂伤口"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_撕裂伤口_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2515Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 2f; + public float GetAttackdistance(Skill skill) => 45f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 45); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2515.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2515.cs.meta new file mode 100644 index 0000000000..6f19f3ae71 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2515.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f814efeb3ee8e45459d016c58823b8e4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2516.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2516.cs new file mode 100644 index 0000000000..8507ddd4e8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2516.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2516 : Skill + { + public const int SKILL_ID = 2516; + + public Skill2516() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2516Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack() * 0.5f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2516Stub() : base(2516) + { + cls = 127; + name = "引爆"; + nativename = "引爆"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖精_灵火"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_灵火击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2516Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2516.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2516.cs.meta new file mode 100644 index 0000000000..9287e6be05 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2516.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b35e6181dadc249ec9a516b5d17235ed \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2517.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2517.cs new file mode 100644 index 0000000000..098b288691 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2517.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2517 : Skill + { + public const int SKILL_ID = 2517; + + public Skill2517() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2517Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack() * 1000); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2517Stub() : base(2517) + { + cls = 127; + name = "爆炸小"; + nativename = "爆炸小"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1吞噬"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/吞噬击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2517Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2517.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2517.cs.meta new file mode 100644 index 0000000000..df7c825b09 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2517.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 734ffd9e45cac40e1b7e18ef421737fc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2518.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2518.cs new file mode 100644 index 0000000000..47ba12bafd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2518.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2518 : Skill + { + public const int SKILL_ID = 2518; + + public Skill2518() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2518Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack() * 1000); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2518Stub() : base(2518) + { + cls = 127; + name = "爆炸大"; + nativename = "爆炸大"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1吞噬"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/吞噬击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2518Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2518.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2518.cs.meta new file mode 100644 index 0000000000..d8a3f95744 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2518.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fd5d3492ab7ff46bb814fa6e31c77cf3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2519.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2519.cs new file mode 100644 index 0000000000..e29829cd74 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2519.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2519 : Skill + { + public const int SKILL_ID = 2519; + + public Skill2519() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2519Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2519Stub() : base(2519) + { + cls = 127; + name = "随机副本BOSS任无敌"; + nativename = "随机副本BOSS任无敌"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2519Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : 60000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.098f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2519.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2519.cs.meta new file mode 100644 index 0000000000..4c4e26be95 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2519.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 13c6cf4c3f95c4e2bad616c86db2d6e8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2520.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2520.cs new file mode 100644 index 0000000000..9f450bab62 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2520.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2520 : Skill + { + public const int SKILL_ID = 2520; + + public Skill2520() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2520Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2520Stub() : base(2520) + { + cls = 127; + name = "随机副本BOSS任物攻提高"; + nativename = "随机副本BOSS任物攻提高"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2520Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.25f * skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2520.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2520.cs.meta new file mode 100644 index 0000000000..d1c36b8fae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2520.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 554e67d255fb04df49ad366628c88dcf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2521.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2521.cs new file mode 100644 index 0000000000..c60a8cf1f9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2521.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2521 : Skill + { + public const int SKILL_ID = 2521; + + public Skill2521() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2521Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2950; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2521Stub() : base(2521) + { + cls = 127; + name = "帮派PVP透明怪击退"; + nativename = "帮派PVP透明怪击退"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2521Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2950; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(10 + skill.GetLevel() * 2); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(10 + skill.GetLevel() * 2); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetAmount (2000); + skill.GetVictim ().SetValue (10 + skill.GetLevel () * 2); + skill.GetVictim ().SetRepel2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10 + skill.GetLevel () * 2); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2521.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2521.cs.meta new file mode 100644 index 0000000000..df55e3d380 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2521.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ae6dfecfd62a14db190facb2ac7fd8ce \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2522.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2522.cs new file mode 100644 index 0000000000..49887f6754 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2522.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2522 : Skill + { + public const int SKILL_ID = 2522; + + public Skill2522() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2522Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2522Stub() : base(2522) + { + cls = 127; + name = "随机副本BOSS任伤害提高"; + nativename = "随机副本BOSS任伤害提高"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "天地无级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/天地无级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2522Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f * skill.GetLevel ()); + skill.GetVictim ().SetEnhanceskilldamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2522.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2522.cs.meta new file mode 100644 index 0000000000..6ca2fb8a3e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2522.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: db5a21a47722a421b9ffee5fb44d139f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2523.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2523.cs new file mode 100644 index 0000000000..43ddbfb8ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2523.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2523 : Skill + { + public const int SKILL_ID = 2523; + + public Skill2523() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2523Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2523Stub() : base(2523) + { + cls = 127; + name = "随机副本BOSS任物加法减"; + nativename = "随机副本BOSS任物加法减"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "天地无级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/天地无级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2523Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2523.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2523.cs.meta new file mode 100644 index 0000000000..987602c5e9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2523.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 88a1ae83f8310462682024e6d8f75765 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2524.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2524.cs new file mode 100644 index 0000000000..668301708b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2524.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2524 : Skill + { + public const int SKILL_ID = 2524; + + public Skill2524() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2524Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2524Stub() : base(2524) + { + cls = 127; + name = "随机副本BOSS任水圈"; + nativename = "随机副本BOSS任水圈"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2524Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 3f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2524.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2524.cs.meta new file mode 100644 index 0000000000..cb9b6ae711 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2524.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 18fde5a6003a44113b93b13eff06be8d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2525.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2525.cs new file mode 100644 index 0000000000..cdd53979f7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2525.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2525 : Skill + { + public const int SKILL_ID = 2525; + + public Skill2525() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2525Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2525Stub() : base(2525) + { + cls = 127; + name = "随机副本BOSS任火圈"; + nativename = "随机副本BOSS任火圈"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2525Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(2 + skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 3); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (2526); + skill.GetVictim ().SetAuracurse2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2525.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2525.cs.meta new file mode 100644 index 0000000000..e269035549 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2525.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c378d7a8fd3a54a589049067fecf2252 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2526.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2526.cs new file mode 100644 index 0000000000..41aaa6dd1e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2526.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2526 : Skill + { + public const int SKILL_ID = 2526; + + public Skill2526() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2526Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2526Stub() : base(2526) + { + cls = 127; + name = "火圈专用效果"; + nativename = "火圈专用效果"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2526Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (10000 + 5000 * skill.GetLevel ()); + skill.GetVictim ().SetFirehurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2526.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2526.cs.meta new file mode 100644 index 0000000000..ffe3ed298e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2526.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 003a49f5a6e6a49798d9f2b97585d3ae \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2527.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2527.cs new file mode 100644 index 0000000000..d7f765c07f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2527.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2527 : Skill + { + public const int SKILL_ID = 2527; + + public Skill2527() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2527Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 950; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2527Stub() : base(2527) + { + cls = 127; + name = "卫兵单体秒怪"; + nativename = "卫兵单体秒怪"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "霸王龙飞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/霸王龙飞击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2527Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 950; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 + 2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 150 ? (skill.GetPlayer ().GetMaxhp () == 8132460 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetScaledechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8 + 2 * skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2527.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2527.cs.meta new file mode 100644 index 0000000000..f53aaaca54 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2527.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 122d61822383b457da1401d030ab17ce \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2528.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2528.cs new file mode 100644 index 0000000000..0438b44a84 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2528.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2528 : Skill + { + public const int SKILL_ID = 2528; + + public Skill2528() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2528Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 950; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2528Stub() : base(2528) + { + cls = 127; + name = "女儿国活动传送"; + nativename = "女儿国活动传送"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2528Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 140); + skill.GetVictim ().SetTime (300); + skill.GetVictim ().SetRatio (skill.GetLevel () > 1 ? (skill.GetLevel () == 3 ? 59 : 99) : 41); + skill.GetVictim ().SetAmount (34); + skill.GetVictim ().SetValue (skill.GetLevel () > 2 ? -135 : -54); + skill.GetVictim ().SetDelaytransmit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2528.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2528.cs.meta new file mode 100644 index 0000000000..bf3ffba14c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2528.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f29809a8374a5475abf894a4ccc99a36 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2529.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2529.cs new file mode 100644 index 0000000000..87c4fab30a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2529.cs @@ -0,0 +1,173 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2529 : Skill + { + public const int SKILL_ID = 2529; + + public Skill2529() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2529Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2529Stub() : base(2529) + { + cls = 127; + name = "帮派PVP透明怪传送"; + nativename = "帮派PVP透明怪传送"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill2529Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(10 + 2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 1); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetRatio (skill.GetT0 () - 10000); + skill.GetVictim ().SetAmount (skill.GetT1 () - 10000); + skill.GetVictim ().SetValue (skill.GetT2 () - 10000); + skill.GetVictim ().SetDelaytransmit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + 2 * skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMaxhp (); + public float GetTalent1(PlayerWrapper player) => player.GetDefenddegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2529.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2529.cs.meta new file mode 100644 index 0000000000..a9c0536b4a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2529.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 82e799b87f9964bfeabaa604e5b04da1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2530.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2530.cs new file mode 100644 index 0000000000..4bc0d1177d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2530.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2530 : Skill + { + public const int SKILL_ID = 2530; + + public Skill2530() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2530Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.1f * skill.GetLevel()); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2530Stub() : base(2530) + { + cls = 127; + name = "2014随机副本张09技能"; + nativename = "2014随机副本张09技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "黑熊_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/丐帮弟子_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2530Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3400; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (6 * skill.GetLevel ()); + skill.GetVictim ().SetKnockup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2530.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2530.cs.meta new file mode 100644 index 0000000000..37e78193e5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2530.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cb6617f92db4041f3b41f7b05a7a6b67 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2531.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2531.cs new file mode 100644 index 0000000000..974219f25f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2531.cs @@ -0,0 +1,181 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2531 : Skill + { + public const int SKILL_ID = 2531; + + public Skill2531() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2531Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.1f * skill.GetLevel()); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2531Stub() : base(2531) + { + cls = 127; + name = "2014随机副本张09召唤1技能"; + nativename = "2014随机副本张09召唤1技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽芒_恶毒之刺_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_恶毒之刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2531Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2531.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2531.cs.meta new file mode 100644 index 0000000000..55ca20026d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2531.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0497609eb194d442989522ba20c106ce \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2532.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2532.cs new file mode 100644 index 0000000000..1fd3823cfc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2532.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2532 : Skill + { + public const int SKILL_ID = 2532; + + public Skill2532() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2532Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2532Stub() : base(2532) + { + cls = 127; + name = "2014随机副本张09召唤3技能"; + nativename = "2014随机副本张09召唤3技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "狮子吼"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狮子吼击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2532Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10 * skill.GetLevel ()); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2532.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2532.cs.meta new file mode 100644 index 0000000000..aea8568070 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2532.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9bb8be87c128748839570105fadbdf0b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2533.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2533.cs new file mode 100644 index 0000000000..8ae89da6c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2533.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2533 : Skill + { + public const int SKILL_ID = 2533; + + public Skill2533() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2533Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2533Stub() : base(2533) + { + cls = 127; + name = "月州投石车"; + nativename = "月州投石车"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "投石车高级_击中改"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/投石车高级_火球.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2533Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 25f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); + public override float GetPraydistance(Skill skill) => (float)(5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10 + 5 * skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2533.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2533.cs.meta new file mode 100644 index 0000000000..f00f3bcc89 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2533.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dc72519a25b194ba49c20f7b7429735f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2534.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2534.cs new file mode 100644 index 0000000000..b080de5b6e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2534.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2534 : Skill + { + public const int SKILL_ID = 2534; + + public Skill2534() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2534Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2534Stub() : base(2534) + { + cls = 127; + name = "荆棘术"; + nativename = "荆棘术"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2534Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 6f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (skill.GetLevel () * 0.5f); + skill.GetVictim ().SetRetort (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.75f); + skill.GetVictim ().SetValue (3600000); + skill.GetVictim ().SetDecnormalattackhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2534.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2534.cs.meta new file mode 100644 index 0000000000..fa8d053fd9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2534.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5c7e932d25ec3458c807e9a3dfcbfc44 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2535.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2535.cs new file mode 100644 index 0000000000..639a1287f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2535.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2535 : Skill + { + public const int SKILL_ID = 2535; + + public Skill2535() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2535Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2535Stub() : base(2535) + { + cls = 127; + name = "普攻减免"; + nativename = "普攻减免"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2535Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 6f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.45f + skill.GetLevel () * 0.05f); + skill.GetVictim ().SetValue (3600000); + skill.GetVictim ().SetDecnormalattackhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2535.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2535.cs.meta new file mode 100644 index 0000000000..b5da3ce925 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2535.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e8c98415485e84edd90419c7ab473fe3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2536.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2536.cs new file mode 100644 index 0000000000..bbda8485f6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2536.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2536 : Skill + { + public const int SKILL_ID = 2536; + + public Skill2536() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2536Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2536Stub() : base(2536) + { + cls = 127; + name = "玄武"; + nativename = "玄武"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2536Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 6f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.75f); + skill.GetVictim ().SetValue (3600000); + skill.GetVictim ().SetDecnormalattackhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f + skill.GetLevel () * 0.05f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2536.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2536.cs.meta new file mode 100644 index 0000000000..2e8417e1a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2536.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9597490f12ba5488a9fa3bc4809d80c1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2537.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2537.cs new file mode 100644 index 0000000000..eebfcbf304 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2537.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2537 : Skill + { + public const int SKILL_ID = 2537; + + public Skill2537() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2537Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2537Stub() : base(2537) + { + cls = 127; + name = "长吟唱治疗"; + nativename = "长吟唱治疗"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1清心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/清心咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2537Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 6f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.75f); + skill.GetVictim ().SetValue (3600000); + skill.GetVictim ().SetDecnormalattackhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2537.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2537.cs.meta new file mode 100644 index 0000000000..fd8d0fd706 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2537.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b953b228ce34e4fedad55d6afafa0c9c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2538.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2538.cs new file mode 100644 index 0000000000..0fa98738b4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2538.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2538 : Skill + { + public const int SKILL_ID = 2538; + + public Skill2538() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2538Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2538Stub() : base(2538) + { + cls = 127; + name = "开场祝福"; + nativename = "开场祝福"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_归刃诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/状态效果/归刃诀_瞬发.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2538Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetAdddefencedegree (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetValue (600000); + skill.GetVictim ().SetDecnormalattackhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetInchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 10); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2538.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2538.cs.meta new file mode 100644 index 0000000000..e9b2be4776 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2538.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0c8e174c7773d4f98bce8cec1473a0a5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2539.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2539.cs new file mode 100644 index 0000000000..f435c105fe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2539.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2539 : Skill + { + public const int SKILL_ID = 2539; + + public Skill2539() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2539Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2539Stub() : base(2539) + { + cls = 127; + name = "碎元击"; + nativename = "碎元击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖精_致残咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/火狐狸_致残咒.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2539Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-200); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2539.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2539.cs.meta new file mode 100644 index 0000000000..f95f476bc2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2539.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d238b56e78836410ca55980d58ce7719 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2540.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2540.cs new file mode 100644 index 0000000000..c092ba557a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2540.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2540 : Skill + { + public const int SKILL_ID = 2540; + + public Skill2540() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2540Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2540Stub() : base(2540) + { + cls = 127; + name = "击昏术"; + nativename = "击昏术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1击晕矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/击晕矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/击晕矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2540Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2540.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2540.cs.meta new file mode 100644 index 0000000000..2d3f7284a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2540.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: abcdb48da423c4343a78a8ea7f84d65a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2541.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2541.cs new file mode 100644 index 0000000000..a2cf39cb1b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2541.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2541 : Skill + { + public const int SKILL_ID = 2541; + + public Skill2541() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2541Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2541Stub() : base(2541) + { + cls = 127; + name = "死亡宣告"; + nativename = "死亡宣告"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_风岩葬"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_风岩葬_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_风岩葬_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2541Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (skill.GetT0 () * 100); + skill.GetVictim ().SetDelayearthhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2541.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2541.cs.meta new file mode 100644 index 0000000000..4ea0c934a2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2541.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cb1cdf440db1e42858f8ca31ab88cfe1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2542.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2542.cs new file mode 100644 index 0000000000..63eb19a1f3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2542.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2542 : Skill + { + public const int SKILL_ID = 2542; + + public Skill2542() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2542Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2542Stub() : base(2542) + { + cls = 127; + name = "妖术"; + nativename = "妖术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖精_妖气击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖气击_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_妖气击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2542Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetBeastieform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetSealed2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2542.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2542.cs.meta new file mode 100644 index 0000000000..7c5b698943 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2542.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6b678c7f4b187453ea556736790044b7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2597.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2597.cs new file mode 100644 index 0000000000..227abf68a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2597.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2597 : Skill + { + public const int SKILL_ID = 2597; + + public Skill2597() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2597Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2597Stub() : base(2597) + { + cls = 127; + name = "随机副本BOSS任5考验"; + nativename = "随机副本BOSS任5考验"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2597Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (2522); + skill.GetVictim ().SetStandpunish2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2597.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2597.cs.meta new file mode 100644 index 0000000000..4d38719fe4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2597.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c68caa8cbce834bb4be3a90558a7b9f0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2601.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2601.cs new file mode 100644 index 0000000000..f7c862abb2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2601.cs @@ -0,0 +1,122 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2601 : Skill + { + public const int SKILL_ID = 2601; + + public Skill2601() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2601Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2601Stub() : base(2601) + { + cls = 127; + name = "任务用解除变身"; + nativename = "任务用解除变身"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2601Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (-1); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2601.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2601.cs.meta new file mode 100644 index 0000000000..44a54f6b00 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2601.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 45396882a0bbd43f2a6a75be21d4148c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2632.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2632.cs new file mode 100644 index 0000000000..ebf2242d57 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2632.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2632 : Skill + { + public const int SKILL_ID = 2632; + + public Skill2632() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2632Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2632Stub() : base(2632) + { + cls = 127; + name = "怪物变身"; + nativename = "怪物变身"; + icon = ""; + max_level = 3; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2632Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetValue (32163 + skill.GetLevel ()); + skill.GetVictim ().SetChangemodel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2632.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2632.cs.meta new file mode 100644 index 0000000000..7d54d6939b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2632.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eb9ebcca294b34bec83be20328f98851 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2633.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2633.cs new file mode 100644 index 0000000000..2f26fa8982 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2633.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2633 : Skill + { + public const int SKILL_ID = 2633; + + public Skill2633() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2633Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2633Stub() : base(2633) + { + cls = 127; + name = "闪现测试"; + nativename = "闪现测试"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2633Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetShortjump (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 100 : 0); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetShortjump2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2633.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2633.cs.meta new file mode 100644 index 0000000000..7cdae88483 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2633.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 81913c4078cfc43acb9bc105ceb647b9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2634.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2634.cs new file mode 100644 index 0000000000..698cdc9313 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2634.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2634 : Skill + { + public const int SKILL_ID = 2634; + + public Skill2634() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2634Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2634Stub() : base(2634) + { + cls = 127; + name = "改变仇恨值加召唤怪物测试"; + nativename = "改变仇恨值加召唤怪物测试"; + icon = ""; + max_level = 3; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2634Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10000000); + skill.GetVictim ().SetChangeselfaggro (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2634.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2634.cs.meta new file mode 100644 index 0000000000..1276633c83 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2634.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7fe0f1257f3964b839d09c95ffb85ecd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2635.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2635.cs new file mode 100644 index 0000000000..682cd33e45 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2635.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2635 : Skill + { + public const int SKILL_ID = 2635; + + public Skill2635() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2635Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2635Stub() : base(2635) + { + cls = 127; + name = "怪物不死"; + nativename = "怪物不死"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2635Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 14400000 : skill.GetLevel () * 10000)); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetNeverdead (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2635.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2635.cs.meta new file mode 100644 index 0000000000..eed99c6007 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2635.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c2ff99a9618f344dc929b4d4e7161108 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2636.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2636.cs new file mode 100644 index 0000000000..6a39bb7d78 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2636.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2636 : Skill + { + public const int SKILL_ID = 2636; + + public Skill2636() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2636Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2636Stub() : base(2636) + { + cls = 127; + name = "冰之结界"; + nativename = "冰之结界"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2636Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 38000 : skill.GetLevel () * 1000)); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunephysical2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 38000 : skill.GetLevel () * 1000)); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetImmunemagical2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 38000 : skill.GetLevel () * 1000)); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunewater2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2636.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2636.cs.meta new file mode 100644 index 0000000000..96eee9d6a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2636.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9d9e3c9a4ca5241468d6fb186f792c84 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2637.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2637.cs new file mode 100644 index 0000000000..04bb211212 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2637.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2637 : Skill + { + public const int SKILL_ID = 2637; + + public Skill2637() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2637Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2637Stub() : base(2637) + { + cls = 127; + name = "火之结界"; + nativename = "火之结界"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2637Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 38000 : skill.GetLevel () * 1000)); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunephysical2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 38000 : skill.GetLevel () * 1000)); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetImmunemagical2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 38000 : skill.GetLevel () * 1000)); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunefire2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2637.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2637.cs.meta new file mode 100644 index 0000000000..b4b92f8d49 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2637.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b656a3a4eaa6b4f4aadf88a27ab332e9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2638.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2638.cs new file mode 100644 index 0000000000..c96c39ba89 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2638.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2638 : Skill + { + public const int SKILL_ID = 2638; + + public Skill2638() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2638Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetPlus(2.7f * skill.GetLevel() * skill.GetLevel() + 167.1f * skill.GetLevel() + 2194.7f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2638Stub() : base(2638) + { + cls = 127; + name = "武痴天火狂龙"; + nativename = "武痴天火狂龙"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "霸王献鼎"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/天火狂龙飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2638Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(60 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.75f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.7f; + public int GetAttackspeed(Skill skill) => 14; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2638.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2638.cs.meta new file mode 100644 index 0000000000..71a040ea92 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2638.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ff828a41a3f72446299425aec6a923ad \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2639.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2639.cs new file mode 100644 index 0000000000..7750392685 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2639.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2639 : Skill + { + public const int SKILL_ID = 2639; + + public Skill2639() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2639Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetEarthdamage(skill.GetMagicattack() * 2 / 10); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2639Stub() : base(2639) + { + cls = 127; + name = "武痴土灵击"; + nativename = "武痴土灵击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "地缚"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/被泰山砸中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2639Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 32f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27,600)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetReducesoil (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetReducewater (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetReducefire (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 32f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2639.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2639.cs.meta new file mode 100644 index 0000000000..8d4360ef76 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2639.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: be030d76a693d407b89baf1c590ba9dd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2640.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2640.cs new file mode 100644 index 0000000000..a9272fb49c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2640.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2640 : Skill + { + public const int SKILL_ID = 2640; + + public Skill2640() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2640Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetPlus(3.1f * skill.GetLevel() * skill.GetLevel() + 124 * skill.GetLevel() + 581.3f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2640Stub() : base(2640) + { + cls = 127; + name = "武痴吞噬"; + nativename = "武痴吞噬"; + icon = ""; + max_level = 10; + type = 1; + apcost = 35; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "吞噬"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/吞噬击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2640Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 14.1f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.2f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetValue (1 * skill.GetLevel ()); + skill.GetVictim ().SetSubattackdegree (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2640.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2640.cs.meta new file mode 100644 index 0000000000..393bb40c92 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2640.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ce16e3dd2665d43d39b13850d6e0ca90 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2641.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2641.cs new file mode 100644 index 0000000000..27fc24f166 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2641.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2641 : Skill + { + public const int SKILL_ID = 2641; + + public Skill2641() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2641Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2641Stub() : base(2641) + { + cls = 127; + name = "武痴残体咒"; + nativename = "武痴残体咒"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "残体咒"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/残体咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2641Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 18f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + 1500 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetCanti (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 18f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2641.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2641.cs.meta new file mode 100644 index 0000000000..72d6963319 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2641.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bc603ef91072f4c98a71d7e516946b64 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2642.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2642.cs new file mode 100644 index 0000000000..fd42ab4aab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2642.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2642 : Skill + { + public const int SKILL_ID = 2642; + + public Skill2642() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2642Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2642Stub() : base(2642) + { + cls = 127; + name = "武痴狂雷天鹰"; + nativename = "武痴狂雷天鹰"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "狂雷天鹰"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/狂雷天鹰飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狂雷天鹰击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2642Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetAmount (7.2f * skill.GetLevel () * skill.GetLevel () + 450.9f * skill.GetLevel () + 5922.2f); + skill.GetVictim ().SetEaglecurse (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2642.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2642.cs.meta new file mode 100644 index 0000000000..3f7dc666f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2642.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a47fbbb36d2b440df936a40fa1c6a686 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2643.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2643.cs new file mode 100644 index 0000000000..3f12b103ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2643.cs @@ -0,0 +1,209 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2643 : Skill + { + public const int SKILL_ID = 2643; + + public Skill2643() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2643Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2643Stub() : base(2643) + { + cls = 127; + name = "武痴神之封印"; + nativename = "武痴神之封印"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五气朝元"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五气朝元击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2643Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(8 + 2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 30,1000)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetSealed2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetFix2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 16; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2643.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2643.cs.meta new file mode 100644 index 0000000000..571acbd8da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2643.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: efa3b4edea5774464a6f148bc18bf905 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2644.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2644.cs new file mode 100644 index 0000000000..4aa9995802 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2644.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2644 : Skill + { + public const int SKILL_ID = 2644; + + public Skill2644() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2644Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetPlus(2.3f * skill.GetLevel() * skill.GetLevel() + 140.7f * skill.GetLevel() + 1848.1f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2644Stub() : base(2644) + { + cls = 127; + name = "武痴分水刺击"; + nativename = "武痴分水刺击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 1; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "刺客_旋风斩"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_旋风斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2644Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.15f + 0.015f * skill.GetLevel ()); + skill.GetVictim ().SetDeeppoision (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2644.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2644.cs.meta new file mode 100644 index 0000000000..91db91b546 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2644.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a34ce592154034580836195aa638239f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2645.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2645.cs new file mode 100644 index 0000000000..2d5a45981f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2645.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2645 : Skill + { + public const int SKILL_ID = 2645; + + public Skill2645() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2645Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 12400, 16000, 25000, 35000, 42500, 63000, 116000, 242000, 455000, 665000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2645Stub() : base(2645) + { + cls = 127; + name = "武痴反噬"; + nativename = "武痴反噬"; + icon = ""; + max_level = 10; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1718; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_敌法"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_敌法_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_敌法打击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 4; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2645Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel() + 3 * 5.5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000 + 300 * skill.GetLevel ()); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetHurtwhenuseskill (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 3 * 5.5f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2645.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2645.cs.meta new file mode 100644 index 0000000000..c30870cf0b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2645.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1f5f08dd9071949b69bb8a5d2bd70d3f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2646.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2646.cs new file mode 100644 index 0000000000..4cadcc6b6c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2646.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2646 : Skill + { + public const int SKILL_ID = 2646; + + public Skill2646() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2646Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2646Stub() : base(2646) + { + cls = 127; + name = "武痴金刚剑印"; + nativename = "武痴金刚剑印"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_金刚剑印"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/金刚剑印_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2646Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(15 + 0.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2646.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2646.cs.meta new file mode 100644 index 0000000000..29250f8625 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2646.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 54dcb1c36a34042fbadffe18d4a20bc3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2647.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2647.cs new file mode 100644 index 0000000000..58e1c6c5a7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2647.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2647 : Skill + { + public const int SKILL_ID = 2647; + + public Skill2647() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2647Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetPlus(1.5f * skill.GetLevel() * skill.GetLevel() + 51.1f * skill.GetLevel() + 62); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2647Stub() : base(2647) + { + cls = 127; + name = "武痴青藤绕"; + nativename = "武痴青藤绕"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魅灵_腐蔓咒"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魅灵_腐蔓咒_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2647Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(25 + skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetSpecialslow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetSpecialphysichurttrigger (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2647.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2647.cs.meta new file mode 100644 index 0000000000..0b4eb3f5b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2647.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 097d9eac52b964e83aa10407c8ab933c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2648.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2648.cs new file mode 100644 index 0000000000..c9350141fa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2648.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2648 : Skill + { + public const int SKILL_ID = 2648; + + public Skill2648() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2648Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2648Stub() : base(2648) + { + cls = 127; + name = "武痴无情游"; + nativename = "武痴无情游"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "夜影_无情游_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/无情游_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2648Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (50); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetShortjump2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2648.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2648.cs.meta new file mode 100644 index 0000000000..3d1d526c53 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2648.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f131662fe96084cd4b6e51e80fa68293 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2649.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2649.cs new file mode 100644 index 0000000000..2fd22a565d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2649.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2649 : Skill + { + public const int SKILL_ID = 2649; + + public Skill2649() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2649Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2649Stub() : base(2649) + { + cls = 127; + name = "武痴寒宫蟾步"; + nativename = "武痴寒宫蟾步"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2649Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12935); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2000); + skill.GetVictim ().SetMovepunish (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2649.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2649.cs.meta new file mode 100644 index 0000000000..d33a2e9b77 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2649.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bd5e66cceeade44eca344ef03502987a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2650.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2650.cs new file mode 100644 index 0000000000..d10c8e04ac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2650.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2650 : Skill + { + public const int SKILL_ID = 2650; + + public Skill2650() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2650Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2650Stub() : base(2650) + { + cls = 127; + name = "免疫物理伤害"; + nativename = "免疫物理伤害"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2650Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 3600000 : skill.GetLevel () * 10000)); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunephysical2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2650.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2650.cs.meta new file mode 100644 index 0000000000..c64a4a40c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2650.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eeb5eb9b2fad74c33896e590f776ff8b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2651.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2651.cs new file mode 100644 index 0000000000..4b40faf779 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2651.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2651 : Skill + { + public const int SKILL_ID = 2651; + + public Skill2651() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2651Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2651Stub() : base(2651) + { + cls = 127; + name = "免疫五行伤害"; + nativename = "免疫五行伤害"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2651Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 3600000 : skill.GetLevel () * 10000)); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetImmunemagical2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2651.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2651.cs.meta new file mode 100644 index 0000000000..7d16140f8e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2651.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ca5e7a099b93d4951a439c9992460072 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2652.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2652.cs new file mode 100644 index 0000000000..91f0c5d503 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2652.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2652 : Skill + { + public const int SKILL_ID = 2652; + + public Skill2652() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2652Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1201; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 802; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(290); + skill.SetGolddamage(8 * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2652Stub() : base(2652) + { + cls = 127; + name = "朔光咏"; + nativename = "朔光咏"; + icon = "朔光咏"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "月仙_朔光咏_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/朔光咏_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/云起咏_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 7000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2652Stub() { } + + public override float GetMpcost(Skill skill) => 290f; + public override int GetExecutetime(Skill skill) => 802; + public override int GetCoolingtime(Skill skill) => 500; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 290)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2652.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2652.cs.meta new file mode 100644 index 0000000000..ae3ea81671 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2652.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e7f0ce82dc6b44c019021e70464cd126 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2653.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2653.cs new file mode 100644 index 0000000000..9f81997e94 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2653.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2653 : Skill + { + public const int SKILL_ID = 2653; + + public Skill2653() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2653Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 6000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2653Stub() : base(2653) + { + cls = 127; + name = "分身不可选黑屏"; + nativename = "分身不可选黑屏"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2653Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 6000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 50f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () * 5000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetScreeneffect (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (500); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2653.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2653.cs.meta new file mode 100644 index 0000000000..165d82410b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2653.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0dd97f76ace4442b795147b800cb609f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2654.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2654.cs new file mode 100644 index 0000000000..5d836e20fb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2654.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2654 : Skill + { + public const int SKILL_ID = 2654; + + public Skill2654() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2654Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2654Stub() : base(2654) + { + cls = 127; + name = "清状态"; + nativename = "清状态"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "驱逐咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/驱逐咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2654Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 28f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2654.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2654.cs.meta new file mode 100644 index 0000000000..b091f82444 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2654.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4add32ccdf18c4a1c9eafb69676fa54e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2655.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2655.cs new file mode 100644 index 0000000000..50139dfab7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2655.cs @@ -0,0 +1,156 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2655 : Skill + { + public const int SKILL_ID = 2655; + + public Skill2655() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2655Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2655Stub() : base(2655) + { + cls = 127; + name = "加攻速"; + nativename = "加攻速"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2655Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel () - 0.01f); + skill.GetVictim ().SetFastattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 28f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2655.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2655.cs.meta new file mode 100644 index 0000000000..5024b7f002 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2655.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 418b3bb71f0764b8abaf787037e3ac4e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2656.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2656.cs new file mode 100644 index 0000000000..1fa0ca031d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2656.cs @@ -0,0 +1,156 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2656 : Skill + { + public const int SKILL_ID = 2656; + + public Skill2656() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2656Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2656Stub() : base(2656) + { + cls = 127; + name = "元气比拼"; + nativename = "元气比拼"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2656Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue ((400 - skill.GetPlayer ().GetAp ()) * 0.01f * skill.GetLevel () * skill.GetT0 ()); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2656.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2656.cs.meta new file mode 100644 index 0000000000..eae6daeb26 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2656.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 04538b023bb8f4d7b81587192e0ed676 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2657.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2657.cs new file mode 100644 index 0000000000..10c02d55d0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2657.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2657 : Skill + { + public const int SKILL_ID = 2657; + + public Skill2657() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2657Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2657Stub() : base(2657) + { + cls = 127; + name = "免疫三行伤害"; + nativename = "免疫三行伤害"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2657Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 3 ? 0 : 100); + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunefire2 (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 0 : 100); + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunewood2 (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 0 : 100); + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunewater2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2657.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2657.cs.meta new file mode 100644 index 0000000000..532d80455c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2657.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 96742f2494d5b4be29b84a9b7c0681c7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2658.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2658.cs new file mode 100644 index 0000000000..95274e81e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2658.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2658 : Skill + { + public const int SKILL_ID = 2658; + + public Skill2658() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2658Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2658Stub() : base(2658) + { + cls = 127; + name = "附加木伤害"; + nativename = "附加木伤害"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "毒虫_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒虫_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2658Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (3 * skill.GetLevel ()); + skill.GetVictim ().SetToxicblade (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetAmount (skill.GetT0 () * skill.GetLevel ()); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 6f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2658.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2658.cs.meta new file mode 100644 index 0000000000..f0e7f8cbc3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2658.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 641c2185a676d4491b86de939ef274fc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2659.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2659.cs new file mode 100644 index 0000000000..1d74d141fe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2659.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2659 : Skill + { + public const int SKILL_ID = 2659; + + public Skill2659() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2659Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2659Stub() : base(2659) + { + cls = 127; + name = "附加水伤害"; + nativename = "附加水伤害"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽芒_冰霜散射_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_冰霜散射_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2659Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (3 * skill.GetLevel ()); + skill.GetVictim ().SetIceblade (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 6f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2659.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2659.cs.meta new file mode 100644 index 0000000000..93f1ae95c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2659.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2ff432ededde34976a2fcf1e3438b4ba \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2660.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2660.cs new file mode 100644 index 0000000000..ef9f3b4536 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2660.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2660 : Skill + { + public const int SKILL_ID = 2660; + + public Skill2660() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2660Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2660Stub() : base(2660) + { + cls = 127; + name = "附加火伤害"; + nativename = "附加火伤害"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2660Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (3 * skill.GetLevel ()); + skill.GetVictim ().SetFireblade (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetAmount (skill.GetT0 () * skill.GetLevel ()); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 6f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2660.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2660.cs.meta new file mode 100644 index 0000000000..371ab72bd1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2660.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1f6baad662fbc44a69f35e49e2be95e7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2661.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2661.cs new file mode 100644 index 0000000000..56f1fe17c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2661.cs @@ -0,0 +1,120 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2661 : Skill + { + public const int SKILL_ID = 2661; + + public Skill2661() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2661Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2661Stub() : base(2661) + { + cls = 127; + name = "隐身技能1"; + nativename = "隐身技能1"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2661Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 10 ? 500 : (10000 * skill.GetLevel ())); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetGminvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2661.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2661.cs.meta new file mode 100644 index 0000000000..9efc9c3b26 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2661.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fcbb5ddf5884f4b879594b85d4bd341d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2662.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2662.cs new file mode 100644 index 0000000000..19fe08745d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2662.cs @@ -0,0 +1,120 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2662 : Skill + { + public const int SKILL_ID = 2662; + + public Skill2662() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2662Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2662Stub() : base(2662) + { + cls = 127; + name = "隐身技能2"; + nativename = "隐身技能2"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2662Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100000 + 10000 * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetGminvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2662.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2662.cs.meta new file mode 100644 index 0000000000..8f26ee745a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2662.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 24c4f984644bf4b23bb0656eff919ddf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2663.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2663.cs new file mode 100644 index 0000000000..52f0a37814 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2663.cs @@ -0,0 +1,120 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2663 : Skill + { + public const int SKILL_ID = 2663; + + public Skill2663() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2663Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2663Stub() : base(2663) + { + cls = 127; + name = "隐身技能3"; + nativename = "隐身技能3"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2663Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 * skill.GetLevel () + 200000); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetGminvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2663.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2663.cs.meta new file mode 100644 index 0000000000..f760438065 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2663.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 023c874f26ee641ed82ca74bcbd309ed \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2664.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2664.cs new file mode 100644 index 0000000000..540fb1f958 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2664.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2664 : Skill + { + public const int SKILL_ID = 2664; + + public Skill2664() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2664Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2664Stub() : base(2664) + { + cls = 127; + name = "龙吸"; + nativename = "龙吸"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2664Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (3000 * skill.GetLevel ()); + skill.GetVictim ().SetValue (6 * skill.GetLevel ()); + skill.GetVictim ().SetKnockup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (3000 * skill.GetLevel ()); + skill.GetVictim ().SetValue (6 * skill.GetLevel ()); + skill.GetVictim ().SetPullover (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2664.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2664.cs.meta new file mode 100644 index 0000000000..5a8f26eaf8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2664.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 353aa1de0969344fcafa5e36b1b6b0a4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2665.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2665.cs new file mode 100644 index 0000000000..cdfd7a609f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2665.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2665 : Skill + { + public const int SKILL_ID = 2665; + + public Skill2665() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2665Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2665Stub() : base(2665) + { + cls = 127; + name = "不移动掉血"; + nativename = "不移动掉血"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "狮子吼"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狮子吼击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2665Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (0.1f * skill.GetT0 () * skill.GetLevel ()); + skill.GetVictim ().SetStandpunish (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2665.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2665.cs.meta new file mode 100644 index 0000000000..72ded067a2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2665.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a74c4d0ff1d314166835994c7e7dc80d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2666.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2666.cs new file mode 100644 index 0000000000..9b362c8ee0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2666.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2666 : Skill + { + public const int SKILL_ID = 2666; + + public Skill2666() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2666Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2666Stub() : base(2666) + { + cls = 127; + name = "扇形群需要分担"; + nativename = "扇形群需要分担"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "楼炽_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/楼炽_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2666Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2400; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT1 () / (skill.GetT0 () + 1) * skill.GetLevel ()); + skill.GetVictim ().SetFirehurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetTargetregionplayernum (); + public float GetTalent1(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2666.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2666.cs.meta new file mode 100644 index 0000000000..054231c6d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2666.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a87d59f06e30341d5939530de5be625e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2667.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2667.cs new file mode 100644 index 0000000000..66036e67f3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2667.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2667 : Skill + { + public const int SKILL_ID = 2667; + + public Skill2667() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2667Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2667Stub() : base(2667) + { + cls = 127; + name = "扇形群需要分散"; + nativename = "扇形群需要分散"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "武侠_龙爪手"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/龙爪手_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)9; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1100; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2667Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2400; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => 80f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT1 ()); + skill.GetVictim ().SetFirehurt (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.005f * skill.GetT0 () * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetTargetregionplayernum (); + public float GetTalent1(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2667.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2667.cs.meta new file mode 100644 index 0000000000..6418d8d4fb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2667.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9d5429e521233462192130d748261788 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2668.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2668.cs new file mode 100644 index 0000000000..068ab9aa31 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2668.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2668 : Skill + { + public const int SKILL_ID = 2668; + + public Skill2668() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2668Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2668Stub() : base(2668) + { + cls = 127; + name = "巨像震地"; + nativename = "巨像震地"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2668Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 24; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2668.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2668.cs.meta new file mode 100644 index 0000000000..532e05bda8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2668.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c13d31b0c79f84dbdb454d813c3e79a3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2669.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2669.cs new file mode 100644 index 0000000000..17728bb75d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2669.cs @@ -0,0 +1,156 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2669 : Skill + { + public const int SKILL_ID = 2669; + + public Skill2669() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2669Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2669Stub() : base(2669) + { + cls = 127; + name = "巨像驱逐"; + nativename = "巨像驱逐"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2669Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 16; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2669.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2669.cs.meta new file mode 100644 index 0000000000..656fda7dac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2669.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c8d074c7f434e4487a12d1e1fe6b70e4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2670.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2670.cs new file mode 100644 index 0000000000..4591bd7484 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2670.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2670 : Skill + { + public const int SKILL_ID = 2670; + + public Skill2670() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2670Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2670Stub() : base(2670) + { + cls = 127; + name = "巨像击退"; + nativename = "巨像击退"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2670Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2 * skill.GetLevel ()); + skill.GetVictim ().SetRepel2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 * skill.GetLevel ()); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2670.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2670.cs.meta new file mode 100644 index 0000000000..9fd0cd9826 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2670.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b2b671d9fbcab44a5b087348cf8d8f59 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2671.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2671.cs new file mode 100644 index 0000000000..3d0ba78149 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2671.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2671 : Skill + { + public const int SKILL_ID = 2671; + + public Skill2671() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2671Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2671Stub() : base(2671) + { + cls = 127; + name = "巨像飞脚"; + nativename = "巨像飞脚"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2671Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 2f; + public float GetAttackdistance(Skill skill) => 35f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (2000); + skill.GetVictim ().SetValue (1 * skill.GetLevel ()); + skill.GetVictim ().SetKnockup (1); + skill.GetVictim ().SetValue (10000 * skill.GetLevel ()); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 15; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2671.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2671.cs.meta new file mode 100644 index 0000000000..baee537983 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2671.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ad27ac199656a4b98baee0555da9ab22 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2672.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2672.cs new file mode 100644 index 0000000000..f79e3ef161 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2672.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2672 : Skill + { + public const int SKILL_ID = 2672; + + public Skill2672() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2672Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2672Stub() : base(2672) + { + cls = 127; + name = "露西变身"; + nativename = "露西变身"; + icon = ""; + max_level = 3; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2672Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 3600000 : skill.GetLevel () * 10000)); + skill.GetVictim ().SetValue (45747); + skill.GetVictim ().SetChangemodel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2672.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2672.cs.meta new file mode 100644 index 0000000000..a6beb8795c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2672.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fe6ae2f8de70e456eab99b3b408ef57f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2681.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2681.cs new file mode 100644 index 0000000000..e40bed9f87 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2681.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2681 : Skill + { + public const int SKILL_ID = 2681; + + public Skill2681() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2681Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2681Stub() : base(2681) + { + cls = 127; + name = "怀光自爆"; + nativename = "怀光自爆"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2681Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetValue (10000 * skill.GetLevel ()); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2681.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2681.cs.meta new file mode 100644 index 0000000000..4f7cfe3d30 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2681.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d2ef87ea174a74e848d7d6c4ff040a0b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2682.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2682.cs new file mode 100644 index 0000000000..50fe0c2d14 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2682.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2682 : Skill + { + public const int SKILL_ID = 2682; + + public Skill2682() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2682Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2682Stub() : base(2682) + { + cls = 127; + name = "黑龙变身"; + nativename = "黑龙变身"; + icon = ""; + max_level = 3; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2682Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : (skill.GetLevel () == 10 ? 3600000 : skill.GetLevel () * 10000)); + skill.GetVictim ().SetValue (45827); + skill.GetVictim ().SetChangemodel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2682.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2682.cs.meta new file mode 100644 index 0000000000..cb21762474 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2682.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 09938614a54c84232840bcf6172443b5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2683.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2683.cs new file mode 100644 index 0000000000..548a77fbc8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2683.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2683 : Skill + { + public const int SKILL_ID = 2683; + + public Skill2683() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2683Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2683Stub() : base(2683) + { + cls = 127; + name = "鬼婆婆变身"; + nativename = "鬼婆婆变身"; + icon = ""; + max_level = 3; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2683Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetValue (45918 + skill.GetLevel ()); + skill.GetVictim ().SetChangemodel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2683.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2683.cs.meta new file mode 100644 index 0000000000..e7a4eff7c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2683.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d6e4dc8ed7d1e4224b600cdb40312a3b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2684.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2684.cs new file mode 100644 index 0000000000..6f09742922 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2684.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2684 : Skill + { + public const int SKILL_ID = 2684; + + public Skill2684() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2684Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2684Stub() : base(2684) + { + cls = 127; + name = "怪物秒杀技"; + nativename = "怪物秒杀技"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物霹雳术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/头顶一道霹雳.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2684Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.11f * skill.GetLevel ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2684.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2684.cs.meta new file mode 100644 index 0000000000..f75718fe5b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2684.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ec41089df40ae491e962f60f79ec3354 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2685.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2685.cs new file mode 100644 index 0000000000..7d62734250 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2685.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2685 : Skill + { + public const int SKILL_ID = 2685; + + public Skill2685() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2685Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2685Stub() : base(2685) + { + cls = 127; + name = "怪物秒杀技长吟唱"; + nativename = "怪物秒杀技长吟唱"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物霹雳术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/头顶一道霹雳.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2685Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.15f * skill.GetLevel ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 9f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2685.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2685.cs.meta new file mode 100644 index 0000000000..fefa733b7e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2685.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 965bac9ba149c4ae2a91dded16119c09 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2686.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2686.cs new file mode 100644 index 0000000000..ee0d7bf889 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2686.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2686 : Skill + { + public const int SKILL_ID = 2686; + + public Skill2686() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2686Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2686Stub() : base(2686) + { + cls = 127; + name = "远程必杀"; + nativename = "远程必杀"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物霹雳术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/头顶一道霹雳.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2686Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.11f * skill.GetLevel ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2686.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2686.cs.meta new file mode 100644 index 0000000000..188bfd4c48 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2686.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8fd54c889c0274eedaac452b7e7b5de1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2692.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2692.cs new file mode 100644 index 0000000000..481ed1c7a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2692.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2692 : Skill + { + public const int SKILL_ID = 2692; + + public Skill2692() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2692Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2692Stub() : base(2692) + { + cls = 127; + name = "垂直击飞"; + nativename = "垂直击飞"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2692Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (2000); + skill.GetVictim ().SetValue (6 * skill.GetLevel ()); + skill.GetVictim ().SetKnockup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2692.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2692.cs.meta new file mode 100644 index 0000000000..f03fdb6e71 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2692.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8cfadff5561aa4cfbaff7b82b3e0f17b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2693.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2693.cs new file mode 100644 index 0000000000..fad566feb4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2693.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2693 : Skill + { + public const int SKILL_ID = 2693; + + public Skill2693() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2693Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2693Stub() : base(2693) + { + cls = 127; + name = "地蛇自爆"; + nativename = "地蛇自爆"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2693Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 100f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetT0 () * skill.GetLevel ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2693.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2693.cs.meta new file mode 100644 index 0000000000..881c63a86c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2693.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 64c74812d3e63465484a90caa7bf0c4e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2694.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2694.cs new file mode 100644 index 0000000000..b7c1fd46e8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2694.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2694 : Skill + { + public const int SKILL_ID = 2694; + + public Skill2694() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2694Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1325; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2694Stub() : base(2694) + { + cls = 127; + name = "赌神回复"; + nativename = "赌神回复"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2694Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1325; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetHp () * 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 12; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2694.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2694.cs.meta new file mode 100644 index 0000000000..c49da3aba6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2694.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2ac439d90c15b48c1a415a355dd89447 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2695.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2695.cs new file mode 100644 index 0000000000..44f5ac6995 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2695.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2695 : Skill + { + public const int SKILL_ID = 2695; + + public Skill2695() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2695Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1325; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2695Stub() : base(2695) + { + cls = 127; + name = "赌神自损"; + nativename = "赌神自损"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2695Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1325; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetHp () * 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 12; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2695.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2695.cs.meta new file mode 100644 index 0000000000..bea186b21f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2695.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b98e33549616f478c83f6bc7112a3c27 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2696.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2696.cs new file mode 100644 index 0000000000..3708821120 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2696.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2696 : Skill + { + public const int SKILL_ID = 2696; + + public Skill2696() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2696Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(30.0f / skill.GetLevel() - 1); + skill.SetPlus(0.25f *(3.6f * skill.GetLevel() * skill.GetLevel() + 232.9f * skill.GetLevel() + 3149.2f)); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2696Stub() : base(2696) + { + cls = 127; + name = "崩雷祭祀光环"; + nativename = "崩雷祭祀光环"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2696Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetRemoveaggro (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2696.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2696.cs.meta new file mode 100644 index 0000000000..2f21c4ff47 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2696.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 39f98b67340fb4289bc87192014f3aa4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2697.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2697.cs new file mode 100644 index 0000000000..d18f91fae2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2697.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2697 : Skill + { + public const int SKILL_ID = 2697; + + public Skill2697() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2697Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2950; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2697Stub() : base(2697) + { + cls = 127; + name = "涡漩祭祀光环"; + nativename = "涡漩祭祀光环"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2697Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetPullover2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2697.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2697.cs.meta new file mode 100644 index 0000000000..28d83ba2a2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2697.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e8e9e93faaf784cd2ababe8b4aaa7b83 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2698.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2698.cs new file mode 100644 index 0000000000..076a615b5b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2698.cs @@ -0,0 +1,132 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2698 : Skill + { + public const int SKILL_ID = 2698; + + public Skill2698() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2698Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2698Stub() : base(2698) + { + cls = 127; + name = "崩雷祭祀光环效果"; + nativename = "崩雷祭祀光环效果"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2698Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2698.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2698.cs.meta new file mode 100644 index 0000000000..7481bb4ab2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2698.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a48f0040f35fe4def95534df28f2110a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2699.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2699.cs new file mode 100644 index 0000000000..90a8fe1054 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2699.cs @@ -0,0 +1,132 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2699 : Skill + { + public const int SKILL_ID = 2699; + + public Skill2699() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2699Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2699Stub() : base(2699) + { + cls = 127; + name = "涡漩祭祀光环效果"; + nativename = "涡漩祭祀光环效果"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2699Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2699.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2699.cs.meta new file mode 100644 index 0000000000..76d138f321 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2699.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 690b8af46b2804c549a4f2c807c5c9fc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2700.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2700.cs new file mode 100644 index 0000000000..d7f1192b65 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2700.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2700 : Skill + { + public const int SKILL_ID = 2700; + + public Skill2700() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2700Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2700Stub() : base(2700) + { + cls = 127; + name = "小僵尸技能"; + nativename = "小僵尸技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "尸蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2700Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlowpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2700.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2700.cs.meta new file mode 100644 index 0000000000..3673ce2963 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2700.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 740e1d60bcb354fbcb77c9b6e91198b5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2701.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2701.cs new file mode 100644 index 0000000000..d835bb38d7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2701.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2701 : Skill + { + public const int SKILL_ID = 2701; + + public Skill2701() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2701Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2701Stub() : base(2701) + { + cls = 127; + name = "降低治疗效果"; + nativename = "降低治疗效果"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2701Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetAmount (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetValue (1000 * skill.GetLevel ()); + skill.GetVictim ().SetWeakenbless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2701.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2701.cs.meta new file mode 100644 index 0000000000..930b3b9160 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2701.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1e6323879fbea4ebaac6a7e65c3e7a11 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2702.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2702.cs new file mode 100644 index 0000000000..9631bf3528 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2702.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2702 : Skill + { + public const int SKILL_ID = 2702; + + public Skill2702() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2702Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2702Stub() : base(2702) + { + cls = 127; + name = "单体降生命上限"; + nativename = "单体降生命上限"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五色符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五色符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五色符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.5f, 0.5f, 0.5f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.5f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2702Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.09f * skill.GetLevel ()); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2702.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2702.cs.meta new file mode 100644 index 0000000000..2fd56ffe4d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2702.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 815878d1a3946401b89672926a000b3a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2703.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2703.cs new file mode 100644 index 0000000000..9ea7e3742a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2703.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2703 : Skill + { + public const int SKILL_ID = 2703; + + public Skill2703() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2703Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2168; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2703Stub() : base(2703) + { + cls = 127; + name = "boss无相恶僧虚烛"; + nativename = "boss无相恶僧虚烛"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2703Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2168; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 2f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 80); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetCls () == 4 ? skill.GetT0 () : skill.GetT0 () * 20); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2703.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2703.cs.meta new file mode 100644 index 0000000000..f24a1f189f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2703.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b1e4d732876be49aea79b4d2b3b94207 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2704.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2704.cs new file mode 100644 index 0000000000..90870bde88 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2704.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2704 : Skill + { + public const int SKILL_ID = 2704; + + public Skill2704() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2704Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2704Stub() : base(2704) + { + cls = 127; + name = "boss无相恶僧群晕"; + nativename = "boss无相恶僧群晕"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1击晕矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/击晕矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/击晕矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2704Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2704.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2704.cs.meta new file mode 100644 index 0000000000..bfedea31b8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2704.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8808698efa1f643cda94e9999664c4a0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2705.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2705.cs new file mode 100644 index 0000000000..b99a84a453 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2705.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2705 : Skill + { + public const int SKILL_ID = 2705; + + public Skill2705() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2705Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2705Stub() : base(2705) + { + cls = 127; + name = "boss无相恶僧分身"; + nativename = "boss无相恶僧分身"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2705Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 50f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () * 5000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetScreeneffect (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (500); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2705.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2705.cs.meta new file mode 100644 index 0000000000..dc9fcfe07f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2705.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ca7a70586902049d3a260fad87630ef2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2706.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2706.cs new file mode 100644 index 0000000000..f4d540938e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2706.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2706 : Skill + { + public const int SKILL_ID = 2706; + + public Skill2706() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2706Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2706Stub() : base(2706) + { + cls = 127; + name = "boss无相恶僧清状态"; + nativename = "boss无相恶僧清状态"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2706Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 50f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (500); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (5); + skill.GetVictim ().SetShortjump (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (500); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2706.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2706.cs.meta new file mode 100644 index 0000000000..2f47341e77 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2706.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3ee081ea6c48145c394fa95280807309 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2707.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2707.cs new file mode 100644 index 0000000000..56f764a81d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2707.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2707 : Skill + { + public const int SKILL_ID = 2707; + + public Skill2707() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2707Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2707Stub() : base(2707) + { + cls = 127; + name = "拯救美女"; + nativename = "拯救美女"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "魔神蚩尤_休迅飞凫"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/魔神蚩尤_休迅飞凫_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2707Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 150 ? (skill.GetPlayer ().GetMaxhp () == 81324600 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetValue (2 + skill.GetLevel ()); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2707.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2707.cs.meta new file mode 100644 index 0000000000..07795d64d8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2707.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a5c74a96467bc4df68751b67d5cec96d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2708.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2708.cs new file mode 100644 index 0000000000..5b51850a50 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2708.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2708 : Skill + { + public const int SKILL_ID = 2708; + + public Skill2708() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2708Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2708Stub() : base(2708) + { + cls = 127; + name = "美女杀手"; + nativename = "美女杀手"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2708Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 150 ? (skill.GetPlayer ().GetMaxhp () == 81324600 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 1.2f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2708.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2708.cs.meta new file mode 100644 index 0000000000..32dcc36c0f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs10/skill2708.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c91f2b1b568b8420a9a633df385cbd5a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1000.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1000.cs index ce676c3e45..302b94e902 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1000.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1000.cs @@ -129,25 +129,36 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - 80, - 200, - 20 + 2 * skill.GetLevel(), - 20 + 2 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 10; - public bool StateAttack(Skill skill) => true; - public bool BlessMe(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetT1 () * 50); + skill.GetVictim ().SetRatio (0.2f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetT1 () * 50); + skill.GetVictim ().SetRatio (0.2f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetSpeedup2 (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1001.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1001.cs index f1e0388613..3f7d49b302 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1001.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1001.cs @@ -128,23 +128,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 35 +(skill.GetLevel() - 1) * 1, - 5 + skill.GetLevel() * 3)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (10000 + skill.GetT0 () * 40); + skill.GetVictim ().SetRatio (0.05f + skill.GetLevel () * 0.03f + skill.GetT0 () * 0.0025f); + skill.GetVictim ().SetValue (0.5f); + skill.GetVictim ().SetHardenskin (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1002.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1002.cs index a8c5c2a6f6..97ee766f72 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1002.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1002.cs @@ -127,25 +127,31 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 30 +(skill.GetLevel() - 1) * 2, - 200 + 20 * skill.GetLevel(), - 5 + skill.GetLevel() * 1, - 15 + skill.GetLevel() * 2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 10; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.15f + 0.02f * skill.GetLevel () + skill.GetT0 () * 0.002f); + skill.GetVictim ().SetDecdefence2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.05f + 0.01f * skill.GetLevel () + skill.GetT0 () * 0.001f); + skill.GetVictim ().SetSlow (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 22f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1003.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1003.cs index 79e1fcf4dc..c6cdec84c7 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1003.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1003.cs @@ -127,23 +127,31 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 10 + 10 * skill.GetLevel(), - 20 + skill.GetLevel() * 1)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 10; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetT1 () * 50); + skill.GetVictim ().SetRatio (0.2f + skill.GetLevel () * 0.01f); + skill.GetVictim ().SetDecaccuracy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetT1 () * 50); + skill.GetVictim ().SetValue (skill.GetT1 () * 0.02f); + skill.GetVictim ().SetSubattackdegree (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1004.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1004.cs index c02c6773ef..ab358d3095 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1004.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1004.cs @@ -129,12 +129,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 30 +(skill.GetLevel() - 1), - 15 * skill.GetLevel(), - 0.6 *(5 +(skill.GetLevel() - 1) * 13) * 11, - 0.4 *(5 +(skill.GetLevel() - 1) * 13) * 11)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif @@ -145,8 +140,8 @@ namespace BrewMonster public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1005.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1005.cs index 6602a0bb09..0674e5389a 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1005.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1005.cs @@ -127,20 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 30 + skill.GetLevel() * 3)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000 + skill.GetLevel () * 3000 + skill.GetT0 () * 1000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetIncsmite (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1006.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1006.cs index 7734aa22b7..e80cbe6c22 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1006.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1006.cs @@ -127,24 +127,32 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 70 +(skill.GetLevel() - 1) * 5, - 10 + skill.GetLevel() * 2, - skill.GetLevel() * 2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetT0 () * 17); + skill.GetVictim ().SetRatio (0.1f + skill.GetLevel () * 0.02f + skill.GetT0 () * 0.005f); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInchp2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * (skill.GetLevel () * 0.04f + skill.GetT1 () * 0.0025f)); + skill.GetVictim ().SetHpgen (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1007.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1007.cs index 302334e595..ca5bb0dd64 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1007.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1007.cs @@ -127,20 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 5 + 0.2 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 200); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunefire (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1008.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1008.cs index ed075b91a9..6f5581e928 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1008.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1008.cs @@ -128,26 +128,35 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 45 +(skill.GetLevel() - 1) * 3, - 78 + 94 *(skill.GetLevel() - 1), - 3 +(skill.GetLevel() - 1) * 10, - (33 +(skill.GetLevel() - 1) * 12 * 6.7))); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; - public bool BlessMe(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000 + skill.GetT1 () * 50); + skill.GetVictim ().SetAmount (33 + (skill.GetLevel () - 1) * 12 * 6.7f); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000 + skill.GetT1 () * 50); + skill.GetVictim ().SetAmount (33 + (skill.GetLevel () - 1) * 12 * 6.7f); + skill.GetVictim ().SetSelfburning (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1009.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1009.cs index 0a693acb46..3978dc78ec 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1009.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1009.cs @@ -129,26 +129,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 45 +(skill.GetLevel() - 1) * 3, - 200 + 14 *(skill.GetLevel() - 1), - 0.6 *(6 + 15 *(skill.GetLevel() - 1)) * 6.2, - 0.4 *(6 + 15 *(skill.GetLevel() - 1)) * 6.2, - 15 + skill.GetLevel() * 3)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000 + skill.GetT1 () * 50); + skill.GetVictim ().SetRatio (0.15f + skill.GetLevel () * 0.03f); + skill.GetVictim ().SetSlow (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 22f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1010.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1010.cs index d6ca22c3cb..c6933b2ea8 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1010.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1010.cs @@ -128,7 +128,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 0.1 * skill.GetLevel() * 50)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif @@ -139,8 +139,8 @@ namespace BrewMonster public float GetEffectdistance(Skill skill) => 32f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1011.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1011.cs index 183da9adf8..01f5df226b 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1011.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1011.cs @@ -127,25 +127,29 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 45 +(skill.GetLevel() - 1) * 2, - 200 + 10 * skill.GetLevel(), - skill.GetLevel(), - 50 + skill.GetLevel() * 5)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 10; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50 + 5 * skill.GetLevel ()); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 + skill.GetT1 () * 50); + skill.GetVictim ().SetRatio (0.01f * skill.GetLevel ()); + skill.GetVictim ().SetDechp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 16f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1012.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1012.cs index 60990125bb..7246d7c77c 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1012.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1012.cs @@ -128,25 +128,30 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 45 +(skill.GetLevel() - 1) * 4, - 74 + 68 *(skill.GetLevel() - 1), - 10 + skill.GetLevel(), - (7 +(skill.GetLevel() - 1) * 18) * 4.3)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 1; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 + skill.GetT0 () * 33); + skill.GetVictim ().SetRatio (0.1f + 0.01f * skill.GetLevel () + skill.GetT0 () * 0.004f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1013.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1013.cs index 2e7122fadb..82817afced 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1013.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1013.cs @@ -127,20 +127,25 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 40 + skill.GetLevel() * 2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 40 + skill.GetLevel () * 2 + skill.GetT0 () * 0.25f + skill.GetT1 () * 0.25f); + skill.GetVictim ().SetClearrooted (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1014.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1014.cs index adfb38819f..5ba2140722 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1014.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1014.cs @@ -127,20 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 4 + skill.GetLevel() * 0.5)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + skill.GetLevel () * 500 + skill.GetT1 () * 25); + skill.GetVictim ().SetRatio (0.5f + skill.GetT1 () * 0.001f); + skill.GetVictim ().SetFastfly (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1015.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1015.cs index 9edbff65cd..b02fcb4757 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1015.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1015.cs @@ -127,20 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 4 * skill.GetLevel(), 3 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 1; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (5000 + skill.GetT1 () * 25); + skill.GetVictim ().SetRatio (0.04f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0.03f * skill.GetLevel ()); + skill.GetVictim ().SetCharred (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 27f; public int GetAttackspeed(Skill skill) => 28; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1016.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1016.cs index 285e8e078a..02b171d040 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1016.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1016.cs @@ -127,24 +127,26 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 55 +(skill.GetLevel() - 1) * 2, - 300 + 60 * skill.GetLevel(), - 15 + skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 10; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 15 + skill.GetLevel () + skill.GetT1 () * 0.25f); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetSealed (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 6f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1017.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1017.cs index 1181c00382..37e8c80829 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1017.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1017.cs @@ -127,24 +127,29 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 55 +(skill.GetLevel() - 1) * 2, - 250 + 18 *(skill.GetLevel() - 1), - 50 + 5 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50 + 5 * skill.GetLevel ()); + skill.GetVictim ().SetTime (60000 - skill.GetT0 () * 200); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (20 + skill.GetT0 () * 1); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetApleakcont (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1018.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1018.cs index 53a506d504..ec01cee9e2 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1018.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1018.cs @@ -128,26 +128,41 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 55 +(skill.GetLevel() - 1) * 4, - 10 + 2 * skill.GetLevel(), - 10 + 2 * skill.GetLevel(), - skill.GetLevel(), - skill.GetLevel() * 2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5 + skill.GetLevel () + skill.GetT1 () * 0.5f); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetIncattack2 (1); + skill.GetVictim ().SetProbability (1.0f * 5 + skill.GetLevel () + skill.GetT1 () * 0.5f); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetIncmagic2 (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT1 () * 0.25f); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (skill.GetLevel () * 0.02f); + skill.GetVictim ().SetFastpray2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetIncsmite2 (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 33f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1053.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1053.cs index 63d3375ae2..59f97e9c58 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1053.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1053.cs @@ -40,7 +40,7 @@ namespace BrewMonster skill.GetPlayer().SetDecmp(0.2f *(-3.2f + 7.2f * skill.GetLevel())); skill.GetPlayer().SetPray(1); } - public bool Interrupt(Skill skill) => false; + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); public bool Cancel(Skill skill) => true; public bool Skip(Skill skill) => false; } @@ -173,21 +173,25 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 16.5 + 0.9 * skill.GetLevel(), - -3.2 + 7.2 * skill.GetLevel(), - 50 + 5 * skill.GetLevel(), - 4.3 * skill.GetLevel() * skill.GetLevel() + 57.4 * skill.GetLevel() - 38)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (10000); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetFallen2 (1); + return true; + } public bool TakeEffect(Skill skill) => true; - public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel(); + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); public int GetAttackspeed(Skill skill) => 26; public float GetHitrate(Skill skill) => 1f; #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1091.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1091.cs index 9e015f35ff..b350008302 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1091.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1091.cs @@ -105,9 +105,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () * 1000); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1092.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1092.cs index 594f0aa5da..7faf898971 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1092.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1092.cs @@ -105,9 +105,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + 100 * skill.GetLevel ()); + skill.GetVictim ().SetSealed (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1168.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1168.cs index 663db7db6d..c64756ab86 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1168.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1168.cs @@ -105,9 +105,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (0.05f); + skill.GetVictim ().SetFrenetic (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1169.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1169.cs index fdb4a1a789..f27b8bd110 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1169.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1169.cs @@ -105,9 +105,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 8); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdefence (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1170.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1170.cs index 2fd2e60be2..9d37025c48 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1170.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1170.cs @@ -105,9 +105,26 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 8); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1171.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1171.cs index 27824c30d4..4168558fed 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1171.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1171.cs @@ -105,10 +105,30 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; - public bool BlessMe(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1172.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1172.cs index eff144716a..a29e0c0276 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1172.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1172.cs @@ -105,9 +105,22 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetClearbuff (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1173.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1173.cs index 60fcb3bae5..9fe2eff045 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1173.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1173.cs @@ -105,9 +105,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 8); + skill.GetVictim ().SetTime (3500); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1174.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1174.cs index fb59794dd2..6dfd123f6e 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1174.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1174.cs @@ -105,9 +105,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetSealed (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1175.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1175.cs index 7712ab4c57..67f178577e 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1175.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1175.cs @@ -105,9 +105,27 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 8); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSharpblade (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1176.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1176.cs index e6704e52af..51565ea4c5 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1176.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1176.cs @@ -105,9 +105,32 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 8); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSharpblade (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetInchurt (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill140.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill140.cs index b387be2124..b6b4f22304 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill140.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill140.cs @@ -104,9 +104,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (3500); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1402.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1402.cs index 1575040fb9..0cedef4ac4 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1402.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1402.cs @@ -83,10 +83,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - skill.GetAbility(), - skill.GetMaxability())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill141.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill141.cs index 8039a5c0d4..5ca3485be1 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill141.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill141.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdefence (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill142.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill142.cs index d04bea19a9..5c92886c5a 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill142.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill142.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlow (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill143.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill143.cs index 929103f19f..fee50323f0 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill143.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill143.cs @@ -75,9 +75,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (3500); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill144.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill144.cs index 9a229af7b2..0055afd210 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill144.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill144.cs @@ -75,9 +75,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 3); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetSealed (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill146.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill146.cs index 5458e72112..4de49611a1 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill146.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill146.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 15); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (0.05f); + skill.GetVictim ().SetFrenetic (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1568.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1568.cs index f1bb88f3c9..4e905d2810 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1568.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1568.cs @@ -105,9 +105,31 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 6); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDecresist (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1569.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1569.cs index 233dd87d35..cc3b6652c5 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1569.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1569.cs @@ -105,9 +105,31 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetDecdefence (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1570.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1570.cs index 7db8218125..e577a60707 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1570.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1570.cs @@ -105,9 +105,32 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 8); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInchp2 (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncaccuracy (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1571.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1571.cs index cbd8a344ec..1179413780 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1571.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1571.cs @@ -105,9 +105,31 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 3); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetValue (5); + skill.GetVictim ().SetIncsmite (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetIncdodge (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1572.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1572.cs index 60cbbf73da..0b7af35436 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1572.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1572.cs @@ -105,9 +105,31 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 3); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 3); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 3); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetInchurt (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1573.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1573.cs index 2750e5b759..f619e623fd 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1573.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1573.cs @@ -105,9 +105,28 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetFreemove (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetSpeedup (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1574.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1574.cs index 8ed4495dde..eaabaa8445 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1574.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1574.cs @@ -105,9 +105,28 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetFastpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncmagic (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1575.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1575.cs index 0417a63a04..f4b230ab36 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1575.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1575.cs @@ -105,9 +105,27 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (2100); + skill.GetVictim ().SetHpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetAp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1576.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1576.cs index 12d73cb009..5a925cb612 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1576.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1576.cs @@ -105,9 +105,31 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1577.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1577.cs index b194e17741..e25d53fb45 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1577.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1577.cs @@ -105,9 +105,26 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetFreemove (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill158.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill158.cs index 234b540043..fe9022cd2e 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill158.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill158.cs @@ -81,10 +81,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - skill.GetAbility(), - skill.GetMaxability())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill159.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill159.cs index 56dcd72e06..135e3b2cee 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill159.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill159.cs @@ -81,10 +81,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - skill.GetAbility(), - skill.GetMaxability())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill160.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill160.cs index f0dd3121f1..a3bd06b79a 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill160.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill160.cs @@ -81,10 +81,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - skill.GetAbility(), - skill.GetMaxability())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill161.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill161.cs index 1921048ffb..87814e5b1a 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill161.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill161.cs @@ -81,10 +81,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - skill.GetAbility(), - skill.GetMaxability())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill164.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill164.cs index 622a12737f..3f8cb5b933 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill164.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill164.cs @@ -81,10 +81,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - skill.GetAbility(), - skill.GetMaxability())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill165.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill165.cs index 89b399e632..75196eefd4 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill165.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill165.cs @@ -81,11 +81,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - skill.GetAbility(), - skill.GetMaxability(), - skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill167.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill167.cs index 033711b974..3bd299d5eb 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill167.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill167.cs @@ -149,7 +149,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 23 * skill.GetLevel() - 22)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1722.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1722.cs index 60eda89a5a..3308d15af4 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1722.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1722.cs @@ -144,9 +144,25 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetLongjumptospouse (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 5f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1742.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1742.cs index 81e7700bf3..a2bc718080 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1742.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1742.cs @@ -72,9 +72,28 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 0f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetDechp (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetInchurt (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1771.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1771.cs index e9fd572889..5a1ac901ae 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1771.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1771.cs @@ -105,9 +105,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 28); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (0.04f); + skill.GetVictim ().SetFrenetic (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1772.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1772.cs index 00571a28ed..b279723f6a 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1772.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1772.cs @@ -105,9 +105,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetDecdefence (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1773.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1773.cs index 85cc0f123a..359d88a33a 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1773.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1773.cs @@ -76,9 +76,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1774.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1774.cs index f056ca6b68..ad993540f5 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1774.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1774.cs @@ -105,9 +105,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (8000); + skill.GetVictim ().SetBleeding (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1775.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1775.cs index 8c9edeeca7..53140d43d0 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1775.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1775.cs @@ -105,9 +105,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1916.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1916.cs index 99ab4f57ac..19174a130f 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1916.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1916.cs @@ -138,14 +138,35 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT1 () * 1000); + skill.GetVictim ().SetAmount ((5 + skill.GetT0 () * 0.1f / ((skill.GetT0 () + 1000) * 0.1f) * 46) * skill.GetT1 ()); + skill.GetVictim ().SetValue ((5 + skill.GetT0 () * 0.1f / ((skill.GetT0 () + 1000) * 0.1f) * 46) * skill.GetT1 ()); + skill.GetVictim ().SetHpmpgennotincombat (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT1 () * 1000); + skill.GetVictim ().SetAmount (20 + skill.GetT0 () * 0.1f / ((skill.GetT0 () + 1000) * 0.1f) * 183); + skill.GetVictim ().SetValue (20 + skill.GetT0 () * 0.1f / ((skill.GetT0 () + 1000) * 0.1f) * 183); + skill.GetVictim ().SetInchpmp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 5f; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetDynskillcounter (; - public float GetTalent1(Skill skill) => 7200f; + public float GetTalent0(PlayerWrapper player) => player.GetDynskillcounter (); + public float GetTalent1(PlayerWrapper player) => 7200; #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1917.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1917.cs index 1ba4028ada..917aac7842 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1917.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1917.cs @@ -158,12 +158,20 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 18f; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetDynskillcounter (; + public float GetTalent0(PlayerWrapper player) => player.GetDynskillcounter (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1918.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1918.cs index 1a124397cb..7110c8becc 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1918.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill1918.cs @@ -155,13 +155,27 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + skill.GetT0 () * 0.1f / ((skill.GetT0 () + 1000) * 0.1f) * 6000); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 18f; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetDynskillcounter (; + public float GetTalent0(PlayerWrapper player) => player.GetDynskillcounter (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill196.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill196.cs index e9c8f37a94..27223b8e89 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill196.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill196.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecresist (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill197.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill197.cs index aa8fc35e6c..9650693b59 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill197.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill197.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDecattack (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill198.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill198.cs index 0a7f375739..5bbea02ad7 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill198.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill198.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDecmagic (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill199.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill199.cs index cd145e69d7..c25e8974c3 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill199.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill199.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlowattack (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill200.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill200.cs index 3e873166e1..14ca822772 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill200.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill200.cs @@ -103,9 +103,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlowpray (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill201.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill201.cs index e61a499bca..6df3ade05d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill201.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill201.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDecaccuracy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill202.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill202.cs index b3865b167a..e5060e4c51 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill202.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill202.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDecdodge (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill203.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill203.cs index 5a839a5b7e..d1d4c85bf5 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill203.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill203.cs @@ -75,9 +75,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncdefence (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill204.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill204.cs index a405af90f7..ede549811b 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill204.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill204.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncresist (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill205.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill205.cs index a4d783cffc..4c92c397ce 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill205.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill205.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSharpblade (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill206.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill206.cs index bd244b42bd..db8bce5b80 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill206.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill206.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetFastattack (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill207.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill207.cs index 6876a53ab4..e28375c192 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill207.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill207.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncaccuracy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2073.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2073.cs index f22bcda79b..eb42531351 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2073.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2073.cs @@ -138,14 +138,35 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT1 () * 1000); + skill.GetVictim ().SetAmount ((6 + skill.GetT0 () * 0.1f / ((skill.GetT0 () + 500) * 0.1f) * 38) * skill.GetT1 ()); + skill.GetVictim ().SetValue ((6 + skill.GetT0 () * 0.1f / ((skill.GetT0 () + 500) * 0.1f) * 38) * skill.GetT1 ()); + skill.GetVictim ().SetHpmpgennotincombat (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT1 () * 1000); + skill.GetVictim ().SetAmount (25 + skill.GetT0 () * 0.1f / ((skill.GetT0 () + 500) * 0.1f) * 150); + skill.GetVictim ().SetValue (25 + skill.GetT0 () * 0.1f / ((skill.GetT0 () + 500) * 0.1f) * 150); + skill.GetVictim ().SetInchpmp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 5f; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetDynskillcounter (; - public float GetTalent1(Skill skill) => 3600f; + public float GetTalent0(PlayerWrapper player) => player.GetDynskillcounter (); + public float GetTalent1(PlayerWrapper player) => 3600; #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill208.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill208.cs index 81355f65f7..dd4121b0e3 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill208.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill208.cs @@ -104,9 +104,32 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSharpblade (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetInchurt (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill209.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill209.cs index 25ca0bc62d..b6dcce1c8a 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill209.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill209.cs @@ -104,10 +104,30 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; - public bool BlessMe(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 3); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill210.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill210.cs index 2d2170029c..d94d6278bf 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill210.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill210.cs @@ -104,9 +104,28 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSharpblade (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncdefence (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill211.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill211.cs index 85f840ecbb..0b18241fff 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill211.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill211.cs @@ -104,9 +104,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill212.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill212.cs index be091617bc..bc1817411b 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill212.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill212.cs @@ -104,9 +104,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill213.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill213.cs index 3282073776..df06fbe38d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill213.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill213.cs @@ -104,9 +104,26 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaleinchp (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill214.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill214.cs index 0effe78842..180196fe7b 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill214.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill214.cs @@ -104,9 +104,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill215.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill215.cs index 4c9c86eb21..65bcd4c3f4 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill215.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill215.cs @@ -104,9 +104,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill216.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill216.cs index d182abe014..3a2bf094c5 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill216.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill216.cs @@ -104,9 +104,25 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetCleardebuff (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill217.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill217.cs index d6b365ecaf..5f1b3d7bed 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill217.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill217.cs @@ -104,9 +104,27 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSharpblade (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill218.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill218.cs index 05dfea1077..f493c2ea67 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill218.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill218.cs @@ -104,9 +104,27 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSharpblade (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill219.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill219.cs index 999c951847..cbe8f82d19 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill219.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill219.cs @@ -104,9 +104,27 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSharpblade (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaledecmp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill220.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill220.cs index 4b7bebe3a6..90d45bf033 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill220.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill220.cs @@ -104,9 +104,28 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSharpblade (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdefence (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2202.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2202.cs index 5bf7a3173c..05800e1d71 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2202.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2202.cs @@ -167,15 +167,31 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (40 * (skill.GetT0 () + 100000) * (1 + skill.GetT1 () * 0.011111f) * + (skill.GetPlayer ().GetEarthresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetFallen (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 60; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; - public float GetTalent1(Skill skill) => player.GetRangetotarget (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); + public float GetTalent1(PlayerWrapper player) => player.GetRangetotarget (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2203.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2203.cs index eae463f408..8f7086fed5 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2203.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2203.cs @@ -167,15 +167,31 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (60 * (skill.GetT0 () + 100000) * (1 + skill.GetT1 () * 0.011111f) * + (skill.GetPlayer ().GetEarthresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetFallen (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 40; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; - public float GetTalent1(Skill skill) => player.GetRangetotarget (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); + public float GetTalent1(PlayerWrapper player) => player.GetRangetotarget (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2204.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2204.cs index 97b4805dc2..27d9c7cee7 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2204.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2204.cs @@ -167,15 +167,31 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (80 * (skill.GetT0 () + 100000) * (1 + skill.GetT1 () * 0.011111f) * + (skill.GetPlayer ().GetEarthresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetFallen (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 40; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; - public float GetTalent1(Skill skill) => player.GetRangetotarget (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); + public float GetTalent1(PlayerWrapper player) => player.GetRangetotarget (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill221.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill221.cs index 994ae04f0e..a42d9536d9 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill221.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill221.cs @@ -104,9 +104,32 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetIncresist2 (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill222.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill222.cs index f597c46c25..b9ad0d976d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill222.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill222.cs @@ -104,9 +104,26 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill223.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill223.cs index 963b537bd8..c8b85dbddf 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill223.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill223.cs @@ -104,9 +104,28 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 3); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetRetort (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill224.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill224.cs index d77866ccb6..c54e41dcef 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill224.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill224.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetDechurt (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill225.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill225.cs index 5914152404..b765c09140 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill225.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill225.cs @@ -104,9 +104,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetAssault (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2271.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2271.cs index 61862177be..7bec99cb31 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2271.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2271.cs @@ -138,9 +138,30 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetGiant (1); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetBlessmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetInchp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 5f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2272.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2272.cs index 9f94109384..7bc76ad9fc 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2272.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2272.cs @@ -165,9 +165,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4600); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public int GetAttackspeed(Skill skill) => 0; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2276.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2276.cs index f01a04e626..f1a1698bd8 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2276.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2276.cs @@ -167,17 +167,28 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 1, - 100)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (8); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2277); + skill.GetVictim ().SetAuracurse (1); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (176); + skill.GetVictim ().SetAmount (72); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2277.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2277.cs index 3b294bd7db..af02a2f7f8 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2277.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2277.cs @@ -101,9 +101,22 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 0f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetGoldhurt (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2278.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2278.cs index 4a8dbe408f..31d48bf525 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2278.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2278.cs @@ -40,7 +40,7 @@ namespace BrewMonster skill.GetPlayer().SetDecmp(1); skill.GetPlayer().SetPray(1); } - public bool Interrupt(Skill skill) => false; + public bool Interrupt(Skill skill) => skill.GetRand () < 5; public bool Cancel(Skill skill) => true; public bool Skip(Skill skill) => false; } @@ -138,9 +138,31 @@ namespace BrewMonster public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (12); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1864); + skill.GetVictim ().SetAuracurse (1); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (214); + skill.GetVictim ().SetAmount (113); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2279.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2279.cs index bd37ce74f3..378588800e 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2279.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2279.cs @@ -182,7 +182,13 @@ namespace BrewMonster #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 60); + skill.GetVictim ().SetTime (4500); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 22.1f; public int GetAttackspeed(Skill skill) => 15; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2280.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2280.cs index 010b608b98..997915df10 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2280.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2280.cs @@ -173,22 +173,25 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 1, - 100, - 100)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetInchurt (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 19.7f; public int GetAttackspeed(Skill skill) => 14; - public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel(); + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2281.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2281.cs index 54c6ebdde9..aadb459a72 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2281.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2281.cs @@ -170,9 +170,26 @@ namespace BrewMonster public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 70); + skill.GetVictim ().SetAmount (1600); + skill.GetVictim ().SetValue (18); + skill.GetVictim ().SetPullover (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetBreak (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 35f; public int GetAttackspeed(Skill skill) => 9; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2282.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2282.cs index a984e30ceb..ba32affe5f 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2282.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2282.cs @@ -39,7 +39,7 @@ namespace BrewMonster skill.GetPlayer().SetDecmp(1); skill.GetPlayer().SetPray(1); } - public bool Interrupt(Skill skill) => false; + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); public bool Cancel(Skill skill) => true; public bool Skip(Skill skill) => false; } @@ -170,21 +170,21 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 25, - 1, - 10, - 300, - 100, - 6)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 6; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2283.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2283.cs index 160e42c874..54539d555a 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2283.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2283.cs @@ -170,19 +170,20 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 1, - 13, - 12, - 100)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetRepel (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 20f; public int GetAttackspeed(Skill skill) => 7; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2284.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2284.cs index 988b4e7552..6fefbefcf6 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2284.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2284.cs @@ -39,7 +39,7 @@ namespace BrewMonster skill.GetPlayer().SetDecmp(1); skill.GetPlayer().SetPray(1); } - public bool Interrupt(Skill skill) => false; + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); public bool Cancel(Skill skill) => true; public bool Skip(Skill skill) => false; } @@ -170,21 +170,20 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 25, - 1, - 8, - 300, - 85, - 3)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 85); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 28f; public int GetAttackspeed(Skill skill) => 31; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2285.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2285.cs index e49eb3fe6e..29c6f39286 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2285.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2285.cs @@ -165,17 +165,20 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 20, - 1)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2286.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2286.cs index e76aeb4d8a..4e3130bedf 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2286.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2286.cs @@ -185,11 +185,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 1, - 1, - 10)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif @@ -198,7 +194,7 @@ namespace BrewMonster public int GetEnmity(Skill skill) => 0; public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; - public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel(); + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2287.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2287.cs index f62af22f8f..ddd4d882d4 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2287.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2287.cs @@ -165,9 +165,26 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetAbsorbdebuff (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 35f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2288.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2288.cs index 73637251b7..f884fc6bc7 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2288.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2288.cs @@ -168,18 +168,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 25, - 1, - 50)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetRepel2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 21; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2289.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2289.cs index 20b176d64e..1a6a2b7eaa 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2289.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2289.cs @@ -137,18 +137,30 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 25, - 1)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; - public bool BlessMe(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (28921); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 6; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2290.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2290.cs index a046acd2e9..9228497436 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2290.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2290.cs @@ -168,21 +168,25 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 8, - 1, - 10, - 50)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 47); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 47); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; - public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel(); + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); public int GetAttackspeed(Skill skill) => 11; public float GetHitrate(Skill skill) => 1f; #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2292.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2292.cs index be63aa963a..88002b1506 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2292.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2292.cs @@ -169,9 +169,26 @@ namespace BrewMonster public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetAmount (9000); + skill.GetVictim ().SetValue (300); + skill.GetVictim ().SetPoisionseed (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 36f; public int GetAttackspeed(Skill skill) => 8; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2293.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2293.cs index 8f11624fd7..c7e5c9e55d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2293.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2293.cs @@ -130,14 +130,22 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 1, 90)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 1,90)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0.4f); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetAmount (0.9f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetTigerform (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 5f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2294.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2294.cs index 382eccf639..282bc6a90c 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2294.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2294.cs @@ -165,9 +165,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetNofly (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 50f; public int GetAttackspeed(Skill skill) => 33; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2295.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2295.cs index 7bfc1d361b..fe7574dae9 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2295.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2295.cs @@ -167,19 +167,28 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 1, 50)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 1,50)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 49 ? 100 : 0); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 49 ? 0 : 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 13.3f; public int GetAttackspeed(Skill skill) => 6; public float GetHitrate(Skill skill) => 1.7f; - public float GetTalent0(Skill skill) => player.GetRand (; + public float GetTalent0(PlayerWrapper player) => player.GetRand (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2296.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2296.cs index 7c4ba873a9..6c985b7bbc 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2296.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2296.cs @@ -181,8 +181,22 @@ namespace BrewMonster #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; - public bool BlessMe(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (200); + skill.GetVictim ().SetHpgen (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 15f; public int GetAttackspeed(Skill skill) => 33; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2297.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2297.cs index 5a4fe82d77..ee0b31f72b 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2297.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2297.cs @@ -132,14 +132,22 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 1, 250)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 1,250)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 2.5f); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (1.5f); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetFoxform (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 5f; public int GetAttackspeed(Skill skill) => 0; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2298.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2298.cs index d79f5f8236..1fc92105c4 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2298.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2298.cs @@ -182,7 +182,14 @@ namespace BrewMonster #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDecdefence (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 36f; public int GetAttackspeed(Skill skill) => 26; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2299.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2299.cs index 4e9e6ead87..30b113923b 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2299.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2299.cs @@ -171,14 +171,21 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 1, 100)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 1,100)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetMagicleak (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 13.3f; public int GetAttackspeed(Skill skill) => 3; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2300.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2300.cs index cc146fbb80..b6ccc7f3d7 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2300.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2300.cs @@ -169,14 +169,23 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27, 1)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27,1)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetSealed (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 36f; public int GetAttackspeed(Skill skill) => 30; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2301.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2301.cs index b29ab5d522..a7c9f53cdf 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2301.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2301.cs @@ -163,9 +163,28 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetDelayearthhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetFallen (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 35f; public int GetAttackspeed(Skill skill) => 7; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2302.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2302.cs index d935176949..99373a5587 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2302.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2302.cs @@ -38,7 +38,7 @@ namespace BrewMonster skill.GetPlayer().SetDecmp(1); skill.GetPlayer().SetPray(1); } - public bool Interrupt(Skill skill) => false; + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); public bool Cancel(Skill skill) => true; public bool Skip(Skill skill) => false; } @@ -167,18 +167,20 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 25, - 1, - 3)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 4; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2303.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2303.cs index 0059d31f18..08a41c2e5e 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2303.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2303.cs @@ -38,7 +38,7 @@ namespace BrewMonster skill.GetPlayer().SetDecmp(1); skill.GetPlayer().SetPray(1); } - public bool Interrupt(Skill skill) => false; + public bool Interrupt(Skill skill) => skill.GetRand () < 5; public bool Cancel(Skill skill) => true; public bool Skip(Skill skill) => false; } @@ -165,6 +165,14 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; public bool TakeEffect(Skill skill) => true; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2304.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2304.cs index 7127b54523..3c6eefe51a 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2304.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2304.cs @@ -178,9 +178,16 @@ namespace BrewMonster #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + return true; + } public bool TakeEffect(Skill skill) => true; - public float GetEffectdistance(Skill skill) => skill.GetPlayer().GetRange() + 5; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; public int GetAttackspeed(Skill skill) => 8; public float GetHitrate(Skill skill) => 1.5f; #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2305.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2305.cs index 55e49bf70e..df37f6c79d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2305.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2305.cs @@ -175,16 +175,22 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 1, 9)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 1,9)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (9); + skill.GetVictim ().SetRepel (1); + return true; + } public bool TakeEffect(Skill skill) => true; - public float GetEffectdistance(Skill skill) => skill.GetPlayer().GetRange() + 5; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; public int GetAttackspeed(Skill skill) => 9; public float GetHitrate(Skill skill) => 1.5f; #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2306.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2306.cs index 1d69e0f27f..cc6232fc4f 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2306.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2306.cs @@ -174,9 +174,18 @@ namespace BrewMonster #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetAmount (0.3f); + skill.GetVictim ().SetValue (3000); + skill.GetVictim ().SetWeakenbless (1); + return true; + } public bool TakeEffect(Skill skill) => true; - public float GetEffectdistance(Skill skill) => skill.GetPlayer().GetRange() + 8; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 8; public int GetAttackspeed(Skill skill) => 33; public float GetHitrate(Skill skill) => 2f; #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2307.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2307.cs index 100fba9ffa..ed20cff361 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2307.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2307.cs @@ -194,7 +194,7 @@ namespace BrewMonster #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; public bool TakeEffect(Skill skill) => true; - public float GetEffectdistance(Skill skill) => skill.GetPlayer().GetRange() + 10; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 10; public int GetAttackspeed(Skill skill) => 30; public float GetHitrate(Skill skill) => 1.5f; #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2308.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2308.cs index 51a4c0139c..f061fafd59 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2308.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2308.cs @@ -182,9 +182,27 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (100 + skill.GetMagicdamage () * 0.2f); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDechurt (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public int GetAttackspeed(Skill skill) => 10; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2309.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2309.cs index 74703e0694..0b77a11c92 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2309.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2309.cs @@ -38,7 +38,7 @@ namespace BrewMonster skill.GetPlayer().SetDecmp(1); skill.GetPlayer().SetPray(1); } - public bool Interrupt(Skill skill) => false; + public bool Interrupt(Skill skill) => skill.GetRand () < 5; public bool Cancel(Skill skill) => true; public bool Skip(Skill skill) => false; } @@ -179,7 +179,14 @@ namespace BrewMonster #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 38f; public int GetAttackspeed(Skill skill) => 6; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2310.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2310.cs index 48ba5c9287..e2440d5aad 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2310.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2310.cs @@ -163,9 +163,34 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetStoneskin (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetBlessmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (40); + skill.GetVictim ().SetFastmpgen (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 6; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2311.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2311.cs index 9fd4b3ef45..1d6104aad2 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2311.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2311.cs @@ -176,7 +176,13 @@ namespace BrewMonster #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 15f; public int GetAttackspeed(Skill skill) => 5; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2313.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2313.cs index 3775b3eb81..016365d1e8 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2313.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2313.cs @@ -136,11 +136,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 25, - 1, - 12)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2314.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2314.cs index a23e64d4da..ed02f93a18 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2314.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2314.cs @@ -104,6 +104,7 @@ namespace BrewMonster long_range = 0; restrict_corpse = 0; allow_forms = 1; + notuse_in_combat = true; effect = "空"; doenchant = 1; dobless = 0; @@ -165,17 +166,23 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 1, - 1)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInvisible (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public int GetAttackspeed(Skill skill) => 0; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2315.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2315.cs index 5ec5756462..70a807e309 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2315.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2315.cs @@ -165,17 +165,20 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 25, - 1)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2316.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2316.cs index 706977787e..8883e617d7 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2316.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2316.cs @@ -189,10 +189,18 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; public bool TakeEffect(Skill skill) => true; - public float GetEffectdistance(Skill skill) => skill.GetPlayer().GetRange() + 6; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 6; public int GetAttackspeed(Skill skill) => 4; public float GetHitrate(Skill skill) => 2f; #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2317.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2317.cs index d0c67d5922..5fa7f32c61 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2317.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2317.cs @@ -165,17 +165,23 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 8, - 1)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (45); + skill.GetVictim ().SetSoulretort (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2329.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2329.cs index 9439bcd376..c0921b654d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2329.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2329.cs @@ -167,9 +167,23 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 20f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 20; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2330.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2330.cs index 2433684ddb..7dca327390 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2330.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2330.cs @@ -167,9 +167,23 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 20f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 20; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2331.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2331.cs index 5a1c7b390f..eec4ffc65c 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2331.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2331.cs @@ -167,9 +167,23 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 20f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 20; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2332.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2332.cs index 9e962c9383..b87e6b9405 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2332.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2332.cs @@ -167,9 +167,23 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 0f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2333.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2333.cs index 2df82eb2e1..66bb5f73de 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2333.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2333.cs @@ -167,9 +167,23 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 0f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2334.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2334.cs index f9ee770fb8..9aa778fec2 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2334.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2334.cs @@ -167,9 +167,23 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 0f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2335.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2335.cs index 57fb37a091..eb1b0ea1fd 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2335.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2335.cs @@ -167,14 +167,29 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (120 * (skill.GetT0 () + 100000) * (skill.GetPlayer ().GetEarthresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetFallen (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 60; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2336.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2336.cs index 91c7e802d0..5568c10736 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2336.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2336.cs @@ -167,14 +167,29 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 90); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (160 * (skill.GetT0 () + 100000) * (skill.GetPlayer ().GetEarthresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetFallen (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 65f; public int GetAttackspeed(Skill skill) => 60; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2337.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2337.cs index 96a85f5331..1a4c0f9995 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2337.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2337.cs @@ -167,15 +167,31 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (40 * (skill.GetT0 () + 100000) * (1.5f - skill.GetT1 () * 0.011111f) * + (skill.GetPlayer ().GetGoldresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetThunder (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 60; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; - public float GetTalent1(Skill skill) => player.GetRangetotarget (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); + public float GetTalent1(PlayerWrapper player) => player.GetRangetotarget (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2338.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2338.cs index 32926a63ca..ad16193e6f 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2338.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2338.cs @@ -167,15 +167,31 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (60 * (skill.GetT0 () + 100000) * (1.5f - skill.GetT1 () * 0.011111f) * + (skill.GetPlayer ().GetGoldresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetThunder (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 60; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; - public float GetTalent1(Skill skill) => player.GetRangetotarget (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); + public float GetTalent1(PlayerWrapper player) => player.GetRangetotarget (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2339.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2339.cs index 9a43a36c42..3f59bc233f 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2339.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2339.cs @@ -167,15 +167,31 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (80 * (skill.GetT0 () + 100000) * (1.5f - skill.GetT1 () * 0.011111f) * + (skill.GetPlayer ().GetGoldresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetThunder (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 60; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; - public float GetTalent1(Skill skill) => player.GetRangetotarget (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); + public float GetTalent1(PlayerWrapper player) => player.GetRangetotarget (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2340.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2340.cs index a6816ebe30..6662b1065f 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2340.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2340.cs @@ -121,6 +121,14 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 25f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; public bool TakeEffect(Skill skill) => true; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2341.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2341.cs index 7d5548a22e..6488553b36 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2341.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2341.cs @@ -121,6 +121,14 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 25f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; public bool TakeEffect(Skill skill) => true; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2342.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2342.cs index a8326f1b47..133d1efdd6 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2342.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2342.cs @@ -121,6 +121,14 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 25f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; public bool TakeEffect(Skill skill) => true; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2343.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2343.cs index 3b1ae3bef5..ffe090e00d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2343.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2343.cs @@ -138,9 +138,29 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 0f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4500); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetFastpray (1); + skill.GetVictim ().SetTime (4500); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (107); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2344.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2344.cs index 9d37849f1a..13ba4b18d3 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2344.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2344.cs @@ -138,9 +138,29 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 0f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6500); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetFastpray (1); + skill.GetVictim ().SetTime (6500); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (107); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2345.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2345.cs index 5278f4fade..8b553c9ec7 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2345.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2345.cs @@ -138,9 +138,29 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 0f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetFastpray (1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (107); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2346.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2346.cs index 52fba6e9c2..941c613877 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2346.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2346.cs @@ -167,14 +167,33 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 20f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (120 * (skill.GetT0 () + 100000) * (skill.GetPlayer ().GetGoldresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetThunder (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetMaxhp () * 0.1f); + skill.GetVictim ().SetBleeding (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 60; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2354.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2354.cs index 75bb8de972..1daa4525b8 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2354.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2354.cs @@ -167,9 +167,28 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 25f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (160 * (skill.GetT0 () + 100000) * (skill.GetPlayer ().GetGoldresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetThunder (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetMaxhp () * 0.15f); + skill.GetVictim ().SetBleeding (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 60; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2355.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2355.cs index 203c18b666..965e0ffb46 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2355.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2355.cs @@ -167,14 +167,29 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (40 * (skill.GetT0 () + 100000) * (skill.GetPlayer ().GetFireresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetBurning (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 60; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2356.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2356.cs index 7bcac9895d..49838a35b7 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2356.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2356.cs @@ -167,14 +167,29 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (60 * (skill.GetT0 () + 100000) * (skill.GetPlayer ().GetFireresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetBurning (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 60; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2357.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2357.cs index aca55556aa..a754721638 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2357.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2357.cs @@ -167,14 +167,29 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (80 * (skill.GetT0 () + 100000) * (skill.GetPlayer ().GetFireresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetBurning (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 60; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2358.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2358.cs index 7f99217851..16cb064ecc 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2358.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2358.cs @@ -138,9 +138,32 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (105); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 20; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2359.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2359.cs index 5d03f764a0..3a30935379 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2359.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2359.cs @@ -138,9 +138,32 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (105); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 20; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2360.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2360.cs index 7564ce3ac4..ca0bd563a0 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2360.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2360.cs @@ -138,9 +138,32 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (105); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 20; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2361.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2361.cs index 67fdeb1d78..62943c84e3 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2361.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2361.cs @@ -138,9 +138,29 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 0f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetIncdebuffdodge (1); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (57); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2362.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2362.cs index eb8af47dbc..7ac0cd25a4 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2362.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2362.cs @@ -138,9 +138,29 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 0f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetIncdebuffdodge (1); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (57); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2363.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2363.cs index 3378288695..6fadae9382 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2363.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2363.cs @@ -138,9 +138,29 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 0f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetIncdebuffdodge (1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (57); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2364.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2364.cs index 563b0fee4f..5b599bf7e3 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2364.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2364.cs @@ -167,14 +167,29 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (120 * (skill.GetT0 () + 100000) * (skill.GetPlayer ().GetFireresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetBurning (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 60; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetAttack (; + public float GetTalent0(PlayerWrapper player) => player.GetAttack () > player.GetMagicattack ()? player.GetAttack () : player.GetMagicattack (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2365.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2365.cs index ab556d2099..1d45ce2f73 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2365.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2365.cs @@ -167,9 +167,24 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); public override float GetPraydistance(Skill skill) => 45f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (120 * (skill.GetT0 () + 100000) * (skill.GetPlayer ().GetFireresist () > 99999 ? 1 : 0.1f)); + skill.GetVictim ().SetBurning (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 60; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2443.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2443.cs index 3e41d357c1..9ab8a4484e 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2443.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2443.cs @@ -85,14 +85,18 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 2 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool TakeEffect(Skill skill) => true; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetAddskilldamage (0.02f * skill.GetLevel ()); + return true; + } public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2444.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2444.cs index 434f47e9d5..0df7bc6707 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2444.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2444.cs @@ -85,14 +85,18 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 1 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool TakeEffect(Skill skill) => true; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetInccrit (1 * skill.GetLevel ()); + return true; + } public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2446.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2446.cs index dd7ad0a585..ffe2c71f4b 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2446.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2446.cs @@ -85,14 +85,19 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 8 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool TakeEffect(Skill skill) => true; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetAddresistance (0.08f * skill.GetLevel ()); + skill.GetPlayer ().SetAdddefence (0.08f * skill.GetLevel ()); + return true; + } public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2477.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2477.cs index b86ca017e2..025767e378 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2477.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2477.cs @@ -138,14 +138,30 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT1 () * 1000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (100 + 0.2f + skill.GetT0 () * 0.1f / (skill.GetT0 () + 500) * 300); + skill.GetVictim ().SetIncvigour (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 5f; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetDynskillcounter (; - public float GetTalent1(Skill skill) => 3600f; + public float GetTalent0(PlayerWrapper player) => player.GetDynskillcounter (); + public float GetTalent1(PlayerWrapper player) => 3600; #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2478.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2478.cs index a0e5a74011..21a3f72507 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2478.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2478.cs @@ -95,9 +95,25 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 500 : skill.GetLevel () * 5000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (32); + skill.GetVictim ().SetBeastieform (1); + skill.GetVictim ().SetClearinvisible (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 35f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2543.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2543.cs index 68cf2a6fba..85a91508e1 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2543.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2543.cs @@ -138,14 +138,30 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT1 () * 1000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (105 + 0.2f + skill.GetT0 () * 0.1f / (skill.GetT0 () + 500) * 300); + skill.GetVictim ().SetIncvigour (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 5f; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetDynskillcounter (; - public float GetTalent1(Skill skill) => 3600f; + public float GetTalent0(PlayerWrapper player) => player.GetDynskillcounter (); + public float GetTalent1(PlayerWrapper player) => 3600; #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2544.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2544.cs index 839d7e5a7c..eccfa75e6d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2544.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2544.cs @@ -138,13 +138,29 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT1 () * 1000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (115); + skill.GetVictim ().SetIncvigour (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 5f; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent1(Skill skill) => 3600f; + public float GetTalent1(PlayerWrapper player) => 3600; #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2598.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2598.cs index f791458311..7077de5f04 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2598.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2598.cs @@ -138,9 +138,27 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetLevel () > 60 ? 0 : 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetLevel () > + 30 ? (skill.GetPlayer ().GetLevel () > + 40 ? (skill.GetPlayer ().GetLevel () > + 50 ? (skill.GetPlayer ().GetLevel () > 60 ? 0 : 0.3f) : 0.4f) : 0.5f) : 0.6f); + skill.GetVictim ().SetSpeedup (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 5f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2600.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2600.cs index c1125025d9..90987ad13e 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2600.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2600.cs @@ -68,6 +68,14 @@ namespace BrewMonster public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); public override float GetPraydistance(Skill skill) => 0f; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; public bool TakeEffect(Skill skill) => true; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2709.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2709.cs index 63b46a7b2d..99f823652d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2709.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2709.cs @@ -160,15 +160,26 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 130 - 10 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; - public bool BlessMe(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 28f; public int GetAttackspeed(Skill skill) => 0; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2710.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2710.cs index 5998273dfe..0efb5d6a94 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2710.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2710.cs @@ -160,13 +160,30 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetCls () == 4 ? skill.GetT0 () : skill.GetT0 () * 20); + skill.GetVictim ().SetPhysichurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (skill.GetT0 () * 10 * skill.GetLevel ()); + skill.GetVictim ().SetDelayearthhurt (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetMagicattack (; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2711.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2711.cs index 2426853e46..2e3359c643 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2711.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2711.cs @@ -157,9 +157,27 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetSleep (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetEnhanceskilldamage (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public int GetAttackspeed(Skill skill) => 0; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2712.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2712.cs index e8b15c30ab..a863b33488 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2712.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2712.cs @@ -161,9 +161,25 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.25f * skill.GetLevel ()); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetIncphysicaldamage (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 45f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2713.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2713.cs index dcde2803ab..ad530c02c3 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2713.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2713.cs @@ -162,7 +162,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 130 - 10 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2714.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2714.cs index 9b5e9c1cf6..a4c093ab2d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2714.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2714.cs @@ -130,9 +130,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () * 5000); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunephysical2 (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2715.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2715.cs index 5d230154ad..46943b7b4d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2715.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2715.cs @@ -160,19 +160,24 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 130 - 10 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetBufflevel ().GetValue (4348) > 0 ? skill.GetT0 () * 100 : skill.GetT0 ()); + skill.GetVictim ().SetGoldhurt (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 28f; public int GetAttackspeed(Skill skill) => 0; public float GetHitrate(Skill skill) => 100f; - public float GetTalent0(Skill skill) => player.GetMagicattack (; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2716.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2716.cs index edc1c44e7b..a18277712e 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2716.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2716.cs @@ -161,9 +161,25 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetRatio (0.05f * skill.GetLevel () + 0.45f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt3 (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 45f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2717.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2717.cs index 7fccdeaa2f..915d329f28 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2717.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2717.cs @@ -161,13 +161,30 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetBufflevel ().GetValue (4300) > 0 ? skill.GetT0 () * 100 : 1); + skill.GetVictim ().SetGoldhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (1.5f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetEnhanceskilldamage (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 45f; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetMagicattack (; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2718.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2718.cs index e9d9a0722e..7692532f92 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2718.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2718.cs @@ -132,9 +132,25 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (100); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetIncmagicaldamage (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 45f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2719.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2719.cs index 14bdf4e6a7..520b387cbf 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2719.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2719.cs @@ -132,9 +132,25 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (100); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetIncphysicaldamage (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 45f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2720.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2720.cs index 759e00d107..9af4658638 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2720.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2720.cs @@ -130,9 +130,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetHeal (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2721.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2721.cs index 08da6e3e9d..3d74b70402 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2721.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2721.cs @@ -130,9 +130,25 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14400000); + skill.GetVictim ().SetRatio (0.4f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetValue (1800000); + skill.GetVictim ().SetDecnormalattackhurt (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 60f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2722.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2722.cs index 38927911d3..1957a8efc8 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2722.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2722.cs @@ -159,9 +159,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (500); + skill.GetVictim ().SetValue (skill.GetLevel () == 1 ? 46055 : (skill.GetLevel () == 2 ? 46045 : 46046)); + skill.GetVictim ().SetChangemodel (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 3f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2723.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2723.cs index 773865fd45..f99a555756 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2723.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2723.cs @@ -175,7 +175,13 @@ namespace BrewMonster #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 35f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2725.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2725.cs index 9d41699a2a..44c80220b5 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2725.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2725.cs @@ -130,9 +130,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (0.6f * skill.GetPlayer ().GetMaxhp ()); + skill.GetVictim ().SetHeal (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 3f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2836.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2836.cs index 17f5b94436..f225f5ff71 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2836.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2836.cs @@ -160,9 +160,32 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetInchurt (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 100 : 0); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 3 ? 100 : 0); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlowpray (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2837.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2837.cs index e3413d60cd..9f81cded3a 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2837.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2837.cs @@ -133,9 +133,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetRemoveaggro (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 3f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2838.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2838.cs index 39d41f0fa6..65a1612898 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2838.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2838.cs @@ -133,9 +133,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetRemoveaggro (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 3f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2839.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2839.cs index b4112f46d1..6d17d2db63 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2839.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2839.cs @@ -159,9 +159,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetPullover2 (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 3f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2840.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2840.cs index 6d48977718..6f9db71ed4 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2840.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2840.cs @@ -159,9 +159,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetPullover2 (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 3f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2861.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2861.cs index f5a927f0e6..ccd66b5394 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2861.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2861.cs @@ -159,13 +159,28 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () * 180000); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetChangemodel (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 3f; - public float GetTalent0(Skill skill) => player.GetLocalval0 (; + public float GetTalent0(PlayerWrapper player) => player.GetLocalval0 (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2864.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2864.cs index 1be1fa9d56..204921b98e 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2864.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2864.cs @@ -159,9 +159,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetValue (48 + skill.GetLevel ()); + skill.GetVictim ().SetBeastieform (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2865.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2865.cs index 080aa17e86..437757f4f0 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2865.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill2865.cs @@ -159,9 +159,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetValue (48 + skill.GetLevel ()); + skill.GetVictim ().SetBeastieform (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 45f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill360.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill360.cs index 583d437d2a..81a1e4b60d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill360.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill360.cs @@ -172,9 +172,23 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetAp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 5f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill361.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill361.cs index 8f43d19808..8874d92c53 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill361.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill361.cs @@ -172,9 +172,23 @@ namespace BrewMonster public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-50); + skill.GetVictim ().SetAp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill690.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill690.cs index 607ab9d63b..ca51e39d22 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill690.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill690.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncaccuracy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill809.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill809.cs index 0566ee0611..8d6d92a87b 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill809.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill809.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (5000); + skill.GetVictim ().SetBleeding (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill810.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill810.cs index 470bb05314..e725c25efe 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill810.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill810.cs @@ -104,9 +104,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetDechp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill811.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill811.cs index 92f03d77e9..308df8730c 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill811.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill811.cs @@ -104,9 +104,25 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetBreak (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill812.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill812.cs index 5025f4e9d4..0086aefda9 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill812.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill812.cs @@ -104,9 +104,23 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetAp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill813.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill813.cs index 4459888adf..0adf0e7ce3 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill813.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill813.cs @@ -104,9 +104,22 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 3); + skill.GetVictim ().SetClearbuff (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 0f; public float GetHitrate(Skill skill) => 1.0f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill825.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill825.cs index e598c3ad86..38d10b23ec 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill825.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill825.cs @@ -160,9 +160,24 @@ namespace BrewMonster public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (15000); + skill.GetVictim ().SetMagicleak (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public float GetHitrate(Skill skill) => 3f; diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill958.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill958.cs index f85c0c5fb7..c7800f4541 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill958.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill958.cs @@ -127,20 +127,25 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 40 + skill.GetLevel() * 2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 40 + 2 * skill.GetLevel () + skill.GetT0 () * 0.25f + skill.GetT1 () * 0.25f); + skill.GetVictim ().SetClearbleeding (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill959.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill959.cs index d3090baf84..25841e2543 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill959.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill959.cs @@ -127,20 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 5 + skill.GetLevel() * 0.2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 200); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunewater (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 50f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill960.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill960.cs index b3a0818dc0..3cfdb3e9b3 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill960.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill960.cs @@ -128,20 +128,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 5 + skill.GetLevel() * 0.5)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 500); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetImmuneblooding (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill961.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill961.cs index 1ae543f29e..4bc096ca78 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill961.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill961.cs @@ -128,24 +128,25 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 55 +(skill.GetLevel() - 1) * 3, - 44 + 50 *(skill.GetLevel() - 1), - (29 +(skill.GetLevel() - 1) * 20) * 3.1)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT1 () * 1); + skill.GetVictim ().SetBreak (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 10; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill962.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill962.cs index 5127867030..233fdf5379 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill962.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill962.cs @@ -128,25 +128,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 35 +(skill.GetLevel() - 1) * 3, - 50 + 32 *(skill.GetLevel() - 1), - (3 +(skill.GetLevel() - 1) * 13) * 10.2, - 6 + skill.GetLevel() * 0.5)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000 + skill.GetLevel () * 500); + skill.GetVictim ().SetRatio (0.05f + skill.GetT0 () * 0.002f); + skill.GetVictim ().SetSlowfly (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 10; public float GetHitrate(Skill skill) => 3f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill963.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill963.cs index 0fe682563f..d62c72e759 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill963.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill963.cs @@ -127,24 +127,35 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 35 +(skill.GetLevel() - 1) * 3, - 150 + 10 *(skill.GetLevel() - 1), - 5 + skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000 + skill.GetT1 () * 20); + skill.GetVictim ().SetRatio (0.05f + skill.GetLevel () * 0.01f + skill.GetT1 () * 0.00125f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000 + skill.GetT1 () * 20); + skill.GetVictim ().SetRatio (0.10f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000 + skill.GetT1 () * 20); + skill.GetVictim ().SetRatio (0.10f); + skill.GetVictim ().SetIncdodge (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill964.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill964.cs index 25aad840d1..3e44045a48 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill964.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill964.cs @@ -128,25 +128,36 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 65 +(skill.GetLevel() - 1) * 4, - 10 + 80 * skill.GetLevel(), - 100 - skill.GetLevel() * 5)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 10; - public bool StateAttack(Skill skill) => true; - public bool BlessMe(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () * 0.25f); + skill.GetVictim ().SetTime (3000 + skill.GetT0 () * 10); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100 - skill.GetLevel () * 5); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 20f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill965.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill965.cs index a00eae7a8e..3df9df18a2 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill965.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill965.cs @@ -127,20 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 5 + skill.GetLevel() * 0.2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 200); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunemetal (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill966.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill966.cs index b5762d199b..0874638e55 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill966.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill966.cs @@ -130,11 +130,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 75 +(skill.GetLevel() - 1) * 3, - 500 + 99 *(skill.GetLevel() - 1), - (25 +(skill.GetLevel() - 1) * 29) * 3.7)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif @@ -145,8 +141,8 @@ namespace BrewMonster public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill967.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill967.cs index ba075ec0d2..8cad0be3ce 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill967.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill967.cs @@ -129,24 +129,26 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 85 +(skill.GetLevel() - 1) * 3, - 216 + 86 *(skill.GetLevel() - 1), - (69 +(skill.GetLevel() - 1) * 29) * 3.7)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetDizzy (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 28f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill968.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill968.cs index 7b547e54f0..dca8163e97 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill968.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill968.cs @@ -127,20 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 5 + skill.GetLevel() * 0.2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 200); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunesleep (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill969.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill969.cs index a4be65cc6f..4c385aee47 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill969.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill969.cs @@ -127,27 +127,41 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 200 + 15 *(skill.GetLevel() - 1), - 25 + 10 * skill.GetLevel(), - 3 * skill.GetLevel(), - 2 * skill.GetLevel(), - 10 * skill.GetLevel(), - 3 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 10; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT2 () > 66 ? 100 : 0); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2 * skill.GetLevel () + skill.GetT0 ()); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetApleakcont (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT2 () > 33 ? (skill.GetT2 () < 67 ? 100 : 0) : 0); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (3 * skill.GetLevel () * skill.GetT0 ()); + skill.GetVictim ().SetMagicleak (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT2 () < 34 ? 100 : 0); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (25 + 10 * skill.GetLevel () * skill.GetT1 ()); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000 + skill.GetT1 () * 50); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlow (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill970.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill970.cs index d2b6a5e96b..72eea4806b 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill970.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill970.cs @@ -127,20 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 5 + skill.GetLevel() * 0.2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 200); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunesealed (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill971.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill971.cs index 3eb816a8ce..9e71a5fd6b 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill971.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill971.cs @@ -127,25 +127,32 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 85 +(skill.GetLevel() - 1) * 3, - 73 + 29 *(skill.GetLevel() - 1), - 2 * skill.GetLevel(), - 2 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 100; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.02f * skill.GetLevel () + skill.GetT1 () * 0.002f); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetWeakelement (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlow (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill972.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill972.cs index b32ed459e4..c2eddbe26d 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill972.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill972.cs @@ -127,24 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 50, - 100 + skill.GetLevel() * 50, - 1 + skill.GetLevel() * 0.5)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 100; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 + skill.GetLevel () * 500 + skill.GetT1 () * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetDeeppoision (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 28f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill973.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill973.cs index f8d8e9a083..0884dad682 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill973.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill973.cs @@ -98,20 +98,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 5 + skill.GetLevel() * 0.2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 200); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunewood (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill974.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill974.cs index dd4b6f0fe3..342b01eb74 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill974.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill974.cs @@ -127,24 +127,30 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 30 +(skill.GetLevel() - 1) * 2, - 100 + 10 *(skill.GetLevel() - 1), - 10 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 3; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-skill.GetPlayer ().GetAp () * (0.05f + skill.GetT0 () * 0.002f)); + skill.GetVictim ().SetAp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetAp () * (0.05f + skill.GetT0 () * 0.002f) * 10 * skill.GetLevel ()); + skill.GetVictim ().SetToxic (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill975.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill975.cs index ea54f1d892..e5565378e1 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill975.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill975.cs @@ -127,24 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 15 +(skill.GetLevel() - 1) * 3, - 50 + skill.GetLevel() * 40, - 100 + skill.GetLevel() * 50)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 10; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (100 + skill.GetLevel () * 50 + skill.GetT0 () * 10); + skill.GetVictim ().SetMagicleak (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 18f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill976.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill976.cs index 1596f14de5..ecc81e81be 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill976.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill976.cs @@ -128,23 +128,30 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 55 +(skill.GetLevel() - 1) * 3, - 100 - skill.GetLevel() * 5)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + skill.GetT1 () * 34); + skill.GetVictim ().SetImmuneslowdizzy (1); + skill.GetVictim ().SetProbability (1.0f * 100 - skill.GetLevel () * 5); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecresist (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill977.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill977.cs index 12482016d3..f79283e22b 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill977.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill977.cs @@ -127,20 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 5 + skill.GetLevel() * 0.5)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 500); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmuneweak (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill978.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill978.cs index c24b1bfaaf..adb248883c 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill978.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill978.cs @@ -127,25 +127,32 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 19.5 + 0.9 * skill.GetLevel(), - skill.GetLevel(), - 50 + 5 * skill.GetLevel(), - 10 + skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetValue (10 + skill.GetLevel () * 1); + skill.GetVictim ().SetFury (1); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (52); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 30f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill979.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill979.cs index 98e2005e2c..0a57523466 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill979.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill979.cs @@ -127,23 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 100 + skill.GetLevel() * 6, - 5 + skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 10; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.05f + skill.GetLevel () * 0.01f + skill.GetT0 () * 0.00125f + skill.GetT1 () * 0.00125f); + skill.GetVictim ().SetSlowattackpray (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 24f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill980.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill980.cs index 3af88391ff..6b36ea71d2 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill980.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill980.cs @@ -129,24 +129,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 500 + 99 *(skill.GetLevel() - 1), - (120 +(skill.GetLevel() - 1) * 56) * 5.2, - 10 + skill.GetLevel() * 2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.1f + skill.GetLevel () * 0.02f + skill.GetT1 () * 0.0025f); + skill.GetVictim ().SetSlow (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 10f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill981.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill981.cs index 6cea5dbf24..9337d2cde7 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill981.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill981.cs @@ -127,26 +127,32 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 45 +(skill.GetLevel() - 1) * 1, - 150 + skill.GetLevel() * 8, - 5 + skill.GetLevel(), - 5 + skill.GetLevel() * 1, - 5 + skill.GetLevel() * 1)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 1000); + skill.GetVictim ().SetRatio (0.05f + skill.GetLevel () * 0.01f + skill.GetT0 () * 0.0025f); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetSpeedup2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 1000); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetFasthpgen (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill982.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill982.cs index ce0ac5657e..30b0a2f093 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill982.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill982.cs @@ -128,23 +128,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 15, - 5 + skill.GetLevel() * 0.2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 200); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunesoil (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 20f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill983.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill983.cs index 91e518dcab..43ac6f95ef 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill983.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill983.cs @@ -129,25 +129,26 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 20, - 75 +(skill.GetLevel() - 1) * 1, - 500 + 99 *(skill.GetLevel() - 1), - (37 +(skill.GetLevel() - 1) * 25) * 5)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetFix (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 25f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill984.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill984.cs index 6fc896f63d..c9741a2616 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill984.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill984.cs @@ -129,24 +129,28 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 30 +(skill.GetLevel() - 1) * 3, - 140 + 38 *(skill.GetLevel() - 1), - (2 +(skill.GetLevel() - 1) * 13) * 3.1)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () * 10); + skill.GetVictim ().SetBreak (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill985.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill985.cs index 0c7a608e28..9ce545c9b3 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill985.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill985.cs @@ -128,27 +128,33 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 300 + 10 * skill.GetLevel(), - 0.1 * skill.GetLevel() * 1.2, - 0.1 * skill.GetLevel() * 0.8, - 0.1 * skill.GetLevel() * 1.2, - 0.1 * skill.GetLevel() * 0.8)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 10; - public bool StateAttack(Skill skill) => true; - public bool BlessMe(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-skill.GetT0 () * skill.GetLevel () * 0.1f * 1.2f); + skill.GetVictim ().SetAp (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-skill.GetT0 () * skill.GetLevel () * 0.1f * 0.8f); + skill.GetVictim ().SetAp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 24f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill986.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill986.cs index 6e4bd6d2f8..28424e50de 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill986.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill986.cs @@ -128,20 +128,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 3 + skill.GetLevel() * 0.3)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 10; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30 + skill.GetT0 () * 0.5f); + skill.GetVictim ().SetTime (3000 + skill.GetLevel () * 300); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetBefrozen (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 15f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill987.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill987.cs index 0483796cc2..9b5e6a7d33 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill987.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill987.cs @@ -128,24 +128,31 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 15 +(skill.GetLevel() - 1) * 2, - 200 + skill.GetLevel() * 8, - 5 + skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * (0.05f + 0.01f * skill.GetLevel () + skill.GetT1 () * 0.002f)); + skill.GetVictim ().SetHpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxmp () * (0.05f + 0.01f * skill.GetLevel () + skill.GetT1 () * 0.002f)); + skill.GetVictim ().SetMpgen (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill988.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill988.cs index 22a88b9cd2..d7224e53d7 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill988.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill988.cs @@ -130,24 +130,26 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 60 +(skill.GetLevel() - 1) * 2, - 175 + 99 *(skill.GetLevel() - 1), - (24 +(skill.GetLevel() - 1) * 22) * 5.2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool BlessMe(Skill skill) => true; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * (0.01f + skill.GetT1 () * 0.01f * 0.1f)); + skill.GetVictim ().SetHeal (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill989.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill989.cs index d1138d53ea..28cdc3db07 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill989.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill989.cs @@ -128,24 +128,35 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 500 + 18 *(skill.GetLevel() - 1), - 20 + skill.GetLevel() * 2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 10; - public bool StateAttack(Skill skill) => true; - public bool BlessMe(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.2f + skill.GetLevel () * 0.02f + skill.GetT1 () * 0.004f); + skill.GetVictim ().SetReducewater (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.2f + skill.GetLevel () * 0.02f + skill.GetT1 () * 0.004f); + skill.GetVictim ().SetReducewater (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 18f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill990.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill990.cs index e0812aec44..7e7d883c21 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill990.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill990.cs @@ -129,23 +129,30 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 88 + 57 *(skill.GetLevel() - 1), - (29 + 19 *(skill.GetLevel() - 1)) * 3.1)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (3000 + skill.GetT1 () * 33); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.04f); + skill.GetVictim ().SetDechp (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 15f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill991.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill991.cs index 9b450d105d..d97cb2f1d7 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill991.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill991.cs @@ -127,20 +127,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, skill.GetLevel(), 1 * skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetT1 () * 100); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetIncsmite2 (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill992.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill992.cs index 336e6f83e3..8c66f19448 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill992.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill992.cs @@ -128,24 +128,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 45 + 3 *(skill.GetLevel() - 1), - 50 + 50 *(skill.GetLevel() - 1), - (18 + 16 *(skill.GetLevel() - 1)) * 6.7)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.05f + skill.GetT0 () * 0.001f); + skill.GetVictim ().SetDecdefence2 (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 22f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill993.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill993.cs index 88cdb0a167..7df47c2307 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill993.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill993.cs @@ -128,25 +128,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 35 +(skill.GetLevel() - 1) * 3, - 53 + 40 *(skill.GetLevel() - 1), - (7 + 14 *(skill.GetLevel() - 1)) * 6.7, - skill.GetLevel() * 3)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (skill.GetLevel () * 0.03f + skill.GetT1 () * 0.007f); + skill.GetVictim ().SetReducefire2 (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 20f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill994.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill994.cs index 8e8fa4e798..22f981a799 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill994.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill994.cs @@ -128,10 +128,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 30 + 30 *(skill.GetLevel() - 1), - 1 + 5 *(skill.GetLevel() - 1))); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif @@ -142,8 +139,8 @@ namespace BrewMonster public float GetEffectdistance(Skill skill) => 20f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill995.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill995.cs index aae9d0e2bc..91f3f3b5ff 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill995.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill995.cs @@ -128,25 +128,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 30 +(skill.GetLevel() - 1) * 3, - 90 + 32 *(skill.GetLevel() - 1), - (25 +(skill.GetLevel() - 1) * 30) * 3.1, - skill.GetLevel())); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000 + (skill.GetT0 () + skill.GetT1 ()) * 50); + skill.GetVictim ().SetRatio (skill.GetLevel () * 0.01f + skill.GetT0 () * 0.0005f + skill.GetT1 () * 0.0005f); + skill.GetVictim ().SetSlowattackpray (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 20f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill996.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill996.cs index f6ed477661..81c43b7165 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill996.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill996.cs @@ -128,24 +128,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 45 +(skill.GetLevel() - 1) * 3, - 69 + 60 *(skill.GetLevel() - 1), - (15 + 17 *(skill.GetLevel() - 1)) * 3.7)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetT0 () * 100); + skill.GetVictim ().SetValue (5); + skill.GetVictim ().SetSubattackdegree (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill997.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill997.cs index 284b796c0e..14aca8973c 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill997.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill997.cs @@ -127,24 +127,28 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 35 +(skill.GetLevel() - 1) * 3, - 32 + 43 *(skill.GetLevel() - 1), - (8 + 35 *(skill.GetLevel() - 1)) * 8)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 4; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50 + 5 * skill.GetLevel ()); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount ((8 + (skill.GetLevel () - 1) * 35 + skill.GetT1 ()) * 8 * + (skill.GetPlayer ().GetWaterresist () + 3000) / (skill.GetPlayer ().GetFireresist () + 3000)); + skill.GetVictim ().SetBurning (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 24f; public int GetAttackspeed(Skill skill) => 16; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill998.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill998.cs index d75bc48c70..b0cda2bd00 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill998.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill998.cs @@ -129,24 +129,27 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 10 + 0.2 * skill.GetLevel(), - 146 + 77 *(skill.GetLevel() - 1), - (24 + 23 *(skill.GetLevel() - 1)) * 3.7)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif #if SKILL_SERVER public int GetEnmity(Skill skill) => 0; - public bool StateAttack(Skill skill) => true; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetRatio (0.1f + skill.GetT1 () * 0.001f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetBurningfeet (1); + return true; + } public bool TakeEffect(Skill skill) => true; public float GetEffectdistance(Skill skill) => 40f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill999.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill999.cs index 6e7fe17e00..4cebb8cd4e 100644 --- a/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill999.cs +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs11/skill999.cs @@ -129,11 +129,7 @@ namespace BrewMonster #if SKILL_CLIENT public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) { - buffer.Append(GPDataTypeHelper.ReplacePercentD(format, - skill.GetLevel(), - 75 +(skill.GetLevel() - 1) * 3, - 246 + 99 *(skill.GetLevel() - 1), - (50 +(skill.GetLevel() - 1) * 10) * 5.2)); + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); return buffer.Length; } #endif @@ -144,8 +140,8 @@ namespace BrewMonster public float GetEffectdistance(Skill skill) => 27f; public int GetAttackspeed(Skill skill) => 20; public float GetHitrate(Skill skill) => 1.0f; - public float GetTalent0(Skill skill) => player.GetElfstr (; - public float GetTalent1(Skill skill) => player.GetElfagi (; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); #endif } } diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12.meta new file mode 100644 index 0000000000..b4b8b72af9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: aa5f1e7318d7249a79f6f69cae99d701 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/SkillStubs12.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/SkillStubs12.cs new file mode 100644 index 0000000000..8c3823d71a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/SkillStubs12.cs @@ -0,0 +1,83 @@ +using BrewMonster.Scripts.Skills; +using UnityEngine; + +namespace BrewMonster +{ + public static partial class SkillStubs + { + // Skill stub declarations + public static Skill1019Stub __stub_Skill1019Stub = new Skill1019Stub(); + public static Skill1020Stub __stub_Skill1020Stub = new Skill1020Stub(); + public static Skill1021Stub __stub_Skill1021Stub = new Skill1021Stub(); + public static Skill1022Stub __stub_Skill1022Stub = new Skill1022Stub(); + public static Skill1023Stub __stub_Skill1023Stub = new Skill1023Stub(); + public static Skill1024Stub __stub_Skill1024Stub = new Skill1024Stub(); + public static Skill1025Stub __stub_Skill1025Stub = new Skill1025Stub(); + public static Skill1026Stub __stub_Skill1026Stub = new Skill1026Stub(); + public static Skill1027Stub __stub_Skill1027Stub = new Skill1027Stub(); + public static Skill1028Stub __stub_Skill1028Stub = new Skill1028Stub(); + public static Skill1029Stub __stub_Skill1029Stub = new Skill1029Stub(); + public static Skill1030Stub __stub_Skill1030Stub = new Skill1030Stub(); + public static Skill1031Stub __stub_Skill1031Stub = new Skill1031Stub(); + public static Skill1032Stub __stub_Skill1032Stub = new Skill1032Stub(); + public static Skill1033Stub __stub_Skill1033Stub = new Skill1033Stub(); + public static Skill1034Stub __stub_Skill1034Stub = new Skill1034Stub(); + public static Skill1035Stub __stub_Skill1035Stub = new Skill1035Stub(); + public static Skill1036Stub __stub_Skill1036Stub = new Skill1036Stub(); + public static Skill1037Stub __stub_Skill1037Stub = new Skill1037Stub(); + public static Skill1038Stub __stub_Skill1038Stub = new Skill1038Stub(); + public static Skill1039Stub __stub_Skill1039Stub = new Skill1039Stub(); + public static Skill1040Stub __stub_Skill1040Stub = new Skill1040Stub(); + public static Skill1041Stub __stub_Skill1041Stub = new Skill1041Stub(); + public static Skill1042Stub __stub_Skill1042Stub = new Skill1042Stub(); + public static Skill1043Stub __stub_Skill1043Stub = new Skill1043Stub(); + public static Skill1044Stub __stub_Skill1044Stub = new Skill1044Stub(); + public static Skill1045Stub __stub_Skill1045Stub = new Skill1045Stub(); + public static Skill1046Stub __stub_Skill1046Stub = new Skill1046Stub(); + public static Skill1047Stub __stub_Skill1047Stub = new Skill1047Stub(); + public static Skill1048Stub __stub_Skill1048Stub = new Skill1048Stub(); + public static Skill1049Stub __stub_Skill1049Stub = new Skill1049Stub(); + public static Skill1050Stub __stub_Skill1050Stub = new Skill1050Stub(); + public static Skill1051Stub __stub_Skill1051Stub = new Skill1051Stub(); + public static Skill1052Stub __stub_Skill1052Stub = new Skill1052Stub(); + public static Skill1084Stub __stub_Skill1084Stub = new Skill1084Stub(); + +#if SKILL_SERVER + public static Skill1019 __stub_Skill1019 = new Skill1019(); + public static Skill1020 __stub_Skill1020 = new Skill1020(); + public static Skill1021 __stub_Skill1021 = new Skill1021(); + public static Skill1022 __stub_Skill1022 = new Skill1022(); + public static Skill1023 __stub_Skill1023 = new Skill1023(); + public static Skill1024 __stub_Skill1024 = new Skill1024(); + public static Skill1025 __stub_Skill1025 = new Skill1025(); + public static Skill1026 __stub_Skill1026 = new Skill1026(); + public static Skill1027 __stub_Skill1027 = new Skill1027(); + public static Skill1028 __stub_Skill1028 = new Skill1028(); + public static Skill1029 __stub_Skill1029 = new Skill1029(); + public static Skill1030 __stub_Skill1030 = new Skill1030(); + public static Skill1031 __stub_Skill1031 = new Skill1031(); + public static Skill1032 __stub_Skill1032 = new Skill1032(); + public static Skill1033 __stub_Skill1033 = new Skill1033(); + public static Skill1034 __stub_Skill1034 = new Skill1034(); + public static Skill1035 __stub_Skill1035 = new Skill1035(); + public static Skill1036 __stub_Skill1036 = new Skill1036(); + public static Skill1037 __stub_Skill1037 = new Skill1037(); + public static Skill1038 __stub_Skill1038 = new Skill1038(); + public static Skill1039 __stub_Skill1039 = new Skill1039(); + public static Skill1040 __stub_Skill1040 = new Skill1040(); + public static Skill1041 __stub_Skill1041 = new Skill1041(); + public static Skill1042 __stub_Skill1042 = new Skill1042(); + public static Skill1043 __stub_Skill1043 = new Skill1043(); + public static Skill1044 __stub_Skill1044 = new Skill1044(); + public static Skill1045 __stub_Skill1045 = new Skill1045(); + public static Skill1046 __stub_Skill1046 = new Skill1046(); + public static Skill1047 __stub_Skill1047 = new Skill1047(); + public static Skill1048 __stub_Skill1048 = new Skill1048(); + public static Skill1049 __stub_Skill1049 = new Skill1049(); + public static Skill1050 __stub_Skill1050 = new Skill1050(); + public static Skill1051 __stub_Skill1051 = new Skill1051(); + public static Skill1052 __stub_Skill1052 = new Skill1052(); + public static Skill1084 __stub_Skill1084 = new Skill1084(); +#endif + } +} diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/SkillStubs12.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/SkillStubs12.cs.meta new file mode 100644 index 0000000000..c137a596b5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/SkillStubs12.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 33bf001c5502a4db0b751c3d9da7ecd7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1019.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1019.cs new file mode 100644 index 0000000000..e4576a28aa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1019.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1019 : Skill + { + public const int SKILL_ID = 1019; + + public Skill1019() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1019Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 201223, 201228, 201233, 201238, 201243, 201248, 201253, 201258, 201263, 201268 }; + private static readonly int[] RequiredSpArray = { 1400, 2180, 3220, 4600, 6400, 8820, 12040, 16360, 22200, 30200 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(50 +(skill.GetLevel() - 1) * 10); + skill.GetPlayer().SetDecelfap(180); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1019Stub() : base(1019) + { + cls = 258; + name = "战歌"; + nativename = "战歌"; + icon = "战歌"; + max_level = 10; + type = 2; + apcost = 180000; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "战歌"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/战歌飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/波纹_3彩.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1019Stub() { } + + public override float GetMpcost(Skill skill) => (float)(50 +(skill.GetLevel() - 1) * 10); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + 500 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.05f + skill.GetT0 () * 0.0025f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + 500 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.05f + skill.GetT1 () * 0.00067f); + skill.GetVictim ().SetFastpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + 500 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.05f + skill.GetT0 () * 0.0025f); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1019.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1019.cs.meta new file mode 100644 index 0000000000..de37e04214 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1019.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c77d3b15cf7774c2883e83d3f0f78534 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1020.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1020.cs new file mode 100644 index 0000000000..15bc1685db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1020.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1020 : Skill + { + public const int SKILL_ID = 1020; + + public Skill1020() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1020Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 3310, 3315, 3320, 3325, 3330, 3335, 3340, 3345, 3350, 3355 }; + private static readonly int[] RequiredSpArray = { 240, 560, 1040, 1680, 2560, 3720, 5260, 7300, 10000, 13620 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(70 +(skill.GetLevel() - 1) * 2); + skill.GetPlayer().SetDecelfap(120); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1020Stub() : base(1020) + { + cls = 258; + name = "大地波纹.愤怒"; + nativename = "大地波纹.愤怒"; + icon = "大地波纹愤怒"; + max_level = 10; + type = 2; + apcost = 120000; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 1; + clslimit = 0x10; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "大地波纹愤怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/波纹_1红.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1020Stub() { } + + public override float GetMpcost(Skill skill) => (float)(70 +(skill.GetLevel() - 1) * 2); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => (float)(5 + skill.GetLevel() * 1); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (5000 + skill.GetT0 () * 250); + skill.GetVictim ().SetValue (3 + skill.GetT1 () * 0.014f); + skill.GetVictim ().SetApgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1020.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1020.cs.meta new file mode 100644 index 0000000000..616e4fc624 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1020.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c66ebafac6d1b445a9b5651aedc1a057 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1021.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1021.cs new file mode 100644 index 0000000000..20e269fcef --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1021.cs @@ -0,0 +1,161 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1021 : Skill + { + public const int SKILL_ID = 1021; + + public Skill1021() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1021Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 30330, 30335, 30340, 30345, 30350, 30355, 30360, 30365, 30370, 30375 }; + private static readonly int[] RequiredSpArray = { 2560, 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000, 53200 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(70); + skill.GetPlayer().SetDecelfap(400); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1021Stub() : base(1021) + { + cls = 258; + name = "困缚"; + nativename = "困缚"; + icon = "困缚"; + max_level = 10; + type = 3; + apcost = 400000; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + clslimit = 0x40; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "困缚"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/波纹_3黑.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1021Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + skill.GetLevel () * 400); + skill.GetVictim ().SetFix (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT1 () * 0.25f); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetImmuneslowdizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1021.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1021.cs.meta new file mode 100644 index 0000000000..164e7f4fd8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1021.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 12b387cbffed8445b9490ebdb00797fb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1022.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1022.cs new file mode 100644 index 0000000000..b57f443780 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1022.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1022 : Skill + { + public const int SKILL_ID = 1022; + + public Skill1022() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1022Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 2200225, 2200230, 2200235, 2200240, 2200245, 2200250, 2200255, 2200260, 2200265, 2200270 }; + private static readonly int[] RequiredSpArray = { 1680, 2560, 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(75); + skill.GetPlayer().SetDecelfap(400); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1022Stub() : base(1022) + { + cls = 258; + name = "神行真言"; + nativename = "神行真言"; + icon = "神行真言"; + max_level = 10; + type = 2; + apcost = 400000; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "神行真言"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/神行真言击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1022Stub() { } + + public override float GetMpcost(Skill skill) => 75f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 11f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + skill.GetLevel () * 300 + skill.GetT1 () * 10); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1022.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1022.cs.meta new file mode 100644 index 0000000000..93e8f47d0a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1022.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 39746f41443bd410e910e4f248e12d29 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1023.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1023.cs new file mode 100644 index 0000000000..ae63044e49 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1023.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1023 : Skill + { + public const int SKILL_ID = 1023; + + public Skill1023() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1023Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 3030025, 3030030, 3030035, 3030040, 3030045, 3030050, 3030055, 3030060, 3030065, 3030070 }; + private static readonly int[] RequiredSpArray = { 1680, 2560, 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfap(340 + 99 *(skill.GetLevel() - 1)); + skill.SetDamage(skill.GetPlayer().GetElfmp() * 20 *(1 + skill.GetT0() * 0.008f) +(60 +(skill.GetLevel() - 1) * 10) *(1 + skill.GetT0() * 0.008f) * 9.3f); + skill.GetPlayer().SetDecelfmp(skill.GetPlayer().GetElfmp()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1023Stub() : base(1023) + { + cls = 258; + name = "肉搏者之怒"; + nativename = "肉搏者之怒"; + icon = "困神诀"; + max_level = 10; + type = 1; + apcost = 340099; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0x02; + clslimit = 0x11; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "困神诀"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物通用/夏普攻6_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1023Stub() { } + + public override float GetMpcost(Skill skill) => 1f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50 + 5 * skill.GetLevel ()); + skill.GetVictim ().SetTime (8000 + skill.GetT0 () * 42); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (500 + skill.GetLevel () * 200 + skill.GetT0 () * 10); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetAbsorbmagicdamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 16f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1023.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1023.cs.meta new file mode 100644 index 0000000000..0a0a894920 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1023.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 864f7886c5ba74212ab470c43fb29cec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1024.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1024.cs new file mode 100644 index 0000000000..f403fb8d79 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1024.cs @@ -0,0 +1,156 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1024 : Skill + { + public const int SKILL_ID = 1024; + + public Skill1024() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1024Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(100 - skill.GetPlayer().GetElflevel() * 0.2f); + skill.GetPlayer().SetDecelfap(200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1024Stub() : base(1024) + { + cls = 258; + name = "金刚拳"; + nativename = "金刚拳"; + icon = "爆破拳"; + max_level = 1; + type = 3; + apcost = 200000; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "爆破拳"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/小精灵拳头.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/小精灵拳头击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1024Stub() { } + + public override float GetMpcost(Skill skill) => (float)(100 - skill.GetPlayer().GetElflevel() * 0.2); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDecresist (1); + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 26f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1024.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1024.cs.meta new file mode 100644 index 0000000000..79432255ab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1024.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b576a240d53244e23ad2646d5f9241f9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1025.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1025.cs new file mode 100644 index 0000000000..1e0c5f8dd4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1025.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1025 : Skill + { + public const int SKILL_ID = 1025; + + public Skill1025() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1025Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 2010430, 2010435, 2010440, 2010445, 2010450, 2010455, 2010460, 2010465, 2010470, 2010475 }; + private static readonly int[] RequiredSpArray = { 2560, 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000, 53200 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(85 +(skill.GetLevel() - 1) * 3); + skill.GetPlayer().SetDecelfap(46 + 22 *(skill.GetLevel() - 1)); + skill.SetGolddamage((0.8f *(33 +(skill.GetLevel() - 1) * 28)) *(1 + skill.GetPlayer().GetElfstr() * 0.01f) * 6.2f); + skill.SetDamage((0.2f *(33 +(skill.GetLevel() - 1) * 28)) *(1 + skill.GetPlayer().GetElfstr() * 0.01f) * 6.2f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1025Stub() : base(1025) + { + cls = 258; + name = "风怒"; + nativename = "风怒"; + icon = "风怒"; + max_level = 10; + type = 1; + apcost = 46022; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "风怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/小精灵龙卷风总.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1025Stub() { } + + public override float GetMpcost(Skill skill) => (float)(85 +(skill.GetLevel() - 1) * 3); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 14f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 90); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (8); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1025.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1025.cs.meta new file mode 100644 index 0000000000..d25e5189be --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1025.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7bf8d4e80399f46d79ef313ad67f3ef6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1026.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1026.cs new file mode 100644 index 0000000000..54773527e4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1026.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1026 : Skill + { + public const int SKILL_ID = 1026; + + public Skill1026() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1026Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 3000430, 3000435, 3000440, 3000445, 3000450, 3000455, 3000460, 3000465, 3000470, 3000475 }; + private static readonly int[] RequiredSpArray = { 2560, 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000, 53200 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(75); + skill.GetPlayer().SetDecelfap(500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1026Stub() : base(1026) + { + cls = 258; + name = "破法经"; + nativename = "破法经"; + icon = "破法经"; + max_level = 10; + type = 2; + apcost = 500000; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "破法经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/波纹_3白.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1026Stub() { } + + public override float GetMpcost(Skill skill) => 75f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20 + skill.GetLevel () * 2 + skill.GetT0 () * 0.5f); + skill.GetVictim ().SetClearsealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1026.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1026.cs.meta new file mode 100644 index 0000000000..5e2a5533cd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1026.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 79bda72f7947b490bbea7ad672b87cea \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1027.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1027.cs new file mode 100644 index 0000000000..bfabf5385e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1027.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1027 : Skill + { + public const int SKILL_ID = 1027; + + public Skill1027() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1027Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 110110, 110115, 110120, 110125, 110130, 110135, 110140, 110145, 110150, 110155 }; + private static readonly int[] RequiredSpArray = { 240, 560, 1040, 1680, 2560, 3720, 5260, 7300, 10000, 13620 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(70 +(skill.GetLevel() - 1) * 3); + skill.GetPlayer().SetDecelfap(50 + 30 *(skill.GetLevel() - 1)); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1027Stub() : base(1027) + { + cls = 258; + name = "回光返照"; + nativename = "回光返照"; + icon = "回光返照"; + max_level = 10; + type = 2; + apcost = 50030; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "回光返照"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/波纹_3黑.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1027Stub() { } + + public override float GetMpcost(Skill skill) => (float)(70 +(skill.GetLevel() - 1) * 3); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue ((100 + 70 * skill.GetLevel ()) * (1 + skill.GetT0 () * 0.02f)); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1027.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1027.cs.meta new file mode 100644 index 0000000000..17d9d8e89f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1027.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a207e1f48f0894dd6b26410ad79ee2b6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1028.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1028.cs new file mode 100644 index 0000000000..795b647748 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1028.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1028 : Skill + { + public const int SKILL_ID = 1028; + + public Skill1028() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1028Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 4003030, 4003035, 4003040, 4003045, 4003050, 4003055, 4003060, 4003065, 4003070, 4003075 }; + private static readonly int[] RequiredSpArray = { 2560, 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000, 53200 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(75); + skill.GetPlayer().SetDecelfap(500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1028Stub() : base(1028) + { + cls = 258; + name = "神风之触"; + nativename = "神风之触"; + icon = "神风之触"; + max_level = 10; + type = 2; + apcost = 500000; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "神风之触"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/波纹_3红.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1028Stub() { } + + public override float GetMpcost(Skill skill) => 75f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20 + skill.GetLevel () * 2 + skill.GetT1 () * 0.5f); + skill.GetVictim ().SetCleardizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1028.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1028.cs.meta new file mode 100644 index 0000000000..1a2be33136 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1028.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0cb83416d8bae449ea82e347501ad09c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1029.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1029.cs new file mode 100644 index 0000000000..ecf3f571a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1029.cs @@ -0,0 +1,148 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1029 : Skill + { + public const int SKILL_ID = 1029; + + public Skill1029() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1029Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 4331, 4336, 4341, 4346, 4351, 4356, 4361, 4366, 4371, 4376 }; + private static readonly int[] RequiredSpArray = { 2780, 4000, 5620, 7780, 10640, 14480, 19660, 26600, 36200, 59000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(85 +(skill.GetLevel() - 1) * 3); + skill.GetPlayer().SetDecelfap(600 + 99 *(skill.GetLevel() - 1)); + skill.SetDamage((39 +(skill.GetLevel() - 1) * 28 + skill.GetT0() * 3) * 6.1f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1029Stub() : base(1029) + { + cls = 258; + name = "地裂爪"; + nativename = "地裂爪"; + icon = "地裂爪"; + max_level = 10; + type = 1; + apcost = 600099; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0x01; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "地裂爪"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/小精灵3道爪.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 300; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1029Stub() { } + + public override float GetMpcost(Skill skill) => (float)(85 +(skill.GetLevel() - 1) * 3); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 3.5f; + public float GetAttackdistance(Skill skill) => 13f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 + 0.8 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1029.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1029.cs.meta new file mode 100644 index 0000000000..52fa189644 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1029.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b4217e3257e774ecf825d8e549d55af1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1030.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1030.cs new file mode 100644 index 0000000000..56aa6f61ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1030.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1030 : Skill + { + public const int SKILL_ID = 1030; + + public Skill1030() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1030Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 44038, 44043, 44048, 44053, 44058, 44063, 44068, 44073, 44078, 44083 }; + private static readonly int[] RequiredSpArray = { 4600, 6400, 8820, 12040, 16360, 22200, 30200, 43000, 72200, 117200 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(95); + skill.GetPlayer().SetDecelfap(300 + skill.GetLevel() * 10); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1030Stub() : base(1030) + { + cls = 258; + name = "水火护甲"; + nativename = "水火护甲"; + icon = "水火护甲"; + max_level = 10; + type = 2; + apcost = 310010; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + clslimit = 0x02; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "水火护甲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1030Stub() { } + + public override float GetMpcost(Skill skill) => 95f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.2f + skill.GetLevel () * 0.02f + skill.GetT1 () * 0.0025f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.1f + skill.GetLevel () * 0.01f + skill.GetT1 () * 0.00125f); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurt2 (1); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (47); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1030.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1030.cs.meta new file mode 100644 index 0000000000..e53d880726 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1030.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b7a01584eb2a7456d95603eb2978f9c3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1031.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1031.cs new file mode 100644 index 0000000000..5a0aa0819d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1031.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1031 : Skill + { + public const int SKILL_ID = 1031; + + public Skill1031() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1031Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 400435, 400440, 400445, 400450, 400455, 400460, 400465, 400470, 400475, 400480 }; + private static readonly int[] RequiredSpArray = { 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000, 53200, 88000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(95); + skill.GetPlayer().SetDecelfap(600); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1031Stub() : base(1031) + { + cls = 258; + name = "封印"; + nativename = "封印"; + icon = "封印"; + max_level = 10; + type = 3; + apcost = 600000; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + clslimit = 0xffc; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "封印"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/波纹_3青.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1031Stub() { } + + public override float GetMpcost(Skill skill) => 95f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25 + skill.GetT1 () * 0.5f); + skill.GetVictim ().SetTime (3000 + skill.GetLevel () * 200); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 18f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1031.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1031.cs.meta new file mode 100644 index 0000000000..d9aa6fafca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1031.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 201798d1543234976a05d97a437ea737 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1032.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1032.cs new file mode 100644 index 0000000000..7ea343a1b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1032.cs @@ -0,0 +1,161 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1032 : Skill + { + public const int SKILL_ID = 1032; + + public Skill1032() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1032Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 500440, 500445, 500450, 500455, 500460, 500465, 500470, 500475, 500480, 500485 }; + private static readonly int[] RequiredSpArray = { 5260, 7300, 10000, 13620, 18480, 25000, 34000, 53200, 88000, 141000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(120); + skill.GetPlayer().SetDecelfap(900); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1032Stub() : base(1032) + { + cls = 258; + name = "血仇"; + nativename = "血仇"; + icon = "群嘲"; + max_level = 10; + type = 3; + apcost = 900000; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "群嘲"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/狂暴_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/故土_4.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1032Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (4000); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 + skill.GetT0 () * 100); + skill.GetVictim ().SetRatio (skill.GetLevel () * 0.04f); + skill.GetVictim ().SetRetort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1032.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1032.cs.meta new file mode 100644 index 0000000000..acfa1b13ba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1032.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d69cea8aed5534abebe1d51ce5318f00 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1033.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1033.cs new file mode 100644 index 0000000000..c8d458aad5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1033.cs @@ -0,0 +1,170 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1033 : Skill + { + public const int SKILL_ID = 1033; + + public Skill1033() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1033Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 33341, 33346, 33351, 33356, 33361, 33366, 33371, 33376, 33381, 33386 }; + private static readonly int[] RequiredSpArray = { 5620, 7780, 10640, 14480, 19660, 26600, 36200, 59000, 96800, 154600 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(108); + skill.GetPlayer().SetDecelfap(480); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1033Stub() : base(1033) + { + cls = 258; + name = "法师之星"; + nativename = "法师之星"; + icon = "法师之星"; + max_level = 10; + type = 2; + apcost = 480000; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + clslimit = 0x02; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "法师之星"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1033Stub() { } + + public override float GetMpcost(Skill skill) => 108f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 500 + skill.GetT1 () * 62.5f); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetFastmpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 500 + skill.GetT1 () * 62.5f); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetFasthpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 500 + skill.GetT1 () * 62.5f); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (1000 + skill.GetT1 () * 10); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetAbsorbmagicdamage (1); + skill.GetVictim ().SetTime (5000 + skill.GetLevel () * 500 + skill.GetT1 () * 62.5f); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (48); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1033.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1033.cs.meta new file mode 100644 index 0000000000..08673731f9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1033.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 63d52ad6f71d942218f8d4cf7c04fb0b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1034.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1034.cs new file mode 100644 index 0000000000..887caa2c83 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1034.cs @@ -0,0 +1,165 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1034 : Skill + { + public const int SKILL_ID = 1034; + + public Skill1034() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1034Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 5545, 5550, 5555, 5560, 5565, 5570, 5575, 5580, 5585, 5590 }; + private static readonly int[] RequiredSpArray = { 7300, 10000, 13620, 18480, 25000, 34000, 53200, 88000, 141000, 221200 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(120); + skill.GetPlayer().SetDecelfap(999); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1034Stub() : base(1034) + { + cls = 258; + name = "潜能激发"; + nativename = "潜能激发"; + icon = "潜能激发"; + max_level = 10; + type = 2; + apcost = 999000; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "潜能激发"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/波纹_3白.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1034Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10 + skill.GetT0 () * 0.5f); + skill.GetVictim ().SetTime (2000 + skill.GetLevel () * 200); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetImmunesealed (1); + skill.GetVictim ().SetProbability (1.0f * 10 + skill.GetT0 () * 0.5f); + skill.GetVictim ().SetTime (3000 + skill.GetLevel () * 200); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetImmunesleep (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + skill.GetLevel () * 400); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetImmuneweak (1); + skill.GetVictim ().SetProbability (1.0f * 10 + skill.GetT1 () * 0.5f); + skill.GetVictim ().SetTime (3000 + skill.GetLevel () * 200); + skill.GetVictim ().SetImmuneslowdizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 27f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1034.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1034.cs.meta new file mode 100644 index 0000000000..22d919ea7d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1034.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b3e7d101dd7c9453bb2097d4841b54f0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1035.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1035.cs new file mode 100644 index 0000000000..c363de578d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1035.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1035 : Skill + { + public const int SKILL_ID = 1035; + + public Skill1035() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1035Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 5050046, 5050051, 5050056, 5050061, 5050066, 5050071, 5050076, 5050081, 5050086, 5050091 }; + private static readonly int[] RequiredSpArray = { 7780, 10640, 14480, 19660, 26600, 36200, 59000, 96800, 154600, 241600 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(115); + skill.GetPlayer().SetDecelfap(500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1035Stub() : base(1035) + { + cls = 258; + name = "虚弱咒"; + nativename = "虚弱咒"; + icon = "虚弱咒"; + max_level = 10; + type = 3; + apcost = 500000; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "虚弱咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物通用/夏普攻1_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/烟轨迹.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1200; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1035Stub() { } + + public override float GetMpcost(Skill skill) => 115f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.3f + skill.GetLevel () * 0.03f + skill.GetT0 () * 0.005f + skill.GetT1 () * 0.005f); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1035.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1035.cs.meta new file mode 100644 index 0000000000..c2dd5c70e8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1035.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 23af38fd105ab40f5b4b14fbfab8a4c0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1036.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1036.cs new file mode 100644 index 0000000000..74eea758fd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1036.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1036 : Skill + { + public const int SKILL_ID = 1036; + + public Skill1036() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1036Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 60552, 60557, 60562, 60567, 60572, 60577, 60582, 60587, 60592, 60597 }; + private static readonly int[] RequiredSpArray = { 11320, 15380, 20800, 28400, 38400, 65400, 106600, 169400, 263600, 359000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(125 +(skill.GetLevel() - 1) * 3); + skill.GetPlayer().SetDecelfap(801 + 99 *(skill.GetLevel() - 1)); + skill.SetWaterdamage((78 +(skill.GetLevel() - 1) * 54 + skill.GetT1() * 2) * 6.7f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1036Stub() : base(1036) + { + cls = 258; + name = "寒冰领域"; + nativename = "寒冰领域"; + icon = "寒冰领域"; + max_level = 10; + type = 1; + apcost = 801099; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = false; + allow_air = false; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "寒冰领域"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/波纹_2白.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1036Stub() { } + + public override float GetMpcost(Skill skill) => (float)(125 +(skill.GetLevel() - 1) * 3); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 18f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 60); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 60 + skill.GetT1 () * 0.2f); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.2f + skill.GetLevel () * 0.03f + skill.GetT1 () * 0.0025f); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * 60 + skill.GetT1 () * 0.2f); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.2f + skill.GetLevel () * 0.03f + skill.GetT1 () * 0.0025f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 21f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1036.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1036.cs.meta new file mode 100644 index 0000000000..df0d2d6c47 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1036.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: df9df3c39be28464a899f4dece018b56 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1037.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1037.cs new file mode 100644 index 0000000000..691f4b1424 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1037.cs @@ -0,0 +1,174 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1037 : Skill + { + public const int SKILL_ID = 1037; + + public Skill1037() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1037Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 605050, 605055, 605060, 605065, 605070, 605075, 605080, 605085, 605090, 605095 }; + private static readonly int[] RequiredSpArray = { 10000, 13620, 18480, 25000, 34000, 53200, 88000, 141000, 221200, 317200 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(125 +(skill.GetLevel() - 1) * 2); + skill.GetPlayer().SetDecelfap(1500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1037Stub() : base(1037) + { + cls = 258; + name = "破魔咒"; + nativename = "破魔咒"; + icon = "破魔咒"; + max_level = 10; + type = 3; + apcost = 800000; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "破魔咒"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/信念.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1037Stub() { } + + public override float GetMpcost(Skill skill) => (float)(125 +(skill.GetLevel() - 1) * 2); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(10 + 2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetMaxmp () * 0.2f); + skill.GetVictim ().SetMagicleak (1); + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetMaxmp () * 0.3f); + skill.GetVictim ().SetMagicleak (1); + skill.GetVictim ().SetProbability (1.0f * 20 + skill.GetLevel () * 1 + skill.GetT1 () * 0.2f); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetMaxmp () * 0.5f); + skill.GetVictim ().SetMagicleak (1); + skill.GetVictim ().SetProbability (1.0f * 20 + skill.GetLevel () * 1 + skill.GetT1 () * 0.2f); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetMaxmp () * 0.6f); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10 + skill.GetLevel () * 2 + skill.GetT1 () * 0.5f); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxmp () * 0.3f); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12 + 2 * skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1037.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1037.cs.meta new file mode 100644 index 0000000000..f2a0423fe7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1037.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 25617f6a4a25442f39696c65c0a88c31 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1038.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1038.cs new file mode 100644 index 0000000000..6edaa5503c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1038.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1038 : Skill + { + public const int SKILL_ID = 1038; + + public Skill1038() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1038Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 444055, 444060, 444065, 444070, 444075, 444080, 444085, 444090, 444095, 444099 }; + private static readonly int[] RequiredSpArray = { 13620, 18480, 25000, 34000, 53200, 88000, 141000, 221200, 317200, 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(135 +(skill.GetLevel() - 1) * 3); + skill.GetPlayer().SetDecelfap(497 + 99 *(skill.GetLevel() - 1)); + skill.SetGolddamage((127 +(skill.GetLevel() - 1) * 53 + skill.GetT1() * 3) * 3.7f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1038Stub() : base(1038) + { + cls = 258; + name = "凤舞"; + nativename = "凤舞"; + icon = "凤舞"; + max_level = 10; + type = 1; + apcost = 497099; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 1; + clslimit = 0xc0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "凤舞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/风舞.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物通用/秋普攻2_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1038Stub() { } + + public override float GetMpcost(Skill skill) => (float)(135 +(skill.GetLevel() - 1) * 3); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + skill.GetT1 () * 50); + skill.GetVictim ().SetValue (5); + skill.GetVictim ().SetSubattackdegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 26f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1038.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1038.cs.meta new file mode 100644 index 0000000000..a1006643b8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1038.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 78fda46a30f864c87b30d0edbb425830 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1039.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1039.cs new file mode 100644 index 0000000000..8d63e26167 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1039.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1039 : Skill + { + public const int SKILL_ID = 1039; + + public Skill1039() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1039Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 4040455, 4040460, 4040465, 4040470, 4040475, 4040480, 4040485, 4040490, 4040495, 4040499 }; + private static readonly int[] RequiredSpArray = { 13620, 18480, 25000, 34000, 53200, 88000, 141000, 221200, 317200, 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(135); + skill.GetPlayer().SetDecelfap(999); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1039Stub() : base(1039) + { + cls = 258; + name = "绝对领域"; + nativename = "绝对领域"; + icon = "绝对领域"; + max_level = 10; + type = 2; + apcost = 999000; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "绝对领域"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物通用/精灵套装_秋4.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1039Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 7f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + skill.GetLevel () * 200); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + skill.GetLevel () * 200); + skill.GetVictim ().SetImmuneslowdizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5 + skill.GetT1 () * 0.05f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1039.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1039.cs.meta new file mode 100644 index 0000000000..51cb134175 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1039.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 78f255a547329452390bacc9da215ad0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1040.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1040.cs new file mode 100644 index 0000000000..2f8d651d44 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1040.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1040 : Skill + { + public const int SKILL_ID = 1040; + + public Skill1040() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1040Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 6000760, 6000765, 6000770, 6000775, 6000780, 6000785, 6000790, 6000795, 6000799, 6000799 }; + private static readonly int[] RequiredSpArray = { 18480, 25000, 34000, 53200, 88000, 141000, 221200, 317200, 500000, 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(140 +(skill.GetLevel() - 1) * 3); + skill.GetPlayer().SetDecelfap(1055 + 99 *(skill.GetLevel() - 1)); + skill.SetWooddamage((0.7f *(177 +(skill.GetLevel() - 1) * 50 + skill.GetT1() * 3)) * 6.7f); + skill.SetEarthdamage((0.3f *(177 +(skill.GetLevel() - 1) * 50 + skill.GetT1() * 3)) * 6.7f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1040Stub() : base(1040) + { + cls = 258; + name = "荆棘之怒"; + nativename = "荆棘之怒"; + icon = "荆棘之怒"; + max_level = 10; + type = 1; + apcost = 1055099; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0x01; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "荆棘之怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/故土.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1040Stub() { } + + public override float GetMpcost(Skill skill) => (float)(140 +(skill.GetLevel() - 1) * 3); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 26f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1040.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1040.cs.meta new file mode 100644 index 0000000000..d45b6f6e1c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1040.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1e224337fd25247ab9ab220bd4116c16 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1041.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1041.cs new file mode 100644 index 0000000000..5aaa1c840c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1041.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1041 : Skill + { + public const int SKILL_ID = 1041; + + public Skill1041() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1041Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 67060, 67065, 67070, 67075, 67080, 67085, 67090, 67095, 67099, 67099 }; + private static readonly int[] RequiredSpArray = { 18480, 25000, 34000, 53200, 88000, 141000, 221200, 317200, 500000, 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(140 +(skill.GetLevel() - 1) * 3); + skill.GetPlayer().SetDecelfap(1055 + 99 *(skill.GetLevel() - 1)); + skill.SetFiredamage((0.5f *(199 +(skill.GetLevel() - 1) * 47 + skill.GetT1() * 3)) * 6.7f); + skill.SetDamage((0.5f *(199 +(skill.GetLevel() - 1) * 47 + skill.GetT0() * 3)) * 6.7f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1041Stub() : base(1041) + { + cls = 258; + name = "升龙气"; + nativename = "升龙气"; + icon = "升龙气"; + max_level = 10; + type = 1; + apcost = 1055099; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = true; + long_range = 2; + restrict_corpse = 0; + allow_forms = 1; + effect = "升龙气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/小精灵红龙升空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1041Stub() { } + + public override float GetMpcost(Skill skill) => (float)(140 +(skill.GetLevel() - 1) * 3); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + skill.GetT0 () * 50); + skill.GetVictim ().SetValue (10 + skill.GetLevel () * 1); + skill.GetVictim ().SetSubdefencedegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 27f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1041.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1041.cs.meta new file mode 100644 index 0000000000..7dcc5bd73c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1041.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 23d2f9d2ac097490a8e7434836d181c9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1042.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1042.cs new file mode 100644 index 0000000000..b75dac14b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1042.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1042 : Skill + { + public const int SKILL_ID = 1042; + + public Skill1042() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1042Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 70760, 70765, 70770, 70775, 70780, 70785, 70790, 70795, 70799, 70799 }; + private static readonly int[] RequiredSpArray = { 18480, 25000, 34000, 53200, 88000, 141000, 221200, 317200, 500000, 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(130 +(skill.GetLevel() - 1) * 4); + skill.GetPlayer().SetDecelfap(300); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1042Stub() : base(1042) + { + cls = 258; + name = "元气盗窃"; + nativename = "元气盗窃"; + icon = "元气盗窃"; + max_level = 10; + type = 3; + apcost = 300000; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "元气盗窃"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/元素虚弱.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1042Stub() { } + + public override float GetMpcost(Skill skill) => (float)(130 +(skill.GetLevel() - 1) * 4); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-(50 + skill.GetLevel () * 15)); + skill.GetVictim ().SetAp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (300); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetApgencont (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50 + skill.GetLevel () * 15 + skill.GetT1 () / 2); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 16f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1042.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1042.cs.meta new file mode 100644 index 0000000000..2c376077a4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1042.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4d1db1ebb43194c4f8230bba5873fb04 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1043.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1043.cs new file mode 100644 index 0000000000..376984f67c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1043.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1043 : Skill + { + public const int SKILL_ID = 1043; + + public Skill1043() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1043Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 707060, 707065, 707070, 707075, 707080, 707085, 707090, 707095, 707099, 707099 }; + private static readonly int[] RequiredSpArray = { 18480, 25000, 34000, 53200, 88000, 141000, 221200, 317200, 500000, 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(160 +(skill.GetLevel() - 1) * 3); + skill.GetPlayer().SetDecelfap(113 + 30 *(skill.GetLevel() - 1)); + skill.SetWaterdamage(0 +(skill.GetLevel() - 1) * 96 *(1 + skill.GetPlayer().GetElfstr() * 0.01f)); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1043Stub() : base(1043) + { + cls = 258; + name = "冰暴"; + nativename = "冰暴"; + icon = "冰暴"; + max_level = 10; + type = 3; + apcost = 113030; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "冰暴"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/冲击波击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1043Stub() { } + + public override float GetMpcost(Skill skill) => (float)(160 +(skill.GetLevel() - 1) * 3); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.03f + 0.003f * skill.GetLevel () + skill.GetT1 () * 0.000625f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1043.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1043.cs.meta new file mode 100644 index 0000000000..c4ce7c6e9b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1043.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 60ab5f743c53f4d6ea0446bc46c965d1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1044.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1044.cs new file mode 100644 index 0000000000..76af55ee1b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1044.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1044 : Skill + { + public const int SKILL_ID = 1044; + + public Skill1044() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1044Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 55047, 55052, 55057, 55062, 55067, 55072, 55077, 55082, 55087, 55092 }; + private static readonly int[] RequiredSpArray = { 8280, 11320, 15380, 20800, 28400, 38400, 65400, 106600, 169400, 263600 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(115 +(skill.GetLevel() - 1) * 4); + skill.GetPlayer().SetDecelfap(600 + 99 *(skill.GetLevel() - 1)); + skill.SetWaterdamage((0.5f *(216 +(skill.GetLevel() - 1) * 51 + skill.GetT1() * 2)) * 4.3f); + skill.SetFiredamage((0.5f *(216 +(skill.GetLevel() - 1) * 51 + skill.GetT1() * 2)) * 4.3f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1044Stub() : base(1044) + { + cls = 258; + name = "水火符"; + nativename = "水火符"; + icon = "水火符"; + max_level = 10; + type = 1; + apcost = 600099; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "水火符"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/水火符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/冲击波击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1044Stub() { } + + public override float GetMpcost(Skill skill) => (float)(115 +(skill.GetLevel() - 1) * 4); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetRatio (0.1f + skill.GetLevel () * 0.2f + skill.GetT1 () * 0.005f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 27f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1044.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1044.cs.meta new file mode 100644 index 0000000000..31ff1955cf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1044.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b72a8f73f913c4672a15b0edbc85b384 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1045.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1045.cs new file mode 100644 index 0000000000..a6f05043d0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1045.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1045 : Skill + { + public const int SKILL_ID = 1045; + + public Skill1045() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1045Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 7700060, 7700065, 7700070, 7700075, 7700080, 7700085, 7700090, 7700095, 7700099, 7700099 }; + private static readonly int[] RequiredSpArray = { 18480, 25000, 34000, 53200, 88000, 141000, 221200, 317200, 500000, 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(160); + skill.GetPlayer().SetDecelfap(800 + 30 *(skill.GetLevel() - 1)); + skill.SetWooddamage(0 +(skill.GetLevel() - 1) * 68 *(1 + skill.GetPlayer().GetElfstr() * 0.01f)); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1045Stub() : base(1045) + { + cls = 258; + name = "乱魂咒"; + nativename = "乱魂咒"; + icon = "乱魂咒"; + max_level = 10; + type = 3; + apcost = 800030; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + clslimit = 0x08; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "乱魂咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/飞行/乾坤互移.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1045Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30 + skill.GetLevel () * 3 + skill.GetT1 () * 0.3f); + skill.GetVictim ().SetHp2mp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 22f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1045.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1045.cs.meta new file mode 100644 index 0000000000..8cc70e33b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1045.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0dd93dc822db4445996c45d66f244abe \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1046.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1046.cs new file mode 100644 index 0000000000..bb58c727e9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1046.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1046 : Skill + { + public const int SKILL_ID = 1046; + + public Skill1046() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1046Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 6760, 6765, 6770, 6775, 6780, 6785, 6790, 6795, 6799, 6799 }; + private static readonly int[] RequiredSpArray = { 18480, 25000, 34000, 53200, 88000, 141000, 221200, 317200, 500000, 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(140 +(skill.GetLevel() - 1) * 3); + skill.GetPlayer().SetDecelfap(158 + 28 *(skill.GetLevel() - 1)); + skill.SetFiredamage((221 +(skill.GetLevel() - 1) * 45 + skill.GetT1() * 4) * 1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1046Stub() : base(1046) + { + cls = 258; + name = "炎闪"; + nativename = "炎闪"; + icon = "炎闪"; + max_level = 10; + type = 1; + apcost = 158028; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "炎闪"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/飞行/炎闪.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1046Stub() { } + + public override float GetMpcost(Skill skill) => (float)(140 +(skill.GetLevel() - 1) * 3); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 9f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10 + skill.GetLevel () * 2 + skill.GetT1 () * 0.25f); + skill.GetVictim ().SetTime (2000 + skill.GetT1 () * 20); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (2000 + skill.GetT1 () * 20); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1046.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1046.cs.meta new file mode 100644 index 0000000000..756e706b88 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1046.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9c6450bb1b7de40bfb69f3d0e10f6eb3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1047.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1047.cs new file mode 100644 index 0000000000..09cfe45ebf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1047.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1047 : Skill + { + public const int SKILL_ID = 1047; + + public Skill1047() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1047Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 7000555, 7000560, 7000565, 7000570, 7000575, 7000580, 7000585, 7000590, 7000595, 7000599 }; + private static readonly int[] RequiredSpArray = { 13620, 18480, 25000, 34000, 53200, 88000, 141000, 221200, 317200, 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(130 +(skill.GetLevel() - 1) * 4); + skill.GetPlayer().SetDecelfap(500); + skill.SetEarthdamage(0 +(skill.GetLevel() - 1) * 51 *(1 + skill.GetPlayer().GetElfstr() * 0.01f)); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1047Stub() : base(1047) + { + cls = 258; + name = "灵气爆发"; + nativename = "灵气爆发"; + icon = "灵气爆发"; + max_level = 10; + type = 2; + apcost = 500000; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "灵气爆发"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/狂暴.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1047Stub() { } + + public override float GetMpcost(Skill skill) => (float)(130 +(skill.GetLevel() - 1) * 4); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 7f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (100 + 3 * skill.GetLevel () + skill.GetT0 () * 0.5f); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1047.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1047.cs.meta new file mode 100644 index 0000000000..2be7d09de3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1047.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 277a3b5ee52044dabafce3c261082570 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1048.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1048.cs new file mode 100644 index 0000000000..46190ee60a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1048.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1048 : Skill + { + public const int SKILL_ID = 1048; + + public Skill1048() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1048Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 5060052, 5060057, 5060062, 5060067, 5060072, 5060077, 5060082, 5060087, 5060092, 5060097 }; + private static readonly int[] RequiredSpArray = { 11320, 15380, 20800, 28400, 38400, 65400, 106600, 169400, 263600, 359000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(125); + skill.GetPlayer().SetDecelfap(59 + 24 *(skill.GetLevel() - 1)); + skill.SetDamage(0 +(skill.GetLevel() - 1) * 39 *(1 + skill.GetPlayer().GetElfstr() * 0.01f)); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1048Stub() : base(1048) + { + cls = 258; + name = "放逐"; + nativename = "放逐"; + icon = "放逐"; + max_level = 10; + type = 11; + apcost = 59024; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "放逐"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1048Stub() { } + + public override float GetMpcost(Skill skill) => 125f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + skill.GetLevel () * 500 + skill.GetT1 () * 25); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + skill.GetLevel () * 500 + skill.GetT1 () * 25); + skill.GetVictim ().SetImmunephysical (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 21f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1048.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1048.cs.meta new file mode 100644 index 0000000000..5bbefb1f61 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1048.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e70d9135aa20b4295ac019cf1917eeca \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1049.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1049.cs new file mode 100644 index 0000000000..1aa2d12894 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1049.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1049 : Skill + { + public const int SKILL_ID = 1049; + + public Skill1049() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1049Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 707060, 707065, 707070, 707075, 707080, 707085, 707090, 707095, 707099, 707099 }; + private static readonly int[] RequiredSpArray = { 18480, 25000, 34000, 53200, 88000, 141000, 221200, 317200, 500000, 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(160 - skill.GetT0() * 0.2f); + skill.GetPlayer().SetDecelfap(500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1049Stub() : base(1049) + { + cls = 258; + name = "信念"; + nativename = "信念"; + icon = "信念"; + max_level = 10; + type = 2; + apcost = 500000; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "信念"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/波纹_3绿.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1049Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10 * skill.GetLevel ()); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetImmuneall (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1049.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1049.cs.meta new file mode 100644 index 0000000000..9363691f4b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1049.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ac3dac47765da4f18ba822bf0a740fa5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1050.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1050.cs new file mode 100644 index 0000000000..dbf4a8daac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1050.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1050 : Skill + { + public const int SKILL_ID = 1050; + + public Skill1050() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1050Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 400435, 400440, 400445, 400450, 400455, 400460, 400465, 400470, 400475, 400480 }; + private static readonly int[] RequiredSpArray = { 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000, 53200, 88000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(85 +(skill.GetLevel() - 1) * 3); + skill.GetPlayer().SetDecelfap(780 + 99 *(skill.GetLevel() - 1)); + skill.SetGolddamage((0.5f *(125 +(skill.GetLevel() - 1) * 22 + skill.GetT1() * 3)) * 6.7f); + skill.SetDamage((0.5f *(125 +(skill.GetLevel() - 1) * 22 + skill.GetT0() * 3)) * 6.7f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1050Stub() : base(1050) + { + cls = 258; + name = "空裂爪"; + nativename = "空裂爪"; + icon = "空裂爪"; + max_level = 10; + type = 1; + apcost = 780099; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0x02; + clslimit = 0x08; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空裂爪"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/小精灵抓痕.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/小精灵抓痕.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)9; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.4f, 0.4f, 0.4f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1050Stub() { } + + public override float GetMpcost(Skill skill) => (float)(85 +(skill.GetLevel() - 1) * 3); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetDecdefence2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetLevel () * skill.GetT0 () * 1); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 26f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1050.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1050.cs.meta new file mode 100644 index 0000000000..5d06a56261 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1050.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 132fb0074ec79492b95ef3120232bd1b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1051.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1051.cs new file mode 100644 index 0000000000..2b21b3cb1c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1051.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1051 : Skill + { + public const int SKILL_ID = 1051; + + public Skill1051() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1051Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 5020, 5025, 5030, 5035, 5040, 5045, 5050, 5055, 5060, 5065 }; + private static readonly int[] RequiredSpArray = { 1040, 1680, 2560, 3720, 5260, 7300, 10000, 13620, 18480, 25000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(55 +(skill.GetLevel() - 1) * 4); + skill.GetPlayer().SetDecelfap(92 + 66 *(skill.GetLevel() - 1)); + skill.SetDamage((30 +(skill.GetLevel() - 1) * 20 + skill.GetT0()) * 3.7f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1051Stub() : base(1051) + { + cls = 258; + name = "寂灭"; + nativename = "寂灭"; + icon = "寂灭"; + max_level = 10; + type = 1; + apcost = 92066; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0x50; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "寂灭"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/寂灭击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1051Stub() { } + + public override float GetMpcost(Skill skill) => (float)(55 +(skill.GetLevel() - 1) * 4); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50 + 5 * skill.GetLevel ()); + skill.GetVictim ().SetTime (3000 + skill.GetT1 () * 25); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1051.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1051.cs.meta new file mode 100644 index 0000000000..99d51008e4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1051.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 00556ecd0cf6a4182b2408a469c1e268 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1052.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1052.cs new file mode 100644 index 0000000000..498a11561f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1052.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1052 : Skill + { + public const int SKILL_ID = 1052; + + public Skill1052() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1052Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 531011, 531011, 531011, 531011, 531011, 531011, 531011, 531011, 531011, 531011 }; + private static readonly int[] RequiredSpArray = { 420, 820, 1400, 2180, 3220, 4600, 6400, 8820, 12040, 16360 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(70); + skill.GetPlayer().SetDecelfap(800); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1052Stub() : base(1052) + { + cls = 258; + name = "倍返"; + nativename = "倍返"; + icon = "倍返"; + max_level = 10; + type = 2; + apcost = 800000; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + clslimit = 0x11; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "倍返"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/故土_4.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1052Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (2000 + skill.GetT0 () * 42); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (10000 * skill.GetLevel ()); + skill.GetVictim ().SetRetortmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1052.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1052.cs.meta new file mode 100644 index 0000000000..bf8bb17c35 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1052.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6a033199021c54d098db618352247de8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1084.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1084.cs new file mode 100644 index 0000000000..d9ed6526ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1084.cs @@ -0,0 +1,146 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1084 : Skill + { + public const int SKILL_ID = 1084; + + public Skill1084() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1084Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 4005041, 4005046, 4005051, 4005056, 4005061, 4005066, 4005071, 4005076, 4005081, 4005086 }; + private static readonly int[] RequiredSpArray = { 5620, 7780, 10640, 14480, 19660, 26600, 36200, 59000, 96800, 154600 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecelfmp(108); + skill.GetPlayer().SetDecelfap(800); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1084Stub() : base(1084) + { + cls = 258; + name = "平衡"; + nativename = "平衡"; + icon = "平衡"; + max_level = 10; + type = 2; + apcost = 800000; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + clslimit = 0x01; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "平衡"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1084Stub() { } + + public override float GetMpcost(Skill skill) => 108f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * + (skill.GetPlayer ().GetEarthresist () + skill.GetPlayer ().GetFireresist () + + skill.GetPlayer ().GetWaterresist () + skill.GetPlayer ().GetWoodresist () + + skill.GetPlayer ().GetGoldresist ()) * 0.2f > skill.GetPlayer ().GetDefense ()? 100 : 0); + skill.GetVictim ().SetTime (6000 + skill.GetT0 () * 62.5f); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim (). + SetAmount ((skill.GetPlayer ().GetEarthresist () + skill.GetPlayer ().GetFireresist () + skill.GetPlayer ().GetWaterresist () + + skill.GetPlayer ().GetWoodresist () + skill.GetPlayer ().GetGoldresist () - + 5 * skill.GetPlayer ().GetDefense ()) * 0.2f * 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAbsorbphysicdamage (1); + skill.GetVictim ().SetProbability (1.0f * + (skill.GetPlayer ().GetEarthresist () + skill.GetPlayer ().GetFireresist () + + skill.GetPlayer ().GetWaterresist () + skill.GetPlayer ().GetWoodresist () + + skill.GetPlayer ().GetGoldresist ()) * 0.2f > skill.GetPlayer ().GetDefense ()? 0 : 100); + skill.GetVictim ().SetTime (6000 + skill.GetT0 () * 62.5f); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim (). + SetAmount ((5 * skill.GetPlayer ().GetDefense () - skill.GetPlayer ().GetEarthresist () - skill.GetPlayer ().GetFireresist () - + skill.GetPlayer ().GetWaterresist () - skill.GetPlayer ().GetWoodresist () - + skill.GetPlayer ().GetGoldresist ()) * 0.2f * 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAbsorbmagicdamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetElfstr (); + public float GetTalent1(PlayerWrapper player) => player.GetElfagi (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1084.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1084.cs.meta new file mode 100644 index 0000000000..d31b4a0d59 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs12/skill1084.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3678e868e963348539da2a72e392e83d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2.meta new file mode 100644 index 0000000000..7335ede455 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 38c1df2e2250e4037be7bffb5fbd4f26 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/SkillStubs2.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/SkillStubs2.cs new file mode 100644 index 0000000000..853c8c6c7b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/SkillStubs2.cs @@ -0,0 +1,525 @@ +using BrewMonster.Scripts.Skills; +using UnityEngine; + +namespace BrewMonster +{ + public static partial class SkillStubs + { + // Skill stub declarations + public static Skill12Stub __stub_Skill12Stub = new Skill12Stub(); + public static Skill13Stub __stub_Skill13Stub = new Skill13Stub(); + public static Skill14Stub __stub_Skill14Stub = new Skill14Stub(); + public static Skill82Stub __stub_Skill82Stub = new Skill82Stub(); + public static Skill83Stub __stub_Skill83Stub = new Skill83Stub(); + public static Skill102Stub __stub_Skill102Stub = new Skill102Stub(); + public static Skill103Stub __stub_Skill103Stub = new Skill103Stub(); + public static Skill104Stub __stub_Skill104Stub = new Skill104Stub(); + public static Skill105Stub __stub_Skill105Stub = new Skill105Stub(); + public static Skill106Stub __stub_Skill106Stub = new Skill106Stub(); + public static Skill107Stub __stub_Skill107Stub = new Skill107Stub(); + public static Skill108Stub __stub_Skill108Stub = new Skill108Stub(); + public static Skill109Stub __stub_Skill109Stub = new Skill109Stub(); + public static Skill110Stub __stub_Skill110Stub = new Skill110Stub(); + public static Skill111Stub __stub_Skill111Stub = new Skill111Stub(); + public static Skill112Stub __stub_Skill112Stub = new Skill112Stub(); + public static Skill149Stub __stub_Skill149Stub = new Skill149Stub(); + public static Skill150Stub __stub_Skill150Stub = new Skill150Stub(); + public static Skill151Stub __stub_Skill151Stub = new Skill151Stub(); + public static Skill152Stub __stub_Skill152Stub = new Skill152Stub(); + public static Skill153Stub __stub_Skill153Stub = new Skill153Stub(); + public static Skill154Stub __stub_Skill154Stub = new Skill154Stub(); + public static Skill155Stub __stub_Skill155Stub = new Skill155Stub(); + public static Skill156Stub __stub_Skill156Stub = new Skill156Stub(); + public static Skill162Stub __stub_Skill162Stub = new Skill162Stub(); + public static Skill185Stub __stub_Skill185Stub = new Skill185Stub(); + public static Skill186Stub __stub_Skill186Stub = new Skill186Stub(); + public static Skill299Stub __stub_Skill299Stub = new Skill299Stub(); + public static Skill300Stub __stub_Skill300Stub = new Skill300Stub(); + public static Skill301Stub __stub_Skill301Stub = new Skill301Stub(); + public static Skill302Stub __stub_Skill302Stub = new Skill302Stub(); + public static Skill303Stub __stub_Skill303Stub = new Skill303Stub(); + public static Skill304Stub __stub_Skill304Stub = new Skill304Stub(); + public static Skill305Stub __stub_Skill305Stub = new Skill305Stub(); + public static Skill306Stub __stub_Skill306Stub = new Skill306Stub(); + public static Skill307Stub __stub_Skill307Stub = new Skill307Stub(); + public static Skill308Stub __stub_Skill308Stub = new Skill308Stub(); + public static Skill309Stub __stub_Skill309Stub = new Skill309Stub(); + public static Skill310Stub __stub_Skill310Stub = new Skill310Stub(); + public static Skill311Stub __stub_Skill311Stub = new Skill311Stub(); + public static Skill312Stub __stub_Skill312Stub = new Skill312Stub(); + public static Skill313Stub __stub_Skill313Stub = new Skill313Stub(); + public static Skill314Stub __stub_Skill314Stub = new Skill314Stub(); + public static Skill315Stub __stub_Skill315Stub = new Skill315Stub(); + public static Skill316Stub __stub_Skill316Stub = new Skill316Stub(); + public static Skill317Stub __stub_Skill317Stub = new Skill317Stub(); + public static Skill318Stub __stub_Skill318Stub = new Skill318Stub(); + public static Skill319Stub __stub_Skill319Stub = new Skill319Stub(); + public static Skill320Stub __stub_Skill320Stub = new Skill320Stub(); + public static Skill321Stub __stub_Skill321Stub = new Skill321Stub(); + public static Skill322Stub __stub_Skill322Stub = new Skill322Stub(); + public static Skill323Stub __stub_Skill323Stub = new Skill323Stub(); + public static Skill324Stub __stub_Skill324Stub = new Skill324Stub(); + public static Skill325Stub __stub_Skill325Stub = new Skill325Stub(); + public static Skill326Stub __stub_Skill326Stub = new Skill326Stub(); + public static Skill327Stub __stub_Skill327Stub = new Skill327Stub(); + public static Skill328Stub __stub_Skill328Stub = new Skill328Stub(); + public static Skill329Stub __stub_Skill329Stub = new Skill329Stub(); + public static Skill330Stub __stub_Skill330Stub = new Skill330Stub(); + public static Skill368Stub __stub_Skill368Stub = new Skill368Stub(); + public static Skill369Stub __stub_Skill369Stub = new Skill369Stub(); + public static Skill634Stub __stub_Skill634Stub = new Skill634Stub(); + public static Skill635Stub __stub_Skill635Stub = new Skill635Stub(); + public static Skill636Stub __stub_Skill636Stub = new Skill636Stub(); + public static Skill637Stub __stub_Skill637Stub = new Skill637Stub(); + public static Skill638Stub __stub_Skill638Stub = new Skill638Stub(); + public static Skill639Stub __stub_Skill639Stub = new Skill639Stub(); + public static Skill640Stub __stub_Skill640Stub = new Skill640Stub(); + public static Skill641Stub __stub_Skill641Stub = new Skill641Stub(); + public static Skill642Stub __stub_Skill642Stub = new Skill642Stub(); + public static Skill643Stub __stub_Skill643Stub = new Skill643Stub(); + public static Skill644Stub __stub_Skill644Stub = new Skill644Stub(); + public static Skill645Stub __stub_Skill645Stub = new Skill645Stub(); + public static Skill646Stub __stub_Skill646Stub = new Skill646Stub(); + public static Skill647Stub __stub_Skill647Stub = new Skill647Stub(); + public static Skill648Stub __stub_Skill648Stub = new Skill648Stub(); + public static Skill649Stub __stub_Skill649Stub = new Skill649Stub(); + public static Skill650Stub __stub_Skill650Stub = new Skill650Stub(); + public static Skill651Stub __stub_Skill651Stub = new Skill651Stub(); + public static Skill652Stub __stub_Skill652Stub = new Skill652Stub(); + public static Skill653Stub __stub_Skill653Stub = new Skill653Stub(); + public static Skill654Stub __stub_Skill654Stub = new Skill654Stub(); + public static Skill655Stub __stub_Skill655Stub = new Skill655Stub(); + public static Skill656Stub __stub_Skill656Stub = new Skill656Stub(); + public static Skill657Stub __stub_Skill657Stub = new Skill657Stub(); + public static Skill658Stub __stub_Skill658Stub = new Skill658Stub(); + public static Skill659Stub __stub_Skill659Stub = new Skill659Stub(); + public static Skill660Stub __stub_Skill660Stub = new Skill660Stub(); + public static Skill661Stub __stub_Skill661Stub = new Skill661Stub(); + public static Skill662Stub __stub_Skill662Stub = new Skill662Stub(); + public static Skill663Stub __stub_Skill663Stub = new Skill663Stub(); + public static Skill664Stub __stub_Skill664Stub = new Skill664Stub(); + public static Skill665Stub __stub_Skill665Stub = new Skill665Stub(); + public static Skill666Stub __stub_Skill666Stub = new Skill666Stub(); + public static Skill667Stub __stub_Skill667Stub = new Skill667Stub(); + public static Skill668Stub __stub_Skill668Stub = new Skill668Stub(); + public static Skill669Stub __stub_Skill669Stub = new Skill669Stub(); + public static Skill670Stub __stub_Skill670Stub = new Skill670Stub(); + public static Skill671Stub __stub_Skill671Stub = new Skill671Stub(); + public static Skill672Stub __stub_Skill672Stub = new Skill672Stub(); + public static Skill673Stub __stub_Skill673Stub = new Skill673Stub(); + public static Skill674Stub __stub_Skill674Stub = new Skill674Stub(); + public static Skill675Stub __stub_Skill675Stub = new Skill675Stub(); + public static Skill676Stub __stub_Skill676Stub = new Skill676Stub(); + public static Skill677Stub __stub_Skill677Stub = new Skill677Stub(); + public static Skill678Stub __stub_Skill678Stub = new Skill678Stub(); + public static Skill679Stub __stub_Skill679Stub = new Skill679Stub(); + public static Skill680Stub __stub_Skill680Stub = new Skill680Stub(); + public static Skill681Stub __stub_Skill681Stub = new Skill681Stub(); + public static Skill762Stub __stub_Skill762Stub = new Skill762Stub(); + public static Skill763Stub __stub_Skill763Stub = new Skill763Stub(); + public static Skill764Stub __stub_Skill764Stub = new Skill764Stub(); + public static Skill910Stub __stub_Skill910Stub = new Skill910Stub(); + public static Skill911Stub __stub_Skill911Stub = new Skill911Stub(); + public static Skill912Stub __stub_Skill912Stub = new Skill912Stub(); + public static Skill913Stub __stub_Skill913Stub = new Skill913Stub(); + public static Skill914Stub __stub_Skill914Stub = new Skill914Stub(); + public static Skill927Stub __stub_Skill927Stub = new Skill927Stub(); + public static Skill928Stub __stub_Skill928Stub = new Skill928Stub(); + public static Skill1100Stub __stub_Skill1100Stub = new Skill1100Stub(); + public static Skill1101Stub __stub_Skill1101Stub = new Skill1101Stub(); + public static Skill1102Stub __stub_Skill1102Stub = new Skill1102Stub(); + public static Skill1103Stub __stub_Skill1103Stub = new Skill1103Stub(); + public static Skill1104Stub __stub_Skill1104Stub = new Skill1104Stub(); + public static Skill1105Stub __stub_Skill1105Stub = new Skill1105Stub(); + public static Skill1106Stub __stub_Skill1106Stub = new Skill1106Stub(); + public static Skill1107Stub __stub_Skill1107Stub = new Skill1107Stub(); + public static Skill1108Stub __stub_Skill1108Stub = new Skill1108Stub(); + public static Skill1109Stub __stub_Skill1109Stub = new Skill1109Stub(); + public static Skill1125Stub __stub_Skill1125Stub = new Skill1125Stub(); + public static Skill1126Stub __stub_Skill1126Stub = new Skill1126Stub(); + public static Skill1127Stub __stub_Skill1127Stub = new Skill1127Stub(); + public static Skill1128Stub __stub_Skill1128Stub = new Skill1128Stub(); + public static Skill1129Stub __stub_Skill1129Stub = new Skill1129Stub(); + public static Skill1130Stub __stub_Skill1130Stub = new Skill1130Stub(); + public static Skill1131Stub __stub_Skill1131Stub = new Skill1131Stub(); + public static Skill1132Stub __stub_Skill1132Stub = new Skill1132Stub(); + public static Skill1133Stub __stub_Skill1133Stub = new Skill1133Stub(); + public static Skill1134Stub __stub_Skill1134Stub = new Skill1134Stub(); + public static Skill1135Stub __stub_Skill1135Stub = new Skill1135Stub(); + public static Skill1136Stub __stub_Skill1136Stub = new Skill1136Stub(); + public static Skill1137Stub __stub_Skill1137Stub = new Skill1137Stub(); + public static Skill1139Stub __stub_Skill1139Stub = new Skill1139Stub(); + public static Skill1140Stub __stub_Skill1140Stub = new Skill1140Stub(); + public static Skill1141Stub __stub_Skill1141Stub = new Skill1141Stub(); + public static Skill1146Stub __stub_Skill1146Stub = new Skill1146Stub(); + public static Skill1147Stub __stub_Skill1147Stub = new Skill1147Stub(); + public static Skill1149Stub __stub_Skill1149Stub = new Skill1149Stub(); + public static Skill1150Stub __stub_Skill1150Stub = new Skill1150Stub(); + public static Skill1151Stub __stub_Skill1151Stub = new Skill1151Stub(); + public static Skill1152Stub __stub_Skill1152Stub = new Skill1152Stub(); + public static Skill1153Stub __stub_Skill1153Stub = new Skill1153Stub(); + public static Skill1184Stub __stub_Skill1184Stub = new Skill1184Stub(); + public static Skill1185Stub __stub_Skill1185Stub = new Skill1185Stub(); + public static Skill1186Stub __stub_Skill1186Stub = new Skill1186Stub(); + public static Skill1187Stub __stub_Skill1187Stub = new Skill1187Stub(); + public static Skill1198Stub __stub_Skill1198Stub = new Skill1198Stub(); + public static Skill1199Stub __stub_Skill1199Stub = new Skill1199Stub(); + public static Skill1204Stub __stub_Skill1204Stub = new Skill1204Stub(); + public static Skill1205Stub __stub_Skill1205Stub = new Skill1205Stub(); + public static Skill1206Stub __stub_Skill1206Stub = new Skill1206Stub(); + public static Skill1207Stub __stub_Skill1207Stub = new Skill1207Stub(); + public static Skill1208Stub __stub_Skill1208Stub = new Skill1208Stub(); + public static Skill1209Stub __stub_Skill1209Stub = new Skill1209Stub(); + public static Skill1210Stub __stub_Skill1210Stub = new Skill1210Stub(); + public static Skill1211Stub __stub_Skill1211Stub = new Skill1211Stub(); + public static Skill1212Stub __stub_Skill1212Stub = new Skill1212Stub(); + public static Skill1213Stub __stub_Skill1213Stub = new Skill1213Stub(); + public static Skill1214Stub __stub_Skill1214Stub = new Skill1214Stub(); + public static Skill1215Stub __stub_Skill1215Stub = new Skill1215Stub(); + public static Skill1216Stub __stub_Skill1216Stub = new Skill1216Stub(); + public static Skill1217Stub __stub_Skill1217Stub = new Skill1217Stub(); + public static Skill1218Stub __stub_Skill1218Stub = new Skill1218Stub(); + public static Skill1219Stub __stub_Skill1219Stub = new Skill1219Stub(); + public static Skill1220Stub __stub_Skill1220Stub = new Skill1220Stub(); + public static Skill1221Stub __stub_Skill1221Stub = new Skill1221Stub(); + public static Skill1222Stub __stub_Skill1222Stub = new Skill1222Stub(); + public static Skill1223Stub __stub_Skill1223Stub = new Skill1223Stub(); + public static Skill1224Stub __stub_Skill1224Stub = new Skill1224Stub(); + public static Skill1225Stub __stub_Skill1225Stub = new Skill1225Stub(); + public static Skill1226Stub __stub_Skill1226Stub = new Skill1226Stub(); + public static Skill1227Stub __stub_Skill1227Stub = new Skill1227Stub(); + public static Skill1228Stub __stub_Skill1228Stub = new Skill1228Stub(); + public static Skill1229Stub __stub_Skill1229Stub = new Skill1229Stub(); + public static Skill1230Stub __stub_Skill1230Stub = new Skill1230Stub(); + public static Skill1231Stub __stub_Skill1231Stub = new Skill1231Stub(); + public static Skill1232Stub __stub_Skill1232Stub = new Skill1232Stub(); + public static Skill1233Stub __stub_Skill1233Stub = new Skill1233Stub(); + public static Skill1234Stub __stub_Skill1234Stub = new Skill1234Stub(); + public static Skill1235Stub __stub_Skill1235Stub = new Skill1235Stub(); + public static Skill1236Stub __stub_Skill1236Stub = new Skill1236Stub(); + public static Skill1237Stub __stub_Skill1237Stub = new Skill1237Stub(); + public static Skill1238Stub __stub_Skill1238Stub = new Skill1238Stub(); + public static Skill1239Stub __stub_Skill1239Stub = new Skill1239Stub(); + public static Skill1240Stub __stub_Skill1240Stub = new Skill1240Stub(); + public static Skill1241Stub __stub_Skill1241Stub = new Skill1241Stub(); + public static Skill1242Stub __stub_Skill1242Stub = new Skill1242Stub(); + public static Skill1243Stub __stub_Skill1243Stub = new Skill1243Stub(); + public static Skill1244Stub __stub_Skill1244Stub = new Skill1244Stub(); + public static Skill1245Stub __stub_Skill1245Stub = new Skill1245Stub(); + public static Skill1246Stub __stub_Skill1246Stub = new Skill1246Stub(); + public static Skill1247Stub __stub_Skill1247Stub = new Skill1247Stub(); + public static Skill1248Stub __stub_Skill1248Stub = new Skill1248Stub(); + public static Skill1249Stub __stub_Skill1249Stub = new Skill1249Stub(); + public static Skill1250Stub __stub_Skill1250Stub = new Skill1250Stub(); + public static Skill1251Stub __stub_Skill1251Stub = new Skill1251Stub(); + public static Skill1252Stub __stub_Skill1252Stub = new Skill1252Stub(); + public static Skill1253Stub __stub_Skill1253Stub = new Skill1253Stub(); + public static Skill1254Stub __stub_Skill1254Stub = new Skill1254Stub(); + public static Skill1255Stub __stub_Skill1255Stub = new Skill1255Stub(); + public static Skill1256Stub __stub_Skill1256Stub = new Skill1256Stub(); + public static Skill1257Stub __stub_Skill1257Stub = new Skill1257Stub(); + public static Skill1258Stub __stub_Skill1258Stub = new Skill1258Stub(); + public static Skill1259Stub __stub_Skill1259Stub = new Skill1259Stub(); + public static Skill1326Stub __stub_Skill1326Stub = new Skill1326Stub(); + public static Skill1327Stub __stub_Skill1327Stub = new Skill1327Stub(); + public static Skill1820Stub __stub_Skill1820Stub = new Skill1820Stub(); + public static Skill1821Stub __stub_Skill1821Stub = new Skill1821Stub(); + public static Skill1822Stub __stub_Skill1822Stub = new Skill1822Stub(); + public static Skill1823Stub __stub_Skill1823Stub = new Skill1823Stub(); + public static Skill1824Stub __stub_Skill1824Stub = new Skill1824Stub(); + public static Skill1825Stub __stub_Skill1825Stub = new Skill1825Stub(); + public static Skill1826Stub __stub_Skill1826Stub = new Skill1826Stub(); + public static Skill1827Stub __stub_Skill1827Stub = new Skill1827Stub(); + public static Skill1828Stub __stub_Skill1828Stub = new Skill1828Stub(); + public static Skill1829Stub __stub_Skill1829Stub = new Skill1829Stub(); + public static Skill1867Stub __stub_Skill1867Stub = new Skill1867Stub(); + public static Skill1875Stub __stub_Skill1875Stub = new Skill1875Stub(); + public static Skill1929Stub __stub_Skill1929Stub = new Skill1929Stub(); + public static Skill1930Stub __stub_Skill1930Stub = new Skill1930Stub(); + public static Skill1984Stub __stub_Skill1984Stub = new Skill1984Stub(); + public static Skill1985Stub __stub_Skill1985Stub = new Skill1985Stub(); + public static Skill1986Stub __stub_Skill1986Stub = new Skill1986Stub(); + public static Skill1987Stub __stub_Skill1987Stub = new Skill1987Stub(); + public static Skill2230Stub __stub_Skill2230Stub = new Skill2230Stub(); + public static Skill2231Stub __stub_Skill2231Stub = new Skill2231Stub(); + public static Skill2232Stub __stub_Skill2232Stub = new Skill2232Stub(); + public static Skill2233Stub __stub_Skill2233Stub = new Skill2233Stub(); + public static Skill2234Stub __stub_Skill2234Stub = new Skill2234Stub(); + public static Skill2235Stub __stub_Skill2235Stub = new Skill2235Stub(); + public static Skill2236Stub __stub_Skill2236Stub = new Skill2236Stub(); + public static Skill2237Stub __stub_Skill2237Stub = new Skill2237Stub(); + public static Skill2238Stub __stub_Skill2238Stub = new Skill2238Stub(); + public static Skill2239Stub __stub_Skill2239Stub = new Skill2239Stub(); + public static Skill2240Stub __stub_Skill2240Stub = new Skill2240Stub(); + public static Skill2241Stub __stub_Skill2241Stub = new Skill2241Stub(); + public static Skill2242Stub __stub_Skill2242Stub = new Skill2242Stub(); + public static Skill2243Stub __stub_Skill2243Stub = new Skill2243Stub(); + public static Skill2312Stub __stub_Skill2312Stub = new Skill2312Stub(); + public static Skill2416Stub __stub_Skill2416Stub = new Skill2416Stub(); + public static Skill2417Stub __stub_Skill2417Stub = new Skill2417Stub(); + public static Skill2434Stub __stub_Skill2434Stub = new Skill2434Stub(); + public static Skill2435Stub __stub_Skill2435Stub = new Skill2435Stub(); + public static Skill2436Stub __stub_Skill2436Stub = new Skill2436Stub(); + public static Skill2437Stub __stub_Skill2437Stub = new Skill2437Stub(); + public static Skill2546Stub __stub_Skill2546Stub = new Skill2546Stub(); + +#if SKILL_SERVER + public static Skill12 __stub_Skill12 = new Skill12(); + public static Skill13 __stub_Skill13 = new Skill13(); + public static Skill14 __stub_Skill14 = new Skill14(); + public static Skill82 __stub_Skill82 = new Skill82(); + public static Skill83 __stub_Skill83 = new Skill83(); + public static Skill102 __stub_Skill102 = new Skill102(); + public static Skill103 __stub_Skill103 = new Skill103(); + public static Skill104 __stub_Skill104 = new Skill104(); + public static Skill105 __stub_Skill105 = new Skill105(); + public static Skill106 __stub_Skill106 = new Skill106(); + public static Skill107 __stub_Skill107 = new Skill107(); + public static Skill108 __stub_Skill108 = new Skill108(); + public static Skill109 __stub_Skill109 = new Skill109(); + public static Skill110 __stub_Skill110 = new Skill110(); + public static Skill111 __stub_Skill111 = new Skill111(); + public static Skill112 __stub_Skill112 = new Skill112(); + public static Skill149 __stub_Skill149 = new Skill149(); + public static Skill150 __stub_Skill150 = new Skill150(); + public static Skill151 __stub_Skill151 = new Skill151(); + public static Skill152 __stub_Skill152 = new Skill152(); + public static Skill153 __stub_Skill153 = new Skill153(); + public static Skill154 __stub_Skill154 = new Skill154(); + public static Skill155 __stub_Skill155 = new Skill155(); + public static Skill156 __stub_Skill156 = new Skill156(); + public static Skill162 __stub_Skill162 = new Skill162(); + public static Skill185 __stub_Skill185 = new Skill185(); + public static Skill186 __stub_Skill186 = new Skill186(); + public static Skill299 __stub_Skill299 = new Skill299(); + public static Skill300 __stub_Skill300 = new Skill300(); + public static Skill301 __stub_Skill301 = new Skill301(); + public static Skill302 __stub_Skill302 = new Skill302(); + public static Skill303 __stub_Skill303 = new Skill303(); + public static Skill304 __stub_Skill304 = new Skill304(); + public static Skill305 __stub_Skill305 = new Skill305(); + public static Skill306 __stub_Skill306 = new Skill306(); + public static Skill307 __stub_Skill307 = new Skill307(); + public static Skill308 __stub_Skill308 = new Skill308(); + public static Skill309 __stub_Skill309 = new Skill309(); + public static Skill310 __stub_Skill310 = new Skill310(); + public static Skill311 __stub_Skill311 = new Skill311(); + public static Skill312 __stub_Skill312 = new Skill312(); + public static Skill313 __stub_Skill313 = new Skill313(); + public static Skill314 __stub_Skill314 = new Skill314(); + public static Skill315 __stub_Skill315 = new Skill315(); + public static Skill316 __stub_Skill316 = new Skill316(); + public static Skill317 __stub_Skill317 = new Skill317(); + public static Skill318 __stub_Skill318 = new Skill318(); + public static Skill319 __stub_Skill319 = new Skill319(); + public static Skill320 __stub_Skill320 = new Skill320(); + public static Skill321 __stub_Skill321 = new Skill321(); + public static Skill322 __stub_Skill322 = new Skill322(); + public static Skill323 __stub_Skill323 = new Skill323(); + public static Skill324 __stub_Skill324 = new Skill324(); + public static Skill325 __stub_Skill325 = new Skill325(); + public static Skill326 __stub_Skill326 = new Skill326(); + public static Skill327 __stub_Skill327 = new Skill327(); + public static Skill328 __stub_Skill328 = new Skill328(); + public static Skill329 __stub_Skill329 = new Skill329(); + public static Skill330 __stub_Skill330 = new Skill330(); + public static Skill368 __stub_Skill368 = new Skill368(); + public static Skill369 __stub_Skill369 = new Skill369(); + public static Skill634 __stub_Skill634 = new Skill634(); + public static Skill635 __stub_Skill635 = new Skill635(); + public static Skill636 __stub_Skill636 = new Skill636(); + public static Skill637 __stub_Skill637 = new Skill637(); + public static Skill638 __stub_Skill638 = new Skill638(); + public static Skill639 __stub_Skill639 = new Skill639(); + public static Skill640 __stub_Skill640 = new Skill640(); + public static Skill641 __stub_Skill641 = new Skill641(); + public static Skill642 __stub_Skill642 = new Skill642(); + public static Skill643 __stub_Skill643 = new Skill643(); + public static Skill644 __stub_Skill644 = new Skill644(); + public static Skill645 __stub_Skill645 = new Skill645(); + public static Skill646 __stub_Skill646 = new Skill646(); + public static Skill647 __stub_Skill647 = new Skill647(); + public static Skill648 __stub_Skill648 = new Skill648(); + public static Skill649 __stub_Skill649 = new Skill649(); + public static Skill650 __stub_Skill650 = new Skill650(); + public static Skill651 __stub_Skill651 = new Skill651(); + public static Skill652 __stub_Skill652 = new Skill652(); + public static Skill653 __stub_Skill653 = new Skill653(); + public static Skill654 __stub_Skill654 = new Skill654(); + public static Skill655 __stub_Skill655 = new Skill655(); + public static Skill656 __stub_Skill656 = new Skill656(); + public static Skill657 __stub_Skill657 = new Skill657(); + public static Skill658 __stub_Skill658 = new Skill658(); + public static Skill659 __stub_Skill659 = new Skill659(); + public static Skill660 __stub_Skill660 = new Skill660(); + public static Skill661 __stub_Skill661 = new Skill661(); + public static Skill662 __stub_Skill662 = new Skill662(); + public static Skill663 __stub_Skill663 = new Skill663(); + public static Skill664 __stub_Skill664 = new Skill664(); + public static Skill665 __stub_Skill665 = new Skill665(); + public static Skill666 __stub_Skill666 = new Skill666(); + public static Skill667 __stub_Skill667 = new Skill667(); + public static Skill668 __stub_Skill668 = new Skill668(); + public static Skill669 __stub_Skill669 = new Skill669(); + public static Skill670 __stub_Skill670 = new Skill670(); + public static Skill671 __stub_Skill671 = new Skill671(); + public static Skill672 __stub_Skill672 = new Skill672(); + public static Skill673 __stub_Skill673 = new Skill673(); + public static Skill674 __stub_Skill674 = new Skill674(); + public static Skill675 __stub_Skill675 = new Skill675(); + public static Skill676 __stub_Skill676 = new Skill676(); + public static Skill677 __stub_Skill677 = new Skill677(); + public static Skill678 __stub_Skill678 = new Skill678(); + public static Skill679 __stub_Skill679 = new Skill679(); + public static Skill680 __stub_Skill680 = new Skill680(); + public static Skill681 __stub_Skill681 = new Skill681(); + public static Skill762 __stub_Skill762 = new Skill762(); + public static Skill763 __stub_Skill763 = new Skill763(); + public static Skill764 __stub_Skill764 = new Skill764(); + public static Skill910 __stub_Skill910 = new Skill910(); + public static Skill911 __stub_Skill911 = new Skill911(); + public static Skill912 __stub_Skill912 = new Skill912(); + public static Skill913 __stub_Skill913 = new Skill913(); + public static Skill914 __stub_Skill914 = new Skill914(); + public static Skill927 __stub_Skill927 = new Skill927(); + public static Skill928 __stub_Skill928 = new Skill928(); + public static Skill1100 __stub_Skill1100 = new Skill1100(); + public static Skill1101 __stub_Skill1101 = new Skill1101(); + public static Skill1102 __stub_Skill1102 = new Skill1102(); + public static Skill1103 __stub_Skill1103 = new Skill1103(); + public static Skill1104 __stub_Skill1104 = new Skill1104(); + public static Skill1105 __stub_Skill1105 = new Skill1105(); + public static Skill1106 __stub_Skill1106 = new Skill1106(); + public static Skill1107 __stub_Skill1107 = new Skill1107(); + public static Skill1108 __stub_Skill1108 = new Skill1108(); + public static Skill1109 __stub_Skill1109 = new Skill1109(); + public static Skill1125 __stub_Skill1125 = new Skill1125(); + public static Skill1126 __stub_Skill1126 = new Skill1126(); + public static Skill1127 __stub_Skill1127 = new Skill1127(); + public static Skill1128 __stub_Skill1128 = new Skill1128(); + public static Skill1129 __stub_Skill1129 = new Skill1129(); + public static Skill1130 __stub_Skill1130 = new Skill1130(); + public static Skill1131 __stub_Skill1131 = new Skill1131(); + public static Skill1132 __stub_Skill1132 = new Skill1132(); + public static Skill1133 __stub_Skill1133 = new Skill1133(); + public static Skill1134 __stub_Skill1134 = new Skill1134(); + public static Skill1135 __stub_Skill1135 = new Skill1135(); + public static Skill1136 __stub_Skill1136 = new Skill1136(); + public static Skill1137 __stub_Skill1137 = new Skill1137(); + public static Skill1139 __stub_Skill1139 = new Skill1139(); + public static Skill1140 __stub_Skill1140 = new Skill1140(); + public static Skill1141 __stub_Skill1141 = new Skill1141(); + public static Skill1146 __stub_Skill1146 = new Skill1146(); + public static Skill1147 __stub_Skill1147 = new Skill1147(); + public static Skill1149 __stub_Skill1149 = new Skill1149(); + public static Skill1150 __stub_Skill1150 = new Skill1150(); + public static Skill1151 __stub_Skill1151 = new Skill1151(); + public static Skill1152 __stub_Skill1152 = new Skill1152(); + public static Skill1153 __stub_Skill1153 = new Skill1153(); + public static Skill1184 __stub_Skill1184 = new Skill1184(); + public static Skill1185 __stub_Skill1185 = new Skill1185(); + public static Skill1186 __stub_Skill1186 = new Skill1186(); + public static Skill1187 __stub_Skill1187 = new Skill1187(); + public static Skill1198 __stub_Skill1198 = new Skill1198(); + public static Skill1199 __stub_Skill1199 = new Skill1199(); + public static Skill1204 __stub_Skill1204 = new Skill1204(); + public static Skill1205 __stub_Skill1205 = new Skill1205(); + public static Skill1206 __stub_Skill1206 = new Skill1206(); + public static Skill1207 __stub_Skill1207 = new Skill1207(); + public static Skill1208 __stub_Skill1208 = new Skill1208(); + public static Skill1209 __stub_Skill1209 = new Skill1209(); + public static Skill1210 __stub_Skill1210 = new Skill1210(); + public static Skill1211 __stub_Skill1211 = new Skill1211(); + public static Skill1212 __stub_Skill1212 = new Skill1212(); + public static Skill1213 __stub_Skill1213 = new Skill1213(); + public static Skill1214 __stub_Skill1214 = new Skill1214(); + public static Skill1215 __stub_Skill1215 = new Skill1215(); + public static Skill1216 __stub_Skill1216 = new Skill1216(); + public static Skill1217 __stub_Skill1217 = new Skill1217(); + public static Skill1218 __stub_Skill1218 = new Skill1218(); + public static Skill1219 __stub_Skill1219 = new Skill1219(); + public static Skill1220 __stub_Skill1220 = new Skill1220(); + public static Skill1221 __stub_Skill1221 = new Skill1221(); + public static Skill1222 __stub_Skill1222 = new Skill1222(); + public static Skill1223 __stub_Skill1223 = new Skill1223(); + public static Skill1224 __stub_Skill1224 = new Skill1224(); + public static Skill1225 __stub_Skill1225 = new Skill1225(); + public static Skill1226 __stub_Skill1226 = new Skill1226(); + public static Skill1227 __stub_Skill1227 = new Skill1227(); + public static Skill1228 __stub_Skill1228 = new Skill1228(); + public static Skill1229 __stub_Skill1229 = new Skill1229(); + public static Skill1230 __stub_Skill1230 = new Skill1230(); + public static Skill1231 __stub_Skill1231 = new Skill1231(); + public static Skill1232 __stub_Skill1232 = new Skill1232(); + public static Skill1233 __stub_Skill1233 = new Skill1233(); + public static Skill1234 __stub_Skill1234 = new Skill1234(); + public static Skill1235 __stub_Skill1235 = new Skill1235(); + public static Skill1236 __stub_Skill1236 = new Skill1236(); + public static Skill1237 __stub_Skill1237 = new Skill1237(); + public static Skill1238 __stub_Skill1238 = new Skill1238(); + public static Skill1239 __stub_Skill1239 = new Skill1239(); + public static Skill1240 __stub_Skill1240 = new Skill1240(); + public static Skill1241 __stub_Skill1241 = new Skill1241(); + public static Skill1242 __stub_Skill1242 = new Skill1242(); + public static Skill1243 __stub_Skill1243 = new Skill1243(); + public static Skill1244 __stub_Skill1244 = new Skill1244(); + public static Skill1245 __stub_Skill1245 = new Skill1245(); + public static Skill1246 __stub_Skill1246 = new Skill1246(); + public static Skill1247 __stub_Skill1247 = new Skill1247(); + public static Skill1248 __stub_Skill1248 = new Skill1248(); + public static Skill1249 __stub_Skill1249 = new Skill1249(); + public static Skill1250 __stub_Skill1250 = new Skill1250(); + public static Skill1251 __stub_Skill1251 = new Skill1251(); + public static Skill1252 __stub_Skill1252 = new Skill1252(); + public static Skill1253 __stub_Skill1253 = new Skill1253(); + public static Skill1254 __stub_Skill1254 = new Skill1254(); + public static Skill1255 __stub_Skill1255 = new Skill1255(); + public static Skill1256 __stub_Skill1256 = new Skill1256(); + public static Skill1257 __stub_Skill1257 = new Skill1257(); + public static Skill1258 __stub_Skill1258 = new Skill1258(); + public static Skill1259 __stub_Skill1259 = new Skill1259(); + public static Skill1326 __stub_Skill1326 = new Skill1326(); + public static Skill1327 __stub_Skill1327 = new Skill1327(); + public static Skill1820 __stub_Skill1820 = new Skill1820(); + public static Skill1821 __stub_Skill1821 = new Skill1821(); + public static Skill1822 __stub_Skill1822 = new Skill1822(); + public static Skill1823 __stub_Skill1823 = new Skill1823(); + public static Skill1824 __stub_Skill1824 = new Skill1824(); + public static Skill1825 __stub_Skill1825 = new Skill1825(); + public static Skill1826 __stub_Skill1826 = new Skill1826(); + public static Skill1827 __stub_Skill1827 = new Skill1827(); + public static Skill1828 __stub_Skill1828 = new Skill1828(); + public static Skill1829 __stub_Skill1829 = new Skill1829(); + public static Skill1867 __stub_Skill1867 = new Skill1867(); + public static Skill1875 __stub_Skill1875 = new Skill1875(); + public static Skill1929 __stub_Skill1929 = new Skill1929(); + public static Skill1930 __stub_Skill1930 = new Skill1930(); + public static Skill1984 __stub_Skill1984 = new Skill1984(); + public static Skill1985 __stub_Skill1985 = new Skill1985(); + public static Skill1986 __stub_Skill1986 = new Skill1986(); + public static Skill1987 __stub_Skill1987 = new Skill1987(); + public static Skill2230 __stub_Skill2230 = new Skill2230(); + public static Skill2231 __stub_Skill2231 = new Skill2231(); + public static Skill2232 __stub_Skill2232 = new Skill2232(); + public static Skill2233 __stub_Skill2233 = new Skill2233(); + public static Skill2234 __stub_Skill2234 = new Skill2234(); + public static Skill2235 __stub_Skill2235 = new Skill2235(); + public static Skill2236 __stub_Skill2236 = new Skill2236(); + public static Skill2237 __stub_Skill2237 = new Skill2237(); + public static Skill2238 __stub_Skill2238 = new Skill2238(); + public static Skill2239 __stub_Skill2239 = new Skill2239(); + public static Skill2240 __stub_Skill2240 = new Skill2240(); + public static Skill2241 __stub_Skill2241 = new Skill2241(); + public static Skill2242 __stub_Skill2242 = new Skill2242(); + public static Skill2243 __stub_Skill2243 = new Skill2243(); + public static Skill2312 __stub_Skill2312 = new Skill2312(); + public static Skill2416 __stub_Skill2416 = new Skill2416(); + public static Skill2417 __stub_Skill2417 = new Skill2417(); + public static Skill2434 __stub_Skill2434 = new Skill2434(); + public static Skill2435 __stub_Skill2435 = new Skill2435(); + public static Skill2436 __stub_Skill2436 = new Skill2436(); + public static Skill2437 __stub_Skill2437 = new Skill2437(); + public static Skill2546 __stub_Skill2546 = new Skill2546(); +#endif + } +} diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/SkillStubs2.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/SkillStubs2.cs.meta new file mode 100644 index 0000000000..8310c890be --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/SkillStubs2.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cb9f531da448e4a66a1e65cb007931f3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill102.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill102.cs new file mode 100644 index 0000000000..e9790b379b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill102.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill102 : Skill + { + public const int SKILL_ID = 102; + + public Skill102() : base(SKILL_ID) + { + } + } +#endif + + public class Skill102Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-3 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-3 + 5 * skill.GetLevel())); + skill.SetPlus(1.4f * skill.GetLevel() * skill.GetLevel() + 52.3f * skill.GetLevel() + 64.2f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill102Stub() : base(102) + { + cls = 4; + name = "兽王锤"; + nativename = "兽王锤"; + icon = "兽王锤"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1501; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "兽王锤"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill102Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-3 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 11.7f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.2f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill102.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill102.cs.meta new file mode 100644 index 0000000000..2b29248f1e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill102.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 595d3fc8588fb405fbdf3d253a1f134f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill103.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill103.cs new file mode 100644 index 0000000000..ec950c8090 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill103.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill103 : Skill + { + public const int SKILL_ID = 103; + + public Skill103() : base(SKILL_ID) + { + } + } +#endif + + public class Skill103Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9 }; + private static readonly int[] RequiredSpArray = { 800 }; + private static readonly int[] RequiredMoneyArray = { 110 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(8 + 0.5f * skill.GetLevel() * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(8 + 0.5f * skill.GetLevel() * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill103Stub() : base(103) + { + cls = 4; + name = "水性精通"; + nativename = "水性精通"; + icon = "水性精通"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 1; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1525; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "绞杀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/绞杀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill103Stub() { } + + public override float GetMpcost(Skill skill) => (float)(8 + 0.5 * skill.GetLevel() * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 5; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncswim (0.5f); + return true; + } + public float GetEffectdistance(Skill skill) => 8.5f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1.2f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill103.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill103.cs.meta new file mode 100644 index 0000000000..66850820aa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill103.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 89dc4b6b63197454f8ccdbfa7742da63 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill104.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill104.cs new file mode 100644 index 0000000000..b9b0fa238b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill104.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill104 : Skill + { + public const int SKILL_ID = 104; + + public Skill104() : base(SKILL_ID) + { + } + } +#endif + + public class Skill104Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 16, 21, 26, 31, 36, 41, 46, 51, 56, 61 }; + private static readonly int[] RequiredSpArray = { 3200, 5800, 9200, 13900, 20000, 28100, 38900, 53200, 72400, 98300 }; + private static readonly int[] RequiredMoneyArray = { 320, 530, 820, 1270, 1720, 2180, 2680, 3180, 3680, 6980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(16.5f + 7.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(16.5f + 7.5f * skill.GetLevel())); + skill.SetPlus(2.1f * skill.GetLevel() * skill.GetLevel() + 80.8f * skill.GetLevel() + 253.8f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill104Stub() : base(104) + { + cls = 4; + name = "千斤锤"; + nativename = "千斤锤"; + icon = "千斤锤"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 7; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1504; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "千斤锤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/千金锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(195, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill104Stub() { } + + public override float GetMpcost(Skill skill) => (float)(16.5 + 7.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20 + 3 * skill.GetLevel ()); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.2f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill104.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill104.cs.meta new file mode 100644 index 0000000000..0243604f70 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill104.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f5506fb95c5b34e5d8c4dc1f17b23e24 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill105.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill105.cs new file mode 100644 index 0000000000..13c4582913 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill105.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill105 : Skill + { + public const int SKILL_ID = 105; + + public Skill105() : base(SKILL_ID) + { + } + } +#endif + + public class Skill105Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(26.4f + 5.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(26.4f + 5.5f * skill.GetLevel())); + skill.SetPlus(0); + skill.SetRatio(1 + 0.1f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill105Stub() : base(105) + { + cls = 4; + name = "风火轮"; + nativename = "风火轮"; + icon = "风火轮"; + max_level = 10; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1506; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "风火轮"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/风火轮击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(12, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill105Stub() { } + + public override float GetMpcost(Skill skill) => (float)(26.4 + 5.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 3.5f; + public float GetAttackdistance(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 300 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (4.4f * skill.GetLevel () * skill.GetLevel () + 161.3f * skill.GetLevel () + 725); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8f; + public int GetAttackspeed(Skill skill) => 15; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill105.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill105.cs.meta new file mode 100644 index 0000000000..806a1e3114 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill105.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 398fe04fe32c74ca896aaac53885b882 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill106.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill106.cs new file mode 100644 index 0000000000..04e48df670 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill106.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill106 : Skill + { + public const int SKILL_ID = 106; + + public Skill106() : base(SKILL_ID) + { + } + } +#endif + + public class Skill106Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 23, 28, 33, 38, 43, 48, 53, 58, 63, 68 }; + private static readonly int[] RequiredSpArray = { 7000, 10900, 16100, 23000, 32000, 44100, 60200, 81800, 111000, 151000 }; + private static readonly int[] RequiredMoneyArray = { 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880, 10980, 41980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(21.6f + 6 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(21.6f + 6 * skill.GetLevel())); + skill.SetPlus(2.7f * skill.GetLevel() * skill.GetLevel() + 107.1f * skill.GetLevel() + 428.5f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill106Stub() : base(106) + { + cls = 4; + name = "破甲一击"; + nativename = "破甲一击"; + icon = "破甲一击"; + max_level = 10; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1505; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "破甲一击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/破甲一击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(104, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill106Stub() { } + + public override float GetMpcost(Skill skill) => (float)(21.6 + 6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 0.2 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 400 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 11.7f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1.2f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill106.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill106.cs.meta new file mode 100644 index 0000000000..242bd40e28 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill106.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bb635dbd9682044cda5d5328db925f81 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill107.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill107.cs new file mode 100644 index 0000000000..ec7eda6454 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill107.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill107 : Skill + { + public const int SKILL_ID = 107; + + public Skill107() : base(SKILL_ID) + { + } + } +#endif + + public class Skill107Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(52.5f + 6 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(52.5f + 6 * skill.GetLevel())); + skill.SetPlus(1.4f * skill.GetLevel() * skill.GetLevel() + 118.6f * skill.GetLevel() + 880.8f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill107Stub() : base(107) + { + cls = 4; + name = "地裂"; + nativename = "地裂"; + icon = "地裂"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 12; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1507; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "地裂"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/地裂击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(105, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill107Stub() { } + + public override float GetMpcost(Skill skill) => (float)(52.5 + 6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 0.2 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (6 + 0.3f * skill.GetLevel ()); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill107.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill107.cs.meta new file mode 100644 index 0000000000..ff310b45e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill107.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ea82bbd897eea4cee81cf072e8cad804 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill108.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill108.cs new file mode 100644 index 0000000000..53e133914e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill108.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill108 : Skill + { + public const int SKILL_ID = 108; + + public Skill108() : base(SKILL_ID) + { + } + } +#endif + + public class Skill108Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(54 + 4.8f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(54 + 4.8f * skill.GetLevel())); + skill.SetPlus(1.5f * skill.GetLevel() * skill.GetLevel() + 144 * skill.GetLevel() + 1254.1f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill108Stub() : base(108) + { + cls = 4; + name = "兽王无敌"; + nativename = "兽王无敌"; + icon = "兽王无敌"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1508; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "兽王无敌"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王无敌击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(106, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill108Stub() { } + + public override float GetMpcost(Skill skill) => (float)(54 + 4.8 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 0.2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(8 + 0.4 * skill.GetLevel() + skill.GetPlayer().GetRange() - 3.5); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.2f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetDecdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + 0.5f * skill.GetLevel () + skill.GetPlayer ().GetRange () - 3.5f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill108.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill108.cs.meta new file mode 100644 index 0000000000..777ee8689d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill108.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 89a01294cd17d40588b79c0f8d343e51 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill109.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill109.cs new file mode 100644 index 0000000000..8d7022ac82 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill109.cs @@ -0,0 +1,102 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill109 : Skill + { + public const int SKILL_ID = 109; + + public Skill109() : base(SKILL_ID) + { + } + } +#endif + + public class Skill109Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 6, 11, 16, 21, 26, 31, 36, 41, 46, 51 }; + private static readonly int[] RequiredSpArray = { 320, 1200, 2560, 4640, 7360, 11120, 16000, 22480, 31120, 42560 }; + private static readonly int[] RequiredMoneyArray = { 50, 160, 320, 530, 820, 1270, 1720, 2180, 2680, 3180 }; + + + public Skill109Stub() : base(109) + { + cls = 4; + name = "野性回复"; + nativename = "野性回复"; + icon = "野性回复"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 1; + posdouble = 0; + time_type = 0; + showorder = 1510; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill109Stub() { } + + public override float GetMpcost(Skill skill) => (float)(18 + skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 4000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 3 + 0.2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetInchpgen (4 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill109.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill109.cs.meta new file mode 100644 index 0000000000..cf60e022bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill109.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 191964080116c472c8a9080d3ee32c74 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill110.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill110.cs new file mode 100644 index 0000000000..6837009c9f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill110.cs @@ -0,0 +1,124 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill110 : Skill + { + public const int SKILL_ID = 110; + + public Skill110() : base(SKILL_ID) + { + } + } +#endif + + public class Skill110Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 55, 55, 55, 60, 60, 60, 65, 65, 65, 65 }; + private static readonly int[] RequiredSpArray = { 20000, 20000, 20000, 30000, 30000, 30000, 40000, 40000, 40000, 40000 }; + + + public Skill110Stub() : base(110) + { + cls = 4; + name = "*"; + nativename = "*"; + icon = "飞天神斧"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 0; + time_type = 0; + showorder = 140; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "飞天神斧"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/飞天神斧飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/飞天神斧击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(109, 1); + + } + + ~Skill110Stub() { } + + public override float GetMpcost(Skill skill) => (float)(25 + skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 4 + 0.3 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill110.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill110.cs.meta new file mode 100644 index 0000000000..df720c4a7f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill110.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1fcf20920d0c0494e9ee1ccfe9003fbd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1100.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1100.cs new file mode 100644 index 0000000000..1fc9ce6e66 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1100.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1100 : Skill + { + public const int SKILL_ID = 1100; + + public Skill1100() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1100Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(12 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(12 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1100Stub() : base(1100) + { + cls = 2; + name = "复仇之魂—惩戒"; + nativename = "复仇之魂—惩戒"; + icon = "反弹之魂"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1705; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_复仇之魂刺"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_复仇之魂刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1100Stub() { } + + public override float GetMpcost(Skill skill) => (float)(12 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 600000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 + 2.3 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (skill.GetT0 () * 0.004f); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.08f); + skill.GetVictim ().SetSoulretort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5 + 2.3f * skill.GetLevel () + 5.5f * 2.4f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1100.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1100.cs.meta new file mode 100644 index 0000000000..4756f250a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1100.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 766a697c873ec4441b4bdcae5b1f84bb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1101.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1101.cs new file mode 100644 index 0000000000..fff0c792a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1101.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1101 : Skill + { + public const int SKILL_ID = 1101; + + public Skill1101() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1101Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(157.5f + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(157.5f + 18 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1101Stub() : base(1101) + { + cls = 2; + name = "复仇之魂—封印"; + nativename = "复仇之魂—封印"; + icon = "封印之魂"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1717; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_复仇之魂封"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_复仇之魂封_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1103, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1101Stub() { } + + public override float GetMpcost(Skill skill) => (float)(157.5 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2267; + public override int GetCoolingtime(Skill skill) => 600000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 + 2.3 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () * 0.00066f); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (100 - 5 * skill.GetLevel ()); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetSoulsealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5 + 2.3f * skill.GetLevel () + 3 * 5.5f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1101.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1101.cs.meta new file mode 100644 index 0000000000..618a99234e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1101.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d9b5cbcc178f44d218fb6cff623be141 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1102.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1102.cs new file mode 100644 index 0000000000..3d982b5c4c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1102.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1102 : Skill + { + public const int SKILL_ID = 1102; + + public Skill1102() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1102Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(100 + 20 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1067; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(100 + 20 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1102Stub() : base(1102) + { + cls = 2; + name = "复仇之魂—镜像"; + nativename = "复仇之魂—镜像"; + icon = "反击之魂"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1723; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 4; + commoncooldowntime = 30000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1101, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1102Stub() { } + + public override float GetMpcost(Skill skill) => (float)(100 + 20 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1067; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (100); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.5f * 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetSoulbeatback (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1102.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1102.cs.meta new file mode 100644 index 0000000000..1d406c828f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1102.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fdbc7c32cad454cb3a7cf4ecd8d658f4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1103.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1103.cs new file mode 100644 index 0000000000..51dbecb768 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1103.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1103 : Skill + { + public const int SKILL_ID = 1103; + + public Skill1103() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1103Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(100 + 20 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 867; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(100 + 20 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1103Stub() : base(1103) + { + cls = 2; + name = "复仇之魂—震荡"; + nativename = "复仇之魂—震荡"; + icon = "击晕之魂"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1713; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 4; + commoncooldowntime = 30000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1100, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1103Stub() { } + + public override float GetMpcost(Skill skill) => (float)(100 + 20 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 867; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (100 - 5 * skill.GetLevel ()); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.0002f + 2); + skill.GetVictim ().SetSoulstun (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1103.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1103.cs.meta new file mode 100644 index 0000000000..1ec89b250b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1103.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3a1aeb737cd584e7ea02a1df36566c9d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1104.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1104.cs new file mode 100644 index 0000000000..4ceeb4ec38 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1104.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1104 : Skill + { + public const int SKILL_ID = 1104; + + public Skill1104() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1104Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 44, 48, 52, 56, 60, 64, 68, 72, 76, 80 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredMoneyArray = { 2480, 2880, 3280, 3680, 4980, 12980, 41980, 111980, 211980, 371980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(200 + 25 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(200 + 25 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1104Stub() : base(1104) + { + cls = 2; + name = "生命绽放"; + nativename = "生命绽放"; + icon = "祝福加深"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1715; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_荆棘光环"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 90000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/荆棘光环击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1129, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1104Stub() { } + + public override float GetMpcost(Skill skill) => (float)(200 + 25 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2200; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (91000); + skill.GetVictim ().SetRatio (0.1f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetAmount (0.15f + 0.015f * skill.GetLevel ()); + skill.GetVictim ().SetValue (300 * skill.GetLevel ()); + skill.GetVictim ().SetDeepenbless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 5.5f * 3; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1104.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1104.cs.meta new file mode 100644 index 0000000000..6b1137ca49 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1104.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b5b45d5ea5d8c4c56a4fc77c8a1ee56f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1105.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1105.cs new file mode 100644 index 0000000000..3f998ee6f6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1105.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1105 : Skill + { + public const int SKILL_ID = 1105; + + public Skill1105() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1105Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 34, 39, 44, 49, 54, 59, 64, 69, 74, 79 }; + private static readonly int[] RequiredSpArray = { 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000, 399000 }; + private static readonly int[] RequiredMoneyArray = { 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980, 331980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(100 + 20 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(100 + 20 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1105Stub() : base(1105) + { + cls = 2; + name = "生命禁锢"; + nativename = "生命禁锢"; + icon = "祝福削弱"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1712; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_回复抑制"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 90000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "人物/技能/巫师/回复抑制技能_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1131, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1105Stub() { } + + public override float GetMpcost(Skill skill) => (float)(100 + 20 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2400; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (91000); + skill.GetVictim ().SetRatio (0.1f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetAmount (0.15f + 0.015f * skill.GetLevel ()); + skill.GetVictim ().SetValue (300 * skill.GetLevel ()); + skill.GetVictim ().SetWeakenbless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 3.8f * 5.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1105.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1105.cs.meta new file mode 100644 index 0000000000..70d48ce1d5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1105.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a0b2e20e0f501410684a379d5e81f3c4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1106.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1106.cs new file mode 100644 index 0000000000..22ae8e62b5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1106.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1106 : Skill + { + public const int SKILL_ID = 1106; + + public Skill1106() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1106Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(100 + 12 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(100 + 12 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1106Stub() : base(1106) + { + cls = 2; + name = "摄魂术"; + nativename = "摄魂术"; + icon = "技能抑制"; + max_level = 10; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1718; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_技能抑制"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "人物/技能/巫师/技能抑制技能_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1104, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1106Stub() { } + + public override float GetMpcost(Skill skill) => (float)(100 + 12 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (0.5f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 5.5f * 2.8f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1106.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1106.cs.meta new file mode 100644 index 0000000000..3db7da3def --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1106.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3518231201ac240279f7623bcd2af97d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1107.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1107.cs new file mode 100644 index 0000000000..171858e5f2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1107.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1107 : Skill + { + public const int SKILL_ID = 1107; + + public Skill1107() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1107Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(135 + 12 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(135 + 12 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1107Stub() : base(1107) + { + cls = 2; + name = "复仇之魂—反噬"; + nativename = "复仇之魂—反噬"; + icon = "技能反噬"; + max_level = 10; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1718; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_敌法"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_敌法_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_敌法打击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 4; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1132, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1107Stub() { } + + public override float GetMpcost(Skill skill) => (float)(135 + 12 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000 + 300 * skill.GetLevel ()); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetHurtwhenuseskill (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 3 * 5.5f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1107.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1107.cs.meta new file mode 100644 index 0000000000..341ec65317 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1107.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9db38a1b2a765456aa8b3f352a173f7a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1108.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1108.cs new file mode 100644 index 0000000000..e3b5298371 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1108.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1108 : Skill + { + public const int SKILL_ID = 1108; + + public Skill1108() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1108Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 400, 1500, 3200, 5800, 9200, 13900, 20000, 28100, 38900, 53200 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(12 + 10 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(12 + 10 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1108Stub() : base(1108) + { + cls = 2; + name = "黑巫咒"; + nativename = "黑巫咒"; + icon = "增攻减防"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1703; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1126, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1108Stub() { } + + public override float GetMpcost(Skill skill) => (float)(12 + 10 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1467; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetAmount (-5 - 0.6f * skill.GetLevel ()); + skill.GetVictim ().SetValue (11 + 1.1f * skill.GetLevel ()); + skill.GetVictim ().SetAdjustattackdefend (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1108.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1108.cs.meta new file mode 100644 index 0000000000..1907526801 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1108.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dabd0713d64e54db8a8a45543f0242f4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1109.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1109.cs new file mode 100644 index 0000000000..cd205bec1a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1109.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1109 : Skill + { + public const int SKILL_ID = 1109; + + public Skill1109() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1109Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 400, 1500, 3200, 5800, 9200, 13900, 20000, 28100, 38900, 53200 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(12 + 10 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(12 + 10 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1109Stub() : base(1109) + { + cls = 2; + name = "白巫咒"; + nativename = "白巫咒"; + icon = "增防减攻"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1704; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1125, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1109Stub() { } + + public override float GetMpcost(Skill skill) => (float)(12 + 10 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1467; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetAmount (33 + 3.3f * skill.GetLevel ()); + skill.GetVictim ().SetValue (-49 - 5 * skill.GetLevel ()); + skill.GetVictim ().SetAdjustattackdefend (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1109.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1109.cs.meta new file mode 100644 index 0000000000..1dd72b082a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1109.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 75bbc883b9bcf4e30a74d47a61aeeaad \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill111.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill111.cs new file mode 100644 index 0000000000..3450491b77 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill111.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill111 : Skill + { + public const int SKILL_ID = 111; + + public Skill111() : base(SKILL_ID) + { + } + } +#endif + + public class Skill111Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 9440, 13840, 19680, 27360, 37600, 51200, 69600, 94400, 128000, 191200 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(24 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(24 + 5 * skill.GetLevel())); + skill.GetPlayer().SetHp(skill.GetPlayer().GetHp() *(0.74f + 0.01f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill111Stub() : base(111) + { + cls = 4; + name = "化血成魔"; + nativename = "化血成魔"; + icon = "化血成魔"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1512; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "化血成魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(82, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill111Stub() { } + + public override float GetMpcost(Skill skill) => (float)(24 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.26f - 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetAmount (1 + 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetDevilstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 3.33f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill111.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill111.cs.meta new file mode 100644 index 0000000000..ebe3d777f8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill111.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5d57672ac008a4647bb6987f4654dedc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill112.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill112.cs new file mode 100644 index 0000000000..e4dfe75906 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill112.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill112 : Skill + { + public const int SKILL_ID = 112; + + public Skill112() : base(SKILL_ID) + { + } + } +#endif + + public class Skill112Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 29, 59 }; + private static readonly int[] RequiredSpArray = { 1000, 11800, 87000 }; + private static readonly int[] RequiredMoneyArray = { 110, 1090, 3980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20 * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill112Stub() : base(112) + { + cls = 4; + name = "白虎变"; + nativename = "白虎变"; + icon = "白虎变"; + max_level = 3; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1514; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "白虎变"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/白虎变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill112Stub() { } + + public override float GetMpcost(Skill skill) => (float)(20 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (0.05f + 0.15f * skill.GetLevel ()); + skill.GetVictim ().SetValue (-0.05f - 0.15f * skill.GetLevel ()); + skill.GetVictim ().SetTigerform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill112.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill112.cs.meta new file mode 100644 index 0000000000..6687f65b0a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill112.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 56258adea905c4afbbecac7d08b0449c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1125.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1125.cs new file mode 100644 index 0000000000..8ff1d543e8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1125.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1125 : Skill + { + public const int SKILL_ID = 1125; + + public Skill1125() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1125Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-6 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-6 + 15 * skill.GetLevel())); + skill.SetPlus(6.5f * skill.GetLevel() * skill.GetLevel() + 138.2f * skill.GetLevel() + 11.6f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1125Stub() : base(1125) + { + cls = 2; + name = "灵爆咒"; + nativename = "灵爆咒"; + icon = "加深打击"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1702; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_加深打击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_加深打击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1125Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-6 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 5.5f * 2; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1125.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1125.cs.meta new file mode 100644 index 0000000000..562bdfa9e9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1125.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b8c5eb9d47dcb479f9c0cd5ff2b518e1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1126.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1126.cs new file mode 100644 index 0000000000..1bc05b9654 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1126.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1126 : Skill + { + public const int SKILL_ID = 1126; + + public Skill1126() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1126Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-9 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-9 + 15 * skill.GetLevel())); + skill.SetPlus(4.1f * skill.GetLevel() * skill.GetLevel() + 92.6f * skill.GetLevel() + 36.6f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1126Stub() : base(1126) + { + cls = 2; + name = "冲击术"; + nativename = "冲击术"; + icon = "法术冲击"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1701; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_法术冲击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_法术冲击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1126Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-9 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50 + 3 * skill.GetLevel ()); + skill.GetVictim ().SetTime (6000 + 300 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 5.5f * 2; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1126.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1126.cs.meta new file mode 100644 index 0000000000..ec54d0cce7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1126.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 583d3bb1c131947ce9cdb66bb68e75c7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1127.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1127.cs new file mode 100644 index 0000000000..726959ccf1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1127.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1127 : Skill + { + public const int SKILL_ID = 1127; + + public Skill1127() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1127Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(30 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(30 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1127Stub() : base(1127) + { + cls = 2; + name = "激流术"; + nativename = "激流术"; + icon = "激流术"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1707; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_激流术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_激流术_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1108, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1127Stub() { } + + public override float GetMpcost(Skill skill) => (float)(30 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetT0 () + 11.4f * skill.GetLevel () * skill.GetLevel () + 277.9f * skill.GetLevel () + 762.1f + + skill.GetT1 () * (0.5f + 0.05f * skill.GetLevel ())); + skill.GetVictim ().SetFlood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 5.5f * 2; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); + public float GetTalent1(PlayerWrapper player) => player.GetWeaponmagicdamage (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1127.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1127.cs.meta new file mode 100644 index 0000000000..c406ada895 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1127.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4560d8340713a4645b45156a4334f71b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1128.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1128.cs new file mode 100644 index 0000000000..b40ba90ace --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1128.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1128 : Skill + { + public const int SKILL_ID = 1128; + + public Skill1128() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1128Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(100 + 20 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(100 + 20 * skill.GetLevel())); + skill.SetPlus(12.6f * skill.GetLevel() * skill.GetLevel() + 275.4f * skill.GetLevel() + 504.8f); + skill.SetRatio(1 + 0.1f * skill.GetLevel()); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1128Stub() : base(1128) + { + cls = 2; + name = "气爆术"; + nativename = "气爆术"; + icon = "气爆"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 4; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1710; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_气爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_群攻技能1_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1135, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1128Stub() { } + + public override float GetMpcost(Skill skill) => (float)(100 + 20 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 62 + 3 * skill.GetLevel ()); + skill.GetVictim ().SetTime (4000 + 0.3f * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 5.5f * 3.6f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1128.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1128.cs.meta new file mode 100644 index 0000000000..49aa390323 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1128.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f46502da063454a5795eda01a15b0adc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1129.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1129.cs new file mode 100644 index 0000000000..f309b0bb03 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1129.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1129 : Skill + { + public const int SKILL_ID = 1129; + + public Skill1129() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1129Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(157.5f + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(157.5f + 18 * skill.GetLevel())); + skill.SetPlus(2.1f * skill.GetLevel() * skill.GetLevel() + 145.1f * skill.GetLevel() + 1014.1f); + skill.SetRatio(1 + 0.1f * skill.GetLevel()); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1129Stub() : base(1129) + { + cls = 2; + name = "冷凝术"; + nativename = "冷凝术"; + icon = "冷凝术"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 4; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1714; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_冷凝术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_冷凝术_飞行击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1128, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1129Stub() { } + + public override float GetMpcost(Skill skill) => (float)(157.5 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1933; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30 + 3 * skill.GetLevel ()); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 2.5f * 5.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1129.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1129.cs.meta new file mode 100644 index 0000000000..819e1350da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1129.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6e2a08533841141b1bd6794b9ccdd462 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1130.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1130.cs new file mode 100644 index 0000000000..c74d56b3f6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1130.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1130 : Skill + { + public const int SKILL_ID = 1130; + + public Skill1130() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1130Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(50.4f + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(50.4f + 18 * skill.GetLevel())); + skill.SetPlus(8.2f * skill.GetLevel() * skill.GetLevel() + 217.1f * skill.GetLevel() + 609.8f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1130Stub() : base(1130) + { + cls = 2; + name = "土崩咒"; + nativename = "土崩咒"; + icon = "土崩"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 6; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1709; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_土崩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_土崩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1109, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1130Stub() { } + + public override float GetMpcost(Skill skill) => (float)(50.4 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1133; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (12 + 0.6f * skill.GetLevel ()); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10 + 2 * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1130.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1130.cs.meta new file mode 100644 index 0000000000..152acc87fa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1130.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 02c4b8b7c8d13487eb5247de8064c1f6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1131.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1131.cs new file mode 100644 index 0000000000..34c06ce13d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1131.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1131 : Skill + { + public const int SKILL_ID = 1131; + + public Skill1131() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1131Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(30 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(30 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1131Stub() : base(1131) + { + cls = 2; + name = "洪沙咒"; + nativename = "洪沙咒"; + icon = "献祭"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 6; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1711; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_献祭"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_献祭_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_献祭_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 2; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1130, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1131Stub() { } + + public override float GetMpcost(Skill skill) => (float)(30 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetT0 () + 13.2f * skill.GetLevel () * skill.GetLevel () + 285.2f * skill.GetLevel () + 530.5f + + skill.GetT1 () * (1 + 0.1f * skill.GetLevel ())); + skill.GetVictim ().SetFallen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 2.5f * 5.5f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); + public float GetTalent1(PlayerWrapper player) => player.GetWeaponmagicdamage (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1131.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1131.cs.meta new file mode 100644 index 0000000000..336f49a821 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1131.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2bc866ed093ef4b1d8a3514ddd9bc651 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1132.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1132.cs new file mode 100644 index 0000000000..2bf9ed4904 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1132.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1132 : Skill + { + public const int SKILL_ID = 1132; + + public Skill1132() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1132Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(157.5f + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(157.5f + 18 * skill.GetLevel())); + skill.SetPlus(2.8f * skill.GetLevel() * skill.GetLevel() + 172.8f * skill.GetLevel() + 1208.5f); + skill.SetRatio(1 + 0.1f * skill.GetLevel()); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1132Stub() : base(1132) + { + cls = 2; + name = "狂沙穿空咒"; + nativename = "狂沙穿空咒"; + icon = "扬沙"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 6; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1716; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_扬沙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_扬沙_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1105, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1132Stub() { } + + public override float GetMpcost(Skill skill) => (float)(157.5 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 + 200 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.2f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetDecaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 3 * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1132.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1132.cs.meta new file mode 100644 index 0000000000..1141e11599 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1132.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 669c33cc466ed4b2e971ee2fb1a27ccb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1133.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1133.cs new file mode 100644 index 0000000000..b6ec061576 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1133.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1133 : Skill + { + public const int SKILL_ID = 1133; + + public Skill1133() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1133Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(336 + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(336 + 18 * skill.GetLevel())); + skill.SetPlus(2.2f * skill.GetLevel() * skill.GetLevel() + 140.1f * skill.GetLevel() + 1840.7f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1133Stub() : base(1133) + { + cls = 2; + name = "大地灵引咒"; + nativename = "大地灵引咒"; + icon = "土灵"; + max_level = 10; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1721; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_土灵"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/巫师_土灵_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1107, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1133Stub() { } + + public override float GetMpcost(Skill skill) => (float)(336 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75 + skill.GetLevel ()); + skill.GetVictim ().SetTime (4000 + 300 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 2.2f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1133.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1133.cs.meta new file mode 100644 index 0000000000..b8d4ca44ad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1133.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a3a751238f14e4c51a56dd7b30f93203 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1134.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1134.cs new file mode 100644 index 0000000000..e55c98b9b4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1134.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1134 : Skill + { + public const int SKILL_ID = 1134; + + public Skill1134() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1134Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(336 + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(336 + 18 * skill.GetLevel())); + skill.SetPlus(4 * skill.GetLevel() * skill.GetLevel() + 254.9f * skill.GetLevel() + 3346.8f); + skill.SetRatio(1 + 0.1f * skill.GetLevel()); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1134Stub() : base(1134) + { + cls = 2; + name = "水瀑泓泱"; + nativename = "水瀑泓泱"; + icon = "水瀑术"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1720; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_水瀑术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/水瀑术_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1140, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1134Stub() { } + + public override float GetMpcost(Skill skill) => (float)(336 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1133; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 550 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50 + 3 * skill.GetLevel ()); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 ()); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 3 * 5.5f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1134.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1134.cs.meta new file mode 100644 index 0000000000..baaac8a140 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1134.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 13fa4e89dd0a44a25a9c94419257091d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1135.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1135.cs new file mode 100644 index 0000000000..d6a0eaf060 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1135.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1135 : Skill + { + public const int SKILL_ID = 1135; + + public Skill1135() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1135Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 24, 29, 34, 39, 44, 49, 54, 59, 64, 69 }; + private static readonly int[] RequiredSpArray = { 6160, 9440, 13840, 19680, 27360, 37600, 51200, 69600, 94400, 128000 }; + private static readonly int[] RequiredMoneyArray = { 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(150 + 50 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(150 + 50 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1135Stub() : base(1135) + { + cls = 2; + name = "生命气泡"; + nativename = "生命气泡"; + icon = "魔法盾"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1708; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_生命气泡"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_群攻技能2_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1127, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1135Stub() { } + + public override float GetMpcost(Skill skill) => (float)(150 + 50 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 2.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * (1.5f * skill.GetLevel () + 15) / 100 + 300 + 70 * skill.GetLevel ()); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1135.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1135.cs.meta new file mode 100644 index 0000000000..bfc050a677 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1135.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a61ca4f0218614d3e885f4ac3e860f44 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1136.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1136.cs new file mode 100644 index 0000000000..0ff51da91f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1136.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1136 : Skill + { + public const int SKILL_ID = 1136; + + public Skill1136() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1136Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 12400, 16000, 25000, 35000, 42500, 63000, 116000, 242000, 455000, 665000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(157.5f + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(157.5f + 18 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1136Stub() : base(1136) + { + cls = 2; + name = "32424"; + nativename = "32424"; + icon = "定身"; + max_level = 10; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "疾风霹雳"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾风霹雳击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1135, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1136Stub() { } + + public override float GetMpcost(Skill skill) => (float)(157.5 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 750 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetAmount (720 + 120 * skill.GetLevel ()); + skill.GetVictim ().SetMagicleak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetAmount (7.7f * skill.GetLevel () * skill.GetLevel () + 258 * skill.GetLevel () + 1221.4f); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1136.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1136.cs.meta new file mode 100644 index 0000000000..366118b1c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1136.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d6dab49e347b94ccf9d1e35bf8928c90 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1137.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1137.cs new file mode 100644 index 0000000000..6b8831be24 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1137.cs @@ -0,0 +1,172 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1137 : Skill + { + public const int SKILL_ID = 1137; + + public Skill1137() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1137Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20 * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1137Stub() : base(1137) + { + cls = 2; + name = "人鱼变"; + nativename = "人鱼变"; + icon = "人鱼变"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1724; + allow_land = false; + allow_air = false; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 3; + effect = "人鱼变"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "程序联入/人鱼变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1137Stub() { } + + public override float GetMpcost(Skill skill) => (float)(20 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetRatio (0.2f + 0.06f * skill.GetLevel ()); + skill.GetVictim ().SetValue (5 + 0.5f * skill.GetLevel ()); + skill.GetVictim ().SetFishform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1137.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1137.cs.meta new file mode 100644 index 0000000000..eb24cec874 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1137.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 449ee7fb156114b6d805e1bccba2d600 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1139.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1139.cs new file mode 100644 index 0000000000..af8bb12d2e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1139.cs @@ -0,0 +1,173 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1139 : Skill + { + public const int SKILL_ID = 1139; + + public Skill1139() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1139Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 800, 1920, 3680, 6160, 9440, 13840, 19680, 27360, 37600, 51200 }; + private static readonly int[] RequiredMoneyArray = { 100, 280, 560, 950, 1500, 3300, 4800, 6700, 12400, 17000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(39.6f + 18 * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1139Stub() : base(1139) + { + cls = 2; + name = "42421412"; + nativename = "42421412"; + icon = "巫师加速"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "疾风霹雳"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾风霹雳击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1139Stub() { } + + public override float GetMpcost(Skill skill) => (float)(39.6 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.2f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1139.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1139.cs.meta new file mode 100644 index 0000000000..ed3ac09322 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1139.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 466e0e316c7954653be06e1562e592a2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1140.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1140.cs new file mode 100644 index 0000000000..78a7e34083 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1140.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1140 : Skill + { + public const int SKILL_ID = 1140; + + public Skill1140() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1140Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 200); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1140Stub() : base(1140) + { + cls = 2; + name = "潮汐精灵"; + nativename = "潮汐精灵"; + icon = "水精灵"; + max_level = 10; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1719; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1106, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1140Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 1600; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (17000); + skill.GetVictim ().SetRatio (0.5f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetIncmagic2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1140.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1140.cs.meta new file mode 100644 index 0000000000..cd79718d77 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1140.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6a274b82aee434b2da0aac14568cdf63 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1141.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1141.cs new file mode 100644 index 0000000000..91ebd7e521 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1141.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1141 : Skill + { + public const int SKILL_ID = 1141; + + public Skill1141() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1141Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 500); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1141Stub() : base(1141) + { + cls = 2; + name = "巫师意志"; + nativename = "巫师意志"; + icon = "术士的意志"; + max_level = 10; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1722; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1107, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1141Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000 + 300 * skill.GetLevel ()); + skill.GetVictim ().SetImmunephysical (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1141.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1141.cs.meta new file mode 100644 index 0000000000..7b931a5227 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1141.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3eceee529b40f4af3986e490df4a91d5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1146.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1146.cs new file mode 100644 index 0000000000..bc398f7e43 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1146.cs @@ -0,0 +1,121 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1146 : Skill + { + public const int SKILL_ID = 1146; + + public Skill1146() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1146Stub : SkillStub + { + + + public Skill1146Stub() : base(1146) + { + cls = 2; + name = "复仇惩戒(效果专用)"; + nativename = "复仇惩戒(效果专用)"; + icon = ""; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_复仇惩戒"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_复仇惩戒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1146Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1146.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1146.cs.meta new file mode 100644 index 0000000000..02757a1271 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1146.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0862bf4d5412b4d69bca07390be88168 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1147.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1147.cs new file mode 100644 index 0000000000..6cd0dd9e21 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1147.cs @@ -0,0 +1,121 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1147 : Skill + { + public const int SKILL_ID = 1147; + + public Skill1147() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1147Stub : SkillStub + { + + + public Skill1147Stub() : base(1147) + { + cls = 2; + name = "复仇反噬(效果专用)"; + nativename = "复仇反噬(效果专用)"; + icon = ""; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_复仇反噬"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_复仇反噬_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1147Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1147.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1147.cs.meta new file mode 100644 index 0000000000..792123802a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1147.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f84311135f4614cd7a54292cc8b84eca \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1149.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1149.cs new file mode 100644 index 0000000000..eef8224da2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1149.cs @@ -0,0 +1,91 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1149 : Skill + { + public const int SKILL_ID = 1149; + + public Skill1149() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1149Stub : SkillStub + { + + + public Skill1149Stub() : base(1149) + { + cls = 2; + name = "2222"; + nativename = "2222"; + icon = ""; + max_level = MAX_LEVEL; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1149Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1149.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1149.cs.meta new file mode 100644 index 0000000000..b08d034b51 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1149.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 91aa4be5d796a452ca1f0cf90837d556 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1150.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1150.cs new file mode 100644 index 0000000000..39125a7db2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1150.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1150 : Skill + { + public const int SKILL_ID = 1150; + + public Skill1150() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1150Stub : SkillStub + { + + + public Skill1150Stub() : base(1150) + { + cls = 2; + name = "封印(光环专用)"; + nativename = "封印(光环专用)"; + icon = "霸王龙飞"; + max_level = MAX_LEVEL; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1150Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () * 0.00033f); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (100); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetSoulsealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1150.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1150.cs.meta new file mode 100644 index 0000000000..8fdadb3fde --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1150.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9adb98cf2d45f4a6f80d827102b7e8d1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1151.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1151.cs new file mode 100644 index 0000000000..072c6d1b48 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1151.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1151 : Skill + { + public const int SKILL_ID = 1151; + + public Skill1151() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1151Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 16, 21, 26, 31, 36, 41, 46, 51, 56, 61 }; + private static readonly int[] RequiredSpArray = { 3200, 5800, 9200, 13900, 20000, 28100, 38900, 53200, 72400, 98300 }; + private static readonly int[] RequiredMoneyArray = { 3800, 7000, 12000, 18000, 26000, 37000, 51000, 70000, 96000, 130000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(10 + 6.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(10 + 6.5f * skill.GetLevel())); + skill.SetPlus(6.1f * skill.GetLevel() * skill.GetLevel() + 82 * skill.GetLevel() - 50.4f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1151Stub() : base(1151) + { + cls = 2; + name = "543523"; + nativename = "543523"; + icon = "冰封"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 4; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = false; + allow_air = false; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "烈火符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/烈火符施放.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/烈火副爆炸击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 1; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 1.0f; + restrict_weapons.Add(25333); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1137, 2); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1151Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 6.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(19.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 150 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (7 * skill.GetLevel () * skill.GetLevel () + 174.4f * skill.GetLevel () + 676.4f); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + 400 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (50); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 27; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1151.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1151.cs.meta new file mode 100644 index 0000000000..2771be345f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1151.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 38351836e397849d3b8f27430a6e029f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1152.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1152.cs new file mode 100644 index 0000000000..ab748c3677 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1152.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1152 : Skill + { + public const int SKILL_ID = 1152; + + public Skill1152() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1152Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 32000, 42000, 54000, 70000, 90000, 120000, 150000, 190000, 240000, 360000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(58.8f + 7.8f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(58.8f + 7.8f * skill.GetLevel())); + skill.SetPlus(6.1f * skill.GetLevel() * skill.GetLevel() + 82 * skill.GetLevel() - 50.4f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1152Stub() : base(1152) + { + cls = 2; + name = "664363443"; + nativename = "664363443"; + icon = "寒冰爆"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 4; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = false; + allow_air = false; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "疾风霹雳"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾风霹雳击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1137, 3); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1152Stub() { } + + public override float GetMpcost(Skill skill) => (float)(58.8 + 7.8 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 9000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 550 * skill.GetLevel (); + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1152.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1152.cs.meta new file mode 100644 index 0000000000..464239786c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1152.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 38f9f9a25b6b548aba41591d5968acb0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1153.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1153.cs new file mode 100644 index 0000000000..4763c03c19 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1153.cs @@ -0,0 +1,97 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1153 : Skill + { + public const int SKILL_ID = 1153; + + public Skill1153() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1153Stub : SkillStub + { + private static readonly int[] RequiredMoneyArray = { 15000, 22000, 32000, 45000, 62000, 85000, 120000, 160000, 210000, 320000 }; + + + public Skill1153Stub() : base(1153) + { + cls = 2; + name = "333"; + nativename = "333"; + icon = "法球精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 2; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1153Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetInctalisman (0.06f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1153.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1153.cs.meta new file mode 100644 index 0000000000..05375101f3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1153.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 19f902e68f49b4a27b138e83127d59b9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1184.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1184.cs new file mode 100644 index 0000000000..be662d5f7d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1184.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1184 : Skill + { + public const int SKILL_ID = 1184; + + public Skill1184() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1184Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill1184Stub() : base(1184) + { + cls = 2; + name = "水精通"; + nativename = "水精通"; + icon = "水系魔法精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1724; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1184Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncwater (0.02f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1184.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1184.cs.meta new file mode 100644 index 0000000000..2999a42bad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1184.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9e2bba72193ac4bcc8b4ccc737f9c08e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1185.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1185.cs new file mode 100644 index 0000000000..bd82873903 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1185.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1185 : Skill + { + public const int SKILL_ID = 1185; + + public Skill1185() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1185Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill1185Stub() : base(1185) + { + cls = 2; + name = "土精通"; + nativename = "土精通"; + icon = "土系魔法精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1725; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1185Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncearth (0.02f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1185.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1185.cs.meta new file mode 100644 index 0000000000..1923c43cf4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1185.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f7761c876facc4a0ca803c54433f4190 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1186.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1186.cs new file mode 100644 index 0000000000..ba85c7f198 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1186.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1186 : Skill + { + public const int SKILL_ID = 1186; + + public Skill1186() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1186Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29 }; + private static readonly int[] RequiredSpArray = { 18, 000 }; + private static readonly int[] RequiredMoneyArray = { 23, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1186Stub() : base(1186) + { + cls = 2; + name = "真元爆发"; + nativename = "真元爆发"; + icon = "爆气1"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2211; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(25333); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1186Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1186.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1186.cs.meta new file mode 100644 index 0000000000..b05d898fa6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1186.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3f4c992093adb4e90974086e612dc145 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1187.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1187.cs new file mode 100644 index 0000000000..594480a8fb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1187.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1187 : Skill + { + public const int SKILL_ID = 1187; + + public Skill1187() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1187Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 130, 000 }; + private static readonly int[] RequiredMoneyArray = { 180, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1187Stub() : base(1187) + { + cls = 2; + name = "高级真元爆发"; + nativename = "高级真元爆发"; + icon = "爆气2"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2212; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(25333); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1187Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (4); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1187.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1187.cs.meta new file mode 100644 index 0000000000..4f2b53dbfe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1187.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b8afd5a9560c744c7b85b4027fac701c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1198.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1198.cs new file mode 100644 index 0000000000..8724e42cbe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1198.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1198 : Skill + { + public const int SKILL_ID = 1198; + + public Skill1198() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1198Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1198Stub() : base(1198) + { + cls = 2; + name = "仙元爆发"; + nativename = "仙元爆发"; + icon = "仙元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2213; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + restrict_weapons.Add(23749); + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1198Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (7); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1198.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1198.cs.meta new file mode 100644 index 0000000000..80bd584054 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1198.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1276ae707aed44e71a06a137a44cdcde \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1199.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1199.cs new file mode 100644 index 0000000000..2e72d33c1e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1199.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1199 : Skill + { + public const int SKILL_ID = 1199; + + public Skill1199() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1199Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1199Stub() : base(1199) + { + cls = 2; + name = "魔元爆发"; + nativename = "魔元爆发"; + icon = "魔元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2214; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + restrict_weapons.Add(23749); + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1199Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetFastpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (7); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1199.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1199.cs.meta new file mode 100644 index 0000000000..943df31530 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1199.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fe5da613ff34e4809b659c5748b6aabb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill12.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill12.cs new file mode 100644 index 0000000000..81ee8e7862 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill12.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill12 : Skill + { + public const int SKILL_ID = 12; + + public Skill12() : base(SKILL_ID) + { + } + } +#endif + + public class Skill12Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 13, 18, 23, 28, 33, 38, 43, 48, 53, 58 }; + private static readonly int[] RequiredSpArray = { 2100, 4100, 7000, 10900, 16100, 23000, 32000, 44100, 60200, 81800 }; + private static readonly int[] RequiredMoneyArray = { 220, 400, 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(12 + 7.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(12 + 7.5f * skill.GetLevel())); + skill.SetPlus(1.2f * skill.GetLevel() * skill.GetLevel() + 62 * skill.GetLevel() + 204.1f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill12Stub() : base(12) + { + cls = 4; + name = "巨浪"; + nativename = "巨浪"; + icon = "巨浪"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1503; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巨浪"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巨浪击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(102, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill12Stub() { } + + public override float GetMpcost(Skill skill) => (float)(12 + 7.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill12.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill12.cs.meta new file mode 100644 index 0000000000..859b629730 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill12.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1cfe0c3933d6948cb9d18d21109fe447 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1204.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1204.cs new file mode 100644 index 0000000000..ec61ef2f4b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1204.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1204 : Skill + { + public const int SKILL_ID = 1204; + + public Skill1204() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1204Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 28032 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(47); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(190); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1204Stub() : base(1204) + { + cls = 2; + name = "海风召唤"; + nativename = "海风召唤"; + icon = "海风召唤"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 8; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2451; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 5); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1204Stub() { } + + public override float GetMpcost(Skill skill) => 237f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetFastfly (1); + return true; + } + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncmpgen (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1204.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1204.cs.meta new file mode 100644 index 0000000000..faa8b10497 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1204.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: de9168223dc7242928b1f515bb9d1da1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1205.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1205.cs new file mode 100644 index 0000000000..559c7b57b9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1205.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1205 : Skill + { + public const int SKILL_ID = 1205; + + public Skill1205() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1205Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 28033 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(71); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(284); + skill.SetPlus(1905.5f); + skill.SetRatio(3); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1205Stub() : base(1205) + { + cls = 2; + name = "结晶之光"; + nativename = "结晶之光"; + icon = "结晶之光"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 5; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2452; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_结晶之光"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_结晶之光_冰晶飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_结晶之光_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(25333); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1205Stub() { } + + public override float GetMpcost(Skill skill) => 355f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 2f; + public float GetAttackdistance(Skill skill) => 30f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1205.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1205.cs.meta new file mode 100644 index 0000000000..f7a3ee2ec7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1205.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f9939aca01d084c72a46d10bac910198 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1206.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1206.cs new file mode 100644 index 0000000000..3b7228774d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1206.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1206 : Skill + { + public const int SKILL_ID = 1206; + + public Skill1206() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1206Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 28034 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(480); + skill.SetPlus(5475.9f); + skill.SetRatio(3); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1206Stub() : base(1206) + { + cls = 2; + name = "沙轰咒"; + nativename = "沙轰咒"; + icon = "沙轰咒"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 6; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2453; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_沙轰咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_沙轰咒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1206Stub() { } + + public override float GetMpcost(Skill skill) => 600f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => (float)(15 + 0.4 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 18; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1206.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1206.cs.meta new file mode 100644 index 0000000000..f042dd896a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1206.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 37f6de58f5ac548e4a592b4b9d93c742 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1207.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1207.cs new file mode 100644 index 0000000000..629012748b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1207.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1207 : Skill + { + public const int SKILL_ID = 1207; + + public Skill1207() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1207Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 28035 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(150); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(600); + skill.SetPlus(10253.1f); + skill.SetRatio(4); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1207Stub() : base(1207) + { + cls = 2; + name = "碎石灭咒"; + nativename = "碎石灭咒"; + icon = "碎石灭咒"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2454; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_碎石灭咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_碎石灭咒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1207Stub() { } + + public override float GetMpcost(Skill skill) => 750f; + public override int GetExecutetime(Skill skill) => 1400; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.4 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlowpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 31; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1207.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1207.cs.meta new file mode 100644 index 0000000000..32b4474b59 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1207.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9bc36366ffd1440d285c45a9c36986bc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1208.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1208.cs new file mode 100644 index 0000000000..621d514f98 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1208.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1208 : Skill + { + public const int SKILL_ID = 1208; + + public Skill1208() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1208Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27659 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(48); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(192); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1208Stub() : base(1208) + { + cls = 2; + name = "真·复仇之魂—惩戒"; + nativename = "真·复仇之魂—惩戒"; + icon = "反弹之魂仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1705; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_复仇之魂刺"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_复仇之魂刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1100, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1208Stub() { } + + public override float GetMpcost(Skill skill) => 240f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 600000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.08f); + skill.GetVictim ().SetSoulretort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 41.2f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1208.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1208.cs.meta new file mode 100644 index 0000000000..16a2e3a7a2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1208.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 950417b868dcd4d0e9ebacbd589f4b3b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1209.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1209.cs new file mode 100644 index 0000000000..e59ee3cad0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1209.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1209 : Skill + { + public const int SKILL_ID = 1209; + + public Skill1209() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1209Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27683 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(48); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(192); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1209Stub() : base(1209) + { + cls = 2; + name = "狂·复仇之魂—惩戒"; + nativename = "狂·复仇之魂—惩戒"; + icon = "反弹之魂魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1705; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_复仇之魂刺"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_复仇之魂刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1100, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1209Stub() { } + + public override float GetMpcost(Skill skill) => 240f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 600000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (skill.GetT0 () * 0.004f); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.12f); + skill.GetVictim ().SetSoulretort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 41.2f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1209.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1209.cs.meta new file mode 100644 index 0000000000..9c3b51139c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1209.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3f9befe4b14a04e8ca6c3d92582c50c5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1210.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1210.cs new file mode 100644 index 0000000000..070713998f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1210.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1210 : Skill + { + public const int SKILL_ID = 1210; + + public Skill1210() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1210Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27660 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(112); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(448); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1210Stub() : base(1210) + { + cls = 2; + name = "真·复仇之魂—封印"; + nativename = "真·复仇之魂—封印"; + icon = "封印之魂仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1717; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_复仇之魂封"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_复仇之魂封_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1101, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1210Stub() { } + + public override float GetMpcost(Skill skill) => 560f; + public override int GetExecutetime(Skill skill) => 2267; + public override int GetCoolingtime(Skill skill) => 600000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () * 0.00066f); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (50); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetSoulsealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 44.5f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1210.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1210.cs.meta new file mode 100644 index 0000000000..7d61556839 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1210.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c08c15071141c4fde8ac3fa61721565f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1211.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1211.cs new file mode 100644 index 0000000000..55d5bee495 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1211.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1211 : Skill + { + public const int SKILL_ID = 1211; + + public Skill1211() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1211Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27685 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(112); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(448); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1211Stub() : base(1211) + { + cls = 2; + name = "狂·复仇之魂—封印"; + nativename = "狂·复仇之魂—封印"; + icon = "封印之魂魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1717; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_复仇之魂封"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_复仇之魂封_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1101, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1211Stub() { } + + public override float GetMpcost(Skill skill) => 560f; + public override int GetExecutetime(Skill skill) => 2267; + public override int GetCoolingtime(Skill skill) => 600000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () * 0.000792f); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (50); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetSoulsealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 44.5f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1211.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1211.cs.meta new file mode 100644 index 0000000000..055f24336f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1211.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b4be12ac9b57f44208f6dd41fce80e34 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1212.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1212.cs new file mode 100644 index 0000000000..98f9c9d8e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1212.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1212 : Skill + { + public const int SKILL_ID = 1212; + + public Skill1212() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1212Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27661 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(72); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1067; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(288); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1212Stub() : base(1212) + { + cls = 2; + name = "真·复仇之魂—镜像"; + nativename = "真·复仇之魂—镜像"; + icon = "反击之魂仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1723; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 4; + commoncooldowntime = 30000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1102, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1212Stub() { } + + public override float GetMpcost(Skill skill) => 360f; + public override int GetExecutetime(Skill skill) => 1067; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (100); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.5f); + skill.GetVictim ().SetSoulbeatback (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.15f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1212.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1212.cs.meta new file mode 100644 index 0000000000..f1b3a51840 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1212.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 59c2243b0aafe4c4b849fb1055aaa8d3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1213.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1213.cs new file mode 100644 index 0000000000..c8e850f681 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1213.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1213 : Skill + { + public const int SKILL_ID = 1213; + + public Skill1213() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1213Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27686 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(72); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1067; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(288); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1213Stub() : base(1213) + { + cls = 2; + name = "狂·复仇之魂—镜像"; + nativename = "狂·复仇之魂—镜像"; + icon = "反击之魂魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1723; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 4; + commoncooldowntime = 30000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1102, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1213Stub() { } + + public override float GetMpcost(Skill skill) => 360f; + public override int GetExecutetime(Skill skill) => 1067; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (100); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.6f); + skill.GetVictim ().SetSoulbeatback (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1213.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1213.cs.meta new file mode 100644 index 0000000000..bda3479308 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1213.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1b976e05057e94b13ade145557008643 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1214.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1214.cs new file mode 100644 index 0000000000..0aed32f679 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1214.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1214 : Skill + { + public const int SKILL_ID = 1214; + + public Skill1214() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1214Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27688 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(136); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 867; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(544); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1214Stub() : base(1214) + { + cls = 2; + name = "真·复仇之魂—震荡"; + nativename = "真·复仇之魂—震荡"; + icon = "击晕之魂仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1713; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 4; + commoncooldowntime = 30000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1103, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1214Stub() { } + + public override float GetMpcost(Skill skill) => 680f; + public override int GetExecutetime(Skill skill) => 867; + public override int GetCoolingtime(Skill skill) => 25000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (50); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.00025f + 2); + skill.GetVictim ().SetSoulstun (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1214.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1214.cs.meta new file mode 100644 index 0000000000..a7ae4cf1b5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1214.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c91d30c67eae14369bd4618ab820948d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1215.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1215.cs new file mode 100644 index 0000000000..bf6e8cf03b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1215.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1215 : Skill + { + public const int SKILL_ID = 1215; + + public Skill1215() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1215Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27684 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(136); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 867; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(544); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1215Stub() : base(1215) + { + cls = 2; + name = "狂·复仇之魂—震荡"; + nativename = "狂·复仇之魂—震荡"; + icon = "击晕之魂魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1713; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 4; + commoncooldowntime = 30000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1103, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1215Stub() { } + + public override float GetMpcost(Skill skill) => 680f; + public override int GetExecutetime(Skill skill) => 867; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (50); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.0002f + 3); + skill.GetVictim ().SetSoulstun (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1215.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1215.cs.meta new file mode 100644 index 0000000000..11182bf31c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1215.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9d86348eecfac4c36b85636395e1cc29 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1216.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1216.cs new file mode 100644 index 0000000000..49c0c67dec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1216.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1216 : Skill + { + public const int SKILL_ID = 1216; + + public Skill1216() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1216Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27644 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(126); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(504); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1216Stub() : base(1216) + { + cls = 2; + name = "真·生命绽放"; + nativename = "真·生命绽放"; + icon = "祝福加深仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1715; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_荆棘光环"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 90000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/荆棘光环击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1104, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1216Stub() { } + + public override float GetMpcost(Skill skill) => 630f; + public override int GetExecutetime(Skill skill) => 2200; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (91000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetAmount (0.3f); + skill.GetVictim ().SetValue (4000); + skill.GetVictim ().SetDeepenbless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1216.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1216.cs.meta new file mode 100644 index 0000000000..d4b6965d6a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1216.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6bf41c720a4474034915cf6086296d38 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1217.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1217.cs new file mode 100644 index 0000000000..803c119055 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1217.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1217 : Skill + { + public const int SKILL_ID = 1217; + + public Skill1217() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1217Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27668 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(126); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(504); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1217Stub() : base(1217) + { + cls = 2; + name = "狂·生命绽放"; + nativename = "狂·生命绽放"; + icon = "祝福加深魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1715; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_荆棘光环"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 90000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/荆棘光环击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1104, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1217Stub() { } + + public override float GetMpcost(Skill skill) => 630f; + public override int GetExecutetime(Skill skill) => 2200; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (91000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetAmount (0.4f); + skill.GetVictim ().SetValue (3000); + skill.GetVictim ().SetDeepenbless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1217.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1217.cs.meta new file mode 100644 index 0000000000..c751900fdb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1217.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0071fd7ab393f4ac8aff37aaac743e93 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1218.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1218.cs new file mode 100644 index 0000000000..a090c2b5c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1218.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1218 : Skill + { + public const int SKILL_ID = 1218; + + public Skill1218() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1218Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27653 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(81); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(324); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1218Stub() : base(1218) + { + cls = 2; + name = "真·生命禁锢"; + nativename = "真·生命禁锢"; + icon = "祝福削弱仙技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1712; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_回复抑制"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 90000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "人物/技能/巫师/回复抑制技能_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1105, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1218Stub() { } + + public override float GetMpcost(Skill skill) => 405f; + public override int GetExecutetime(Skill skill) => 2400; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (91000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetAmount (0.3f); + skill.GetVictim ().SetValue (4000); + skill.GetVictim ().SetWeakenbless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 49.4f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1218.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1218.cs.meta new file mode 100644 index 0000000000..10bfc2438d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1218.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4cb1169c917d843a991070b9c1eb0cc8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1219.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1219.cs new file mode 100644 index 0000000000..882951675c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1219.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1219 : Skill + { + public const int SKILL_ID = 1219; + + public Skill1219() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1219Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27677 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(81); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(324); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1219Stub() : base(1219) + { + cls = 2; + name = "狂·生命禁锢"; + nativename = "狂·生命禁锢"; + icon = "祝福削弱魔技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1712; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_回复抑制"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 90000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "人物/技能/巫师/回复抑制技能_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1105, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1219Stub() { } + + public override float GetMpcost(Skill skill) => 405f; + public override int GetExecutetime(Skill skill) => 2400; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (91000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetAmount (0.4f); + skill.GetVictim ().SetValue (3000); + skill.GetVictim ().SetWeakenbless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 49.4f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1219.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1219.cs.meta new file mode 100644 index 0000000000..f99efeeb0e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1219.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 85d75941609584b4ca36ff7c44aca3b5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1220.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1220.cs new file mode 100644 index 0000000000..f8a70c1986 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1220.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1220 : Skill + { + public const int SKILL_ID = 1220; + + public Skill1220() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1220Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27645 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(57); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(228); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1220Stub() : base(1220) + { + cls = 2; + name = "真·摄魂术"; + nativename = "真·摄魂术"; + icon = "技能抑制仙技能"; + max_level = 1; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1718; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_技能抑制"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "人物/技能/巫师/技能抑制技能_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1106, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1220Stub() { } + + public override float GetMpcost(Skill skill) => 285f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (17000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 43.9f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1220.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1220.cs.meta new file mode 100644 index 0000000000..170fac66f1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1220.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 02e0a05c746b144e2b559b26d3e0d965 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1221.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1221.cs new file mode 100644 index 0000000000..64506860a7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1221.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1221 : Skill + { + public const int SKILL_ID = 1221; + + public Skill1221() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1221Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27669 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(57); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(228); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1221Stub() : base(1221) + { + cls = 2; + name = "狂·摄魂术"; + nativename = "狂·摄魂术"; + icon = "技能抑制魔技能"; + max_level = 1; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1718; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_技能抑制"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "人物/技能/巫师/技能抑制技能_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1106, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1221Stub() { } + + public override float GetMpcost(Skill skill) => 285f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 43.9f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1221.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1221.cs.meta new file mode 100644 index 0000000000..8670ac3e3d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1221.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 402c87609cbab4565a8fb55618235c4b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1222.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1222.cs new file mode 100644 index 0000000000..235b17587d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1222.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1222 : Skill + { + public const int SKILL_ID = 1222; + + public Skill1222() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1222Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27655 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(61); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(244); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1222Stub() : base(1222) + { + cls = 2; + name = "真·复仇之魂—反噬"; + nativename = "真·复仇之魂—反噬"; + icon = "技能反噬仙技能"; + max_level = 1; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1718; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_敌法"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_敌法_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_敌法打击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 4; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1107, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1222Stub() { } + + public override float GetMpcost(Skill skill) => 305f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetHurtwhenuseskill (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1222.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1222.cs.meta new file mode 100644 index 0000000000..81dcc078c1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1222.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: be4f24ff4b9424223acc1973a73f3f18 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1223.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1223.cs new file mode 100644 index 0000000000..f7b10a308f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1223.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1223 : Skill + { + public const int SKILL_ID = 1223; + + public Skill1223() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1223Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27679 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(61); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(244); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1223Stub() : base(1223) + { + cls = 2; + name = "狂·复仇之魂—反噬"; + nativename = "狂·复仇之魂—反噬"; + icon = "技能反噬魔技能"; + max_level = 1; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1718; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_敌法"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_敌法_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_敌法打击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 4; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1107, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1223Stub() { } + + public override float GetMpcost(Skill skill) => 305f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 25000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetHurtwhenuseskill (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1223.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1223.cs.meta new file mode 100644 index 0000000000..431699f4cf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1223.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f009057ed76594b68824c6bdb8540216 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1224.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1224.cs new file mode 100644 index 0000000000..b8a4e1383a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1224.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1224 : Skill + { + public const int SKILL_ID = 1224; + + public Skill1224() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1224Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27639 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(48); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(192); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1224Stub() : base(1224) + { + cls = 2; + name = "真·黑巫咒"; + nativename = "真·黑巫咒"; + icon = "增攻减防仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1703; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1108, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1224Stub() { } + + public override float GetMpcost(Skill skill) => 240f; + public override int GetExecutetime(Skill skill) => 1467; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetAmount (-11); + skill.GetVictim ().SetValue (25); + skill.GetVictim ().SetAdjustattackdefend (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1224.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1224.cs.meta new file mode 100644 index 0000000000..b3c64a28e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1224.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9c2b2b761e6384942b8b953b65395a10 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1225.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1225.cs new file mode 100644 index 0000000000..d80dd90825 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1225.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1225 : Skill + { + public const int SKILL_ID = 1225; + + public Skill1225() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1225Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27663 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(48); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(192); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1225Stub() : base(1225) + { + cls = 2; + name = "狂·黑巫咒"; + nativename = "狂·黑巫咒"; + icon = "增攻减防魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1703; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1108, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1225Stub() { } + + public override float GetMpcost(Skill skill) => 240f; + public override int GetExecutetime(Skill skill) => 1467; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetAmount (-8); + skill.GetVictim ().SetValue (22); + skill.GetVictim ().SetAdjustattackdefend (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1225.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1225.cs.meta new file mode 100644 index 0000000000..648d7d4bfc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1225.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ba7343e2d796a4ca2bbb159993c021d7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1226.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1226.cs new file mode 100644 index 0000000000..f0b9e4740e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1226.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1226 : Skill + { + public const int SKILL_ID = 1226; + + public Skill1226() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1226Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27650 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(48); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(192); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1226Stub() : base(1226) + { + cls = 2; + name = "真·白巫咒"; + nativename = "真·白巫咒"; + icon = "增防减攻仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1704; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1109, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1226Stub() { } + + public override float GetMpcost(Skill skill) => 240f; + public override int GetExecutetime(Skill skill) => 1467; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetAmount (71); + skill.GetVictim ().SetValue (-99); + skill.GetVictim ().SetAdjustattackdefend (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1226.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1226.cs.meta new file mode 100644 index 0000000000..194805499e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1226.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7afbbea0f69ed48fba2dc4d963b137ef \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1227.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1227.cs new file mode 100644 index 0000000000..f15a13c819 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1227.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1227 : Skill + { + public const int SKILL_ID = 1227; + + public Skill1227() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1227Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27674 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(48); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(192); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1227Stub() : base(1227) + { + cls = 2; + name = "狂·白巫咒"; + nativename = "狂·白巫咒"; + icon = "增防减攻魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1704; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1109, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1227Stub() { } + + public override float GetMpcost(Skill skill) => 240f; + public override int GetExecutetime(Skill skill) => 1467; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetAmount (66); + skill.GetVictim ().SetValue (-99); + skill.GetVictim ().SetAdjustattackdefend (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.03f); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1227.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1227.cs.meta new file mode 100644 index 0000000000..1d905d91e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1227.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a55d9bdc344094d5fb4b154feac04964 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1228.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1228.cs new file mode 100644 index 0000000000..92a471b5a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1228.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1228 : Skill + { + public const int SKILL_ID = 1228; + + public Skill1228() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1228Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27649 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(42); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(168); + skill.SetPlus(2938.5f); + skill.SetRatio(1); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1228Stub() : base(1228) + { + cls = 2; + name = "真·灵爆咒"; + nativename = "真·灵爆咒"; + icon = "加深打击仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 6; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1702; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_加深打击"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_加深打击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1125, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1228Stub() { } + + public override float GetMpcost(Skill skill) => 210f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 39.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1228.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1228.cs.meta new file mode 100644 index 0000000000..e69b651b9c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1228.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dfefed7c6565d4868a89c55ff18d07d9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1229.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1229.cs new file mode 100644 index 0000000000..c41147ce5d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1229.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1229 : Skill + { + public const int SKILL_ID = 1229; + + public Skill1229() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1229Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27673 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(42); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(168); + skill.SetPlus(3299.5f); + skill.SetRatio(1); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1229Stub() : base(1229) + { + cls = 2; + name = "狂·灵爆咒"; + nativename = "狂·灵爆咒"; + icon = "加深打击魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 6; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1702; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_加深打击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_加深打击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1125, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1229Stub() { } + + public override float GetMpcost(Skill skill) => 210f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 39.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1229.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1229.cs.meta new file mode 100644 index 0000000000..f234907efc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1229.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e288ffa954439477cb440135865808ec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1230.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1230.cs new file mode 100644 index 0000000000..8f2c64be1f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1230.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1230 : Skill + { + public const int SKILL_ID = 1230; + + public Skill1230() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1230Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27638 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(64); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(256); + skill.SetPlus(2937.4f); + skill.SetRatio(1); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1230Stub() : base(1230) + { + cls = 2; + name = "真·冲击术"; + nativename = "真·冲击术"; + icon = "法术冲击仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1701; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_法术冲击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_法术冲击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1126, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1230Stub() { } + + public override float GetMpcost(Skill skill) => 320f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 39.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1230.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1230.cs.meta new file mode 100644 index 0000000000..7de4eb33f7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1230.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d36eea3fa9f4040e28e8aa85a8824dab \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1231.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1231.cs new file mode 100644 index 0000000000..5383838bfd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1231.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1231 : Skill + { + public const int SKILL_ID = 1231; + + public Skill1231() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1231Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27662 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(64); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(256); + skill.SetPlus(2937.4f); + skill.SetRatio(1); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1231Stub() : base(1231) + { + cls = 2; + name = "狂·冲击术"; + nativename = "狂·冲击术"; + icon = "法术冲击魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1701; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_法术冲击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_法术冲击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1126, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1231Stub() { } + + public override float GetMpcost(Skill skill) => 320f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (-30); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 39.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1231.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1231.cs.meta new file mode 100644 index 0000000000..6cf6266ae9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1231.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b76b79c39425b400fa6368d3debd3064 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1232.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1232.cs new file mode 100644 index 0000000000..58f74bc099 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1232.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1232 : Skill + { + public const int SKILL_ID = 1232; + + public Skill1232() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1232Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27640 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(56); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(224); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1232Stub() : base(1232) + { + cls = 2; + name = "真·激流术"; + nativename = "真·激流术"; + icon = "激流术仙技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1707; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_激流术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_激流术_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1127, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1232Stub() { } + + public override float GetMpcost(Skill skill) => 280f; + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetFlood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 39.5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack () + 7753.5 + 3.5 * player.GetWeaponmagicdamage (); + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1232.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1232.cs.meta new file mode 100644 index 0000000000..fd113adfc7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1232.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fd5dd115756ff4cd088ea2107b0e1fcd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1233.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1233.cs new file mode 100644 index 0000000000..41fbd010bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1233.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1233 : Skill + { + public const int SKILL_ID = 1233; + + public Skill1233() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1233Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27664 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(56); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(224); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1233Stub() : base(1233) + { + cls = 2; + name = "狂·激流术"; + nativename = "狂·激流术"; + icon = "激流术魔技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1707; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_激流术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_激流术_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1127, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1233Stub() { } + + public override float GetMpcost(Skill skill) => 280f; + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetFlood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 39.5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack () + 6553.5 + 3.5 * player.GetWeaponmagicdamage (); + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1233.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1233.cs.meta new file mode 100644 index 0000000000..965ae76a6f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1233.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7987505436aa74edfa1f5038d30ddc45 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1234.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1234.cs new file mode 100644 index 0000000000..9cac4c5b63 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1234.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1234 : Skill + { + public const int SKILL_ID = 1234; + + public Skill1234() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1234Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27642 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(136); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(544); + skill.SetPlus(5376); + skill.SetRatio(2); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1234Stub() : base(1234) + { + cls = 2; + name = "真·气爆术"; + nativename = "真·气爆术"; + icon = "气爆仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1710; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_气爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_群攻技能1_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1128, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1234Stub() { } + + public override float GetMpcost(Skill skill) => 680f; + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 92); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 5.5f * 3.6f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1234.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1234.cs.meta new file mode 100644 index 0000000000..208dfcbe4f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1234.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1f9cf7686c32d4b25afd9b58735f2848 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1235.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1235.cs new file mode 100644 index 0000000000..8c844402db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1235.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1235 : Skill + { + public const int SKILL_ID = 1235; + + public Skill1235() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1235Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27666 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(136); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(544); + skill.SetPlus(5376); + skill.SetRatio(2); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1235Stub() : base(1235) + { + cls = 2; + name = "狂·气爆术"; + nativename = "狂·气爆术"; + icon = "气爆魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1710; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_气爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_群攻技能1_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1128, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1235Stub() { } + + public override float GetMpcost(Skill skill) => 680f; + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 92); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetAmount (4518.8f); + skill.GetVictim ().SetFlood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 5.5f * 3.6f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1235.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1235.cs.meta new file mode 100644 index 0000000000..5afc8b0375 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1235.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f12cd3779081c4bb78990632b2e16c16 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1236.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1236.cs new file mode 100644 index 0000000000..95551137a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1236.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1236 : Skill + { + public const int SKILL_ID = 1236; + + public Skill1236() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1236Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27643 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(112); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(448); + skill.SetPlus(4329.1f); + skill.SetRatio(2); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1236Stub() : base(1236) + { + cls = 2; + name = "真·冷凝术"; + nativename = "真·冷凝术"; + icon = "冷凝术仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1714; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_冷凝术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_冷凝术_飞行击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1129, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1236Stub() { } + + public override float GetMpcost(Skill skill) => 560f; + public override int GetExecutetime(Skill skill) => 1933; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 60); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 42.25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1236.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1236.cs.meta new file mode 100644 index 0000000000..d046a02907 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1236.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7d9519d24678445e1aa17643b4a567e4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1237.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1237.cs new file mode 100644 index 0000000000..8f0edbb9c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1237.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1237 : Skill + { + public const int SKILL_ID = 1237; + + public Skill1237() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1237Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27667 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(112); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(448); + skill.SetPlus(4329.1f); + skill.SetRatio(2); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1237Stub() : base(1237) + { + cls = 2; + name = "狂·冷凝术"; + nativename = "狂·冷凝术"; + icon = "冷凝术魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1714; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_冷凝术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_冷凝术_飞行击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1129, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1237Stub() { } + + public override float GetMpcost(Skill skill) => 560f; + public override int GetExecutetime(Skill skill) => 1933; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 42.25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1237.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1237.cs.meta new file mode 100644 index 0000000000..4f798fd205 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1237.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 74543515fe8734ddeb035f9427f1a0f8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1238.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1238.cs new file mode 100644 index 0000000000..828b1e31b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1238.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1238 : Skill + { + public const int SKILL_ID = 1238; + + public Skill1238() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1238Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27651 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(94); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(376); + skill.SetPlus(5041.1f); + skill.SetRatio(1); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1238Stub() : base(1238) + { + cls = 2; + name = "真·土崩咒"; + nativename = "真·土崩咒"; + icon = "土崩仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 6; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1709; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_土崩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_土崩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1130, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1238Stub() { } + + public override float GetMpcost(Skill skill) => 470f; + public override int GetExecutetime(Skill skill) => 1133; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 13f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (18); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10 + 2 * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1238.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1238.cs.meta new file mode 100644 index 0000000000..49cc50fa2c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1238.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3bc075bb910164e1282b9b14fabd6ed2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1239.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1239.cs new file mode 100644 index 0000000000..51682c4691 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1239.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1239 : Skill + { + public const int SKILL_ID = 1239; + + public Skill1239() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1239Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27675 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(94); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(376); + skill.SetPlus(5041.1f); + skill.SetRatio(1); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1239Stub() : base(1239) + { + cls = 2; + name = "狂·土崩咒"; + nativename = "狂·土崩咒"; + icon = "土崩魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 6; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1709; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_土崩"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_土崩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1130, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1239Stub() { } + + public override float GetMpcost(Skill skill) => 470f; + public override int GetExecutetime(Skill skill) => 1133; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (18); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10 + 2 * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1239.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1239.cs.meta new file mode 100644 index 0000000000..3b44b6a033 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1239.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b9fb984733af947afb3f562783ec34b9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1240.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1240.cs new file mode 100644 index 0000000000..def7d6cea3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1240.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1240 : Skill + { + public const int SKILL_ID = 1240; + + public Skill1240() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1240Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27652 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(160); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1240Stub() : base(1240) + { + cls = 2; + name = "真·洪沙咒"; + nativename = "真·洪沙咒"; + icon = "献祭仙技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 6; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1711; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_献祭"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_献祭_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_献祭_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 2; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1131, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1240Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetFallen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 42.25f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack () + 7783.5 + 5 * player.GetWeaponmagicdamage (); + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1240.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1240.cs.meta new file mode 100644 index 0000000000..364676412d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1240.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2175ece49db324df28dc53d68c1d0e86 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1241.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1241.cs new file mode 100644 index 0000000000..26bc3fa6fd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1241.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1241 : Skill + { + public const int SKILL_ID = 1241; + + public Skill1241() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1241Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27676 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(160); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1241Stub() : base(1241) + { + cls = 2; + name = "狂·洪沙咒"; + nativename = "狂·洪沙咒"; + icon = "献祭魔技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 6; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1711; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_献祭"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_献祭_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_献祭_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 2; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1131, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1241Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetFallen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 42.25f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack () + 6583.5 + 5 * player.GetWeaponmagicdamage (); + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1241.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1241.cs.meta new file mode 100644 index 0000000000..c9bbc82893 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1241.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 17275d694d79e41c6bf32b57d14ccc81 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1242.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1242.cs new file mode 100644 index 0000000000..25e3749d03 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1242.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1242 : Skill + { + public const int SKILL_ID = 1242; + + public Skill1242() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1242Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27654 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(112); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(448); + skill.SetPlus(4132.8f); + skill.SetRatio(2); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1242Stub() : base(1242) + { + cls = 2; + name = "真·狂沙穿空咒"; + nativename = "真·狂沙穿空咒"; + icon = "扬沙仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 6; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1716; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_扬沙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_扬沙_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1132, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1242Stub() { } + + public override float GetMpcost(Skill skill) => 560f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1242.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1242.cs.meta new file mode 100644 index 0000000000..7812d2b9e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1242.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c2d41dda727684f3ab82fd0f0262ad42 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1243.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1243.cs new file mode 100644 index 0000000000..a78d607f87 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1243.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1243 : Skill + { + public const int SKILL_ID = 1243; + + public Skill1243() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1243Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27678 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(112); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(448); + skill.SetPlus(4132.8f); + skill.SetRatio(2); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1243Stub() : base(1243) + { + cls = 2; + name = "狂·狂沙穿空咒"; + nativename = "狂·狂沙穿空咒"; + icon = "扬沙魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 6; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1716; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_扬沙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_扬沙_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1132, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1243Stub() { } + + public override float GetMpcost(Skill skill) => 560f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecaccuracy (1); + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetReducesoil (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1243.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1243.cs.meta new file mode 100644 index 0000000000..5016095ac7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1243.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dd1980c16cbba4f91995b425174a1f42 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1244.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1244.cs new file mode 100644 index 0000000000..f06d6f7d74 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1244.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1244 : Skill + { + public const int SKILL_ID = 1244; + + public Skill1244() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1244Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27656 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(136); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(544); + skill.SetPlus(3987.1f); + skill.SetRatio(1); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1244Stub() : base(1244) + { + cls = 2; + name = "真·大地灵引咒"; + nativename = "真·大地灵引咒"; + icon = "土灵仙技能"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1721; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_土灵"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/巫师_土灵_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1133, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1244Stub() { } + + public override float GetMpcost(Skill skill) => 680f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 85); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40.6f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1244.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1244.cs.meta new file mode 100644 index 0000000000..c6ba884c80 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1244.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 18f60a1cd612f4f06808f622462d9da2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1245.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1245.cs new file mode 100644 index 0000000000..dc41fb3fd2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1245.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1245 : Skill + { + public const int SKILL_ID = 1245; + + public Skill1245() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1245Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27680 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(136); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(544); + skill.SetPlus(3987.1f); + skill.SetRatio(1); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1245Stub() : base(1245) + { + cls = 2; + name = "狂·大地灵引咒"; + nativename = "狂·大地灵引咒"; + icon = "土灵魔技能"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1721; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_土灵"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/巫师_土灵_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1133, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1245Stub() { } + + public override float GetMpcost(Skill skill) => 680f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 85); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40.6f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1245.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1245.cs.meta new file mode 100644 index 0000000000..c0973d4cb8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1245.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 70513fc6742054a008109a9737344e08 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1246.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1246.cs new file mode 100644 index 0000000000..a1dff0d4cb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1246.cs @@ -0,0 +1,209 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1246 : Skill + { + public const int SKILL_ID = 1246; + + public Skill1246() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1246Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27647 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(136); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(544); + skill.SetPlus(6578); + skill.SetRatio(2); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1246Stub() : base(1246) + { + cls = 2; + name = "真·水瀑泓泱"; + nativename = "真·水瀑泓泱"; + icon = "水瀑术仙技能"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1720; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_水瀑术"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/水瀑术_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1134, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1246Stub() { } + + public override float GetMpcost(Skill skill) => 680f; + public override int GetExecutetime(Skill skill) => 1133; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 ()); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1246.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1246.cs.meta new file mode 100644 index 0000000000..7f3aaac4fc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1246.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 62a0505390641402ea086311abd630a5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1247.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1247.cs new file mode 100644 index 0000000000..b10b35c13e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1247.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1247 : Skill + { + public const int SKILL_ID = 1247; + + public Skill1247() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1247Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27671 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(136); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(544); + skill.SetPlus(6578); + skill.SetRatio(2); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1247Stub() : base(1247) + { + cls = 2; + name = "狂·水瀑泓泱"; + nativename = "狂·水瀑泓泱"; + icon = "水瀑术魔技能"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1720; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_水瀑术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/水瀑术_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1134, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1247Stub() { } + + public override float GetMpcost(Skill skill) => 680f; + public override int GetExecutetime(Skill skill) => 1133; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * 1.2f); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1247.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1247.cs.meta new file mode 100644 index 0000000000..1808a1d6a7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1247.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f3319d1b567b34fe0b5728c3e795809f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1248.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1248.cs new file mode 100644 index 0000000000..947531408e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1248.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1248 : Skill + { + public const int SKILL_ID = 1248; + + public Skill1248() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1248Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27641 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(248); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(992); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1248Stub() : base(1248) + { + cls = 2; + name = "真·生命气泡"; + nativename = "真·生命气泡"; + icon = "魔法盾仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1708; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_生命气泡"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_群攻技能2_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1135, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1248Stub() { } + + public override float GetMpcost(Skill skill) => 1240f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 2.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 30 / 100 + 1200); + skill.GetVictim ().SetHpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1248.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1248.cs.meta new file mode 100644 index 0000000000..ef3284b712 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1248.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 708da3dd5ffa64b53a681ac7c52a12d5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1249.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1249.cs new file mode 100644 index 0000000000..821105ef4d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1249.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1249 : Skill + { + public const int SKILL_ID = 1249; + + public Skill1249() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1249Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27665 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(248); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(992); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1249Stub() : base(1249) + { + cls = 2; + name = "狂·生命气泡"; + nativename = "狂·生命气泡"; + icon = "魔法盾魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1708; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_生命气泡"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_群攻技能2_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1135, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1249Stub() { } + + public override float GetMpcost(Skill skill) => 1200f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 25000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 2.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 30 / 100 + 1200); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1249.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1249.cs.meta new file mode 100644 index 0000000000..4503613cb7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1249.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c91ba6907cf804cdb935b0919d0c32bf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1250.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1250.cs new file mode 100644 index 0000000000..e413033ab8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1250.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1250 : Skill + { + public const int SKILL_ID = 1250; + + public Skill1250() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1250Stub : SkillStub + { + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(240); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1250Stub() : base(1250) + { + cls = 2; + name = "432"; + nativename = "432"; + icon = "人鱼变仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1724; + allow_land = false; + allow_air = false; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 3; + effect = "人鱼变"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "程序联入/人鱼变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1137, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1250Stub() { } + + public override float GetMpcost(Skill skill) => 240f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetFishform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1250.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1250.cs.meta new file mode 100644 index 0000000000..ab0ace4517 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1250.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ed68b44ade6964705880d7e2393f0bf3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1251.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1251.cs new file mode 100644 index 0000000000..dacea69585 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1251.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1251 : Skill + { + public const int SKILL_ID = 1251; + + public Skill1251() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1251Stub : SkillStub + { + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(240); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1251Stub() : base(1251) + { + cls = 2; + name = "234"; + nativename = "234"; + icon = "人鱼变魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1724; + allow_land = false; + allow_air = false; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 3; + effect = "人鱼变"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "程序联入/人鱼变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1137, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1251Stub() { } + + public override float GetMpcost(Skill skill) => 240f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetValue (13); + skill.GetVictim ().SetFishform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1251.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1251.cs.meta new file mode 100644 index 0000000000..03ca74d372 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1251.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e373c6414c08a48e48f99498349a337b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1252.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1252.cs new file mode 100644 index 0000000000..1cfa089889 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1252.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1252 : Skill + { + public const int SKILL_ID = 1252; + + public Skill1252() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1252Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27646 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(81); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(324); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1252Stub() : base(1252) + { + cls = 2; + name = "真·潮汐精灵"; + nativename = "真·潮汐精灵"; + icon = "水精灵仙技能"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1719; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1140, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1252Stub() { } + + public override float GetMpcost(Skill skill) => 405f; + public override int GetExecutetime(Skill skill) => 1600; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (17000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetIncmagic2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1252.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1252.cs.meta new file mode 100644 index 0000000000..5b75d1f2d1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1252.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f4a225b3296e54160881eef3ed9ee66c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1253.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1253.cs new file mode 100644 index 0000000000..f024a0296f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1253.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1253 : Skill + { + public const int SKILL_ID = 1253; + + public Skill1253() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1253Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27670 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(81); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(324); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1253Stub() : base(1253) + { + cls = 2; + name = "狂·潮汐精灵"; + nativename = "狂·潮汐精灵"; + icon = "水精灵魔技能"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1719; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1140, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1253Stub() { } + + public override float GetMpcost(Skill skill) => 405f; + public override int GetExecutetime(Skill skill) => 1600; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (17000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetIncmagic2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetFastpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (17000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1253.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1253.cs.meta new file mode 100644 index 0000000000..33172a2189 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1253.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: efdf6707d74a64b4c94380d0b9f79ed2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1254.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1254.cs new file mode 100644 index 0000000000..683dabf131 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1254.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1254 : Skill + { + public const int SKILL_ID = 1254; + + public Skill1254() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1254Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27657 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(204); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(816); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1254Stub() : base(1254) + { + cls = 2; + name = "真·巫师意志"; + nativename = "真·巫师意志"; + icon = "术士的意志仙技能"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1722; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1141, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1254Stub() { } + + public override float GetMpcost(Skill skill) => 1020f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetImmunephysical (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1254.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1254.cs.meta new file mode 100644 index 0000000000..03ff8e7cb1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1254.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8d4cc219482e54a3d8d6ad0c2fa7fe24 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1255.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1255.cs new file mode 100644 index 0000000000..6f88807865 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1255.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1255 : Skill + { + public const int SKILL_ID = 1255; + + public Skill1255() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1255Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27681 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(204); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(816); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1255Stub() : base(1255) + { + cls = 2; + name = "狂·巫师意志"; + nativename = "狂·巫师意志"; + icon = "术士的意志魔技能"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1722; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1141, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1255Stub() { } + + public override float GetMpcost(Skill skill) => 1020f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetImmunephysical (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1255.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1255.cs.meta new file mode 100644 index 0000000000..7f9d5eb6fe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1255.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f14f5ba5004b142e79dc167f56f36ba7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1256.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1256.cs new file mode 100644 index 0000000000..521d4ed626 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1256.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1256 : Skill + { + public const int SKILL_ID = 1256; + + public Skill1256() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1256Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27648 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill1256Stub() : base(1256) + { + cls = 2; + name = "真·水精通"; + nativename = "真·水精通"; + icon = "水系魔法精通仙技能"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1724; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1184, 10); + + } + + ~Skill1256Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncwater (0.25f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1256.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1256.cs.meta new file mode 100644 index 0000000000..878c8fe08d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1256.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a2211eb2322da4a8891f69171c5dd3c5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1257.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1257.cs new file mode 100644 index 0000000000..0921e01521 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1257.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1257 : Skill + { + public const int SKILL_ID = 1257; + + public Skill1257() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1257Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27672 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill1257Stub() : base(1257) + { + cls = 2; + name = "狂·水精通"; + nativename = "狂·水精通"; + icon = "水系魔法精通魔技能"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1724; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1184, 10); + + } + + ~Skill1257Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncearth (0.2f); + skill.GetPlayer ().SetInccrit (1); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1257.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1257.cs.meta new file mode 100644 index 0000000000..70978c97d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1257.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 479d010b42a1041928879bc3fc112a5b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1258.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1258.cs new file mode 100644 index 0000000000..20da824d8b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1258.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1258 : Skill + { + public const int SKILL_ID = 1258; + + public Skill1258() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1258Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27658 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill1258Stub() : base(1258) + { + cls = 2; + name = "真·土精通"; + nativename = "真·土精通"; + icon = "土系魔法精通仙技能"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1725; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1185, 10); + + } + + ~Skill1258Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncearth (0.25f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1258.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1258.cs.meta new file mode 100644 index 0000000000..0835e7af7f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1258.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ebc81692a42ad48dd9bed3dc26875075 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1259.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1259.cs new file mode 100644 index 0000000000..1f9292f25d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1259.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1259 : Skill + { + public const int SKILL_ID = 1259; + + public Skill1259() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1259Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27682 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill1259Stub() : base(1259) + { + cls = 2; + name = "狂·土精通"; + nativename = "狂·土精通"; + icon = "土系魔法精通魔技能"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1725; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1185, 10); + + } + + ~Skill1259Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncearth (0.2f); + skill.GetPlayer ().SetInccrit (1); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1259.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1259.cs.meta new file mode 100644 index 0000000000..246d31eb00 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1259.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5e22151de318344de899a5497215bbd1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill13.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill13.cs new file mode 100644 index 0000000000..5e413663b5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill13.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill13 : Skill + { + public const int SKILL_ID = 13; + + public Skill13() : base(SKILL_ID) + { + } + } +#endif + + public class Skill13Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetPlus(2000 + 200 * skill.GetLevel() +(skill.GetPlayer().GetHp() / 2 + skill.GetPlayer().GetMp() / 2) *(2 + 0.2f * skill.GetLevel())); + skill.GetPlayer().SetHp(skill.GetPlayer().GetHp() / 2); + skill.GetPlayer().SetMp(skill.GetPlayer().GetMp() / 2); + skill.SetDamage(skill.GetPlus()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill13Stub() : base(13) + { + cls = 4; + name = "毁天灭地"; + nativename = "毁天灭地"; + icon = "毁天灭地"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1509; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "毁天灭地"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/毁天灭地击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(107, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill13Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1200 * skill.GetLevel (); + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill13.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill13.cs.meta new file mode 100644 index 0000000000..7e064086b7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill13.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5ec8af72cff4b4ce9a42bc7a7b34b686 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1326.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1326.cs new file mode 100644 index 0000000000..5e6bcc8c60 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1326.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1326 : Skill + { + public const int SKILL_ID = 1326; + + public Skill1326() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1326Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 28034 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(480); + skill.SetPlus(5475.9f); + skill.SetRatio(3); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1326Stub() : base(1326) + { + cls = 2; + name = "沙轰咒"; + nativename = "沙轰咒"; + icon = "沙轰咒"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 6; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2453; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_沙轰咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_沙轰咒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1326Stub() { } + + public override float GetMpcost(Skill skill) => 600f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => (float)(15 + 0.4 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 18; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1326.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1326.cs.meta new file mode 100644 index 0000000000..1879d26920 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1326.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6ae2855f381714d6bb4b5d939e6fa43a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1327.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1327.cs new file mode 100644 index 0000000000..e49361c7e8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1327.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1327 : Skill + { + public const int SKILL_ID = 1327; + + public Skill1327() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1327Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 28035 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(150); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(600); + skill.SetPlus(10253.1f); + skill.SetRatio(4); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1327Stub() : base(1327) + { + cls = 2; + name = "碎石灭咒"; + nativename = "碎石灭咒"; + icon = "碎石灭咒"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2454; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_碎石灭咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_碎石灭咒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1327Stub() { } + + public override float GetMpcost(Skill skill) => 750f; + public override int GetExecutetime(Skill skill) => 1400; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.4 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlowpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 31; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1327.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1327.cs.meta new file mode 100644 index 0000000000..6671ac552d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1327.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9050d1087b43b404a824f6dc360d6ae0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill14.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill14.cs new file mode 100644 index 0000000000..69de11a863 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill14.cs @@ -0,0 +1,90 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill14 : Skill + { + public const int SKILL_ID = 14; + + public Skill14() : base(SKILL_ID) + { + } + } +#endif + + public class Skill14Stub : SkillStub + { + + + public Skill14Stub() : base(14) + { + cls = 4; + name = "*"; + nativename = "*"; + icon = "噬血"; + max_level = 3; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 143; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 1; + allow_forms = 1; + effect = "噬血"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill14Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 200002; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 433f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 333; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill14.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill14.cs.meta new file mode 100644 index 0000000000..f61568c39f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill14.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 21fd9852c50cc43b281bb07dad027f0c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill149.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill149.cs new file mode 100644 index 0000000000..0bb5a1c9ad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill149.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill149 : Skill + { + public const int SKILL_ID = 149; + + public Skill149() : base(SKILL_ID) + { + } + } +#endif + + public class Skill149Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(14 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(14 + 5 * skill.GetLevel())); + skill.SetPlus(2.1f * skill.GetLevel() * skill.GetLevel() + 87 * skill.GetLevel() + 318.9f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill149Stub() : base(149) + { + cls = 4; + name = "怒扑"; + nativename = "怒扑"; + icon = "虎扑"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1516; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "虎扑"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虎扑击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(150, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill149Stub() { } + + public override float GetMpcost(Skill skill) => (float)(14 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 13000 - 500 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12.5f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill149.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill149.cs.meta new file mode 100644 index 0000000000..20736fed10 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill149.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1adc014cdd4bb4b3682a33d6622172f0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill150.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill150.cs new file mode 100644 index 0000000000..8256b7e850 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill150.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill150 : Skill + { + public const int SKILL_ID = 150; + + public Skill150() : base(SKILL_ID) + { + } + } +#endif + + public class Skill150Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(3.2f + 4 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(3.2f + 4 * skill.GetLevel())); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill150Stub() : base(150) + { + cls = 4; + name = "撕咬"; + nativename = "撕咬"; + icon = "撕咬"; + max_level = 10; + type = 1; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1515; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "撕咬"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/撕咬击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(112, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill150Stub() { } + + public override float GetMpcost(Skill skill) => (float)(3.2 + 4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 300 * skill.GetLevel () * (1 + skill.GetT0 () * 0.0001f); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (5 * skill.GetLevel () * skill.GetLevel () + 119.1f * skill.GetLevel () + 209.1f); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (8 * skill.GetLevel () * skill.GetLevel () + 300 * skill.GetLevel () + 500); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); + public float GetTalent0(PlayerWrapper player) => player.GetMaxhp (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill150.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill150.cs.meta new file mode 100644 index 0000000000..8fe7ae84c3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill150.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 766eca26ff9fa49549395fbf8de004d5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill151.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill151.cs new file mode 100644 index 0000000000..82ccd68354 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill151.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill151 : Skill + { + public const int SKILL_ID = 151; + + public Skill151() : base(SKILL_ID) + { + } + } +#endif + + public class Skill151Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(28.8f + 6 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(28.8f + 6 * skill.GetLevel())); + skill.SetPlus(3.1f * skill.GetLevel() * skill.GetLevel() + 124 * skill.GetLevel() + 581.3f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill151Stub() : base(151) + { + cls = 4; + name = "吞噬"; + nativename = "吞噬"; + icon = "吞噬"; + max_level = 10; + type = 1; + apcost = 35; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1517; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "吞噬"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/吞噬击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(149, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill151Stub() { } + + public override float GetMpcost(Skill skill) => (float)(28.8 + 6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 700 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.2f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetValue (1 * skill.GetLevel ()); + skill.GetVictim ().SetSubattackdegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill151.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill151.cs.meta new file mode 100644 index 0000000000..e42e5abde7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill151.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4492acbd774194d40b6d722e78d76f8f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill152.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill152.cs new file mode 100644 index 0000000000..4928148a5b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill152.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill152 : Skill + { + public const int SKILL_ID = 152; + + public Skill152() : base(SKILL_ID) + { + } + } +#endif + + public class Skill152Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(52.5f + 6 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(52.5f + 6 * skill.GetLevel())); + skill.SetPlus(485.73f + 12.04f * skill.GetLevel() * skill.GetLevel()); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill152Stub() : base(152) + { + cls = 4; + name = "排山倒海"; + nativename = "排山倒海"; + icon = "排山倒海"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1518; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "排山倒海"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/排山倒海击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.0f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(151, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill152Stub() { } + + public override float GetMpcost(Skill skill) => (float)(52.5 + 6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(4 + 0.2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 600 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + 400 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15.7f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill152.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill152.cs.meta new file mode 100644 index 0000000000..0c2179cb00 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill152.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 51c41f88f6a7f4142a11e2c533667a63 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill153.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill153.cs new file mode 100644 index 0000000000..2b281687ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill153.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill153 : Skill + { + public const int SKILL_ID = 153; + + public Skill153() : base(SKILL_ID) + { + } + } +#endif + + public class Skill153Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(112 + 6 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(112 + 6 * skill.GetLevel())); + skill.SetPlus(0); + skill.SetRatio(1 + 0.1f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill153Stub() : base(153) + { + cls = 4; + name = "天崩地裂"; + nativename = "天崩地裂"; + icon = "兽王之怒"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1519; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "流星锤"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/流星锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(152, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill153Stub() { } + + public override float GetMpcost(Skill skill) => (float)(112 + 6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1200 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (5.6f * skill.GetLevel () * skill.GetLevel () + 352.9f * skill.GetLevel () + 4635.2f); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (1800 + 300 * skill.GetLevel ()); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 2.5f + 0.15f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill153.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill153.cs.meta new file mode 100644 index 0000000000..8738245afc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill153.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd55dcd688fd848e791d5e539cf411a0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill154.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill154.cs new file mode 100644 index 0000000000..591e574560 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill154.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill154 : Skill + { + public const int SKILL_ID = 154; + + public Skill154() : base(SKILL_ID) + { + } + } +#endif + + public class Skill154Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 13, 18, 23, 28, 33, 38, 43, 48, 53, 58 }; + private static readonly int[] RequiredSpArray = { 2100, 4100, 7000, 10900, 16100, 23000, 32000, 44100, 60200, 81800 }; + private static readonly int[] RequiredMoneyArray = { 220, 400, 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill154Stub() : base(154) + { + cls = 4; + name = "变身强化"; + nativename = "变身强化"; + icon = "变身强化"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 1; + eventflag = 4; + posdouble = 0; + time_type = 0; + showorder = 1523; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "变身强化"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(112, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill154Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetAdddefence (0.1f + 0.05f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill154.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill154.cs.meta new file mode 100644 index 0000000000..0ef1469394 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill154.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9f67771c70df742e3a971939fe6dd75e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill155.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill155.cs new file mode 100644 index 0000000000..642f734723 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill155.cs @@ -0,0 +1,164 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill155 : Skill + { + public const int SKILL_ID = 155; + + public Skill155() : base(SKILL_ID) + { + } + } +#endif + + public class Skill155Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 26, 31, 36, 41, 46, 51, 56, 61, 66, 71 }; + private static readonly int[] RequiredSpArray = { 7360, 11120, 16000, 22480, 31120, 42560, 57920, 78640, 106400, 144800 }; + private static readonly int[] RequiredMoneyArray = { 820, 1270, 1720, 2180, 2680, 3180, 3680, 6980, 22980, 91980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(63 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(63 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill155Stub() : base(155) + { + cls = 4; + name = "毒牙"; + nativename = "毒牙"; + icon = "毒牙"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1520; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "毒牙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(112, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill155Stub() { } + + public override float GetMpcost(Skill skill) => (float)(63 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetToxicblade (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill155.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill155.cs.meta new file mode 100644 index 0000000000..76fc91c97a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill155.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f9539ee87459e4d12b57ddad475c3946 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill156.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill156.cs new file mode 100644 index 0000000000..ee3fffd6db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill156.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill156 : Skill + { + public const int SKILL_ID = 156; + + public Skill156() : base(SKILL_ID) + { + } + } +#endif + + public class Skill156Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 44, 48, 52, 56, 60, 64, 68, 72, 76, 80 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredMoneyArray = { 2480, 2880, 3280, 3680, 4980, 12980, 41980, 111980, 211980, 371980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(56 + 5.6f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(56 + 5.6f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill156Stub() : base(156) + { + cls = 4; + name = "震慑"; + nativename = "震慑"; + icon = "震慑"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 0; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1522; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "震慑"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(185, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill156Stub() { } + + public override float GetMpcost(Skill skill) => (float)(56 + 5.6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 200 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetDecattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.2f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 2 + 0.3f * skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill156.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill156.cs.meta new file mode 100644 index 0000000000..23b0754e42 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill156.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 04bed401fbd76481cbdf0c78beecfda9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill162.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill162.cs new file mode 100644 index 0000000000..4814489c6d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill162.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill162 : Skill + { + public const int SKILL_ID = 162; + + public Skill162() : base(SKILL_ID) + { + } + } +#endif + + public class Skill162Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill162Stub() : base(162) + { + cls = 4; + name = "斧锤精通"; + nativename = "斧锤精通"; + icon = "斧锤精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 2; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1527; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill162Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetInchammer (0.06f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill162.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill162.cs.meta new file mode 100644 index 0000000000..fd34f12a40 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill162.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0885cbb844b6b4e7ab09cf867bee3c07 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1820.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1820.cs new file mode 100644 index 0000000000..fd88c17994 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1820.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1820 : Skill + { + public const int SKILL_ID = 1820; + + public Skill1820() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1820Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33703 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(121); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 850; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(485); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1820Stub() : base(1820) + { + cls = 2; + name = "风岩葬"; + nativename = "风岩葬"; + icon = "风岩葬"; + max_level = 1; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2901; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_风岩葬"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_风岩葬_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_风岩葬_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1820Stub() { } + + public override float GetMpcost(Skill skill) => 606f; + public override int GetExecutetime(Skill skill) => 850; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetValue (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetDelayearthhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => (player.GetPuremagicattack () + 1.5 * player.GetWeaponmagicdamage () + 6475) * (player.GetRand () < + player.GetCrit () * 2 ? 1.5 : 1); + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1820.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1820.cs.meta new file mode 100644 index 0000000000..44d831c919 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1820.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aca38e895a6e6453ab3941b5e39d3f4f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1821.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1821.cs new file mode 100644 index 0000000000..79c52f5c88 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1821.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1821 : Skill + { + public const int SKILL_ID = 1821; + + public Skill1821() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1821Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33704 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(182); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(727); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1821Stub() : base(1821) + { + cls = 2; + name = "灵魂元胎"; + nativename = "灵魂元胎"; + icon = "流觞"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2902; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1821Stub() { } + + public override float GetMpcost(Skill skill) => 909f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp ()); + skill.GetVictim ().SetInvincible5 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1821.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1821.cs.meta new file mode 100644 index 0000000000..425f6969e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1821.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0020ecaa96c0c42219b2e072d065d274 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1822.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1822.cs new file mode 100644 index 0000000000..5a9ef2037f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1822.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1822 : Skill + { + public const int SKILL_ID = 1822; + + public Skill1822() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1822Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 5000000 }; + private static readonly int[] RequiredItemArray = { 33707 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(1000); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1822Stub() : base(1822) + { + cls = 2; + name = "阎浮·幽冥遁"; + nativename = "阎浮·幽冥遁"; + icon = "冥王乐土"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2905; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1875, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1822Stub() { } + + public override float GetMpcost(Skill skill) => 1212f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 300000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + skill.GetT0 ()); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => (player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel ()) / 10; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1822.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1822.cs.meta new file mode 100644 index 0000000000..a5d3af07e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1822.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 875fe80513a74463090581f07938f440 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1823.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1823.cs new file mode 100644 index 0000000000..028c92d798 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1823.cs @@ -0,0 +1,165 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1823 : Skill + { + public const int SKILL_ID = 1823; + + public Skill1823() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1823Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33706 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(151); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 850; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(606); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1823Stub() : base(1823) + { + cls = 2; + name = "灾祸之源"; + nativename = "灾祸之源"; + icon = "复仇之魂"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2903; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1823Stub() { } + + public override float GetMpcost(Skill skill) => 757f; + public override int GetExecutetime(Skill skill) => 850; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (45); + skill.GetVictim ().SetTransmitskillattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1823.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1823.cs.meta new file mode 100644 index 0000000000..cabd2db5af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1823.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 29c04731b8dfb4e90ad0ae3065109ff5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1824.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1824.cs new file mode 100644 index 0000000000..664da766c6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1824.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1824 : Skill + { + public const int SKILL_ID = 1824; + + public Skill1824() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1824Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33705 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(515); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetCallupteammember(1); + skill.GetPlayer().SetDecmp(1000); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1824Stub() : base(1824) + { + cls = 2; + name = "召唤"; + nativename = "召唤"; + icon = "冥瞳"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2904; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1824Stub() { } + + public override float GetMpcost(Skill skill) => 1515f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1824.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1824.cs.meta new file mode 100644 index 0000000000..46bc6a69c4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1824.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d21b3d4149020465b9849f7021a37017 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1825.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1825.cs new file mode 100644 index 0000000000..a7288edcfc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1825.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1825 : Skill + { + public const int SKILL_ID = 1825; + + public Skill1825() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1825Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 5000000 }; + private static readonly int[] RequiredItemArray = { 33763 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(63); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1825Stub() : base(1825) + { + cls = 3; + name = "衍灭·锁魂蛊"; + nativename = "衍灭·锁魂蛊"; + icon = "万蛊洪流"; + max_level = 1; + type = 3; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2905; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "妖精_万蛊洪流"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/万蛊洪流_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_万蛊洪流_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1867, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1825Stub() { } + + public override float GetMpcost(Skill skill) => 363f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 363)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (20000 + (skill.GetT0 () - skill.GetPlayer ().GetSoulpower ()) / 5); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (33538); + skill.GetVictim ().SetSummonplantpet (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1825.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1825.cs.meta new file mode 100644 index 0000000000..0e70160e80 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1825.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eee676cf6f1f54f429e018eaefe607c3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1826.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1826.cs new file mode 100644 index 0000000000..d23510080e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1826.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1826 : Skill + { + public const int SKILL_ID = 1826; + + public Skill1826() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1826Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33759 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1826Stub() : base(1826) + { + cls = 3; + name = "妖气击"; + nativename = "妖气击"; + icon = "妖气击"; + max_level = 1; + type = 3; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2901; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖精_妖气击"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 60000; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖气击_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_妖气击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1826Stub() { } + + public override float GetMpcost(Skill skill) => 327f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 327)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (7500); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetBeastieform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7500); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetSealed2 (1); + return true; + } + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncmpgen (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1826.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1826.cs.meta new file mode 100644 index 0000000000..3c22f5b928 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1826.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3e60ab5f44156416cb391f0b500af9f3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1827.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1827.cs new file mode 100644 index 0000000000..45dba89391 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1827.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1827 : Skill + { + public const int SKILL_ID = 1827; + + public Skill1827() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1827Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33760 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(36); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1827Stub() : base(1827) + { + cls = 3; + name = "碎元击"; + nativename = "碎元击"; + icon = "致残咒"; + max_level = 1; + type = 3; + apcost = 25; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2902; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖精_致残咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/火狐狸_致残咒.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1827Stub() { } + + public override float GetMpcost(Skill skill) => 236f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 236)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-150); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncmpgen (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 10f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1827.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1827.cs.meta new file mode 100644 index 0000000000..dba76325a5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1827.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 493aa62a664024ca197a81519c295aa9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1828.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1828.cs new file mode 100644 index 0000000000..14870626b8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1828.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1828 : Skill + { + public const int SKILL_ID = 1828; + + public Skill1828() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1828Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33762 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(218); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1828Stub() : base(1828) + { + cls = 3; + name = "共舞"; + nativename = "共舞"; + icon = "火狐之术"; + max_level = 1; + type = 10; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 2903; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "妖精_共舞_自身飞行"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖精_共舞_自身飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1828Stub() { } + + public override float GetMpcost(Skill skill) => 218f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 218)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetFreemove (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetGiant (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncaccuracy (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (227); + skill.GetVictim ().SetAmount (112); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncmpgen (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 45f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1828.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1828.cs.meta new file mode 100644 index 0000000000..15cb21614b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1828.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3c9075ec3a7324441be5d8c4a78fa03a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1829.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1829.cs new file mode 100644 index 0000000000..a2c0c3be5b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1829.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1829 : Skill + { + public const int SKILL_ID = 1829; + + public Skill1829() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1829Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33761 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(54); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(400); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1829Stub() : base(1829) + { + cls = 3; + name = "幽冥灵火"; + nativename = "幽冥灵火"; + icon = "灵火"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2904; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "妖精_灵火"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_灵火击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1829Stub() { } + + public override float GetMpcost(Skill skill) => 454f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 454)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetSoulretort2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncmpgen (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1829.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1829.cs.meta new file mode 100644 index 0000000000..91f7f93edd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1829.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ba5b066e2f30f4de6a1033af2a58106d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill185.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill185.cs new file mode 100644 index 0000000000..2983fd67ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill185.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill185 : Skill + { + public const int SKILL_ID = 185; + + public Skill185() : base(SKILL_ID) + { + } + } +#endif + + public class Skill185Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 34, 39, 44, 49, 54, 59, 64, 69, 74, 79 }; + private static readonly int[] RequiredSpArray = { 4325, 6150, 8550, 11750, 16000, 21750, 29500, 40000, 59750, 99750 }; + private static readonly int[] RequiredMoneyArray = { 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980, 331980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(40.6f + 7 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(40.6f + 7 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill185Stub() : base(185) + { + cls = 4; + name = "咆哮"; + nativename = "咆哮"; + icon = "咆哮"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1521; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "咆哮"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/咆哮击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(155, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill185Stub() { } + + public override float GetMpcost(Skill skill) => (float)(40.6 + 7 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 90); + skill.GetVictim ().SetValue (12 * skill.GetLevel () * skill.GetLevel () + 300 * skill.GetLevel () + 2000); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 6 + 0.6f * skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill185.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill185.cs.meta new file mode 100644 index 0000000000..6baacddde8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill185.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 936999201a5ed4b20a463f908ca1247e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill186.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill186.cs new file mode 100644 index 0000000000..10e7a76007 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill186.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill186 : Skill + { + public const int SKILL_ID = 186; + + public Skill186() : base(SKILL_ID) + { + } + } +#endif + + public class Skill186Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 69600 }; + private static readonly int[] RequiredMoneyArray = { 3980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill186Stub() : base(186) + { + cls = 4; + name = "玄武附体"; + nativename = "玄武附体"; + icon = "玄武附体"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1524; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "玄武附体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(154, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill186Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 40000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 3.33f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill186.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill186.cs.meta new file mode 100644 index 0000000000..11ccb9fec1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill186.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4b71141d5b2dd4d5da5efc52c5e30a0c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1867.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1867.cs new file mode 100644 index 0000000000..2e2f3477c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1867.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1867 : Skill + { + public const int SKILL_ID = 1867; + + public Skill1867() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1867Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 500000 }; + private static readonly int[] RequiredItemArray = { 33764 }; + private static readonly int[] RequiredMoneyArray = { 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(88); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(288); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1867Stub() : base(1867) + { + cls = 3; + name = "锁魂蛊"; + nativename = "锁魂蛊"; + icon = "万蛊洪流"; + max_level = 1; + type = 3; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2905; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "妖精_万蛊洪流"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/万蛊洪流_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_万蛊洪流_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1867Stub() { } + + public override float GetMpcost(Skill skill) => 288f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 288)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (skill.GetPlayer ().GetLevel () - skill.GetT1 () > + 5 ? 2000 : 20000 + (skill.GetT0 () - skill.GetPlayer ().GetSoulpower ()) / 5); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (33538); + skill.GetVictim ().SetSummonplantpet (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); + public float GetTalent1(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1867.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1867.cs.meta new file mode 100644 index 0000000000..96c9267732 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1867.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 29c9bf766652543c09166ec957eb2508 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1875.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1875.cs new file mode 100644 index 0000000000..c822956399 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1875.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1875 : Skill + { + public const int SKILL_ID = 1875; + + public Skill1875() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1875Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 500000 }; + private static readonly int[] RequiredItemArray = { 33708 }; + private static readonly int[] RequiredMoneyArray = { 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(60); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(900); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1875Stub() : base(1875) + { + cls = 2; + name = "幽冥遁"; + nativename = "幽冥遁"; + icon = "冥王乐土"; + max_level = 1; + type = 2; + apcost = 299; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2905; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1875Stub() { } + + public override float GetMpcost(Skill skill) => 960f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 300000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetLevel () - skill.GetT1 () > 5 ? 0 : 100); + skill.GetVictim ().SetTime (3500 + skill.GetT0 ()); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => (player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel ()) / 10; + public float GetTalent1(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1875.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1875.cs.meta new file mode 100644 index 0000000000..5f97b026ed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1875.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6352fff54a660409db098fe144dcc4d4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1929.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1929.cs new file mode 100644 index 0000000000..a79bf200cb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1929.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1929 : Skill + { + public const int SKILL_ID = 1929; + + public Skill1929() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1929Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 500000 }; + private static readonly int[] RequiredItemArray = { 35203 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1929Stub() : base(1929) + { + cls = 3; + name = "妖气击(虎)"; + nativename = "妖气击(虎)"; + icon = "妖气击"; + max_level = 1; + type = 3; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2901; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖精_妖气击"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 60000; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖气击_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_妖气击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1826, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1929Stub() { } + + public override float GetMpcost(Skill skill) => 327f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 327)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (7500); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (31); + skill.GetVictim ().SetBeastieform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7500); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetSealed2 (1); + return true; + } + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncmpgen (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1929.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1929.cs.meta new file mode 100644 index 0000000000..535eb3826e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1929.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 135573e8fe3ef4e759d38101b09509ba \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1930.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1930.cs new file mode 100644 index 0000000000..ad0d05040c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1930.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1930 : Skill + { + public const int SKILL_ID = 1930; + + public Skill1930() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1930Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 500000 }; + private static readonly int[] RequiredItemArray = { 35204 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1930Stub() : base(1930) + { + cls = 3; + name = "妖气击(松鼠)"; + nativename = "妖气击(松鼠)"; + icon = "妖气击"; + max_level = 1; + type = 3; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2901; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖精_妖气击"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 60000; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖气击_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_妖气击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1826, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1930Stub() { } + + public override float GetMpcost(Skill skill) => 327f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 327)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (7500); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (32); + skill.GetVictim ().SetBeastieform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7500); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetSealed2 (1); + return true; + } + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncmpgen (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1930.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1930.cs.meta new file mode 100644 index 0000000000..89bd1788ea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1930.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4a42248a44ab54cf59cfbc8b42304cf4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1984.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1984.cs new file mode 100644 index 0000000000..6682a78923 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1984.cs @@ -0,0 +1,164 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1984 : Skill + { + public const int SKILL_ID = 1984; + + public Skill1984() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1984Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 37303 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(150); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1984Stub() : base(1984) + { + cls = 3; + name = "真·妖狐变(强化)"; + nativename = "真·妖狐变(强化)"; + icon = "灵狐变1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 35; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1614; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1妖狐附体"; + doenchant = 1; + dobless = 0; + commoncooldown = 2; + commoncooldowntime = 6000; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖狐附体.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(656, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1984Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 150, + 150, + 250)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 2.5f); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (1.5f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetFoxform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1984.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1984.cs.meta new file mode 100644 index 0000000000..43ee971a5a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1984.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 66ccb184f60fd47cab06c1115c5c283f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1985.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1985.cs new file mode 100644 index 0000000000..ab558bde7a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1985.cs @@ -0,0 +1,172 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1985 : Skill + { + public const int SKILL_ID = 1985; + + public Skill1985() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1985Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 37304 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(150); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1985Stub() : base(1985) + { + cls = 3; + name = "狂·妖狐变(强化)"; + nativename = "狂·妖狐变(强化)"; + icon = "灵狐变2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1614; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2妖狐附体"; + doenchant = 1; + dobless = 0; + commoncooldown = 2; + commoncooldowntime = 6000; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖狐附体.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(657, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1985Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 150, + 120, + 200)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 2); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (1.2f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetFoxform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetValue (5); + skill.GetVictim ().SetInccritresistance (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1985.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1985.cs.meta new file mode 100644 index 0000000000..ca6e3d2f30 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1985.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c95b43782975241478298f63483ebb24 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1986.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1986.cs new file mode 100644 index 0000000000..667a550e07 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1986.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1986 : Skill + { + public const int SKILL_ID = 1986; + + public Skill1986() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1986Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 37305 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(150); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1986Stub() : base(1986) + { + cls = 3; + name = "真·蝶羽变"; + nativename = "真·蝶羽变"; + icon = "真蝶羽变"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 35; + attr = 0; + rank = 20; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1614; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1妖狐附体"; + doenchant = 1; + dobless = 0; + commoncooldown = 2; + commoncooldowntime = 6000; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖狐附体.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1984, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1986Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150,250)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 2.5f); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (1.5f); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetFoxform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1986.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1986.cs.meta new file mode 100644 index 0000000000..4a877138ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1986.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bab96a7a4a7d04fad810f1324c476568 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1987.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1987.cs new file mode 100644 index 0000000000..b9153ee3f7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1987.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1987 : Skill + { + public const int SKILL_ID = 1987; + + public Skill1987() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1987Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 37306 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(150); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1987Stub() : base(1987) + { + cls = 3; + name = "狂·蝶羽变"; + nativename = "狂·蝶羽变"; + icon = "狂蝶羽变"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1614; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2妖狐附体"; + doenchant = 1; + dobless = 0; + commoncooldown = 2; + commoncooldowntime = 6000; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖狐附体.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1985, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1987Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150,200)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 2); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (1.2f); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetFoxform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetValue (5); + skill.GetVictim ().SetInccritresistance (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1987.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1987.cs.meta new file mode 100644 index 0000000000..30a0b1c962 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill1987.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 635e784a428944d94b585425a73e5de0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2230.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2230.cs new file mode 100644 index 0000000000..f67cb7dcf4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2230.cs @@ -0,0 +1,209 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2230 : Skill + { + public const int SKILL_ID = 2230; + + public Skill2230() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2230Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42143 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(35); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(140); + skill.SetPlus(3578); + skill.SetRatio(3); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2230Stub() : base(2230) + { + cls = 3; + name = "玄·赤岩蛊"; + nativename = "玄·赤岩蛊"; + icon = "玄·赤岩蛊"; + max_level = 1; + type = 1; + apcost = 25; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1602; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "妖精_铁岩蛊改_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖精_铁岩蛊改_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_铁岩蛊改击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(636, 1); + pre_skills.Add(638, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2230Stub() { } + + public override float GetMpcost(Skill skill) => 175f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27,175)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => 6 * player.GetEquipattack () + 6427; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2230.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2230.cs.meta new file mode 100644 index 0000000000..331d4f8b8f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2230.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f791998143ce34bd4b3bfe86860d2c22 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2231.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2231.cs new file mode 100644 index 0000000000..7a1daa81c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2231.cs @@ -0,0 +1,214 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2231 : Skill + { + public const int SKILL_ID = 2231; + + public Skill2231() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2231Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42144 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(35); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(140); + skill.SetPlus(3578); + skill.SetRatio(3); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2231Stub() : base(2231) + { + cls = 3; + name = "荒·赤岩蛊"; + nativename = "荒·赤岩蛊"; + icon = "荒·赤岩蛊"; + max_level = 1; + type = 1; + apcost = 25; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1602; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "妖精_铁岩蛊改_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖精_铁岩蛊改_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_铁岩蛊改击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(637, 1); + pre_skills.Add(639, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2231Stub() { } + + public override float GetMpcost(Skill skill) => 175f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27,175)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.4f + skill.GetT2 () * 0.1f); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBurning (1); + skill.GetVictim ().SetTime (skill.GetT2 () > 0 ? 3000 : 1000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (112); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => 6 * player.GetEquipattack () + 6427; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2231.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2231.cs.meta new file mode 100644 index 0000000000..ae7c7d9d0b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2231.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 35d919a0b0b4b47b6a9ae2ada2615dd9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2232.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2232.cs new file mode 100644 index 0000000000..f201276804 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2232.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2232 : Skill + { + public const int SKILL_ID = 2232; + + public Skill2232() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2232Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42137 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(32); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(128); + skill.SetPlus(5055); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2232Stub() : base(2232) + { + cls = 3; + name = "玄·妖怨击"; + nativename = "玄·妖怨击"; + icon = "玄·妖怨击"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 7; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1615; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖精_妖狐击改_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_妖狐击改击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(658, 1); + pre_skills.Add(660, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2232Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 9f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 160)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlowpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetDecaccuracy (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == -1 ? 0 : 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1.25f); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2232.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2232.cs.meta new file mode 100644 index 0000000000..53cde03107 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2232.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f29e6339b64db446b87502f08ff0de51 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2233.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2233.cs new file mode 100644 index 0000000000..d28d6393db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2233.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2233 : Skill + { + public const int SKILL_ID = 2233; + + public Skill2233() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2233Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42138 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(32); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(128); + skill.SetPlus(5055); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2233Stub() : base(2233) + { + cls = 3; + name = "荒·妖怨击"; + nativename = "荒·妖怨击"; + icon = "荒·妖怨击"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 7; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1615; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖精_妖狐击改_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_妖狐击改击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(659, 1); + pre_skills.Add(661, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2233Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 9f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 160)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetSlowpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetDecaccuracy (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == -1 ? 0 : 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1.25f); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2233.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2233.cs.meta new file mode 100644 index 0000000000..608288c132 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2233.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 036f67613c88d4343890c3e1682d050a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2234.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2234.cs new file mode 100644 index 0000000000..2b4bf9792e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2234.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2234 : Skill + { + public const int SKILL_ID = 2234; + + public Skill2234() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2234Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42139 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(42); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(168); + skill.SetPlus(6319); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2234Stub() : base(2234) + { + cls = 3; + name = "玄·妖冥击"; + nativename = "玄·妖冥击"; + icon = "玄·妖冥击"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 7; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1618; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖精_妖魂击改_击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_妖魂击改击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(664, 1); + pre_skills.Add(666, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2234Stub() { } + + public override float GetMpcost(Skill skill) => 210f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 210)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (800 + skill.GetT0 ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.7f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; + public float GetTalent0(PlayerWrapper player) => (player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel ()) * 0.03; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2234.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2234.cs.meta new file mode 100644 index 0000000000..d88f77056d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2234.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 964651f63ca8c4f87ba18c6f5f64ddd2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2235.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2235.cs new file mode 100644 index 0000000000..6445f573a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2235.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2235 : Skill + { + public const int SKILL_ID = 2235; + + public Skill2235() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2235Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42140 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(42); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(168); + skill.SetPlus(6319); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2235Stub() : base(2235) + { + cls = 3; + name = "荒·妖冥击"; + nativename = "荒·妖冥击"; + icon = "荒·妖冥击"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 7; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1618; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖精_妖魂击改_击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_妖魂击改击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(665, 1); + pre_skills.Add(667, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2235Stub() { } + + public override float GetMpcost(Skill skill) => 210f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 210)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (800 + skill.GetT0 ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.7f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; + public float GetTalent0(PlayerWrapper player) => (player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel ()) * 0.03; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2235.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2235.cs.meta new file mode 100644 index 0000000000..d28e2e4a3f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2235.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a793965f919ef4edab44cf970f4e19f9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2236.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2236.cs new file mode 100644 index 0000000000..d4d2ac16a4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2236.cs @@ -0,0 +1,216 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2236 : Skill + { + public const int SKILL_ID = 2236; + + public Skill2236() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2236Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42141 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(78); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(312); + skill.SetPlus(9303); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2236Stub() : base(2236) + { + cls = 3; + name = "玄·妖煞击"; + nativename = "玄·妖煞击"; + icon = "妖煞击1"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1620; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖精_妖煞击改_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_妖煞击改击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(668, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2236Stub() { } + + public override float GetMpcost(Skill skill) => 390f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 390)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (1800); + skill.GetVictim ().SetMagicleak (1); + skill.GetVictim ().SetProbability (1.0f * 80 + + (skill.GetT0 () - + (skill.GetPlayer ().GetSoulpower () - + skill.GetPlayer ().GetLevel () * skill.GetPlayer ().GetLevel () - + 50 * skill.GetPlayer ().GetLevel ())) * 0.0005f); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2236.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2236.cs.meta new file mode 100644 index 0000000000..92858641c2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2236.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 500de70777a3845c88150bc32c1c30f5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2237.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2237.cs new file mode 100644 index 0000000000..df9e06a520 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2237.cs @@ -0,0 +1,216 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2237 : Skill + { + public const int SKILL_ID = 2237; + + public Skill2237() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2237Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42142 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(78); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(312); + skill.SetPlus(9303); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2237Stub() : base(2237) + { + cls = 3; + name = "荒·妖煞击"; + nativename = "荒·妖煞击"; + icon = "妖煞击2"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1620; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖精_妖煞击改_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_妖煞击改击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(669, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2237Stub() { } + + public override float GetMpcost(Skill skill) => 390f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 390)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (2400); + skill.GetVictim ().SetMagicleak (1); + skill.GetVictim ().SetProbability (1.0f * 70 + + (skill.GetT0 () - + (skill.GetPlayer ().GetSoulpower () - + skill.GetPlayer ().GetLevel () * skill.GetPlayer ().GetLevel () - + 50 * skill.GetPlayer ().GetLevel ())) * 0.0005f); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2237.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2237.cs.meta new file mode 100644 index 0000000000..91c90dcae3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2237.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 779b953e66ec84fe8b6f24171ceec52a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2238.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2238.cs new file mode 100644 index 0000000000..54d64c0b17 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2238.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2238 : Skill + { + public const int SKILL_ID = 2238; + + public Skill2238() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2238Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42115 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(121); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(485); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2238Stub() : base(2238) + { + cls = 2; + name = "玄·洪沙葬天"; + nativename = "玄·洪沙葬天"; + icon = "玄·洪沙葬天"; + max_level = 1; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2901; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_风岩葬改"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/风岩葬改_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1820, 1); + pre_skills.Add(1240, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2238Stub() { } + + public override float GetMpcost(Skill skill) => 606f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetValue (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetDelayearthhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetAmount (skill.GetT2 ()); + skill.GetVictim ().SetFallen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => (player.GetPuremagicattack () + 1.5 * player.GetEquipattack () + 7522) * (player.GetRand () < + player.GetCrit () * 2 ? 1.5 : 1); + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2238.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2238.cs.meta new file mode 100644 index 0000000000..6cc4b6f848 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2238.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 23c50a6a4beb54e42a530cc73e292bd4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2239.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2239.cs new file mode 100644 index 0000000000..0ce93bc825 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2239.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2239 : Skill + { + public const int SKILL_ID = 2239; + + public Skill2239() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2239Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42116 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(121); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(485); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2239Stub() : base(2239) + { + cls = 2; + name = "荒·洪沙葬天"; + nativename = "荒·洪沙葬天"; + icon = "荒·洪沙葬天"; + max_level = 1; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2901; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_风岩葬改"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/风岩葬改_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1820, 1); + pre_skills.Add(1241, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2239Stub() { } + + public override float GetMpcost(Skill skill) => 606f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetValue (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetDelayearthhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetAmount (skill.GetT2 ()); + skill.GetVictim ().SetFallen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => (player.GetPuremagicattack () + 1.5 * player.GetEquipattack () + 8722) * (player.GetRand () < + player.GetCrit () * 2 ? 1.5 : 1); + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2239.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2239.cs.meta new file mode 100644 index 0000000000..f5ea969f36 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2239.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ac34994ae163242a4bcda6f77ec6ee13 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2240.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2240.cs new file mode 100644 index 0000000000..fa35c3d4ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2240.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2240 : Skill + { + public const int SKILL_ID = 2240; + + public Skill2240() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2240Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42119 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.SetPlus(10293); + skill.SetWaterdamage(0.6f * skill.GetMagicattack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2240Stub() : base(2240) + { + cls = 2; + name = "玄·怒海狂澜"; + nativename = "玄·怒海狂澜"; + icon = "玄·怒海狂澜"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1710; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_潮汐之阵"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_潮汐之阵_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1234, 1); + pre_skills.Add(1232, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2240Stub() { } + + public override float GetMpcost(Skill skill) => 300f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 5.5f * 3.6f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2240.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2240.cs.meta new file mode 100644 index 0000000000..70400cff60 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2240.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b171f673c541d40e8887574a0a784357 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2241.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2241.cs new file mode 100644 index 0000000000..dd8d77d015 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2241.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2241 : Skill + { + public const int SKILL_ID = 2241; + + public Skill2241() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2241Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42120 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.SetPlus(8960); + skill.SetWaterdamage(0.6f * skill.GetMagicattack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2241Stub() : base(2241) + { + cls = 2; + name = "荒·怒海狂澜"; + nativename = "荒·怒海狂澜"; + icon = "荒·怒海狂澜"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1710; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_潮汐之阵"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_潮汐之阵_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1235, 1); + pre_skills.Add(1233, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2241Stub() { } + + public override float GetMpcost(Skill skill) => 300f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (10); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.5f + 0.9f * skill.GetLevel () + 5.5f * 3.6f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2241.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2241.cs.meta new file mode 100644 index 0000000000..1d107cd4aa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2241.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ad3d0ce32b5f5474d8ea492c1eb6cbf8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2242.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2242.cs new file mode 100644 index 0000000000..bd06121e93 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2242.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2242 : Skill + { + public const int SKILL_ID = 2242; + + public Skill2242() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2242Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42117 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(112); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(448); + skill.SetPlus(8322); + skill.SetRatio(2); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2242Stub() : base(2242) + { + cls = 2; + name = "玄·冷凝术"; + nativename = "玄·冷凝术"; + icon = "玄·冷凝术"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1714; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_冷凝术改"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_冷凝术改_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1236, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2242Stub() { } + + public override float GetMpcost(Skill skill) => 560f; + public override int GetExecutetime(Skill skill) => 1933; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 60); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 42f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2242.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2242.cs.meta new file mode 100644 index 0000000000..1c42717705 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2242.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e5afa549a90e14722ac597a4fb977818 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2243.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2243.cs new file mode 100644 index 0000000000..d19caecb02 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2243.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2243 : Skill + { + public const int SKILL_ID = 2243; + + public Skill2243() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2243Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42118 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(112); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(448); + skill.SetPlus(8322.1f); + skill.SetRatio(2); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2243Stub() : base(2243) + { + cls = 2; + name = "荒·冷凝术"; + nativename = "荒·冷凝术"; + icon = "荒·冷凝术"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1714; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_冷凝术改"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_冷凝术改_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1237, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2243Stub() { } + + public override float GetMpcost(Skill skill) => 560f; + public override int GetExecutetime(Skill skill) => 1933; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 42f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2243.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2243.cs.meta new file mode 100644 index 0000000000..2e66f36fe4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2243.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0920ead6ee2504e9ca649c3a0e57be54 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2312.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2312.cs new file mode 100644 index 0000000000..0bd0a71daa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2312.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2312 : Skill + { + public const int SKILL_ID = 2312; + + public Skill2312() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2312Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(12 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(12 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2312Stub() : base(2312) + { + cls = 2; + name = "888"; + nativename = "888"; + icon = "反弹之魂"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1705; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_复仇之魂刺"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_复仇之魂刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2312Stub() { } + + public override float GetMpcost(Skill skill) => (float)(12 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 600000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 + 2.3 * skill.GetLevel()); + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5 + 2.3f * skill.GetLevel () + 5.5f * 2.4f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2312.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2312.cs.meta new file mode 100644 index 0000000000..438be607c3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2312.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a5a47a26cddd94976a764ae5b99327e7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2416.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2416.cs new file mode 100644 index 0000000000..43ac79aa9c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2416.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2416 : Skill + { + public const int SKILL_ID = 2416; + + public Skill2416() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2416Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 42145 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(43); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(172); + skill.SetPlus(5537); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2416Stub() : base(2416) + { + cls = 3; + name = "玄·妖缠击"; + nativename = "玄·妖缠击"; + icon = "妖缠击1"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1617; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1妖缠击"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖缠击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(662, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2416Stub() { } + + public override float GetMpcost(Skill skill) => 215f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 215)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2416.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2416.cs.meta new file mode 100644 index 0000000000..c1f89f23f1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2416.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7287bc6b1c0814b1b80304ac324665fc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2417.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2417.cs new file mode 100644 index 0000000000..ac78899ad8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2417.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2417 : Skill + { + public const int SKILL_ID = 2417; + + public Skill2417() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2417Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 42146 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(43); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(172); + skill.SetPlus(5537); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2417Stub() : base(2417) + { + cls = 3; + name = "荒·妖缠击"; + nativename = "荒·妖缠击"; + icon = "妖缠击2"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1617; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2妖缠击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖缠击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(663, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2417Stub() { } + + public override float GetMpcost(Skill skill) => 215f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 215)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2417.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2417.cs.meta new file mode 100644 index 0000000000..e3434bc9a7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2417.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9044902a4735946dab41b12dc0b59a20 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2434.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2434.cs new file mode 100644 index 0000000000..2306c632c7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2434.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2434 : Skill + { + public const int SKILL_ID = 2434; + + public Skill2434() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2434Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42283 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(42); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1250; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(168); + skill.SetPlus(4363); + skill.SetRatio(1); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2434Stub() : base(2434) + { + cls = 2; + name = "玄·灵爆咒"; + nativename = "玄·灵爆咒"; + icon = "加深打击仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 6; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1702; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_加深打击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_加深打击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1228, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2434Stub() { } + + public override float GetMpcost(Skill skill) => 210f; + public override int GetExecutetime(Skill skill) => 1250; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetCls () == -1 ? skill.GetT0 () : 100); + skill.GetVictim ().SetEarthhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 39.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => 7272; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2434.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2434.cs.meta new file mode 100644 index 0000000000..3894097931 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2434.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d8671a98cd0f146b1ae81b32b6f5cb37 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2435.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2435.cs new file mode 100644 index 0000000000..f1621940d2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2435.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2435 : Skill + { + public const int SKILL_ID = 2435; + + public Skill2435() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2435Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42284 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(42); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1250; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(168); + skill.SetPlus(4863); + skill.SetRatio(1); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2435Stub() : base(2435) + { + cls = 2; + name = "荒·灵爆咒"; + nativename = "荒·灵爆咒"; + icon = "加深打击魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 6; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1702; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_加深打击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_加深打击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1229, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2435Stub() { } + + public override float GetMpcost(Skill skill) => 210f; + public override int GetExecutetime(Skill skill) => 1250; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetCls () == -1 ? skill.GetT0 () : 100); + skill.GetVictim ().SetEarthhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 39.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => 7272; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2435.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2435.cs.meta new file mode 100644 index 0000000000..2184f93d99 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2435.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ebfe3adbe803443f9b6dece9b9f77d5e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2436.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2436.cs new file mode 100644 index 0000000000..388a25ec6a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2436.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2436 : Skill + { + public const int SKILL_ID = 2436; + + public Skill2436() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2436Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42285 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(64); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(256); + skill.SetPlus(3573); + skill.SetRatio(1); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2436Stub() : base(2436) + { + cls = 2; + name = "玄·冲击术"; + nativename = "玄·冲击术"; + icon = "法术冲击仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1701; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_法术冲击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_法术冲击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1230, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2436Stub() { } + + public override float GetMpcost(Skill skill) => 320f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == -1 ? 100 : 0); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (15); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetIncbecritrate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 39.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2436.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2436.cs.meta new file mode 100644 index 0000000000..babf9dd808 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2436.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6977f628533e74982a817b7eca2c398c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2437.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2437.cs new file mode 100644 index 0000000000..5798b216ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2437.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2437 : Skill + { + public const int SKILL_ID = 2437; + + public Skill2437() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2437Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42286 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(64); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(256); + skill.SetPlus(3573); + skill.SetRatio(1); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2437Stub() : base(2437) + { + cls = 2; + name = "荒·冲击术"; + nativename = "荒·冲击术"; + icon = "法术冲击魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1701; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_法术冲击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_法术冲击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(25333); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1231, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2437Stub() { } + + public override float GetMpcost(Skill skill) => 320f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == -1 ? 100 : 0); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (15); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetIncbecritrate (1); + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (-30); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 39.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2437.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2437.cs.meta new file mode 100644 index 0000000000..d6ea2896c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2437.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7c33f84015b7c44ecb3d75bd52b4e808 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2546.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2546.cs new file mode 100644 index 0000000000..7b1644af1f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2546.cs @@ -0,0 +1,88 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2546 : Skill + { + public const int SKILL_ID = 2546; + + public Skill2546() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2546Stub : SkillStub + { + + + public Skill2546Stub() : base(2546) + { + cls = 1; + name = "1234567"; + nativename = "1234567"; + icon = ""; + max_level = MAX_LEVEL; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + + } + + ~Skill2546Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2546.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2546.cs.meta new file mode 100644 index 0000000000..967df07611 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill2546.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 56bb456893361414090eb4638e69506d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill299.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill299.cs new file mode 100644 index 0000000000..0d4bd3fe77 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill299.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill299 : Skill + { + public const int SKILL_ID = 299; + + public Skill299() : base(SKILL_ID) + { + } + } +#endif + + public class Skill299Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-3.2f + 7.2f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-3.2f + 7.2f * skill.GetLevel())); + skill.SetPlus(2.3f * skill.GetLevel() * skill.GetLevel() + 68.2f * skill.GetLevel() + 54); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill299Stub() : base(299) + { + cls = 3; + name = "剧毒蛊"; + nativename = "剧毒蛊"; + icon = "剧毒蛊"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1601; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剧毒蛊"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剧毒蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剧毒蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill299Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-3.2 + 7.2 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill299.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill299.cs.meta new file mode 100644 index 0000000000..6d34566d94 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill299.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ae3d73483d5434f51aa3f12c8a06cd44 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill300.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill300.cs new file mode 100644 index 0000000000..bb7f0561a4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill300.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill300 : Skill + { + public const int SKILL_ID = 300; + + public Skill300() : base(SKILL_ID) + { + } + } +#endif + + public class Skill300Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(7.9f + 9.9f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(7.9f + 9.9f * skill.GetLevel())); + skill.SetPlus(2.8f * skill.GetLevel() * skill.GetLevel() + 88.5f * skill.GetLevel() + 162.7f); + skill.SetRatio(1 + 0.2f * skill.GetLevel()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill300Stub() : base(300) + { + cls = 3; + name = "铁岩蛊"; + nativename = "铁岩蛊"; + icon = "铁岩蛊"; + max_level = 10; + type = 1; + apcost = 25; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1602; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "铁岩蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/铁岩蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/铁岩蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)5; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(299, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill300Stub() { } + + public override float GetMpcost(Skill skill) => (float)(7.9 + 9.9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill300.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill300.cs.meta new file mode 100644 index 0000000000..40eed26f35 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill300.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dd03476c7f3944eb2aec8588593cb027 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill301.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill301.cs new file mode 100644 index 0000000000..6126c5d907 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill301.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill301 : Skill + { + public const int SKILL_ID = 301; + + public Skill301() : base(SKILL_ID) + { + } + } +#endif + + public class Skill301Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(22.7f + 8.1f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(22.7f + 8.1f * skill.GetLevel())); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill301Stub() : base(301) + { + cls = 3; + name = "炎蛊"; + nativename = "炎蛊"; + icon = "炎蛊"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 3; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1603; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "炎蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/炎蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/炎蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(300, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill301Stub() { } + + public override float GetMpcost(Skill skill) => (float)(22.7 + 8.1 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (9.1f * skill.GetLevel () * skill.GetLevel () + 236.1f * skill.GetLevel () + 656); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill301.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill301.cs.meta new file mode 100644 index 0000000000..bdae84b825 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill301.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a41568d700798405c987fba53953c207 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill302.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill302.cs new file mode 100644 index 0000000000..f76af6fa7b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill302.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill302 : Skill + { + public const int SKILL_ID = 302; + + public Skill302() : base(SKILL_ID) + { + } + } +#endif + + public class Skill302Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(51.8f + 10.8f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(51.8f + 10.8f * skill.GetLevel())); + skill.SetPlus(5.7f * skill.GetLevel() * skill.GetLevel() + 191 * skill.GetLevel() + 816.1f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill302Stub() : base(302) + { + cls = 3; + name = "凌霜蛊"; + nativename = "凌霜蛊"; + icon = "凌霜蛊"; + max_level = 10; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1605; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "凌霜蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/凌霜蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌霜蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(301, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill302Stub() { } + + public override float GetMpcost(Skill skill) => (float)(51.8 + 10.8 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30 + 5 * skill.GetLevel ()); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (5.7f * skill.GetLevel () * skill.GetLevel () + 191 * skill.GetLevel () + 816.1f); + skill.GetVictim ().SetFlood (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill302.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill302.cs.meta new file mode 100644 index 0000000000..e8b953cdc3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill302.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d120eb716f51440e58bfa31f02428f09 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill303.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill303.cs new file mode 100644 index 0000000000..fddd6d3d69 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill303.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill303 : Skill + { + public const int SKILL_ID = 303; + + public Skill303() : base(SKILL_ID) + { + } + } +#endif + + public class Skill303Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(94.5f + 10.8f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(94.5f + 10.8f * skill.GetLevel())); + skill.SetPlus(1.1f * skill.GetLevel() * skill.GetLevel() + 73.5f * skill.GetLevel() + 656.4f); + skill.SetRatio(1 + 0.1f * skill.GetLevel()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill303Stub() : base(303) + { + cls = 3; + name = "千蚁蛊"; + nativename = "千蚁蛊"; + icon = "千蚁蛊"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 3; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1605; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "千蚁蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/千蚁蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/千蚁蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(302, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill303Stub() { } + + public override float GetMpcost(Skill skill) => (float)(94.5 + 10.8 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => (float)(4 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (1.1f * skill.GetLevel () * skill.GetLevel () + 73.5f * skill.GetLevel () + 656.4f); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill303.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill303.cs.meta new file mode 100644 index 0000000000..9758fc8400 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill303.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 598b0f5e7331b4371ae38253964b05a6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill304.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill304.cs new file mode 100644 index 0000000000..036e0a26c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill304.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill304 : Skill + { + public const int SKILL_ID = 304; + + public Skill304() : base(SKILL_ID) + { + } + } +#endif + + public class Skill304Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(145.8f + 13 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(145.8f + 13 * skill.GetLevel())); + skill.SetPlus(2.4f * skill.GetLevel() * skill.GetLevel() + 171.4f * skill.GetLevel() + 1462.9f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill304Stub() : base(304) + { + cls = 3; + name = "巨石蛊"; + nativename = "巨石蛊"; + icon = "巨石蛊"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1606; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巨石蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨石蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巨石蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(303, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill304Stub() { } + + public override float GetMpcost(Skill skill) => (float)(145.8 + 13 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => (float)(6 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 45 + 5 * skill.GetLevel ()); + skill.GetVictim ().SetTime (2000 + 100 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill304.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill304.cs.meta new file mode 100644 index 0000000000..c90c3d4aa9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill304.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 93eaffc1c14964c79a188f575c9235fb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill305.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill305.cs new file mode 100644 index 0000000000..90be91530d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill305.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill305 : Skill + { + public const int SKILL_ID = 305; + + public Skill305() : base(SKILL_ID) + { + } + } +#endif + + public class Skill305Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(302.4f + 16.2f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(302.4f + 16.2f * skill.GetLevel())); + skill.SetPlus(2.9f * skill.GetLevel() * skill.GetLevel() + 184.8f * skill.GetLevel() + 2426.9f); + skill.SetRatio(1.5f + 0.15f * skill.GetLevel()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill305Stub() : base(305) + { + cls = 3; + name = "万蛊食天"; + nativename = "万蛊食天"; + icon = "万蛊食天"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1607; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "万蛊食天"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/万蛊食天飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)9; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 20; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(10.0f, 10.0f, 10.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 20.0f; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(304, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill305Stub() { } + + public override float GetMpcost(Skill skill) => (float)(302.4 + 16.2 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 67); + skill.GetVictim ().SetTime (4000 + 500 * skill.GetLevel ()); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (4000 + 500 * skill.GetLevel ()); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill305.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill305.cs.meta new file mode 100644 index 0000000000..bf5339a802 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill305.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ad7efc644462648b2b9e8b6eec1837b8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill306.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill306.cs new file mode 100644 index 0000000000..4ca3d75361 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill306.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill306 : Skill + { + public const int SKILL_ID = 306; + + public Skill306() : base(SKILL_ID) + { + } + } +#endif + + public class Skill306Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 16, 21, 26, 31, 36, 41, 46, 51, 56, 59 }; + private static readonly int[] RequiredSpArray = { 3200, 5800, 9200, 13900, 20000, 28100, 38900, 53200, 72400, 87000 }; + private static readonly int[] RequiredMoneyArray = { 320, 530, 820, 1270, 1720, 2180, 2680, 3180, 3680, 3980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(59.4f + 27 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(59.4f + 27 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill306Stub() : base(306) + { + cls = 3; + name = "荆棘术"; + nativename = "荆棘术"; + icon = "荆棘术"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1608; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "荆棘术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/荆棘符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill306Stub() { } + + public override float GetMpcost(Skill skill) => (float)(59.4 + 27 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.1f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0.02f * skill.GetLevel ()); + skill.GetVictim ().SetRetort2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill306.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill306.cs.meta new file mode 100644 index 0000000000..531c656079 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill306.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 34e02f5e1cee54738986f809bdd4de32 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill307.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill307.cs new file mode 100644 index 0000000000..98092f47fc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill307.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill307 : Skill + { + public const int SKILL_ID = 307; + + public Skill307() : base(SKILL_ID) + { + } + } +#endif + + public class Skill307Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 26, 31, 36, 41, 46, 51, 56, 61, 66, 71 }; + private static readonly int[] RequiredSpArray = { 4600, 6950, 10000, 14050, 19450, 26600, 36200, 49150, 66500, 90500 }; + private static readonly int[] RequiredMoneyArray = { 820, 1270, 1720, 2180, 2680, 3180, 3680, 6980, 22980, 91980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill307Stub() : base(307) + { + cls = 3; + name = "强体术"; + nativename = "强体术"; + icon = "强体术"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1609; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "怪物女王技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/女王技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(306, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill307Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 300000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill307.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill307.cs.meta new file mode 100644 index 0000000000..0a8fd16423 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill307.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 29856ee36e46d49dfbffd442bfdb4f13 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill308.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill308.cs new file mode 100644 index 0000000000..770aca08bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill308.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill308 : Skill + { + public const int SKILL_ID = 308; + + public Skill308() : base(SKILL_ID) + { + } + } +#endif + + public class Skill308Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 36, 40, 44, 48, 52, 56, 60, 64, 68, 72 }; + private static readonly int[] RequiredSpArray = { 10000, 13150, 17100, 22050, 28300, 36200, 46200, 59000, 75500, 96000 }; + private static readonly int[] RequiredMoneyArray = { 1720, 2080, 2480, 2880, 3280, 3680, 4980, 12980, 41980, 111980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill308Stub() : base(308) + { + cls = 3; + name = "神辅术"; + nativename = "神辅术"; + icon = "神辅术"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1610; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "和风拂面"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/和风拂面击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(307, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill308Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 300000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill308.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill308.cs.meta new file mode 100644 index 0000000000..820cb90f00 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill308.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1836bf27a9b6f4048ae95ddbf58162fe \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill309.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill309.cs new file mode 100644 index 0000000000..39fffeee9a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill309.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill309 : Skill + { + public const int SKILL_ID = 309; + + public Skill309() : base(SKILL_ID) + { + } + } +#endif + + public class Skill309Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 46 }; + private static readonly int[] RequiredSpArray = { 19450 }; + private static readonly int[] RequiredMoneyArray = { 2680 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 10; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill309Stub() : base(309) + { + cls = 3; + name = "移元术"; + nativename = "移元术"; + icon = "移元术"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 4; + eventflag = 0; + posdouble = 0; + time_type = 0; + showorder = 1611; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "移元术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/移元术飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(308, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill309Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill309.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill309.cs.meta new file mode 100644 index 0000000000..7d5d397d99 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill309.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2fa821b8a4fe84c20b54f1d94a35bbe2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill310.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill310.cs new file mode 100644 index 0000000000..5e9b24e01e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill310.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill310 : Skill + { + public const int SKILL_ID = 310; + + public Skill310() : base(SKILL_ID) + { + } + } +#endif + + public class Skill310Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 87000 }; + private static readonly int[] RequiredMoneyArray = { 3980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(72); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 10; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(288); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill310Stub() : base(310) + { + cls = 3; + name = "荆棘阵"; + nativename = "荆棘阵"; + icon = "荆棘阵"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1612; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "荆棘阵"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/荆棘符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(306, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill310Stub() { } + + public override float GetMpcost(Skill skill) => 360f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetValue (0.75f); + skill.GetVictim ().SetJingji (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill310.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill310.cs.meta new file mode 100644 index 0000000000..7e4655ae0e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill310.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 90e6148d16aac4343b095e5a60c289f9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill311.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill311.cs new file mode 100644 index 0000000000..137f880059 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill311.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill311 : Skill + { + public const int SKILL_ID = 311; + + public Skill311() : base(SKILL_ID) + { + } + } +#endif + + public class Skill311Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29 }; + private static readonly int[] RequiredSpArray = { 11800 }; + private static readonly int[] RequiredMoneyArray = { 1090 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill311Stub() : base(311) + { + cls = 3; + name = "乾坤互移"; + nativename = "乾坤互移"; + icon = "乾坤互移"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1613; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "乾坤互移"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/乾坤互移.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill311Stub() { } + + public override float GetMpcost(Skill skill) => 10f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-100); + skill.GetVictim ().SetAp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetHp2mp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill311.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill311.cs.meta new file mode 100644 index 0000000000..6066fcb573 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill311.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fe6d46c183e2540638e6095d8a484721 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill312.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill312.cs new file mode 100644 index 0000000000..6934746f8d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill312.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill312 : Skill + { + public const int SKILL_ID = 312; + + public Skill312() : base(SKILL_ID) + { + } + } +#endif + + public class Skill312Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 29, 59 }; + private static readonly int[] RequiredSpArray = { 1000, 11800, 87000 }; + private static readonly int[] RequiredMoneyArray = { 110, 1090, 3980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(30 * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill312Stub() : base(312) + { + cls = 3; + name = "妖狐变"; + nativename = "妖狐变"; + icon = "灵狐变"; + max_level = 3; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1614; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "妖狐附体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖狐附体.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill312Stub() { } + + public override float GetMpcost(Skill skill) => (float)(30 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0.5f + 0.5f * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.35f - 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetAmount (0.3f + 0.3f * skill.GetLevel ()); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetFoxform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill312.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill312.cs.meta new file mode 100644 index 0000000000..75bb8adeb4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill312.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0ad4334624a664b8fa2ddfc9503732d6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill313.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill313.cs new file mode 100644 index 0000000000..1bd8470a5f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill313.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill313 : Skill + { + public const int SKILL_ID = 313; + + public Skill313() : base(SKILL_ID) + { + } + } +#endif + + public class Skill313Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(7.2f + 9 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(7.2f + 9 * skill.GetLevel())); + skill.SetPlus(3 * skill.GetLevel() * skill.GetLevel() + 85.3f * skill.GetLevel() + 183.4f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill313Stub() : base(313) + { + cls = 3; + name = "妖狐击"; + nativename = "妖狐击"; + icon = "妖狐击"; + max_level = 10; + type = 1; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1615; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖狐击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(312, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill313Stub() { } + + public override float GetMpcost(Skill skill) => (float)(7.2 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.15f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill313.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill313.cs.meta new file mode 100644 index 0000000000..86a83fa76b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill313.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 750b0b7ba65ab44c5a87fe20669fca83 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill314.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill314.cs new file mode 100644 index 0000000000..ed6158a8f2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill314.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill314 : Skill + { + public const int SKILL_ID = 314; + + public Skill314() : base(SKILL_ID) + { + } + } +#endif + + public class Skill314Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(25.2f + 9 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(25.2f + 9 * skill.GetLevel())); + skill.SetPlus(2.2f * skill.GetLevel() * skill.GetLevel() + 87 * skill.GetLevel() + 306.6f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill314Stub() : base(314) + { + cls = 3; + name = "妖雾击"; + nativename = "妖雾击"; + icon = "妖雾击"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1616; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖雾击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(313, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill314Stub() { } + + public override float GetMpcost(Skill skill) => (float)(25.2 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 9f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.2f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetDecaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill314.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill314.cs.meta new file mode 100644 index 0000000000..b7edafcfd6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill314.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0485a4fbcbc484a69972136298fd1c09 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill315.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill315.cs new file mode 100644 index 0000000000..87afb5ff72 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill315.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill315 : Skill + { + public const int SKILL_ID = 315; + + public Skill315() : base(SKILL_ID) + { + } + } +#endif + + public class Skill315Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(51.8f + 10.8f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(51.8f + 10.8f * skill.GetLevel())); + skill.SetPlus(3.7f * skill.GetLevel() * skill.GetLevel() + 135.6f * skill.GetLevel() + 606.3f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill315Stub() : base(315) + { + cls = 3; + name = "妖缠击"; + nativename = "妖缠击"; + icon = "妖缠击"; + max_level = 10; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1617; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖缠击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖缠击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(314, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill315Stub() { } + + public override float GetMpcost(Skill skill) => (float)(51.8 + 10.8 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + 500 * skill.GetLevel ()); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill315.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill315.cs.meta new file mode 100644 index 0000000000..83e660b506 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill315.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5223c44f0d5bc45948b2c080d41be91d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill316.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill316.cs new file mode 100644 index 0000000000..30172a7533 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill316.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill316 : Skill + { + public const int SKILL_ID = 316; + + public Skill316() : base(SKILL_ID) + { + } + } +#endif + + public class Skill316Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(85 + 10 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(85 + 10 * skill.GetLevel())); + skill.SetPlus(1.6f * skill.GetLevel() * skill.GetLevel() + 121.1f * skill.GetLevel() + 920.3f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill316Stub() : base(316) + { + cls = 3; + name = "妖魂击"; + nativename = "妖魂击"; + icon = "妖魂击"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1618; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖魂击"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖魂击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(315, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill316Stub() { } + + public override float GetMpcost(Skill skill) => (float)(85 + 10 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetValue (200 + 40 * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.7f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill316.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill316.cs.meta new file mode 100644 index 0000000000..a721ed5a1f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill316.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8dfd16c58e4cb493bb8f4508cdca84a7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill317.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill317.cs new file mode 100644 index 0000000000..7d8b5018b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill317.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill317 : Skill + { + public const int SKILL_ID = 317; + + public Skill317() : base(SKILL_ID) + { + } + } +#endif + + public class Skill317Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetHp(skill.GetPlayer().GetHp() *(0.79f + 0.01f * skill.GetLevel())); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill317Stub() : base(317) + { + cls = 3; + name = "妖灵击"; + nativename = "妖灵击"; + icon = "妖灵击"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1619; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖灵击"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖灵击飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖灵击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(316, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill317Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (200 + 25 * skill.GetLevel ()); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.7f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill317.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill317.cs.meta new file mode 100644 index 0000000000..521c9cb687 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill317.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 20a67414f6b3c48009c2233abba71dc4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill318.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill318.cs new file mode 100644 index 0000000000..d2e74659ba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill318.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill318 : Skill + { + public const int SKILL_ID = 318; + + public Skill318() : base(SKILL_ID) + { + } + } +#endif + + public class Skill318Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(201.6f + 10.8f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(201.6f + 10.8f * skill.GetLevel())); + skill.SetPlus(3.4f * skill.GetLevel() * skill.GetLevel() + 211.3f * skill.GetLevel() + 2775.3f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill318Stub() : base(318) + { + cls = 3; + name = "妖煞击"; + nativename = "妖煞击"; + icon = "妖煞击"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1620; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "妖煞击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖煞击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(317, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill318Stub() { } + + public override float GetMpcost(Skill skill) => (float)(201.6 + 10.8 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (800 + 80 * skill.GetLevel ()); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill318.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill318.cs.meta new file mode 100644 index 0000000000..2801967a1e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill318.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f09691fab90a64bf79a293121743bab5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill319.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill319.cs new file mode 100644 index 0000000000..7556cec5ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill319.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill319 : Skill + { + public const int SKILL_ID = 319; + + public Skill319() : base(SKILL_ID) + { + } + } +#endif + + public class Skill319Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 13, 18, 23, 28, 33, 38, 43, 48, 53, 58 }; + private static readonly int[] RequiredSpArray = { 2100, 4100, 7000, 10900, 16100, 23000, 32000, 44100, 60200, 81800 }; + private static readonly int[] RequiredMoneyArray = { 220, 400, 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(160); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill319Stub() : base(319) + { + cls = 3; + name = "驱逐咒"; + nativename = "驱逐咒"; + icon = "驱逐咒"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1621; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "驱逐咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/驱逐咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill319Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 130000 - 10000 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 28f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill319.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill319.cs.meta new file mode 100644 index 0000000000..579d91f409 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill319.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 275c05a8c09fd42159322623d711834e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill320.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill320.cs new file mode 100644 index 0000000000..478608311a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill320.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill320 : Skill + { + public const int SKILL_ID = 320; + + public Skill320() : base(SKILL_ID) + { + } + } +#endif + + public class Skill320Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 23, 28, 33, 38, 43, 48, 53, 58, 63, 68 }; + private static readonly int[] RequiredSpArray = { 7000, 10900, 16100, 23000, 32000, 44100, 60200, 81800, 111000, 151000 }; + private static readonly int[] RequiredMoneyArray = { 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880, 10980, 41980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(50 + 10 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(50 + 10 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill320Stub() : base(320) + { + cls = 3; + name = "残体咒"; + nativename = "残体咒"; + icon = "残体咒"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1622; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "残体咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/残体咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(319, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill320Stub() { } + + public override float GetMpcost(Skill skill) => (float)(50 + 10 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + 1500 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetCanti (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 18f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill320.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill320.cs.meta new file mode 100644 index 0000000000..fc70c89a84 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill320.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 493012099613d45aaa099d5d508f34a8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill321.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill321.cs new file mode 100644 index 0000000000..82ebf637d0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill321.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill321 : Skill + { + public const int SKILL_ID = 321; + + public Skill321() : base(SKILL_ID) + { + } + } +#endif + + public class Skill321Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 33, 37, 41, 45, 49, 53, 57, 61, 65, 69 }; + private static readonly int[] RequiredSpArray = { 8050, 10750, 14050, 18250, 23500, 30100, 38450, 49150, 62500, 80000 }; + private static readonly int[] RequiredMoneyArray = { 1450, 1810, 2180, 2580, 2980, 3380, 3780, 6980, 14980, 51980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(30 + 9 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(30 + 9 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill321Stub() : base(321) + { + cls = 3; + name = "弱魂咒"; + nativename = "弱魂咒"; + icon = "弱魂咒"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1623; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "弱魂咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/弱魂咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(320, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill321Stub() { } + + public override float GetMpcost(Skill skill) => (float)(30 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 + 2000 * skill.GetLevel ()); + skill.GetVictim ().SetNoregain (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 18f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill321.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill321.cs.meta new file mode 100644 index 0000000000..e33a3823d8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill321.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: be944a37b822b455cbd05ff3035726a9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill322.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill322.cs new file mode 100644 index 0000000000..1caa1a9a01 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill322.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill322 : Skill + { + public const int SKILL_ID = 322; + + public Skill322() : base(SKILL_ID) + { + } + } +#endif + + public class Skill322Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 43 }; + private static readonly int[] RequiredSpArray = { 32000 }; + private static readonly int[] RequiredMoneyArray = { 2380 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 10; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(160); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill322Stub() : base(322) + { + cls = 3; + name = "碎灵咒"; + nativename = "碎灵咒"; + icon = "碎灵咒"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1624; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "碎灵咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/碎灵咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(321, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill322Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 200)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (8); + skill.GetVictim ().SetApleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 18f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill322.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill322.cs.meta new file mode 100644 index 0000000000..250c3fa3ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill322.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8a26631c52deb4e48888153c07a174af \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill323.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill323.cs new file mode 100644 index 0000000000..5abdc6a548 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill323.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill323 : Skill + { + public const int SKILL_ID = 323; + + public Skill323() : base(SKILL_ID) + { + } + } +#endif + + public class Skill323Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9 }; + private static readonly int[] RequiredSpArray = { 800 }; + private static readonly int[] RequiredMoneyArray = { 110 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(8 + 0.5f * skill.GetLevel() * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(8 + 0.5f * skill.GetLevel() * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill323Stub() : base(323) + { + cls = 3; + name = "水性精通"; + nativename = "水性精通"; + icon = "水性精通"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 1; + eventflag = 4; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1628; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill323Stub() { } + + public override float GetMpcost(Skill skill) => (float)(8 + 0.5 * skill.GetLevel() * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncswim (0.5f); + return true; + } + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.2f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill323.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill323.cs.meta new file mode 100644 index 0000000000..d324fa69b4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill323.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 68fe4ecee150c449488acbbf3f013bd4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill324.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill324.cs new file mode 100644 index 0000000000..59011f6905 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill324.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill324 : Skill + { + public const int SKILL_ID = 324; + + public Skill324() : base(SKILL_ID) + { + } + } +#endif + + public class Skill324Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + + public Skill324Stub() : base(324) + { + cls = 3; + name = "肉搏精通"; + nativename = "肉搏精通"; + icon = "拳术精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 2; + eventflag = 4; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1629; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill324Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncfight (0.2f + 0.1f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill324.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill324.cs.meta new file mode 100644 index 0000000000..ec5288626c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill324.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a07ac1768048d4644870bb44c20b2d91 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill325.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill325.cs new file mode 100644 index 0000000000..fd1469edaf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill325.cs @@ -0,0 +1,100 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill325 : Skill + { + public const int SKILL_ID = 325; + + public Skill325() : base(SKILL_ID) + { + } + } +#endif + + public class Skill325Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 217000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill325Stub() : base(325) + { + cls = 3; + name = "木精通"; + nativename = "木精通"; + icon = "木系精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 1; + posdouble = 0; + time_type = 0; + showorder = 1630; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill325Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncwood (0.02f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill325.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill325.cs.meta new file mode 100644 index 0000000000..e048ea4d4a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill325.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 82313eb4970f74bb297fed9eb6c2438e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill326.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill326.cs new file mode 100644 index 0000000000..6a829959f6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill326.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill326 : Skill + { + public const int SKILL_ID = 326; + + public Skill326() : base(SKILL_ID) + { + } + } +#endif + + public class Skill326Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29 }; + private static readonly int[] RequiredSpArray = { 18, 000 }; + private static readonly int[] RequiredMoneyArray = { 23, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill326Stub() : base(326) + { + cls = 3; + name = "真元爆发"; + nativename = "真元爆发"; + icon = "爆气1"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2231; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill326Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill326.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill326.cs.meta new file mode 100644 index 0000000000..a01bd1f0f2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill326.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 16e337ac7377944d6aa97567e03ba340 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill327.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill327.cs new file mode 100644 index 0000000000..d7e80dca0f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill327.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill327 : Skill + { + public const int SKILL_ID = 327; + + public Skill327() : base(SKILL_ID) + { + } + } +#endif + + public class Skill327Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 130, 000 }; + private static readonly int[] RequiredMoneyArray = { 180, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill327Stub() : base(327) + { + cls = 3; + name = "高级真元爆发"; + nativename = "高级真元爆发"; + icon = "爆气2"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2232; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill327Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleincmp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (4); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill327.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill327.cs.meta new file mode 100644 index 0000000000..3f2b2b40ac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill327.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9a0fba268eac04bf4bf1f4a699f16402 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill328.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill328.cs new file mode 100644 index 0000000000..cd0061cfb2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill328.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill328 : Skill + { + public const int SKILL_ID = 328; + + public Skill328() : base(SKILL_ID) + { + } + } +#endif + + public class Skill328Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 7, 17, 27, 37, 47, 57, 67, 77, 87, 97 }; + private static readonly int[] RequiredSpArray = { 240, 1480, 4000, 8600, 16560, 30760, 56800, 130800, 338800, 718000 }; + private static readonly int[] RequiredItemArray = { 11526 }; + private static readonly int[] RequiredMoneyArray = { 70, 360, 910, 1810, 2780, 3780, 31980, 251980, 931980, 2291980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 6000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 10; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(150 * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill328Stub() : base(328) + { + cls = 3; + name = "驯服宠物"; + nativename = "驯服宠物"; + icon = "驯服宠物"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1625; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 2; + allow_forms = 3; + effect = "驯服宠物"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/驯服宠物飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill328Stub() { } + + public override float GetMpcost(Skill skill) => (float)(150 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 25000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetEntrap (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill328.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill328.cs.meta new file mode 100644 index 0000000000..12f493dfcb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill328.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: be500fb6d48e247d5b9aefa4570259ba \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill329.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill329.cs new file mode 100644 index 0000000000..8fc685945f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill329.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill329 : Skill + { + public const int SKILL_ID = 329; + + public Skill329() : base(SKILL_ID) + { + } + } +#endif + + public class Skill329Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 3, 13, 23, 33, 43, 53, 63, 73, 83, 93 }; + private static readonly int[] RequiredSpArray = { 15, 315, 1050, 2415, 4800, 9030, 16650, 32250, 87900, 210300 }; + private static readonly int[] RequiredItemArray = { 11524 }; + private static readonly int[] RequiredMoneyArray = { 10, 220, 630, 1450, 2380, 3380, 10980, 131980, 611980, 1651980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 11000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 10; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + float tmp = skill.GetPlayer().GetMp() *(0.25f + 0.05f * skill.GetLevel()); + skill.GetPlayer().SetMp(tmp); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill329Stub() : base(329) + { + cls = 3; + name = "复活宠物"; + nativename = "复活宠物"; + icon = "复活宠物"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1627; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "宠物复活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/宠物复活击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill329Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetSummon (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill329.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill329.cs.meta new file mode 100644 index 0000000000..57243f26e5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill329.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 07214e411e7b74c2496b03cb9a9495ba \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill330.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill330.cs new file mode 100644 index 0000000000..18b4f0a4dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill330.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill330 : Skill + { + public const int SKILL_ID = 330; + + public Skill330() : base(SKILL_ID) + { + } + } +#endif + + public class Skill330Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 3, 13, 23, 33, 43, 53, 63, 73, 83, 93 }; + private static readonly int[] RequiredSpArray = { 40, 840, 2800, 6440, 12800, 24080, 44400, 86000, 234400, 560800 }; + private static readonly int[] RequiredItemArray = { 11525 }; + private static readonly int[] RequiredMoneyArray = { 10, 220, 630, 1450, 2380, 3380, 10980, 131980, 611980, 1651980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 10; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(-5 + 10 * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill330Stub() : base(330) + { + cls = 3; + name = "治疗宠物"; + nativename = "治疗宠物"; + icon = "治疗宠物"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 8; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1626; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "宠物治疗"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/宠物治疗击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill330Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-5 + 10 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000 - 200 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => -10 + 25 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-10 + 55 * skill.GetLevel () + skill.GetMagicdamage () * (0.1f + 0.02f * skill.GetLevel ())); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill330.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill330.cs.meta new file mode 100644 index 0000000000..2a17a78573 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill330.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c56fdcefbe1d04fdb9e8f8134b6695ae \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill368.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill368.cs new file mode 100644 index 0000000000..219b300761 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill368.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill368 : Skill + { + public const int SKILL_ID = 368; + + public Skill368() : base(SKILL_ID) + { + } + } +#endif + + public class Skill368Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill368Stub() : base(368) + { + cls = 3; + name = "仙元爆发"; + nativename = "仙元爆发"; + icon = "仙元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2233; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill368Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleincmp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (9); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill368.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill368.cs.meta new file mode 100644 index 0000000000..e5a0ccc7d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill368.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a8da96916e4c64fa4bf4c70462d18ed6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill369.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill369.cs new file mode 100644 index 0000000000..587b71cc2d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill369.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill369 : Skill + { + public const int SKILL_ID = 369; + + public Skill369() : base(SKILL_ID) + { + } + } +#endif + + public class Skill369Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill369Stub() : base(369) + { + cls = 3; + name = "魔元爆发"; + nativename = "魔元爆发"; + icon = "魔元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2234; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill369Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleincmp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (7); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (6.5f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill369.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill369.cs.meta new file mode 100644 index 0000000000..46f1fcfee5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill369.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fcc8b2f95e27f46898bb96c4f37f75b8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill634.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill634.cs new file mode 100644 index 0000000000..f2006b5649 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill634.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill634 : Skill + { + public const int SKILL_ID = 634; + + public Skill634() : base(SKILL_ID) + { + } + } +#endif + + public class Skill634Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9707 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(26); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(104); + skill.SetPlus(2534); + skill.SetRatio(1); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill634Stub() : base(634) + { + cls = 3; + name = "真·剧毒蛊"; + nativename = "真·剧毒蛊"; + icon = "剧毒蛊1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1601; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1剧毒蛊"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剧毒蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剧毒蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(299, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill634Stub() { } + + public override float GetMpcost(Skill skill) => 130f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27,130)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill634.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill634.cs.meta new file mode 100644 index 0000000000..5b844d2ef5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill634.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0622490be28f3457aab7d111b6b1f71a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill635.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill635.cs new file mode 100644 index 0000000000..5404cdd1a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill635.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill635 : Skill + { + public const int SKILL_ID = 635; + + public Skill635() : base(SKILL_ID) + { + } + } +#endif + + public class Skill635Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9710 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(26); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(104); + skill.SetPlus(2534); + skill.SetRatio(1); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill635Stub() : base(635) + { + cls = 3; + name = "狂·剧毒蛊"; + nativename = "狂·剧毒蛊"; + icon = "剧毒蛊2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1601; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2剧毒蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剧毒蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剧毒蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(299, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill635Stub() { } + + public override float GetMpcost(Skill skill) => 130f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27,130)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetReducewood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill635.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill635.cs.meta new file mode 100644 index 0000000000..d99fa81117 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill635.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dd0eb94545a40472ea88089a70b10835 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill636.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill636.cs new file mode 100644 index 0000000000..ddd703ca34 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill636.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill636 : Skill + { + public const int SKILL_ID = 636; + + public Skill636() : base(SKILL_ID) + { + } + } +#endif + + public class Skill636Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9711 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(35); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(140); + skill.SetPlus(2770); + skill.SetRatio(3); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill636Stub() : base(636) + { + cls = 3; + name = "真·铁岩蛊"; + nativename = "真·铁岩蛊"; + icon = "铁岩蛊1"; + max_level = 1; + type = 1; + apcost = 25; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1602; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1铁岩蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/铁岩蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/铁岩蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)5; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(300, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill636Stub() { } + + public override float GetMpcost(Skill skill) => 175f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 27, + 175, + 300, + 2770, + 40)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill636.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill636.cs.meta new file mode 100644 index 0000000000..3a689c793c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill636.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 065448f7a381e4f8a8d2767307bc464e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill637.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill637.cs new file mode 100644 index 0000000000..a4e71ec59b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill637.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill637 : Skill + { + public const int SKILL_ID = 637; + + public Skill637() : base(SKILL_ID) + { + } + } +#endif + + public class Skill637Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9712 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(35); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(140); + skill.SetPlus(2770); + skill.SetRatio(3); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill637Stub() : base(637) + { + cls = 3; + name = "狂·铁岩蛊"; + nativename = "狂·铁岩蛊"; + icon = "铁岩蛊2"; + max_level = 1; + type = 1; + apcost = 25; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1602; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2铁岩蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/铁岩蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/铁岩蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)5; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(300, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill637Stub() { } + + public override float GetMpcost(Skill skill) => 175f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 27, + 175, + 300, + 2770, + 40)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill637.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill637.cs.meta new file mode 100644 index 0000000000..75d9d7d8ea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill637.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 290068b513dce49eba11e30ef94e2770 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill638.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill638.cs new file mode 100644 index 0000000000..1ff5e0ee59 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill638.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill638 : Skill + { + public const int SKILL_ID = 638; + + public Skill638() : base(SKILL_ID) + { + } + } +#endif + + public class Skill638Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9713 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(29); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(116); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill638Stub() : base(638) + { + cls = 3; + name = "真·炎蛊"; + nativename = "真·炎蛊"; + icon = "炎蛊1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1603; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1炎蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/炎蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/炎蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(301, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill638Stub() { } + + public override float GetMpcost(Skill skill) => 145f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 27, + 145, + 6427)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => 1.2 * player.GetWeaponmagicdamage () + 7713; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill638.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill638.cs.meta new file mode 100644 index 0000000000..66ee35213f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill638.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 97d35fd8d3bf04616aa503d6f17d8b88 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill639.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill639.cs new file mode 100644 index 0000000000..2648abf9c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill639.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill639 : Skill + { + public const int SKILL_ID = 639; + + public Skill639() : base(SKILL_ID) + { + } + } +#endif + + public class Skill639Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9714 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(29); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(116); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill639Stub() : base(639) + { + cls = 3; + name = "狂·炎蛊"; + nativename = "狂·炎蛊"; + icon = "炎蛊2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1603; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2炎蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/炎蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/炎蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(301, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill639Stub() { } + + public override float GetMpcost(Skill skill) => 145f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 27, + 145, + 6427)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetWeaponmagicdamage () + 6427; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill639.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill639.cs.meta new file mode 100644 index 0000000000..6cc5e60e51 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill639.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e71d3c95639e44dd4b2c6ed42a59b650 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill640.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill640.cs new file mode 100644 index 0000000000..d9b67e10bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill640.cs @@ -0,0 +1,214 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill640 : Skill + { + public const int SKILL_ID = 640; + + public Skill640() : base(SKILL_ID) + { + } + } +#endif + + public class Skill640Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9715 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(43); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(172); + skill.SetPlus(5135); + skill.SetRatio(1); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill640Stub() : base(640) + { + cls = 3; + name = "真·凌霜蛊"; + nativename = "真·凌霜蛊"; + icon = "凌霜蛊1"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1605; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1凌霜蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/凌霜蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌霜蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(302, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill640Stub() { } + + public override float GetMpcost(Skill skill) => 215f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 27, + 215, + 100, + 5135, + 80, + 5135)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetFlood (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetCls () == -1 ? 0.4f : 0.7f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => 3 * player.GetWeaponmagicdamage () + 5135; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill640.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill640.cs.meta new file mode 100644 index 0000000000..b4a9bb009d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill640.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8ba83631a8a5243a0ae938c514e94b24 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill641.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill641.cs new file mode 100644 index 0000000000..b155fccc22 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill641.cs @@ -0,0 +1,217 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill641 : Skill + { + public const int SKILL_ID = 641; + + public Skill641() : base(SKILL_ID) + { + } + } +#endif + + public class Skill641Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9716 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(43); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(172); + skill.SetPlus(5135); + skill.SetRatio(1); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill641Stub() : base(641) + { + cls = 3; + name = "狂·凌霜蛊"; + nativename = "狂·凌霜蛊"; + icon = "凌霜蛊2"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1605; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2凌霜蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/凌霜蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌霜蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(302, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill641Stub() { } + + public override float GetMpcost(Skill skill) => 215f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 27, + 215, + 100, + 5135, + 80, + 5135)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetFlood (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetCls () == -1 ? 0.4f : 0.7f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => 3 * player.GetWeaponmagicdamage () + 5135; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill641.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill641.cs.meta new file mode 100644 index 0000000000..7f15ec9298 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill641.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 31bed012d59f844889a18137830b171b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill642.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill642.cs new file mode 100644 index 0000000000..5a37d87b80 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill642.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill642 : Skill + { + public const int SKILL_ID = 642; + + public Skill642() : base(SKILL_ID) + { + } + } +#endif + + public class Skill642Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9717 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.SetPlus(3054); + skill.SetRatio(2); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill642Stub() : base(642) + { + cls = 3; + name = "真·千蚁蛊"; + nativename = "真·千蚁蛊"; + icon = "千蚁蛊1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1605; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1千蚁蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/千蚁蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/千蚁蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(303, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill642Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 9f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 27, + 265, + 2296)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetWeaponmagicdamage () + 3054; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill642.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill642.cs.meta new file mode 100644 index 0000000000..0ac3868837 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill642.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f9b830be89de54e2a9be8ffee2a02b2d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill643.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill643.cs new file mode 100644 index 0000000000..f1a95a6cdf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill643.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill643 : Skill + { + public const int SKILL_ID = 643; + + public Skill643() : base(SKILL_ID) + { + } + } +#endif + + public class Skill643Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9718 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.SetPlus(2296); + skill.SetRatio(2); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill643Stub() : base(643) + { + cls = 3; + name = "狂·千蚁蛊"; + nativename = "狂·千蚁蛊"; + icon = "千蚁蛊2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1605; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2千蚁蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/千蚁蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/千蚁蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(303, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill643Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 9f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 27, + 265, + 2296)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetWeaponmagicdamage () + 2296; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill643.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill643.cs.meta new file mode 100644 index 0000000000..9e50cb680d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill643.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d076e2ff9db0c4c08809f4a6ab996524 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill644.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill644.cs new file mode 100644 index 0000000000..cc9a380b2d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill644.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill644 : Skill + { + public const int SKILL_ID = 644; + + public Skill644() : base(SKILL_ID) + { + } + } +#endif + + public class Skill644Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9719 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(64); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(256); + skill.SetPlus(4320); + skill.SetRatio(1); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill644Stub() : base(644) + { + cls = 3; + name = "真·巨石蛊"; + nativename = "真·巨石蛊"; + icon = "巨石蛊1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1606; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1巨石蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨石蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巨石蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(304, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill644Stub() { } + + public override float GetMpcost(Skill skill) => 320f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => (float)(6 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 27, + 320, + 95, + 3)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill644.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill644.cs.meta new file mode 100644 index 0000000000..188e08843d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill644.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4a87c6237aac140779c6d054e5c1d30a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill645.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill645.cs new file mode 100644 index 0000000000..096fc74c40 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill645.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill645 : Skill + { + public const int SKILL_ID = 645; + + public Skill645() : base(SKILL_ID) + { + } + } +#endif + + public class Skill645Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9720 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(64); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(256); + skill.SetPlus(4320); + skill.SetRatio(1); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill645Stub() : base(645) + { + cls = 3; + name = "狂·巨石蛊"; + nativename = "狂·巨石蛊"; + icon = "巨石蛊2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1606; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2巨石蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨石蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巨石蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(304, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill645Stub() { } + + public override float GetMpcost(Skill skill) => 320f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => (float)(6 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 27, + 320, + 95, + 3)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill645.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill645.cs.meta new file mode 100644 index 0000000000..b3d549ad80 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill645.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e408e35df8a4d43f19d9e8efbc5d2ac3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill646.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill646.cs new file mode 100644 index 0000000000..795c1b0b54 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill646.cs @@ -0,0 +1,211 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill646 : Skill + { + public const int SKILL_ID = 646; + + public Skill646() : base(SKILL_ID) + { + } + } +#endif + + public class Skill646Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9721 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(118); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(472); + skill.SetPlus(8606); + skill.SetRatio(3); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill646Stub() : base(646) + { + cls = 3; + name = "真·万蛊食天"; + nativename = "真·万蛊食天"; + icon = "万蛊食天1"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1607; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1万蛊食天"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/万蛊食天飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)9; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2500; + m_bTraceTarget = false; + m_FlyClusterCount = 20; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(10.0f, 10.0f, 10.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 20.0f; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(305, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill646Stub() { } + + public override float GetMpcost(Skill skill) => 590f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27,590)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill646.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill646.cs.meta new file mode 100644 index 0000000000..797f42eaf2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill646.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 49465e0da0dd644ce88dd0e926eef858 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill647.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill647.cs new file mode 100644 index 0000000000..865591e33e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill647.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill647 : Skill + { + public const int SKILL_ID = 647; + + public Skill647() : base(SKILL_ID) + { + } + } +#endif + + public class Skill647Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9722 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(118); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(472); + skill.SetPlus(8606); + skill.SetRatio(3); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill647Stub() : base(647) + { + cls = 3; + name = "狂·万蛊食天"; + nativename = "狂·万蛊食天"; + icon = "万蛊食天2"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1607; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2万蛊食天"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/万蛊食天飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)9; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2500; + m_bTraceTarget = false; + m_FlyClusterCount = 20; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(10.0f, 10.0f, 10.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 20.0f; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(305, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill647Stub() { } + + public override float GetMpcost(Skill skill) => 590f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27,590)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill647.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill647.cs.meta new file mode 100644 index 0000000000..06afb21151 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill647.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b7c505b1e80754567ac333cc18ddcab9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill648.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill648.cs new file mode 100644 index 0000000000..3355f2e473 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill648.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill648 : Skill + { + public const int SKILL_ID = 648; + + public Skill648() : base(SKILL_ID) + { + } + } +#endif + + public class Skill648Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9723 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(384); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill648Stub() : base(648) + { + cls = 3; + name = "真·荆棘术"; + nativename = "真·荆棘术"; + icon = "荆棘术1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1608; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1荆棘术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/荆棘符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(306, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill648Stub() { } + + public override float GetMpcost(Skill skill) => 480f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27,480)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1200000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetValue (0.25f); + skill.GetVictim ().SetRetort2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill648.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill648.cs.meta new file mode 100644 index 0000000000..0f5df4202a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill648.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e22170005905947a69a8b0edced17746 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill649.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill649.cs new file mode 100644 index 0000000000..1755100b4c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill649.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill649 : Skill + { + public const int SKILL_ID = 649; + + public Skill649() : base(SKILL_ID) + { + } + } +#endif + + public class Skill649Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9724 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(384); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill649Stub() : base(649) + { + cls = 3; + name = "狂·荆棘术"; + nativename = "狂·荆棘术"; + icon = "荆棘术2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1608; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2荆棘术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/荆棘符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(306, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill649Stub() { } + + public override float GetMpcost(Skill skill) => 480f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27,480)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.75f); + skill.GetVictim ().SetValue (0.25f); + skill.GetVictim ().SetRetort2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill649.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill649.cs.meta new file mode 100644 index 0000000000..b3c56d211b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill649.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e63d413242de144f388b6eb6156b8ea0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill650.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill650.cs new file mode 100644 index 0000000000..e710782fb1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill650.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill650 : Skill + { + public const int SKILL_ID = 650; + + public Skill650() : base(SKILL_ID) + { + } + } +#endif + + public class Skill650Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9725 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill650Stub() : base(650) + { + cls = 3; + name = "真·强体术"; + nativename = "真·强体术"; + icon = "强体术1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1609; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "怪物女王技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/女王技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(307, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill650Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 300000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill650.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill650.cs.meta new file mode 100644 index 0000000000..17ed008178 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill650.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6dd4fb96e0e0f4e9180b614253f11663 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill651.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill651.cs new file mode 100644 index 0000000000..bdccddc179 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill651.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill651 : Skill + { + public const int SKILL_ID = 651; + + public Skill651() : base(SKILL_ID) + { + } + } +#endif + + public class Skill651Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9726 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill651Stub() : base(651) + { + cls = 3; + name = "狂·强体术"; + nativename = "狂·强体术"; + icon = "强体术2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1609; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "怪物女王技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/女王技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(307, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill651Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 210000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill651.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill651.cs.meta new file mode 100644 index 0000000000..d477bad88c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill651.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4be29f6e4282d492eb42300a08a1a942 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill652.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill652.cs new file mode 100644 index 0000000000..f57e9dae78 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill652.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill652 : Skill + { + public const int SKILL_ID = 652; + + public Skill652() : base(SKILL_ID) + { + } + } +#endif + + public class Skill652Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9727 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill652Stub() : base(652) + { + cls = 3; + name = "真·神辅术"; + nativename = "真·神辅术"; + icon = "神辅术1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1610; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1和风拂面"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/和风拂面击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(308, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill652Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 300000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill652.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill652.cs.meta new file mode 100644 index 0000000000..d448e57bdc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill652.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e82e108585f604d9fa413aa6669f9542 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill653.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill653.cs new file mode 100644 index 0000000000..419e37bfe0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill653.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill653 : Skill + { + public const int SKILL_ID = 653; + + public Skill653() : base(SKILL_ID) + { + } + } +#endif + + public class Skill653Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9728 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill653Stub() : base(653) + { + cls = 3; + name = "狂·神辅术"; + nativename = "狂·神辅术"; + icon = "神辅术2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1610; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2和风拂面"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/和风拂面击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(308, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill653Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 210000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill653.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill653.cs.meta new file mode 100644 index 0000000000..83b835d252 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill653.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 530b89bade01442689051eeb526b97ba \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill654.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill654.cs new file mode 100644 index 0000000000..81825b6079 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill654.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill654 : Skill + { + public const int SKILL_ID = 654; + + public Skill654() : base(SKILL_ID) + { + } + } +#endif + + public class Skill654Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9729 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 10; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill654Stub() : base(654) + { + cls = 3; + name = "真·移元术"; + nativename = "真·移元术"; + icon = "移元术1"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1611; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1移元术"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/移元术飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(309, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill654Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill654.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill654.cs.meta new file mode 100644 index 0000000000..bebce9439c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill654.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5ee86a8801def4f1b94a3273512dc07d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill655.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill655.cs new file mode 100644 index 0000000000..ab0ce4e763 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill655.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill655 : Skill + { + public const int SKILL_ID = 655; + + public Skill655() : base(SKILL_ID) + { + } + } +#endif + + public class Skill655Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9730 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 10; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill655Stub() : base(655) + { + cls = 3; + name = "狂·移元术"; + nativename = "狂·移元术"; + icon = "移元术2"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1611; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2移元术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/移元术飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(309, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill655Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill655.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill655.cs.meta new file mode 100644 index 0000000000..b7018fc7e5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill655.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 16a402033d2f94984a9040133ea97e37 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill656.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill656.cs new file mode 100644 index 0000000000..6eab6d6eaf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill656.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill656 : Skill + { + public const int SKILL_ID = 656; + + public Skill656() : base(SKILL_ID) + { + } + } +#endif + + public class Skill656Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9731 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(150); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill656Stub() : base(656) + { + cls = 3; + name = "真·妖狐变"; + nativename = "真·妖狐变"; + icon = "灵狐变1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 1; + showorder = 1614; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1妖狐附体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖狐附体.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(312, 3); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill656Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 2.5f); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetAmount (1.5f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetFoxform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill656.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill656.cs.meta new file mode 100644 index 0000000000..35627d0dc0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill656.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f020e98442a784fc0a2f048384f272a7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill657.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill657.cs new file mode 100644 index 0000000000..79d1d07768 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill657.cs @@ -0,0 +1,164 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill657 : Skill + { + public const int SKILL_ID = 657; + + public Skill657() : base(SKILL_ID) + { + } + } +#endif + + public class Skill657Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9732 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(150); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill657Stub() : base(657) + { + cls = 3; + name = "狂·妖狐变"; + nativename = "狂·妖狐变"; + icon = "灵狐变2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 1; + showorder = 1614; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2妖狐附体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖狐附体.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(312, 3); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill657Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 2); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetAmount (1.2f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetFoxform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill657.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill657.cs.meta new file mode 100644 index 0000000000..8435516317 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill657.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ae0cc9a339ea043128634236276fbebf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill658.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill658.cs new file mode 100644 index 0000000000..82f7fa77c1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill658.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill658 : Skill + { + public const int SKILL_ID = 658; + + public Skill658() : base(SKILL_ID) + { + } + } +#endif + + public class Skill658Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9733 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(32); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(128); + skill.SetPlus(3059); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill658Stub() : base(658) + { + cls = 3; + name = "真·妖狐击"; + nativename = "真·妖狐击"; + icon = "妖狐击1"; + max_level = 1; + type = 1; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1615; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1妖狐击"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(313, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill658Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 160)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetValue (25); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill658.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill658.cs.meta new file mode 100644 index 0000000000..34fa817106 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill658.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7e0e8d93d7043494980a3b109e9b1d2a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill659.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill659.cs new file mode 100644 index 0000000000..38e09d85ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill659.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill659 : Skill + { + public const int SKILL_ID = 659; + + public Skill659() : base(SKILL_ID) + { + } + } +#endif + + public class Skill659Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9734 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(32); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(128); + skill.SetPlus(3059); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill659Stub() : base(659) + { + cls = 3; + name = "狂·妖狐击"; + nativename = "狂·妖狐击"; + icon = "妖狐击2"; + max_level = 1; + type = 1; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1615; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2妖狐击"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(313, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill659Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 160)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetValue (99); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill659.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill659.cs.meta new file mode 100644 index 0000000000..3d0f898ac5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill659.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6bee454664e8a459fa1b9f3dc5f0308e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill660.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill660.cs new file mode 100644 index 0000000000..74a899d125 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill660.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill660 : Skill + { + public const int SKILL_ID = 660; + + public Skill660() : base(SKILL_ID) + { + } + } +#endif + + public class Skill660Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9735 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(32); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(128); + skill.SetPlus(3081); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill660Stub() : base(660) + { + cls = 3; + name = "真·妖雾击"; + nativename = "真·妖雾击"; + icon = "妖雾击1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1616; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1妖雾击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(314, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill660Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 9f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 160,70)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetDecaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill660.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill660.cs.meta new file mode 100644 index 0000000000..680c86b36c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill660.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a344237c75bfe4bb99f6e8362997d869 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill661.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill661.cs new file mode 100644 index 0000000000..4223f7f30b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill661.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill661 : Skill + { + public const int SKILL_ID = 661; + + public Skill661() : base(SKILL_ID) + { + } + } +#endif + + public class Skill661Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9736 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(32); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(128); + skill.SetPlus(2281); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill661Stub() : base(661) + { + cls = 3; + name = "狂·妖雾击"; + nativename = "狂·妖雾击"; + icon = "妖雾击2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1616; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2妖雾击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(314, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill661Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 9f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 160,70)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetDecaccuracy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3500); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill661.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill661.cs.meta new file mode 100644 index 0000000000..7539898407 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill661.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 63ad3bd8405f64fab9a9e5c0a4e1441f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill662.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill662.cs new file mode 100644 index 0000000000..95292ddad1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill662.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill662 : Skill + { + public const int SKILL_ID = 662; + + public Skill662() : base(SKILL_ID) + { + } + } +#endif + + public class Skill662Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9737 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(43); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(172); + skill.SetPlus(3641); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill662Stub() : base(662) + { + cls = 3; + name = "真·妖缠击"; + nativename = "真·妖缠击"; + icon = "妖缠击1"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1617; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1妖缠击"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖缠击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(315, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill662Stub() { } + + public override float GetMpcost(Skill skill) => 215f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 215,8)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill662.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill662.cs.meta new file mode 100644 index 0000000000..4ae99e3b9c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill662.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ef46b638adc9c49ff91dca6154f43e6a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill663.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill663.cs new file mode 100644 index 0000000000..53247416a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill663.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill663 : Skill + { + public const int SKILL_ID = 663; + + public Skill663() : base(SKILL_ID) + { + } + } +#endif + + public class Skill663Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9738 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(43); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(172); + skill.SetPlus(3641); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill663Stub() : base(663) + { + cls = 3; + name = "狂·妖缠击"; + nativename = "狂·妖缠击"; + icon = "妖缠击2"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1617; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2妖缠击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖缠击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(315, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill663Stub() { } + + public override float GetMpcost(Skill skill) => 215f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 215,8)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill663.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill663.cs.meta new file mode 100644 index 0000000000..536ba537c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill663.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1132f8bc3466e48568716fb96aaa73af \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill664.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill664.cs new file mode 100644 index 0000000000..06b38c76a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill664.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill664 : Skill + { + public const int SKILL_ID = 664; + + public Skill664() : base(SKILL_ID) + { + } + } +#endif + + public class Skill664Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9739 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(42); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(168); + skill.SetPlus(3505); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill664Stub() : base(664) + { + cls = 3; + name = "真·妖魂击"; + nativename = "真·妖魂击"; + icon = "妖魂击1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1618; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1妖魂击"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖魂击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(316, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill664Stub() { } + + public override float GetMpcost(Skill skill) => 210f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 210, + 3505, + 600)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (600); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.7f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill664.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill664.cs.meta new file mode 100644 index 0000000000..d72fbb1b65 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill664.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2c9d55c2171a1495b87be5f2f80b99b5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill665.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill665.cs new file mode 100644 index 0000000000..2ae427ce08 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill665.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill665 : Skill + { + public const int SKILL_ID = 665; + + public Skill665() : base(SKILL_ID) + { + } + } +#endif + + public class Skill665Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9740 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(42); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(168); + skill.SetPlus(3505); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill665Stub() : base(665) + { + cls = 3; + name = "狂·妖魂击"; + nativename = "狂·妖魂击"; + icon = "妖魂击2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1618; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2妖魂击"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖魂击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(316, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill665Stub() { } + + public override float GetMpcost(Skill skill) => 210f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 210, + 3505, + 600)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetValue (800); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.7f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 8f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill665.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill665.cs.meta new file mode 100644 index 0000000000..96527c5cf9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill665.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5eb3d4d35596f40708b881ab8bd5e67e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill666.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill666.cs new file mode 100644 index 0000000000..292d59c7ba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill666.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill666 : Skill + { + public const int SKILL_ID = 666; + + public Skill666() : base(SKILL_ID) + { + } + } +#endif + + public class Skill666Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9741 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetHp(skill.GetPlayer().GetHp() * 0.9f); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill666Stub() : base(666) + { + cls = 3; + name = "真·妖灵击"; + nativename = "真·妖灵击"; + icon = "妖灵击1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 21; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1619; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1妖灵击"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖灵击飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖灵击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(317, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill666Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 500)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (500); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.7f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill666.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill666.cs.meta new file mode 100644 index 0000000000..5e81850bf5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill666.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dd6c05fec5f2346eeadc06ce2224df4c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill667.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill667.cs new file mode 100644 index 0000000000..63b4f9abf7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill667.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill667 : Skill + { + public const int SKILL_ID = 667; + + public Skill667() : base(SKILL_ID) + { + } + } +#endif + + public class Skill667Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9742 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetHp(skill.GetPlayer().GetHp() * 0.9f); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill667Stub() : base(667) + { + cls = 3; + name = "狂·妖灵击"; + nativename = "狂·妖灵击"; + icon = "妖灵击2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1619; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2妖灵击"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖灵击飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖灵击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(317, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill667Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 9000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 500)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (500); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.7f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill667.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill667.cs.meta new file mode 100644 index 0000000000..9d7c13b198 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill667.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f01ece0a639aa40f9b86de3849c3beb9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill668.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill668.cs new file mode 100644 index 0000000000..5663f9f19f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill668.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill668 : Skill + { + public const int SKILL_ID = 668; + + public Skill668() : base(SKILL_ID) + { + } + } +#endif + + public class Skill668Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9743 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(78); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(312); + skill.SetPlus(7556); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill668Stub() : base(668) + { + cls = 3; + name = "真·妖煞击"; + nativename = "真·妖煞击"; + icon = "妖煞击1"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1620; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1妖煞击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖煞击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(318, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill668Stub() { } + + public override float GetMpcost(Skill skill) => 390f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 390,1800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (1800); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill668.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill668.cs.meta new file mode 100644 index 0000000000..682aa58576 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill668.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 82d93e42213ce4ebb89e85b5b2c87319 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill669.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill669.cs new file mode 100644 index 0000000000..932be8e279 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill669.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill669 : Skill + { + public const int SKILL_ID = 669; + + public Skill669() : base(SKILL_ID) + { + } + } +#endif + + public class Skill669Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9744 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(78); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(312); + skill.SetPlus(7556); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill669Stub() : base(669) + { + cls = 3; + name = "狂·妖煞击"; + nativename = "狂·妖煞击"; + icon = "妖煞击2"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1620; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2妖煞击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖煞击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(318, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill669Stub() { } + + public override float GetMpcost(Skill skill) => 390f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 390,1800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (2400); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill669.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill669.cs.meta new file mode 100644 index 0000000000..6b6665400f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill669.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9e8c54857d58d489b96fe5e0dd989eb4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill670.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill670.cs new file mode 100644 index 0000000000..1448d6fc8f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill670.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill670 : Skill + { + public const int SKILL_ID = 670; + + public Skill670() : base(SKILL_ID) + { + } + } +#endif + + public class Skill670Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9745 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(160); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill670Stub() : base(670) + { + cls = 3; + name = "真·驱逐咒"; + nativename = "真·驱逐咒"; + icon = "驱逐咒1"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1621; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1驱逐咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/驱逐咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(319, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill670Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 28f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill670.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill670.cs.meta new file mode 100644 index 0000000000..384e5fc14c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill670.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7420ad14e01a04341a1e5d4fc02d4810 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill671.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill671.cs new file mode 100644 index 0000000000..ec3a6581ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill671.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill671 : Skill + { + public const int SKILL_ID = 671; + + public Skill671() : base(SKILL_ID) + { + } + } +#endif + + public class Skill671Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9746 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(160); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill671Stub() : base(671) + { + cls = 3; + name = "狂·驱逐咒"; + nativename = "狂·驱逐咒"; + icon = "驱逐咒2"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1621; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2驱逐咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/驱逐咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(319, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill671Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 25000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 15f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 28f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill671.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill671.cs.meta new file mode 100644 index 0000000000..861baf7d60 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill671.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1e31be3626a9541bb86edc5cb1deb6c0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill672.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill672.cs new file mode 100644 index 0000000000..d6ccd3a36b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill672.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill672 : Skill + { + public const int SKILL_ID = 672; + + public Skill672() : base(SKILL_ID) + { + } + } +#endif + + public class Skill672Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9747 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(30); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill672Stub() : base(672) + { + cls = 3; + name = "真·残体咒"; + nativename = "真·残体咒"; + icon = "残体咒1"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1622; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1残体咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/残体咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(320, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill672Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150,25)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetCanti (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 18f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill672.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill672.cs.meta new file mode 100644 index 0000000000..4275996743 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill672.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4ce8eb7d6b2e34fa19e507e5e953f64b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill673.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill673.cs new file mode 100644 index 0000000000..752faf1fe0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill673.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill673 : Skill + { + public const int SKILL_ID = 673; + + public Skill673() : base(SKILL_ID) + { + } + } +#endif + + public class Skill673Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9748 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(30); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill673Stub() : base(673) + { + cls = 3; + name = "狂·残体咒"; + nativename = "狂·残体咒"; + icon = "残体咒2"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1622; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2残体咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/残体咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(320, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill673Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150,25)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (26000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetCanti (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 18f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill673.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill673.cs.meta new file mode 100644 index 0000000000..ce88004f08 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill673.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c4549f0f399e5443c8f06a73bfde4235 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill674.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill674.cs new file mode 100644 index 0000000000..0470b0758f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill674.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill674 : Skill + { + public const int SKILL_ID = 674; + + public Skill674() : base(SKILL_ID) + { + } + } +#endif + + public class Skill674Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9749 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(36); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(144); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill674Stub() : base(674) + { + cls = 3; + name = "真·弱魂咒"; + nativename = "真·弱魂咒"; + icon = "弱魂咒1"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1623; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1弱魂咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/弱魂咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(321, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill674Stub() { } + + public override float GetMpcost(Skill skill) => 180f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 180,30)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetNoregain (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 18f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill674.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill674.cs.meta new file mode 100644 index 0000000000..169aa20c97 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill674.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a321179fc754948bd96bdb2b154dff74 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill675.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill675.cs new file mode 100644 index 0000000000..9b820f3952 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill675.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill675 : Skill + { + public const int SKILL_ID = 675; + + public Skill675() : base(SKILL_ID) + { + } + } +#endif + + public class Skill675Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9750 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(36); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(144); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill675Stub() : base(675) + { + cls = 3; + name = "狂·弱魂咒"; + nativename = "狂·弱魂咒"; + icon = "弱魂咒2"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1623; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2弱魂咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/弱魂咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(321, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill675Stub() { } + + public override float GetMpcost(Skill skill) => 180f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 180,30)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetNoregain (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 18f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill675.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill675.cs.meta new file mode 100644 index 0000000000..07d4783391 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill675.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f58c6dc3c49eb40ee9429cf6f22f69fc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill676.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill676.cs new file mode 100644 index 0000000000..e0d0fcfadc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill676.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill676 : Skill + { + public const int SKILL_ID = 676; + + public Skill676() : base(SKILL_ID) + { + } + } +#endif + + public class Skill676Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9751 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(60); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(240); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill676Stub() : base(676) + { + cls = 3; + name = "真·碎灵咒"; + nativename = "真·碎灵咒"; + icon = "碎灵咒1"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1624; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1碎灵咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/碎灵咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(322, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill676Stub() { } + + public override float GetMpcost(Skill skill) => 300f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 300)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetApleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 18f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill676.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill676.cs.meta new file mode 100644 index 0000000000..fc28794949 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill676.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b216be7c7143a4214af26f7c06afc9d8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill677.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill677.cs new file mode 100644 index 0000000000..dbfa5174c3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill677.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill677 : Skill + { + public const int SKILL_ID = 677; + + public Skill677() : base(SKILL_ID) + { + } + } +#endif + + public class Skill677Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9752 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(60); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(240); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill677Stub() : base(677) + { + cls = 3; + name = "狂·碎灵咒"; + nativename = "狂·碎灵咒"; + icon = "碎灵咒2"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1624; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2碎灵咒"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/碎灵咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(322, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill677Stub() { } + + public override float GetMpcost(Skill skill) => 300f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 300)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetApleak (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 18f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill677.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill677.cs.meta new file mode 100644 index 0000000000..62a22fe274 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill677.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a9102bdd7443540c0a2e2983b67e843b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill678.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill678.cs new file mode 100644 index 0000000000..40fa68e2d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill678.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill678 : Skill + { + public const int SKILL_ID = 678; + + public Skill678() : base(SKILL_ID) + { + } + } +#endif + + public class Skill678Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9753 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill678Stub() : base(678) + { + cls = 3; + name = "真·肉搏精通"; + nativename = "真·肉搏精通"; + icon = "拳术精通1"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 4; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1629; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(324, 10); + + } + + ~Skill678Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncfight (0.8f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill678.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill678.cs.meta new file mode 100644 index 0000000000..559c810456 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill678.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0296c8a42cabb472d83bb28936f719d3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill679.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill679.cs new file mode 100644 index 0000000000..84b451f974 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill679.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill679 : Skill + { + public const int SKILL_ID = 679; + + public Skill679() : base(SKILL_ID) + { + } + } +#endif + + public class Skill679Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9754 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill679Stub() : base(679) + { + cls = 3; + name = "狂·肉搏精通"; + nativename = "狂·肉搏精通"; + icon = "拳术精通2"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 4; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1629; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(324, 10); + + } + + ~Skill679Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncfight (0.3f); + skill.GetPlayer ().SetInccrit (3); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill679.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill679.cs.meta new file mode 100644 index 0000000000..ef6011f3f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill679.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4f9e2c30653b04ae79f9c30048b58ff9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill680.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill680.cs new file mode 100644 index 0000000000..b05d50f4f3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill680.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill680 : Skill + { + public const int SKILL_ID = 680; + + public Skill680() : base(SKILL_ID) + { + } + } +#endif + + public class Skill680Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9755 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill680Stub() : base(680) + { + cls = 3; + name = "真·木精通"; + nativename = "真·木精通"; + icon = "木系精通1"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1630; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(325, 10); + + } + + ~Skill680Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 20)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncwood (0.25f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill680.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill680.cs.meta new file mode 100644 index 0000000000..e32329b773 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill680.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 31dd0ea932bce4d0993fe9083a79ceac \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill681.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill681.cs new file mode 100644 index 0000000000..f5d2e28b54 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill681.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill681 : Skill + { + public const int SKILL_ID = 681; + + public Skill681() : base(SKILL_ID) + { + } + } +#endif + + public class Skill681Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9756 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill681Stub() : base(681) + { + cls = 3; + name = "狂·木精通"; + nativename = "狂·木精通"; + icon = "木系精通2"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1630; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(325, 10); + + } + + ~Skill681Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 20)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncwood (0.2f); + skill.GetPlayer ().SetInccrit (2); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill681.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill681.cs.meta new file mode 100644 index 0000000000..595de6d984 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill681.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 97def8448f37f4b80b422a3d8136f65b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill762.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill762.cs new file mode 100644 index 0000000000..ab8e6c9256 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill762.cs @@ -0,0 +1,127 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill762 : Skill + { + public const int SKILL_ID = 762; + + public Skill762() : base(SKILL_ID) + { + } + } +#endif + + public class Skill762Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 59, 89 }; + private static readonly int[] RequiredSpArray = { 11800, 87000, 1012000 }; + private static readonly int[] RequiredMoneyArray = { 1500, 30000, 945000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100 * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill762Stub() : base(762) + { + cls = 3; + name = "飞花遁影"; + nativename = "飞花遁影"; + icon = "妖狐附体"; + max_level = 3; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1635; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill762Stub() { } + + public override float GetMpcost(Skill skill) => (float)(100 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetAmount (0.05f + 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetSwiftform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill762.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill762.cs.meta new file mode 100644 index 0000000000..3be73afa06 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill762.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 07422e5d27269491fab5d598d132b13b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill763.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill763.cs new file mode 100644 index 0000000000..fec4a9f693 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill763.cs @@ -0,0 +1,131 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill763 : Skill + { + public const int SKILL_ID = 763; + + public Skill763() : base(SKILL_ID) + { + } + } +#endif + + public class Skill763Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 11582 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(400); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill763Stub() : base(763) + { + cls = 3; + name = "真·飞花遁影"; + nativename = "真·飞花遁影"; + icon = "妖狐附体1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 1; + showorder = 1635; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(762, 3); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill763Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 400,45)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetAmount (0.45f); + skill.GetVictim ().SetSwiftform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill763.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill763.cs.meta new file mode 100644 index 0000000000..c8a5122127 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill763.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7fbdf1c2e75dd4fd496a7817516172c3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill764.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill764.cs new file mode 100644 index 0000000000..c4174bb4ea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill764.cs @@ -0,0 +1,131 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill764 : Skill + { + public const int SKILL_ID = 764; + + public Skill764() : base(SKILL_ID) + { + } + } +#endif + + public class Skill764Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 11584 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(400); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill764Stub() : base(764) + { + cls = 3; + name = "狂·飞花遁影"; + nativename = "狂·飞花遁影"; + icon = "妖狐附体2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 1; + showorder = 1635; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(762, 3); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill764Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 400,45)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetAmount (0.45f); + skill.GetVictim ().SetSwiftform (1); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill764.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill764.cs.meta new file mode 100644 index 0000000000..4b1c3dcc50 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill764.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9bdbc8bc6f5434220a055a4e02fbda47 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill82.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill82.cs new file mode 100644 index 0000000000..c05717ca68 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill82.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill82 : Skill + { + public const int SKILL_ID = 82; + + public Skill82() : base(SKILL_ID) + { + } + } +#endif + + public class Skill82Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 3680, 6160, 9440, 13840, 19680, 27360, 37600, 51200, 69600, 94400 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(70 + 25 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(70 + 25 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill82Stub() : base(82) + { + cls = 4; + name = "兽王鼓舞"; + nativename = "兽王鼓舞"; + icon = "兽王鼓舞"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1511; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "兽王鼓舞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王鼓舞击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(109, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill82Stub() { } + + public override float GetMpcost(Skill skill) => (float)(70 + 25 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill82.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill82.cs.meta new file mode 100644 index 0000000000..af4537856f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill82.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ee55d6341df7b449c8a03accc8223a67 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill83.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill83.cs new file mode 100644 index 0000000000..7a87339a8f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill83.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill83 : Skill + { + public const int SKILL_ID = 83; + + public Skill83() : base(SKILL_ID) + { + } + } +#endif + + public class Skill83Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 37600, 48160, 61520, 78640, 100000, 128000, 172000, 261600, 387200, 564000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(225 + 20 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(225 + 20 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill83Stub() : base(83) + { + cls = 4; + name = "巨灵神力"; + nativename = "巨灵神力"; + icon = "巨灵神力"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1513; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(111, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill83Stub() { } + + public override float GetMpcost(Skill skill) => (float)(225 + 20 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetGiant (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 15; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill83.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill83.cs.meta new file mode 100644 index 0000000000..194c5bc86f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill83.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e5b8b281244894bd9aef85f0640751c0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill910.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill910.cs new file mode 100644 index 0000000000..f4046044a6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill910.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill910 : Skill + { + public const int SKILL_ID = 910; + + public Skill910() : base(SKILL_ID) + { + } + } +#endif + + public class Skill910Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 19783 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(800); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill910Stub() : base(910) + { + cls = 3; + name = "彩虹蛊"; + nativename = "彩虹蛊"; + icon = "彩虹蛊"; + max_level = 1; + type = 3; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 8; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 2451; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "彩虹蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/彩虹蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill910Stub() { } + + public override float GetMpcost(Skill skill) => 800f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 12,800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 35); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (4500); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 35); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (4500); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 15); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 15); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill910.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill910.cs.meta new file mode 100644 index 0000000000..4d8b666a7c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill910.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b074c9a89782448a383d85cf0fb4f5fd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill911.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill911.cs new file mode 100644 index 0000000000..d3d2282abb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill911.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill911 : Skill + { + public const int SKILL_ID = 911; + + public Skill911() : base(SKILL_ID) + { + } + } +#endif + + public class Skill911Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 19784 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(800); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill911Stub() : base(911) + { + cls = 3; + name = "彩虹蛊·妖"; + nativename = "彩虹蛊·妖"; + icon = "摄魂"; + max_level = 1; + type = 3; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 8; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 2452; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "摄魂"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/摄魂击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill911Stub() { } + + public override float GetMpcost(Skill skill) => 800f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 25,800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 35); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (4500); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 35); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (4500); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 15); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 15); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 32f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill911.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill911.cs.meta new file mode 100644 index 0000000000..a46e1c8405 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill911.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 85dae41ee4ebd460597a8229c70b7d00 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill912.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill912.cs new file mode 100644 index 0000000000..0a0f548a2d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill912.cs @@ -0,0 +1,211 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill912 : Skill + { + public const int SKILL_ID = 912; + + public Skill912() : base(SKILL_ID) + { + } + } +#endif + + public class Skill912Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 19785 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill912Stub() : base(912) + { + cls = 3; + name = "不动咒"; + nativename = "不动咒"; + icon = "不动咒"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2453; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 3; + effect = "1寸力"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill912Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 500)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill912.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill912.cs.meta new file mode 100644 index 0000000000..80016439c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill912.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6bdc486bd24af4718a0465bacefdd210 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill913.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill913.cs new file mode 100644 index 0000000000..543ce628bb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill913.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill913 : Skill + { + public const int SKILL_ID = 913; + + public Skill913() : base(SKILL_ID) + { + } + } +#endif + + public class Skill913Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19786 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + int temp = skill.GetPlayer().GetMaxmp() / 10 * 15; + skill.SetRatio(1); + skill.GetPlayer().SetDecmp(500); + skill.SetDamage(temp + skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill913Stub() : base(913) + { + cls = 3; + name = "媚心咒"; + nativename = "媚心咒"; + icon = "媚心咒"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2454; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "怪物人面桃花技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/人面桃花技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/人面桃花技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill913Stub() { } + + public override float GetMpcost(Skill skill) => 1000f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27,1000)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill913.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill913.cs.meta new file mode 100644 index 0000000000..990f95490c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill913.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 28adc8a3beedd40b4b595ffd810f4c2c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill914.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill914.cs new file mode 100644 index 0000000000..3fc99f87ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill914.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill914 : Skill + { + public const int SKILL_ID = 914; + + public Skill914() : base(SKILL_ID) + { + } + } +#endif + + public class Skill914Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19787 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + int temp = skill.GetPlayer().GetMaxhp() / 10 * 15; + skill.SetRatio(1); + skill.GetPlayer().SetDecmp(700); + skill.SetWooddamage(temp + skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill914Stub() : base(914) + { + cls = 3; + name = "化石咒"; + nativename = "化石咒"; + icon = "化石咒"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2455; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1绞杀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/绞杀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill914Stub() { } + + public override float GetMpcost(Skill skill) => 800f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 10,800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetCls () == -1 ? 0.8f : 3); + skill.GetVictim ().SetDecaccuracy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2100); + skill.GetVictim ().SetRatio (0.01f); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill914.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill914.cs.meta new file mode 100644 index 0000000000..3395490226 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill914.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 72b4d45fee3ec407b90d4930aadee451 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill927.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill927.cs new file mode 100644 index 0000000000..ae89c019af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill927.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill927 : Skill + { + public const int SKILL_ID = 927; + + public Skill927() : base(SKILL_ID) + { + } + } +#endif + + public class Skill927Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19786 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + int temp = skill.GetPlayer().GetMaxmp() / 10 * 15; + skill.SetRatio(1); + skill.GetPlayer().SetDecmp(500); + skill.SetDamage(temp + skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill927Stub() : base(927) + { + cls = 3; + name = "媚心咒"; + nativename = "媚心咒"; + icon = "媚心咒"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2456; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "怪物人面桃花技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/人面桃花技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/人面桃花技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill927Stub() { } + + public override float GetMpcost(Skill skill) => 1000f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 27,1000)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill927.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill927.cs.meta new file mode 100644 index 0000000000..f5b2dc9f9a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill927.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd0096506b9cd42cda34c173eff13eaf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill928.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill928.cs new file mode 100644 index 0000000000..420d890f74 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill928.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill928 : Skill + { + public const int SKILL_ID = 928; + + public Skill928() : base(SKILL_ID) + { + } + } +#endif + + public class Skill928Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19787 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + int temp = skill.GetPlayer().GetMaxhp() / 10 * 15; + skill.SetRatio(1); + skill.GetPlayer().SetDecmp(700); + skill.SetWooddamage(temp + skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill928Stub() : base(928) + { + cls = 3; + name = "化石咒"; + nativename = "化石咒"; + icon = "化石咒"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2457; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1绞杀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/绞杀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill928Stub() { } + + public override float GetMpcost(Skill skill) => 800f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 10,800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetCls () == -1 ? 0.8f : 3); + skill.GetVictim ().SetDecaccuracy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2100); + skill.GetVictim ().SetRatio (0.01f); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill928.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill928.cs.meta new file mode 100644 index 0000000000..3f28fee397 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs2/skill928.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3625544dae3984e2eb5f921ca2ec4cf2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3.meta new file mode 100644 index 0000000000..fa42c1d417 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5d950bb9e2bcc4dec8f30e026b723db8 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/SkillStubs3.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/SkillStubs3.cs new file mode 100644 index 0000000000..75e7f64a59 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/SkillStubs3.cs @@ -0,0 +1,525 @@ +using BrewMonster.Scripts.Skills; +using UnityEngine; + +namespace BrewMonster +{ + public static partial class SkillStubs + { + // Skill stub declarations + public static Skill188Stub __stub_Skill188Stub = new Skill188Stub(); + public static Skill195Stub __stub_Skill195Stub = new Skill195Stub(); + public static Skill230Stub __stub_Skill230Stub = new Skill230Stub(); + public static Skill231Stub __stub_Skill231Stub = new Skill231Stub(); + public static Skill234Stub __stub_Skill234Stub = new Skill234Stub(); + public static Skill235Stub __stub_Skill235Stub = new Skill235Stub(); + public static Skill236Stub __stub_Skill236Stub = new Skill236Stub(); + public static Skill237Stub __stub_Skill237Stub = new Skill237Stub(); + public static Skill238Stub __stub_Skill238Stub = new Skill238Stub(); + public static Skill239Stub __stub_Skill239Stub = new Skill239Stub(); + public static Skill240Stub __stub_Skill240Stub = new Skill240Stub(); + public static Skill241Stub __stub_Skill241Stub = new Skill241Stub(); + public static Skill242Stub __stub_Skill242Stub = new Skill242Stub(); + public static Skill243Stub __stub_Skill243Stub = new Skill243Stub(); + public static Skill244Stub __stub_Skill244Stub = new Skill244Stub(); + public static Skill245Stub __stub_Skill245Stub = new Skill245Stub(); + public static Skill246Stub __stub_Skill246Stub = new Skill246Stub(); + public static Skill247Stub __stub_Skill247Stub = new Skill247Stub(); + public static Skill248Stub __stub_Skill248Stub = new Skill248Stub(); + public static Skill249Stub __stub_Skill249Stub = new Skill249Stub(); + public static Skill250Stub __stub_Skill250Stub = new Skill250Stub(); + public static Skill251Stub __stub_Skill251Stub = new Skill251Stub(); + public static Skill252Stub __stub_Skill252Stub = new Skill252Stub(); + public static Skill253Stub __stub_Skill253Stub = new Skill253Stub(); + public static Skill254Stub __stub_Skill254Stub = new Skill254Stub(); + public static Skill255Stub __stub_Skill255Stub = new Skill255Stub(); + public static Skill256Stub __stub_Skill256Stub = new Skill256Stub(); + public static Skill257Stub __stub_Skill257Stub = new Skill257Stub(); + public static Skill258Stub __stub_Skill258Stub = new Skill258Stub(); + public static Skill274Stub __stub_Skill274Stub = new Skill274Stub(); + public static Skill366Stub __stub_Skill366Stub = new Skill366Stub(); + public static Skill367Stub __stub_Skill367Stub = new Skill367Stub(); + public static Skill370Stub __stub_Skill370Stub = new Skill370Stub(); + public static Skill371Stub __stub_Skill371Stub = new Skill371Stub(); + public static Skill492Stub __stub_Skill492Stub = new Skill492Stub(); + public static Skill493Stub __stub_Skill493Stub = new Skill493Stub(); + public static Skill494Stub __stub_Skill494Stub = new Skill494Stub(); + public static Skill495Stub __stub_Skill495Stub = new Skill495Stub(); + public static Skill496Stub __stub_Skill496Stub = new Skill496Stub(); + public static Skill497Stub __stub_Skill497Stub = new Skill497Stub(); + public static Skill498Stub __stub_Skill498Stub = new Skill498Stub(); + public static Skill499Stub __stub_Skill499Stub = new Skill499Stub(); + public static Skill500Stub __stub_Skill500Stub = new Skill500Stub(); + public static Skill501Stub __stub_Skill501Stub = new Skill501Stub(); + public static Skill502Stub __stub_Skill502Stub = new Skill502Stub(); + public static Skill503Stub __stub_Skill503Stub = new Skill503Stub(); + public static Skill504Stub __stub_Skill504Stub = new Skill504Stub(); + public static Skill505Stub __stub_Skill505Stub = new Skill505Stub(); + public static Skill506Stub __stub_Skill506Stub = new Skill506Stub(); + public static Skill507Stub __stub_Skill507Stub = new Skill507Stub(); + public static Skill508Stub __stub_Skill508Stub = new Skill508Stub(); + public static Skill509Stub __stub_Skill509Stub = new Skill509Stub(); + public static Skill510Stub __stub_Skill510Stub = new Skill510Stub(); + public static Skill511Stub __stub_Skill511Stub = new Skill511Stub(); + public static Skill512Stub __stub_Skill512Stub = new Skill512Stub(); + public static Skill513Stub __stub_Skill513Stub = new Skill513Stub(); + public static Skill514Stub __stub_Skill514Stub = new Skill514Stub(); + public static Skill515Stub __stub_Skill515Stub = new Skill515Stub(); + public static Skill516Stub __stub_Skill516Stub = new Skill516Stub(); + public static Skill517Stub __stub_Skill517Stub = new Skill517Stub(); + public static Skill518Stub __stub_Skill518Stub = new Skill518Stub(); + public static Skill519Stub __stub_Skill519Stub = new Skill519Stub(); + public static Skill520Stub __stub_Skill520Stub = new Skill520Stub(); + public static Skill521Stub __stub_Skill521Stub = new Skill521Stub(); + public static Skill522Stub __stub_Skill522Stub = new Skill522Stub(); + public static Skill523Stub __stub_Skill523Stub = new Skill523Stub(); + public static Skill524Stub __stub_Skill524Stub = new Skill524Stub(); + public static Skill525Stub __stub_Skill525Stub = new Skill525Stub(); + public static Skill526Stub __stub_Skill526Stub = new Skill526Stub(); + public static Skill527Stub __stub_Skill527Stub = new Skill527Stub(); + public static Skill528Stub __stub_Skill528Stub = new Skill528Stub(); + public static Skill529Stub __stub_Skill529Stub = new Skill529Stub(); + public static Skill530Stub __stub_Skill530Stub = new Skill530Stub(); + public static Skill531Stub __stub_Skill531Stub = new Skill531Stub(); + public static Skill532Stub __stub_Skill532Stub = new Skill532Stub(); + public static Skill533Stub __stub_Skill533Stub = new Skill533Stub(); + public static Skill534Stub __stub_Skill534Stub = new Skill534Stub(); + public static Skill535Stub __stub_Skill535Stub = new Skill535Stub(); + public static Skill536Stub __stub_Skill536Stub = new Skill536Stub(); + public static Skill537Stub __stub_Skill537Stub = new Skill537Stub(); + public static Skill538Stub __stub_Skill538Stub = new Skill538Stub(); + public static Skill539Stub __stub_Skill539Stub = new Skill539Stub(); + public static Skill540Stub __stub_Skill540Stub = new Skill540Stub(); + public static Skill541Stub __stub_Skill541Stub = new Skill541Stub(); + public static Skill590Stub __stub_Skill590Stub = new Skill590Stub(); + public static Skill591Stub __stub_Skill591Stub = new Skill591Stub(); + public static Skill592Stub __stub_Skill592Stub = new Skill592Stub(); + public static Skill593Stub __stub_Skill593Stub = new Skill593Stub(); + public static Skill594Stub __stub_Skill594Stub = new Skill594Stub(); + public static Skill595Stub __stub_Skill595Stub = new Skill595Stub(); + public static Skill596Stub __stub_Skill596Stub = new Skill596Stub(); + public static Skill597Stub __stub_Skill597Stub = new Skill597Stub(); + public static Skill598Stub __stub_Skill598Stub = new Skill598Stub(); + public static Skill599Stub __stub_Skill599Stub = new Skill599Stub(); + public static Skill600Stub __stub_Skill600Stub = new Skill600Stub(); + public static Skill601Stub __stub_Skill601Stub = new Skill601Stub(); + public static Skill602Stub __stub_Skill602Stub = new Skill602Stub(); + public static Skill603Stub __stub_Skill603Stub = new Skill603Stub(); + public static Skill604Stub __stub_Skill604Stub = new Skill604Stub(); + public static Skill605Stub __stub_Skill605Stub = new Skill605Stub(); + public static Skill606Stub __stub_Skill606Stub = new Skill606Stub(); + public static Skill607Stub __stub_Skill607Stub = new Skill607Stub(); + public static Skill608Stub __stub_Skill608Stub = new Skill608Stub(); + public static Skill609Stub __stub_Skill609Stub = new Skill609Stub(); + public static Skill610Stub __stub_Skill610Stub = new Skill610Stub(); + public static Skill906Stub __stub_Skill906Stub = new Skill906Stub(); + public static Skill907Stub __stub_Skill907Stub = new Skill907Stub(); + public static Skill908Stub __stub_Skill908Stub = new Skill908Stub(); + public static Skill909Stub __stub_Skill909Stub = new Skill909Stub(); + public static Skill929Stub __stub_Skill929Stub = new Skill929Stub(); + public static Skill930Stub __stub_Skill930Stub = new Skill930Stub(); + public static Skill935Stub __stub_Skill935Stub = new Skill935Stub(); + public static Skill1077Stub __stub_Skill1077Stub = new Skill1077Stub(); + public static Skill1080Stub __stub_Skill1080Stub = new Skill1080Stub(); + public static Skill1081Stub __stub_Skill1081Stub = new Skill1081Stub(); + public static Skill1082Stub __stub_Skill1082Stub = new Skill1082Stub(); + public static Skill1083Stub __stub_Skill1083Stub = new Skill1083Stub(); + public static Skill1085Stub __stub_Skill1085Stub = new Skill1085Stub(); + public static Skill1086Stub __stub_Skill1086Stub = new Skill1086Stub(); + public static Skill1093Stub __stub_Skill1093Stub = new Skill1093Stub(); + public static Skill1094Stub __stub_Skill1094Stub = new Skill1094Stub(); + public static Skill1095Stub __stub_Skill1095Stub = new Skill1095Stub(); + public static Skill1096Stub __stub_Skill1096Stub = new Skill1096Stub(); + public static Skill1097Stub __stub_Skill1097Stub = new Skill1097Stub(); + public static Skill1098Stub __stub_Skill1098Stub = new Skill1098Stub(); + public static Skill1099Stub __stub_Skill1099Stub = new Skill1099Stub(); + public static Skill1110Stub __stub_Skill1110Stub = new Skill1110Stub(); + public static Skill1111Stub __stub_Skill1111Stub = new Skill1111Stub(); + public static Skill1112Stub __stub_Skill1112Stub = new Skill1112Stub(); + public static Skill1113Stub __stub_Skill1113Stub = new Skill1113Stub(); + public static Skill1114Stub __stub_Skill1114Stub = new Skill1114Stub(); + public static Skill1115Stub __stub_Skill1115Stub = new Skill1115Stub(); + public static Skill1116Stub __stub_Skill1116Stub = new Skill1116Stub(); + public static Skill1117Stub __stub_Skill1117Stub = new Skill1117Stub(); + public static Skill1118Stub __stub_Skill1118Stub = new Skill1118Stub(); + public static Skill1119Stub __stub_Skill1119Stub = new Skill1119Stub(); + public static Skill1120Stub __stub_Skill1120Stub = new Skill1120Stub(); + public static Skill1121Stub __stub_Skill1121Stub = new Skill1121Stub(); + public static Skill1122Stub __stub_Skill1122Stub = new Skill1122Stub(); + public static Skill1123Stub __stub_Skill1123Stub = new Skill1123Stub(); + public static Skill1124Stub __stub_Skill1124Stub = new Skill1124Stub(); + public static Skill1138Stub __stub_Skill1138Stub = new Skill1138Stub(); + public static Skill1145Stub __stub_Skill1145Stub = new Skill1145Stub(); + public static Skill1148Stub __stub_Skill1148Stub = new Skill1148Stub(); + public static Skill1178Stub __stub_Skill1178Stub = new Skill1178Stub(); + public static Skill1179Stub __stub_Skill1179Stub = new Skill1179Stub(); + public static Skill1180Stub __stub_Skill1180Stub = new Skill1180Stub(); + public static Skill1181Stub __stub_Skill1181Stub = new Skill1181Stub(); + public static Skill1182Stub __stub_Skill1182Stub = new Skill1182Stub(); + public static Skill1189Stub __stub_Skill1189Stub = new Skill1189Stub(); + public static Skill1196Stub __stub_Skill1196Stub = new Skill1196Stub(); + public static Skill1197Stub __stub_Skill1197Stub = new Skill1197Stub(); + public static Skill1200Stub __stub_Skill1200Stub = new Skill1200Stub(); + public static Skill1201Stub __stub_Skill1201Stub = new Skill1201Stub(); + public static Skill1202Stub __stub_Skill1202Stub = new Skill1202Stub(); + public static Skill1203Stub __stub_Skill1203Stub = new Skill1203Stub(); + public static Skill1260Stub __stub_Skill1260Stub = new Skill1260Stub(); + public static Skill1261Stub __stub_Skill1261Stub = new Skill1261Stub(); + public static Skill1262Stub __stub_Skill1262Stub = new Skill1262Stub(); + public static Skill1263Stub __stub_Skill1263Stub = new Skill1263Stub(); + public static Skill1264Stub __stub_Skill1264Stub = new Skill1264Stub(); + public static Skill1265Stub __stub_Skill1265Stub = new Skill1265Stub(); + public static Skill1266Stub __stub_Skill1266Stub = new Skill1266Stub(); + public static Skill1267Stub __stub_Skill1267Stub = new Skill1267Stub(); + public static Skill1268Stub __stub_Skill1268Stub = new Skill1268Stub(); + public static Skill1269Stub __stub_Skill1269Stub = new Skill1269Stub(); + public static Skill1270Stub __stub_Skill1270Stub = new Skill1270Stub(); + public static Skill1271Stub __stub_Skill1271Stub = new Skill1271Stub(); + public static Skill1272Stub __stub_Skill1272Stub = new Skill1272Stub(); + public static Skill1273Stub __stub_Skill1273Stub = new Skill1273Stub(); + public static Skill1274Stub __stub_Skill1274Stub = new Skill1274Stub(); + public static Skill1275Stub __stub_Skill1275Stub = new Skill1275Stub(); + public static Skill1276Stub __stub_Skill1276Stub = new Skill1276Stub(); + public static Skill1277Stub __stub_Skill1277Stub = new Skill1277Stub(); + public static Skill1278Stub __stub_Skill1278Stub = new Skill1278Stub(); + public static Skill1279Stub __stub_Skill1279Stub = new Skill1279Stub(); + public static Skill1280Stub __stub_Skill1280Stub = new Skill1280Stub(); + public static Skill1281Stub __stub_Skill1281Stub = new Skill1281Stub(); + public static Skill1282Stub __stub_Skill1282Stub = new Skill1282Stub(); + public static Skill1283Stub __stub_Skill1283Stub = new Skill1283Stub(); + public static Skill1284Stub __stub_Skill1284Stub = new Skill1284Stub(); + public static Skill1285Stub __stub_Skill1285Stub = new Skill1285Stub(); + public static Skill1286Stub __stub_Skill1286Stub = new Skill1286Stub(); + public static Skill1287Stub __stub_Skill1287Stub = new Skill1287Stub(); + public static Skill1288Stub __stub_Skill1288Stub = new Skill1288Stub(); + public static Skill1289Stub __stub_Skill1289Stub = new Skill1289Stub(); + public static Skill1290Stub __stub_Skill1290Stub = new Skill1290Stub(); + public static Skill1291Stub __stub_Skill1291Stub = new Skill1291Stub(); + public static Skill1292Stub __stub_Skill1292Stub = new Skill1292Stub(); + public static Skill1293Stub __stub_Skill1293Stub = new Skill1293Stub(); + public static Skill1294Stub __stub_Skill1294Stub = new Skill1294Stub(); + public static Skill1295Stub __stub_Skill1295Stub = new Skill1295Stub(); + public static Skill1296Stub __stub_Skill1296Stub = new Skill1296Stub(); + public static Skill1297Stub __stub_Skill1297Stub = new Skill1297Stub(); + public static Skill1298Stub __stub_Skill1298Stub = new Skill1298Stub(); + public static Skill1299Stub __stub_Skill1299Stub = new Skill1299Stub(); + public static Skill1300Stub __stub_Skill1300Stub = new Skill1300Stub(); + public static Skill1301Stub __stub_Skill1301Stub = new Skill1301Stub(); + public static Skill1302Stub __stub_Skill1302Stub = new Skill1302Stub(); + public static Skill1303Stub __stub_Skill1303Stub = new Skill1303Stub(); + public static Skill1304Stub __stub_Skill1304Stub = new Skill1304Stub(); + public static Skill1305Stub __stub_Skill1305Stub = new Skill1305Stub(); + public static Skill1306Stub __stub_Skill1306Stub = new Skill1306Stub(); + public static Skill1307Stub __stub_Skill1307Stub = new Skill1307Stub(); + public static Skill1308Stub __stub_Skill1308Stub = new Skill1308Stub(); + public static Skill1309Stub __stub_Skill1309Stub = new Skill1309Stub(); + public static Skill1310Stub __stub_Skill1310Stub = new Skill1310Stub(); + public static Skill1311Stub __stub_Skill1311Stub = new Skill1311Stub(); + public static Skill1312Stub __stub_Skill1312Stub = new Skill1312Stub(); + public static Skill1313Stub __stub_Skill1313Stub = new Skill1313Stub(); + public static Skill1314Stub __stub_Skill1314Stub = new Skill1314Stub(); + public static Skill1315Stub __stub_Skill1315Stub = new Skill1315Stub(); + public static Skill1316Stub __stub_Skill1316Stub = new Skill1316Stub(); + public static Skill1317Stub __stub_Skill1317Stub = new Skill1317Stub(); + public static Skill1318Stub __stub_Skill1318Stub = new Skill1318Stub(); + public static Skill1319Stub __stub_Skill1319Stub = new Skill1319Stub(); + public static Skill1320Stub __stub_Skill1320Stub = new Skill1320Stub(); + public static Skill1321Stub __stub_Skill1321Stub = new Skill1321Stub(); + public static Skill1322Stub __stub_Skill1322Stub = new Skill1322Stub(); + public static Skill1323Stub __stub_Skill1323Stub = new Skill1323Stub(); + public static Skill1324Stub __stub_Skill1324Stub = new Skill1324Stub(); + public static Skill1325Stub __stub_Skill1325Stub = new Skill1325Stub(); + public static Skill1830Stub __stub_Skill1830Stub = new Skill1830Stub(); + public static Skill1831Stub __stub_Skill1831Stub = new Skill1831Stub(); + public static Skill1832Stub __stub_Skill1832Stub = new Skill1832Stub(); + public static Skill1833Stub __stub_Skill1833Stub = new Skill1833Stub(); + public static Skill1834Stub __stub_Skill1834Stub = new Skill1834Stub(); + public static Skill1835Stub __stub_Skill1835Stub = new Skill1835Stub(); + public static Skill1836Stub __stub_Skill1836Stub = new Skill1836Stub(); + public static Skill1837Stub __stub_Skill1837Stub = new Skill1837Stub(); + public static Skill1838Stub __stub_Skill1838Stub = new Skill1838Stub(); + public static Skill1839Stub __stub_Skill1839Stub = new Skill1839Stub(); + public static Skill1876Stub __stub_Skill1876Stub = new Skill1876Stub(); + public static Skill1877Stub __stub_Skill1877Stub = new Skill1877Stub(); + public static Skill1949Stub __stub_Skill1949Stub = new Skill1949Stub(); + public static Skill1980Stub __stub_Skill1980Stub = new Skill1980Stub(); + public static Skill1981Stub __stub_Skill1981Stub = new Skill1981Stub(); + public static Skill1982Stub __stub_Skill1982Stub = new Skill1982Stub(); + public static Skill1983Stub __stub_Skill1983Stub = new Skill1983Stub(); + public static Skill2212Stub __stub_Skill2212Stub = new Skill2212Stub(); + public static Skill2213Stub __stub_Skill2213Stub = new Skill2213Stub(); + public static Skill2214Stub __stub_Skill2214Stub = new Skill2214Stub(); + public static Skill2215Stub __stub_Skill2215Stub = new Skill2215Stub(); + public static Skill2244Stub __stub_Skill2244Stub = new Skill2244Stub(); + public static Skill2245Stub __stub_Skill2245Stub = new Skill2245Stub(); + public static Skill2246Stub __stub_Skill2246Stub = new Skill2246Stub(); + public static Skill2247Stub __stub_Skill2247Stub = new Skill2247Stub(); + public static Skill2248Stub __stub_Skill2248Stub = new Skill2248Stub(); + public static Skill2366Stub __stub_Skill2366Stub = new Skill2366Stub(); + public static Skill2418Stub __stub_Skill2418Stub = new Skill2418Stub(); + public static Skill2419Stub __stub_Skill2419Stub = new Skill2419Stub(); + public static Skill2420Stub __stub_Skill2420Stub = new Skill2420Stub(); + public static Skill2421Stub __stub_Skill2421Stub = new Skill2421Stub(); + public static Skill2438Stub __stub_Skill2438Stub = new Skill2438Stub(); + public static Skill2439Stub __stub_Skill2439Stub = new Skill2439Stub(); + public static Skill2451Stub __stub_Skill2451Stub = new Skill2451Stub(); + +#if SKILL_SERVER + public static Skill188 __stub_Skill188 = new Skill188(); + public static Skill195 __stub_Skill195 = new Skill195(); + public static Skill230 __stub_Skill230 = new Skill230(); + public static Skill231 __stub_Skill231 = new Skill231(); + public static Skill234 __stub_Skill234 = new Skill234(); + public static Skill235 __stub_Skill235 = new Skill235(); + public static Skill236 __stub_Skill236 = new Skill236(); + public static Skill237 __stub_Skill237 = new Skill237(); + public static Skill238 __stub_Skill238 = new Skill238(); + public static Skill239 __stub_Skill239 = new Skill239(); + public static Skill240 __stub_Skill240 = new Skill240(); + public static Skill241 __stub_Skill241 = new Skill241(); + public static Skill242 __stub_Skill242 = new Skill242(); + public static Skill243 __stub_Skill243 = new Skill243(); + public static Skill244 __stub_Skill244 = new Skill244(); + public static Skill245 __stub_Skill245 = new Skill245(); + public static Skill246 __stub_Skill246 = new Skill246(); + public static Skill247 __stub_Skill247 = new Skill247(); + public static Skill248 __stub_Skill248 = new Skill248(); + public static Skill249 __stub_Skill249 = new Skill249(); + public static Skill250 __stub_Skill250 = new Skill250(); + public static Skill251 __stub_Skill251 = new Skill251(); + public static Skill252 __stub_Skill252 = new Skill252(); + public static Skill253 __stub_Skill253 = new Skill253(); + public static Skill254 __stub_Skill254 = new Skill254(); + public static Skill255 __stub_Skill255 = new Skill255(); + public static Skill256 __stub_Skill256 = new Skill256(); + public static Skill257 __stub_Skill257 = new Skill257(); + public static Skill258 __stub_Skill258 = new Skill258(); + public static Skill274 __stub_Skill274 = new Skill274(); + public static Skill366 __stub_Skill366 = new Skill366(); + public static Skill367 __stub_Skill367 = new Skill367(); + public static Skill370 __stub_Skill370 = new Skill370(); + public static Skill371 __stub_Skill371 = new Skill371(); + public static Skill492 __stub_Skill492 = new Skill492(); + public static Skill493 __stub_Skill493 = new Skill493(); + public static Skill494 __stub_Skill494 = new Skill494(); + public static Skill495 __stub_Skill495 = new Skill495(); + public static Skill496 __stub_Skill496 = new Skill496(); + public static Skill497 __stub_Skill497 = new Skill497(); + public static Skill498 __stub_Skill498 = new Skill498(); + public static Skill499 __stub_Skill499 = new Skill499(); + public static Skill500 __stub_Skill500 = new Skill500(); + public static Skill501 __stub_Skill501 = new Skill501(); + public static Skill502 __stub_Skill502 = new Skill502(); + public static Skill503 __stub_Skill503 = new Skill503(); + public static Skill504 __stub_Skill504 = new Skill504(); + public static Skill505 __stub_Skill505 = new Skill505(); + public static Skill506 __stub_Skill506 = new Skill506(); + public static Skill507 __stub_Skill507 = new Skill507(); + public static Skill508 __stub_Skill508 = new Skill508(); + public static Skill509 __stub_Skill509 = new Skill509(); + public static Skill510 __stub_Skill510 = new Skill510(); + public static Skill511 __stub_Skill511 = new Skill511(); + public static Skill512 __stub_Skill512 = new Skill512(); + public static Skill513 __stub_Skill513 = new Skill513(); + public static Skill514 __stub_Skill514 = new Skill514(); + public static Skill515 __stub_Skill515 = new Skill515(); + public static Skill516 __stub_Skill516 = new Skill516(); + public static Skill517 __stub_Skill517 = new Skill517(); + public static Skill518 __stub_Skill518 = new Skill518(); + public static Skill519 __stub_Skill519 = new Skill519(); + public static Skill520 __stub_Skill520 = new Skill520(); + public static Skill521 __stub_Skill521 = new Skill521(); + public static Skill522 __stub_Skill522 = new Skill522(); + public static Skill523 __stub_Skill523 = new Skill523(); + public static Skill524 __stub_Skill524 = new Skill524(); + public static Skill525 __stub_Skill525 = new Skill525(); + public static Skill526 __stub_Skill526 = new Skill526(); + public static Skill527 __stub_Skill527 = new Skill527(); + public static Skill528 __stub_Skill528 = new Skill528(); + public static Skill529 __stub_Skill529 = new Skill529(); + public static Skill530 __stub_Skill530 = new Skill530(); + public static Skill531 __stub_Skill531 = new Skill531(); + public static Skill532 __stub_Skill532 = new Skill532(); + public static Skill533 __stub_Skill533 = new Skill533(); + public static Skill534 __stub_Skill534 = new Skill534(); + public static Skill535 __stub_Skill535 = new Skill535(); + public static Skill536 __stub_Skill536 = new Skill536(); + public static Skill537 __stub_Skill537 = new Skill537(); + public static Skill538 __stub_Skill538 = new Skill538(); + public static Skill539 __stub_Skill539 = new Skill539(); + public static Skill540 __stub_Skill540 = new Skill540(); + public static Skill541 __stub_Skill541 = new Skill541(); + public static Skill590 __stub_Skill590 = new Skill590(); + public static Skill591 __stub_Skill591 = new Skill591(); + public static Skill592 __stub_Skill592 = new Skill592(); + public static Skill593 __stub_Skill593 = new Skill593(); + public static Skill594 __stub_Skill594 = new Skill594(); + public static Skill595 __stub_Skill595 = new Skill595(); + public static Skill596 __stub_Skill596 = new Skill596(); + public static Skill597 __stub_Skill597 = new Skill597(); + public static Skill598 __stub_Skill598 = new Skill598(); + public static Skill599 __stub_Skill599 = new Skill599(); + public static Skill600 __stub_Skill600 = new Skill600(); + public static Skill601 __stub_Skill601 = new Skill601(); + public static Skill602 __stub_Skill602 = new Skill602(); + public static Skill603 __stub_Skill603 = new Skill603(); + public static Skill604 __stub_Skill604 = new Skill604(); + public static Skill605 __stub_Skill605 = new Skill605(); + public static Skill606 __stub_Skill606 = new Skill606(); + public static Skill607 __stub_Skill607 = new Skill607(); + public static Skill608 __stub_Skill608 = new Skill608(); + public static Skill609 __stub_Skill609 = new Skill609(); + public static Skill610 __stub_Skill610 = new Skill610(); + public static Skill906 __stub_Skill906 = new Skill906(); + public static Skill907 __stub_Skill907 = new Skill907(); + public static Skill908 __stub_Skill908 = new Skill908(); + public static Skill909 __stub_Skill909 = new Skill909(); + public static Skill929 __stub_Skill929 = new Skill929(); + public static Skill930 __stub_Skill930 = new Skill930(); + public static Skill935 __stub_Skill935 = new Skill935(); + public static Skill1077 __stub_Skill1077 = new Skill1077(); + public static Skill1080 __stub_Skill1080 = new Skill1080(); + public static Skill1081 __stub_Skill1081 = new Skill1081(); + public static Skill1082 __stub_Skill1082 = new Skill1082(); + public static Skill1083 __stub_Skill1083 = new Skill1083(); + public static Skill1085 __stub_Skill1085 = new Skill1085(); + public static Skill1086 __stub_Skill1086 = new Skill1086(); + public static Skill1093 __stub_Skill1093 = new Skill1093(); + public static Skill1094 __stub_Skill1094 = new Skill1094(); + public static Skill1095 __stub_Skill1095 = new Skill1095(); + public static Skill1096 __stub_Skill1096 = new Skill1096(); + public static Skill1097 __stub_Skill1097 = new Skill1097(); + public static Skill1098 __stub_Skill1098 = new Skill1098(); + public static Skill1099 __stub_Skill1099 = new Skill1099(); + public static Skill1110 __stub_Skill1110 = new Skill1110(); + public static Skill1111 __stub_Skill1111 = new Skill1111(); + public static Skill1112 __stub_Skill1112 = new Skill1112(); + public static Skill1113 __stub_Skill1113 = new Skill1113(); + public static Skill1114 __stub_Skill1114 = new Skill1114(); + public static Skill1115 __stub_Skill1115 = new Skill1115(); + public static Skill1116 __stub_Skill1116 = new Skill1116(); + public static Skill1117 __stub_Skill1117 = new Skill1117(); + public static Skill1118 __stub_Skill1118 = new Skill1118(); + public static Skill1119 __stub_Skill1119 = new Skill1119(); + public static Skill1120 __stub_Skill1120 = new Skill1120(); + public static Skill1121 __stub_Skill1121 = new Skill1121(); + public static Skill1122 __stub_Skill1122 = new Skill1122(); + public static Skill1123 __stub_Skill1123 = new Skill1123(); + public static Skill1124 __stub_Skill1124 = new Skill1124(); + public static Skill1138 __stub_Skill1138 = new Skill1138(); + public static Skill1145 __stub_Skill1145 = new Skill1145(); + public static Skill1148 __stub_Skill1148 = new Skill1148(); + public static Skill1178 __stub_Skill1178 = new Skill1178(); + public static Skill1179 __stub_Skill1179 = new Skill1179(); + public static Skill1180 __stub_Skill1180 = new Skill1180(); + public static Skill1181 __stub_Skill1181 = new Skill1181(); + public static Skill1182 __stub_Skill1182 = new Skill1182(); + public static Skill1189 __stub_Skill1189 = new Skill1189(); + public static Skill1196 __stub_Skill1196 = new Skill1196(); + public static Skill1197 __stub_Skill1197 = new Skill1197(); + public static Skill1200 __stub_Skill1200 = new Skill1200(); + public static Skill1201 __stub_Skill1201 = new Skill1201(); + public static Skill1202 __stub_Skill1202 = new Skill1202(); + public static Skill1203 __stub_Skill1203 = new Skill1203(); + public static Skill1260 __stub_Skill1260 = new Skill1260(); + public static Skill1261 __stub_Skill1261 = new Skill1261(); + public static Skill1262 __stub_Skill1262 = new Skill1262(); + public static Skill1263 __stub_Skill1263 = new Skill1263(); + public static Skill1264 __stub_Skill1264 = new Skill1264(); + public static Skill1265 __stub_Skill1265 = new Skill1265(); + public static Skill1266 __stub_Skill1266 = new Skill1266(); + public static Skill1267 __stub_Skill1267 = new Skill1267(); + public static Skill1268 __stub_Skill1268 = new Skill1268(); + public static Skill1269 __stub_Skill1269 = new Skill1269(); + public static Skill1270 __stub_Skill1270 = new Skill1270(); + public static Skill1271 __stub_Skill1271 = new Skill1271(); + public static Skill1272 __stub_Skill1272 = new Skill1272(); + public static Skill1273 __stub_Skill1273 = new Skill1273(); + public static Skill1274 __stub_Skill1274 = new Skill1274(); + public static Skill1275 __stub_Skill1275 = new Skill1275(); + public static Skill1276 __stub_Skill1276 = new Skill1276(); + public static Skill1277 __stub_Skill1277 = new Skill1277(); + public static Skill1278 __stub_Skill1278 = new Skill1278(); + public static Skill1279 __stub_Skill1279 = new Skill1279(); + public static Skill1280 __stub_Skill1280 = new Skill1280(); + public static Skill1281 __stub_Skill1281 = new Skill1281(); + public static Skill1282 __stub_Skill1282 = new Skill1282(); + public static Skill1283 __stub_Skill1283 = new Skill1283(); + public static Skill1284 __stub_Skill1284 = new Skill1284(); + public static Skill1285 __stub_Skill1285 = new Skill1285(); + public static Skill1286 __stub_Skill1286 = new Skill1286(); + public static Skill1287 __stub_Skill1287 = new Skill1287(); + public static Skill1288 __stub_Skill1288 = new Skill1288(); + public static Skill1289 __stub_Skill1289 = new Skill1289(); + public static Skill1290 __stub_Skill1290 = new Skill1290(); + public static Skill1291 __stub_Skill1291 = new Skill1291(); + public static Skill1292 __stub_Skill1292 = new Skill1292(); + public static Skill1293 __stub_Skill1293 = new Skill1293(); + public static Skill1294 __stub_Skill1294 = new Skill1294(); + public static Skill1295 __stub_Skill1295 = new Skill1295(); + public static Skill1296 __stub_Skill1296 = new Skill1296(); + public static Skill1297 __stub_Skill1297 = new Skill1297(); + public static Skill1298 __stub_Skill1298 = new Skill1298(); + public static Skill1299 __stub_Skill1299 = new Skill1299(); + public static Skill1300 __stub_Skill1300 = new Skill1300(); + public static Skill1301 __stub_Skill1301 = new Skill1301(); + public static Skill1302 __stub_Skill1302 = new Skill1302(); + public static Skill1303 __stub_Skill1303 = new Skill1303(); + public static Skill1304 __stub_Skill1304 = new Skill1304(); + public static Skill1305 __stub_Skill1305 = new Skill1305(); + public static Skill1306 __stub_Skill1306 = new Skill1306(); + public static Skill1307 __stub_Skill1307 = new Skill1307(); + public static Skill1308 __stub_Skill1308 = new Skill1308(); + public static Skill1309 __stub_Skill1309 = new Skill1309(); + public static Skill1310 __stub_Skill1310 = new Skill1310(); + public static Skill1311 __stub_Skill1311 = new Skill1311(); + public static Skill1312 __stub_Skill1312 = new Skill1312(); + public static Skill1313 __stub_Skill1313 = new Skill1313(); + public static Skill1314 __stub_Skill1314 = new Skill1314(); + public static Skill1315 __stub_Skill1315 = new Skill1315(); + public static Skill1316 __stub_Skill1316 = new Skill1316(); + public static Skill1317 __stub_Skill1317 = new Skill1317(); + public static Skill1318 __stub_Skill1318 = new Skill1318(); + public static Skill1319 __stub_Skill1319 = new Skill1319(); + public static Skill1320 __stub_Skill1320 = new Skill1320(); + public static Skill1321 __stub_Skill1321 = new Skill1321(); + public static Skill1322 __stub_Skill1322 = new Skill1322(); + public static Skill1323 __stub_Skill1323 = new Skill1323(); + public static Skill1324 __stub_Skill1324 = new Skill1324(); + public static Skill1325 __stub_Skill1325 = new Skill1325(); + public static Skill1830 __stub_Skill1830 = new Skill1830(); + public static Skill1831 __stub_Skill1831 = new Skill1831(); + public static Skill1832 __stub_Skill1832 = new Skill1832(); + public static Skill1833 __stub_Skill1833 = new Skill1833(); + public static Skill1834 __stub_Skill1834 = new Skill1834(); + public static Skill1835 __stub_Skill1835 = new Skill1835(); + public static Skill1836 __stub_Skill1836 = new Skill1836(); + public static Skill1837 __stub_Skill1837 = new Skill1837(); + public static Skill1838 __stub_Skill1838 = new Skill1838(); + public static Skill1839 __stub_Skill1839 = new Skill1839(); + public static Skill1876 __stub_Skill1876 = new Skill1876(); + public static Skill1877 __stub_Skill1877 = new Skill1877(); + public static Skill1949 __stub_Skill1949 = new Skill1949(); + public static Skill1980 __stub_Skill1980 = new Skill1980(); + public static Skill1981 __stub_Skill1981 = new Skill1981(); + public static Skill1982 __stub_Skill1982 = new Skill1982(); + public static Skill1983 __stub_Skill1983 = new Skill1983(); + public static Skill2212 __stub_Skill2212 = new Skill2212(); + public static Skill2213 __stub_Skill2213 = new Skill2213(); + public static Skill2214 __stub_Skill2214 = new Skill2214(); + public static Skill2215 __stub_Skill2215 = new Skill2215(); + public static Skill2244 __stub_Skill2244 = new Skill2244(); + public static Skill2245 __stub_Skill2245 = new Skill2245(); + public static Skill2246 __stub_Skill2246 = new Skill2246(); + public static Skill2247 __stub_Skill2247 = new Skill2247(); + public static Skill2248 __stub_Skill2248 = new Skill2248(); + public static Skill2366 __stub_Skill2366 = new Skill2366(); + public static Skill2418 __stub_Skill2418 = new Skill2418(); + public static Skill2419 __stub_Skill2419 = new Skill2419(); + public static Skill2420 __stub_Skill2420 = new Skill2420(); + public static Skill2421 __stub_Skill2421 = new Skill2421(); + public static Skill2438 __stub_Skill2438 = new Skill2438(); + public static Skill2439 __stub_Skill2439 = new Skill2439(); + public static Skill2451 __stub_Skill2451 = new Skill2451(); +#endif + } +} diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/SkillStubs3.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/SkillStubs3.cs.meta new file mode 100644 index 0000000000..36aafccaa8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/SkillStubs3.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7e2d19e54b58c4b639a910190a4e38af \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1077.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1077.cs new file mode 100644 index 0000000000..361fda9939 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1077.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1077 : Skill + { + public const int SKILL_ID = 1077; + + public Skill1077() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1077Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(94.5f + 8.4f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(94.5f + 8.4f * skill.GetLevel())); + skill.SetPlus(0); + skill.SetRatio(2 + 0.2f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1077Stub() : base(1077) + { + cls = 5; + name = "大地裂纹"; + nativename = "大地裂纹"; + icon = "爆弹"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 5; + eventflag = 1; + clslimit = 0; + time_type = 0; + showorder = 1619; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_爆弹"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_爆弹_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1115, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1077Stub() { } + + public override float GetMpcost(Skill skill) => (float)(94.5 + 8.4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1077.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1077.cs.meta new file mode 100644 index 0000000000..50db2e1037 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1077.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8e74bf70e54314f86b66d764a72d4fdd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1080.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1080.cs new file mode 100644 index 0000000000..589f5d5144 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1080.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1080 : Skill + { + public const int SKILL_ID = 1080; + + public Skill1080() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1080Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill1080Stub() : base(1080) + { + cls = 5; + name = "匕首精通"; + nativename = "匕首精通"; + icon = "匕首精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 2; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1627; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1080Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncdagger (0.06f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1080.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1080.cs.meta new file mode 100644 index 0000000000..3f8e64913a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1080.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 137a3978892d74d53bf6c1102b0867b7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1081.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1081.cs new file mode 100644 index 0000000000..1258a964fe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1081.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1081 : Skill + { + public const int SKILL_ID = 1081; + + public Skill1081() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1081Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill1081Stub() : base(1081) + { + cls = 5; + name = "身形精通"; + nativename = "身形精通"; + icon = "身形精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1628; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1081Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncinvisiblepassive (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1081.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1081.cs.meta new file mode 100644 index 0000000000..c9db685991 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1081.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f59f9f06356b24dba815f69014eb4ff3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1082.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1082.cs new file mode 100644 index 0000000000..130989492c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1082.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1082 : Skill + { + public const int SKILL_ID = 1082; + + public Skill1082() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1082Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill1082Stub() : base(1082) + { + cls = 5; + name = "眼力精通"; + nativename = "眼力精通"; + icon = "眼力精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 1; + clslimit = 0; + time_type = 0; + showorder = 1629; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1082Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncantiinvisiblepassive (3 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1082.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1082.cs.meta new file mode 100644 index 0000000000..53aae152b7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1082.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 96ab04c030ca046a8858e4a14329604f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1083.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1083.cs new file mode 100644 index 0000000000..aa7e0cec5d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1083.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1083 : Skill + { + public const int SKILL_ID = 1083; + + public Skill1083() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1083Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(156.8f + 8.4f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(156.8f + 8.4f * skill.GetLevel())); + skill.SetPlus(2.3f * skill.GetLevel() * skill.GetLevel() + 140.7f * skill.GetLevel() + 1848.1f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1083Stub() : base(1083) + { + cls = 5; + name = "分水刺击"; + nativename = "分水刺击"; + icon = "保命"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 1; + clslimit = 0; + time_type = 0; + showorder = 1621; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_旋风斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_旋风斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1077, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1083Stub() { } + + public override float GetMpcost(Skill skill) => (float)(156.8 + 8.4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.15f + 0.015f * skill.GetLevel ()); + skill.GetVictim ().SetDeeppoision (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1083.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1083.cs.meta new file mode 100644 index 0000000000..0e1131cd3a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1083.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7cd074212cfd3455e9625e58cda289f3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1085.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1085.cs new file mode 100644 index 0000000000..1089cc74db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1085.cs @@ -0,0 +1,125 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1085 : Skill + { + public const int SKILL_ID = 1085; + + public Skill1085() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1085Stub : SkillStub + { + + + public Skill1085Stub() : base(1085) + { + cls = 5; + name = "如来天心(效果专用)"; + nativename = "如来天心(效果专用)"; + icon = ""; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_如来天心咒"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_如来天心咒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1085Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncantiinvisiblepassive (skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1085.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1085.cs.meta new file mode 100644 index 0000000000..b1e0b6238f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1085.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 87e7667a3fefe43ffb09f50fc6fe6c3f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1086.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1086.cs new file mode 100644 index 0000000000..a117c7c8a4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1086.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1086 : Skill + { + public const int SKILL_ID = 1086; + + public Skill1086() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1086Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1086Stub() : base(1086) + { + cls = 5; + name = "强行遁隐"; + nativename = "强行遁隐"; + icon = "高级隐身"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 100; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1611; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1098, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1086Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 2800; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (25 - skill.GetLevel ()); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetInvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1086.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1086.cs.meta new file mode 100644 index 0000000000..4931df47c7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1086.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c13e64d717ec14c32b8a9ba949ca9415 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1093.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1093.cs new file mode 100644 index 0000000000..36a7c9a694 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1093.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1093 : Skill + { + public const int SKILL_ID = 1093; + + public Skill1093() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1093Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 13, 18, 23, 28, 33, 38, 43, 48, 53, 58 }; + private static readonly int[] RequiredSpArray = { 1680, 3280, 5600, 8720, 12880, 18400, 25600, 35280, 48160, 65440 }; + private static readonly int[] RequiredMoneyArray = { 220, 400, 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(4); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(16); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1093Stub() : base(1093) + { + cls = 5; + name = "遁隐术"; + nativename = "遁隐术"; + icon = "隐身"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1604; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + notuse_in_combat = true; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1093Stub() { } + + public override float GetMpcost(Skill skill) => 20f; + public override int GetExecutetime(Skill skill) => 2800; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (25 - skill.GetLevel ()); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetInvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1093.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1093.cs.meta new file mode 100644 index 0000000000..4234ca43fa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1093.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 242227d96a014489198752151dd76171 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1094.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1094.cs new file mode 100644 index 0000000000..97ccaa5ba1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1094.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1094 : Skill + { + public const int SKILL_ID = 1094; + + public Skill1094() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1094Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 34, 39, 44, 49, 54, 59, 64, 69, 74, 79 }; + private static readonly int[] RequiredSpArray = { 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000, 399000 }; + private static readonly int[] RequiredMoneyArray = { 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980, 331980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(56 + 35 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(56 + 35 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1094Stub() : base(1094) + { + cls = 5; + name = "嗜血咒"; + nativename = "嗜血咒"; + icon = "吸血光环"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 3; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 1612; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_吸血光环"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_吸血光环_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1098, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1094Stub() { } + + public override float GetMpcost(Skill skill) => (float)(56 + 35 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2400; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000 + 90000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.02f); + skill.GetVictim ().SetInchpsteal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1094.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1094.cs.meta new file mode 100644 index 0000000000..4316b27461 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1094.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 55622687fd8c0431bbe4857e3f1a2c10 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1095.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1095.cs new file mode 100644 index 0000000000..0ab99c7a06 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1095.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1095 : Skill + { + public const int SKILL_ID = 1095; + + public Skill1095() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1095Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(35 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(35 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1095Stub() : base(1095) + { + cls = 5; + name = "如影随形"; + nativename = "如影随形"; + icon = "瞬移"; + max_level = 10; + type = 8; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1614; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1124, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1095Stub() { } + + public override float GetMpcost(Skill skill) => (float)(35 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000 - 1500 * skill.GetLevel(); + public float GetRadius(Skill skill) => (float)(15 + 1.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(15 + 1.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + 1.5f * skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1095.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1095.cs.meta new file mode 100644 index 0000000000..285548987f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1095.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5c0d0b17ffa4340f79ceac1c0ff9da07 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1096.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1096.cs new file mode 100644 index 0000000000..5caef50c63 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1096.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1096 : Skill + { + public const int SKILL_ID = 1096; + + public Skill1096() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1096Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(56 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(56 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1096Stub() : base(1096) + { + cls = 5; + name = "如来天心咒"; + nativename = "如来天心咒"; + icon = "回光返照"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1616; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1094, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1096Stub() { } + + public override float GetMpcost(Skill skill) => (float)(56 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2600; + public override int GetCoolingtime(Skill skill) => 300000 - 12000 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetRebirth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1096.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1096.cs.meta new file mode 100644 index 0000000000..c321b919b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1096.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 493a22f472fa942b1983a916141dfa80 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1097.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1097.cs new file mode 100644 index 0000000000..2bf7a472b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1097.cs @@ -0,0 +1,156 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1097 : Skill + { + public const int SKILL_ID = 1097; + + public Skill1097() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1097Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 14, 19, 24, 29, 34, 39, 44, 49, 54, 59 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(25 + 1.5f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1097Stub() : base(1097) + { + cls = 5; + name = "狂狼印"; + nativename = "狂狼印"; + icon = "暴伤"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1605; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_暴伤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_暴伤_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1114, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1097Stub() { } + + public override float GetMpcost(Skill skill) => (float)(25 + 1.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetInccritdamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1097.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1097.cs.meta new file mode 100644 index 0000000000..544519c93d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1097.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fd63b4b1505de447a85910754c8d7afa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1098.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1098.cs new file mode 100644 index 0000000000..97f60b6577 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1098.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1098 : Skill + { + public const int SKILL_ID = 1098; + + public Skill1098() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1098Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(5.6f + 7 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(5.6f + 7 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1098Stub() : base(1098) + { + cls = 5; + name = "金刚轮印咒"; + nativename = "金刚轮印咒"; + icon = "伤害闪避"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1608; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 90000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1093, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1098Stub() { } + + public override float GetMpcost(Skill skill) => (float)(5.6 + 7 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1667; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000 + 3000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.1f + 0.015f * skill.GetLevel ()); + skill.GetVictim ().SetIncdamagedodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1098.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1098.cs.meta new file mode 100644 index 0000000000..447f6475b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1098.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 80645b1547de240ee9516816722d6544 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1099.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1099.cs new file mode 100644 index 0000000000..9a09a10d42 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1099.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1099 : Skill + { + public const int SKILL_ID = 1099; + + public Skill1099() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1099Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(56 + 7 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(56 + 7 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1099Stub() : base(1099) + { + cls = 5; + name = "三世明王咒"; + nativename = "三世明王咒"; + icon = "状态闪避"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1624; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 90000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1096, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1099Stub() { } + + public override float GetMpcost(Skill skill) => (float)(56 + 7 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1667; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000 + 3000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.25f + 0.025f * skill.GetLevel ()); + skill.GetVictim ().SetIncdebuffdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1099.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1099.cs.meta new file mode 100644 index 0000000000..4cab45a4f3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1099.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dfc36cc524434497a80e9cfb10b13089 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1110.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1110.cs new file mode 100644 index 0000000000..37ad75e79d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1110.cs @@ -0,0 +1,128 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1110 : Skill + { + public const int SKILL_ID = 1110; + + public Skill1110() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1110Stub : SkillStub + { + + + public Skill1110Stub() : base(1110) + { + cls = 5; + name = "吸血(光环专用)"; + nativename = "吸血(光环专用)"; + icon = "狂龙斩"; + max_level = MAX_LEVEL; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1110Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.02f); + skill.GetVictim ().SetInchpsteal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1110.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1110.cs.meta new file mode 100644 index 0000000000..17144f2e91 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1110.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 762829d3fd6844afa91b6443f0ada03a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1111.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1111.cs new file mode 100644 index 0000000000..fca53b197e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1111.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1111 : Skill + { + public const int SKILL_ID = 1111; + + public Skill1111() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1111Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-5 + 7 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-5 + 7 * skill.GetLevel())); + skill.SetPlus(1.7f * skill.GetLevel() * skill.GetLevel() + 55.5f * skill.GetLevel() + 58.8f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1111Stub() : base(1111) + { + cls = 5; + name = "连击"; + nativename = "连击"; + icon = "连击"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1600; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_先发制人"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_先发制人_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1111Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-5 + 7 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.3f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.2f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1111.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1111.cs.meta new file mode 100644 index 0000000000..b36bf6d4de --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1111.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4d67da922d00d4493b17a2dc8366c662 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1112.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1112.cs new file mode 100644 index 0000000000..856e5832af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1112.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1112 : Skill + { + public const int SKILL_ID = 1112; + + public Skill1112() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1112Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(156.8f + 8.4f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(156.8f + 8.4f * skill.GetLevel())); + skill.SetPlus(4.3f * skill.GetLevel() * skill.GetLevel() + 271.7f * skill.GetLevel() + 3569.9f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1112Stub() : base(1112) + { + cls = 5; + name = "斩首"; + nativename = "斩首"; + icon = "十字斩"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1622; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_十字斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_十字斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1077, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1112Stub() { } + + public override float GetMpcost(Skill skill) => (float)(156.8 + 8.4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 180 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + 200 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 4.5f + 2.2f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1112.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1112.cs.meta new file mode 100644 index 0000000000..2cf8998d78 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1112.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 455b7bcc48f234966a4e153b7669e13e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1113.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1113.cs new file mode 100644 index 0000000000..b2bb93f1e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1113.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1113 : Skill + { + public const int SKILL_ID = 1113; + + public Skill1113() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1113Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 44, 48, 52, 56, 60, 64, 68, 72, 76, 80 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredMoneyArray = { 2480, 2880, 3280, 3680, 4980, 12980, 41980, 111980, 211980, 371980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1113Stub() : base(1113) + { + cls = 5; + name = "深度冰刺"; + nativename = "深度冰刺"; + icon = "冰剑护体"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1617; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1180, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1113Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.5f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetValue (15 + 1.5f * skill.GetLevel ()); + skill.GetVictim ().SetDeepicethrust (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1113.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1113.cs.meta new file mode 100644 index 0000000000..23dae78af7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1113.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6fccbb90aeac34e93affc45c09e4e015 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1114.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1114.cs new file mode 100644 index 0000000000..721529fc52 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1114.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1114 : Skill + { + public const int SKILL_ID = 1114; + + public Skill1114() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1114Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 3, 8, 13, 18, 23, 28, 33, 38, 43, 48 }; + private static readonly int[] RequiredSpArray = { 100, 800, 2100, 4100, 7000, 10900, 16100, 23000, 32000, 44100 }; + private static readonly int[] RequiredMoneyArray = { 10, 90, 220, 400, 630, 1000, 1450, 1900, 2380, 2880 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-2.2f + 5.6f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-2.2f + 5.6f * skill.GetLevel())); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1114Stub() : base(1114) + { + cls = 5; + name = "放血"; + nativename = "放血"; + icon = "撕裂伤口"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1601; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_撕裂伤口"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_撕裂伤口_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1114Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-2.2 + 5.6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (15.9f * skill.GetLevel () * skill.GetLevel () + 261.4f * skill.GetLevel () + 6.5f); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 4.5f + 2.2f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.5f + 0.06f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1114.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1114.cs.meta new file mode 100644 index 0000000000..9e70bfa3e4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1114.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 625779ddeac8b43ad8363255f1d17953 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1115.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1115.cs new file mode 100644 index 0000000000..d603d7f183 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1115.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1115 : Skill + { + public const int SKILL_ID = 1115; + + public Skill1115() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1115Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(33.6f + 7 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(33.6f + 7 * skill.GetLevel())); + skill.SetPlus(4.7f * skill.GetLevel() * skill.GetLevel() + 249.1f * skill.GetLevel() + 1933.1f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1115Stub() : base(1115) + { + cls = 5; + name = "断喉斩"; + nativename = "断喉斩"; + icon = "旋风斩"; + max_level = 10; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1615; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_定身"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_定身_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1122, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1115Stub() { } + + public override float GetMpcost(Skill skill) => (float)(33.6 + 7 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 85 + skill.GetLevel ()); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 85 + skill.GetLevel ()); + skill.GetVictim ().SetTime (3000 + 200 * skill.GetLevel ()); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.6f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1115.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1115.cs.meta new file mode 100644 index 0000000000..4089cc6868 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1115.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 86cb577c234994cb597b2f12fc8a7b6d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1116.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1116.cs new file mode 100644 index 0000000000..1995f90560 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1116.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1116 : Skill + { + public const int SKILL_ID = 1116; + + public Skill1116() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1116Stub : SkillStub + { + private static readonly int[] RequiredMoneyArray = { 8600, 14000, 21000, 30000, 42000, 58000, 80000, 110000, 150000, 200000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(10 + 5 * skill.GetLevel())); + skill.SetPlus(3.9f * skill.GetLevel() * skill.GetLevel() + 52.2f * skill.GetLevel() - 45.3f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1116Stub() : base(1116) + { + cls = 5; + name = "致盲(废弃)"; + nativename = "致盲(废弃)"; + icon = "致盲"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "疾风霹雳"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾风霹雳击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1113, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1116Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 150 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1116.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1116.cs.meta new file mode 100644 index 0000000000..723b7dcad5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1116.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 382e64b4f48eb49e8b3af1bbab8a73c2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1117.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1117.cs new file mode 100644 index 0000000000..50d5940b52 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1117.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1117 : Skill + { + public const int SKILL_ID = 1117; + + public Skill1117() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1117Stub : SkillStub + { + private static readonly int[] RequiredMoneyArray = { 15000, 22000, 32000, 45000, 62000, 85000, 120000, 160000, 210000, 320000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(60.9f + 10.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(60.9f + 10.5f * skill.GetLevel())); + skill.SetPlus(3.9f * skill.GetLevel() * skill.GetLevel() + 52.2f * skill.GetLevel() - 45.3f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1117Stub() : base(1117) + { + cls = 5; + name = "旋风斩(废弃)"; + nativename = "旋风斩(废弃)"; + icon = "旋风斩"; + max_level = 10; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "疾风霹雳"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾风霹雳击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1121, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1117Stub() { } + + public override float GetMpcost(Skill skill) => (float)(60.9 + 10.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 300 * skill.GetLevel (); + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1117.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1117.cs.meta new file mode 100644 index 0000000000..95620def45 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1117.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0b50d728e7958422897f61e3b2ca410a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1118.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1118.cs new file mode 100644 index 0000000000..a7e273ecf7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1118.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1118 : Skill + { + public const int SKILL_ID = 1118; + + public Skill1118() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1118Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 6, 11, 16, 21, 26, 31, 36, 41, 46, 51 }; + private static readonly int[] RequiredSpArray = { 400, 1500, 3200, 5800, 9200, 13900, 20000, 28100, 38900, 53200 }; + private static readonly int[] RequiredMoneyArray = { 50, 160, 320, 530, 820, 1270, 1720, 2180, 2680, 3180 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(1.7f + 8.4f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(1.7f + 8.4f * skill.GetLevel())); + skill.SetPlus(9.4f * skill.GetLevel() * skill.GetLevel() + 186.1f * skill.GetLevel() + 117.1f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1118Stub() : base(1118) + { + cls = 5; + name = "斩杀"; + nativename = "斩杀"; + icon = "速斩"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 8; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1602; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_斩杀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_斩杀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1111, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1118Stub() { } + + public override float GetMpcost(Skill skill) => (float)(1.7 + 8.4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1900; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 2.4f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.2f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1118.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1118.cs.meta new file mode 100644 index 0000000000..049ae3e107 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1118.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 01d1fae7f2776499e8ffa83bc5d74d08 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1119.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1119.cs new file mode 100644 index 0000000000..12df012581 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1119.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1119 : Skill + { + public const int SKILL_ID = 1119; + + public Skill1119() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1119Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(10 + 5 * skill.GetLevel())); + skill.SetPlus(1.3f * skill.GetLevel() * skill.GetLevel() + 40.3f * skill.GetLevel() + 160.3f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1119Stub() : base(1119) + { + cls = 5; + name = "钻心袖箭"; + nativename = "钻心袖箭"; + icon = "丢飞刀"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1609; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_丢飞刀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/刺客_丢飞刀_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_丢飞刀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1097, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1119Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(20 + 1.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 40 + 3 * skill.GetLevel ()); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + 1.5f * skill.GetLevel () + 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 2 + 0.06f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1119.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1119.cs.meta new file mode 100644 index 0000000000..4017abbbad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1119.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 949f9f4bf3f2f42bbb0823928131e1ce \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1120.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1120.cs new file mode 100644 index 0000000000..cb60830ca9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1120.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1120 : Skill + { + public const int SKILL_ID = 1120; + + public Skill1120() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1120Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(84 + 8.4f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1120Stub() : base(1120) + { + cls = 5; + name = "背水一战"; + nativename = "背水一战"; + icon = "定身"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1625; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_背水一战"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_背水一战击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1181, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1120Stub() { } + + public override float GetMpcost(Skill skill) => (float)(84 + 8.4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (150 + 5 * skill.GetLevel ()); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1120.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1120.cs.meta new file mode 100644 index 0000000000..845ae22322 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1120.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1d57548d976cb410798ee904e1b45dd2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1121.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1121.cs new file mode 100644 index 0000000000..ee6f10d056 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1121.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1121 : Skill + { + public const int SKILL_ID = 1121; + + public Skill1121() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1121Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(5.6f + 7 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(5.6f + 7 * skill.GetLevel())); + skill.SetPlus(4.8f * skill.GetLevel() * skill.GetLevel() + 117.3f * skill.GetLevel() + 165.5f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1121Stub() : base(1121) + { + cls = 5; + name = "狂乱斩"; + nativename = "狂乱斩"; + icon = "断筋"; + max_level = 10; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1603; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_狂乱斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_狂乱斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1118, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1121Stub() { } + + public override float GetMpcost(Skill skill) => (float)(5.6 + 7 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1533; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.3f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.7f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1121.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1121.cs.meta new file mode 100644 index 0000000000..24f28cf140 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1121.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6cfc6055f61ad42bbacac8818a50a1b6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1122.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1122.cs new file mode 100644 index 0000000000..dfa9e3af62 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1122.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1122 : Skill + { + public const int SKILL_ID = 1122; + + public Skill1122() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1122Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(100 + 5.6f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(100 + 5.6f * skill.GetLevel())); + skill.SetPlus(6.3f * skill.GetLevel() * skill.GetLevel() + 226.3f * skill.GetLevel() + 1082.8f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1122Stub() : base(1122) + { + cls = 5; + name = "致命扫击"; + nativename = "致命扫击"; + icon = "刺腹"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1610; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_致盲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_致盲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1123, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1122Stub() { } + + public override float GetMpcost(Skill skill) => (float)(100 + 5.6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1933; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.25f + 0.025f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 3 * 5.5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 2 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1122.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1122.cs.meta new file mode 100644 index 0000000000..e0e1ea4f45 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1122.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 450c73d2a27424b26bc9b71dcff9e4b4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1123.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1123.cs new file mode 100644 index 0000000000..4dd6815258 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1123.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1123 : Skill + { + public const int SKILL_ID = 1123; + + public Skill1123() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1123Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(23.5f + 8.4f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(23.5f + 8.4f * skill.GetLevel())); + skill.SetPlus(1.4f * skill.GetLevel() * skill.GetLevel() + 43 * skill.GetLevel() + 189.2f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1123Stub() : base(1123) + { + cls = 5; + name = "深刺"; + nativename = "深刺"; + icon = "深刺"; + max_level = 10; + type = 1; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1607; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_深刺"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_深刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1121, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1123Stub() { } + + public override float GetMpcost(Skill skill) => (float)(23.5 + 8.4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 85 + skill.GetLevel ()); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.5f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1123.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1123.cs.meta new file mode 100644 index 0000000000..5592ede16b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1123.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 56c8e6e45f8e54a9c89b88a0ac9f7b3a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1124.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1124.cs new file mode 100644 index 0000000000..494b703c6a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1124.cs @@ -0,0 +1,173 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1124 : Skill + { + public const int SKILL_ID = 1124; + + public Skill1124() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1124Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(10 + 5 * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1124Stub() : base(1124) + { + cls = 5; + name = "疾风行"; + nativename = "疾风行"; + icon = "刺客加速"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1606; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_加速"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_加速_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1124Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1124.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1124.cs.meta new file mode 100644 index 0000000000..079d995ed0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1124.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 19d5dd0b4940146319d020d988a92626 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1138.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1138.cs new file mode 100644 index 0000000000..02b40f44dc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1138.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1138 : Skill + { + public const int SKILL_ID = 1138; + + public Skill1138() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1138Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20 * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1138Stub() : base(1138) + { + cls = 5; + name = "人鱼变"; + nativename = "人鱼变"; + icon = "人鱼变"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1627; + allow_land = false; + allow_air = false; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "人鱼变"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "程序联入/人鱼变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1138Stub() { } + + public override float GetMpcost(Skill skill) => (float)(20 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetRatio (0.2f + 0.06f * skill.GetLevel ()); + skill.GetVictim ().SetValue (5 + 0.5f * skill.GetLevel ()); + skill.GetVictim ().SetFishform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1138.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1138.cs.meta new file mode 100644 index 0000000000..ee9ac39c3a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1138.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3b9f43c71118e4013b41bdeb74f2ddd3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1145.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1145.cs new file mode 100644 index 0000000000..c9c7ab8263 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1145.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1145 : Skill + { + public const int SKILL_ID = 1145; + + public Skill1145() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1145Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(75 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(75 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1145Stub() : base(1145) + { + cls = 5; + name = "百步神行诀"; + nativename = "百步神行诀"; + icon = "高级瞬移"; + max_level = 10; + type = 8; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1626; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1189, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1145Stub() { } + + public override float GetMpcost(Skill skill) => (float)(75 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => (float)(20 + 1.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(20 + 1.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + 1.5f * skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1145.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1145.cs.meta new file mode 100644 index 0000000000..940b0e57cf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1145.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b2925c25cb79749f6876df7926ed3a61 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1148.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1148.cs new file mode 100644 index 0000000000..633cd38f16 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1148.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1148 : Skill + { + public const int SKILL_ID = 1148; + + public Skill1148() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1148Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(156.8f + 8.4f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 867; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(156.8f + 8.4f * skill.GetLevel())); + skill.SetPlus(1.7f * skill.GetLevel() * skill.GetLevel() + 111 * skill.GetLevel() + 1457.9f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1148Stub() : base(1148) + { + cls = 5; + name = "强冲刺杀"; + nativename = "强冲刺杀"; + icon = "致盲"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1623; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_强冲刺杀"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_强冲刺杀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1077, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1148Stub() { } + + public override float GetMpcost(Skill skill) => (float)(156.8 + 8.4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 867; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (20 + 2 * skill.GetLevel ()); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 4.5f + 1.3f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1148.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1148.cs.meta new file mode 100644 index 0000000000..7363668def --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1148.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cbecd81168e7c485d864a7fe31e3ec20 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1178.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1178.cs new file mode 100644 index 0000000000..8a64f126ec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1178.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1178 : Skill + { + public const int SKILL_ID = 1178; + + public Skill1178() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1178Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29 }; + private static readonly int[] RequiredSpArray = { 18, 000 }; + private static readonly int[] RequiredMoneyArray = { 23, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1178Stub() : base(1178) + { + cls = 5; + name = "真元爆发"; + nativename = "真元爆发"; + icon = "爆气1"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2211; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1178Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1178.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1178.cs.meta new file mode 100644 index 0000000000..ad3ead0dd2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1178.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c1761aff5ba39442a9fa1b8daa159288 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1179.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1179.cs new file mode 100644 index 0000000000..82a97535b7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1179.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1179 : Skill + { + public const int SKILL_ID = 1179; + + public Skill1179() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1179Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 130, 000 }; + private static readonly int[] RequiredMoneyArray = { 180, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1179Stub() : base(1179) + { + cls = 5; + name = "高级真元爆发"; + nativename = "高级真元爆发"; + icon = "爆气2"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2212; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1179Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1179.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1179.cs.meta new file mode 100644 index 0000000000..8ce08c09d0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1179.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 66a2ff5837480483db18fb039b33837a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1180.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1180.cs new file mode 100644 index 0000000000..4c40394abc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1180.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1180 : Skill + { + public const int SKILL_ID = 1180; + + public Skill1180() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1180Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(33.6f + 7 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(33.6f + 7 * skill.GetLevel())); + skill.SetPlus(4.4f * skill.GetLevel() * skill.GetLevel() + 162.9f * skill.GetLevel() + 703.3f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1180Stub() : base(1180) + { + cls = 5; + name = "绊腿斩"; + nativename = "绊腿斩"; + icon = "绊腿"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 50; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1613; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_断筋"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_断筋_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1119, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1180Stub() { } + + public override float GetMpcost(Skill skill) => (float)(33.6 + 7 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000 + 300 * skill.GetLevel ()); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 4.5f + 1.6f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3 + 0.06f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1180.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1180.cs.meta new file mode 100644 index 0000000000..b2c6ea2adf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1180.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f3fe3ae1b28eb4aa7885428fe057421b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1181.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1181.cs new file mode 100644 index 0000000000..eb8144aced --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1181.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1181 : Skill + { + public const int SKILL_ID = 1181; + + public Skill1181() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1181Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(75.6f + 6.7f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(75.6f + 6.7f * skill.GetLevel())); + skill.SetPlus(2.2f * skill.GetLevel() * skill.GetLevel() + 173.3f * skill.GetLevel() + 1489.4f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1181Stub() : base(1181) + { + cls = 5; + name = "龙腾斩"; + nativename = "龙腾斩"; + icon = "先发制人"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 150; + attr = 7; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1620; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_龙腾斩"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_龙腾斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1113, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1181Stub() { } + + public override float GetMpcost(Skill skill) => (float)(75.6 + 6.7 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5 + 1.8f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1181.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1181.cs.meta new file mode 100644 index 0000000000..1ec89a6e74 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1181.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bc8a0a8edec334681b98e9b762894d55 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1182.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1182.cs new file mode 100644 index 0000000000..51ab55167f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1182.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1182 : Skill + { + public const int SKILL_ID = 1182; + + public Skill1182() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1182Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 8.4f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1182Stub() : base(1182) + { + cls = 5; + name = "543"; + nativename = "543"; + icon = "冰剑护体"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "疾风霹雳"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾风霹雳击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1182Stub() { } + + public override float GetMpcost(Skill skill) => (float)(8.4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (1145); + skill.GetVictim ().SetSkillcooldown (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.5f + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1182.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1182.cs.meta new file mode 100644 index 0000000000..ebde8eeb50 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1182.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 512514cc55a234ee6a60b298672b1719 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1189.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1189.cs new file mode 100644 index 0000000000..4976d2bec8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1189.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1189 : Skill + { + public const int SKILL_ID = 1189; + + public Skill1189() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1189Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 44, 48, 52, 56, 60, 64, 68, 72, 76, 80 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredMoneyArray = { 2480, 2880, 3280, 3680, 4980, 12980, 41980, 111980, 211980, 371980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1189Stub() : base(1189) + { + cls = 5; + name = "迷踪乱步诀"; + nativename = "迷踪乱步诀"; + icon = "凌波微步"; + max_level = 10; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1618; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_迷踪乱步决"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_迷踪乱步决_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1095, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1189Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.8f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1189.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1189.cs.meta new file mode 100644 index 0000000000..a5b02bb56e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1189.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9d9276a27ec5e4d8c9fdb30c5b9b34c5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1196.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1196.cs new file mode 100644 index 0000000000..a90bbd3043 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1196.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1196 : Skill + { + public const int SKILL_ID = 1196; + + public Skill1196() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1196Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1196Stub() : base(1196) + { + cls = 5; + name = "魔元爆发"; + nativename = "魔元爆发"; + icon = "魔元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2214; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + restrict_weapons.Add(23749); + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1196Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible3 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetClearinvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1196.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1196.cs.meta new file mode 100644 index 0000000000..fc72b8dca7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1196.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d6023c9e15f18426e93052269001674c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1197.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1197.cs new file mode 100644 index 0000000000..086ac7979b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1197.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1197 : Skill + { + public const int SKILL_ID = 1197; + + public Skill1197() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1197Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1197Stub() : base(1197) + { + cls = 5; + name = "仙元爆发"; + nativename = "仙元爆发"; + icon = "仙元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2213; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + restrict_weapons.Add(23749); + restrict_weapons.Add(25333); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1197Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible3 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetClearinvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1197.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1197.cs.meta new file mode 100644 index 0000000000..ca714f09ae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1197.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a7a417cb72a6145ca91e5aaf22791707 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1200.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1200.cs new file mode 100644 index 0000000000..bd52e7b7e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1200.cs @@ -0,0 +1,213 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1200 : Skill + { + public const int SKILL_ID = 1200; + + public Skill1200() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1200Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 28028 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1200Stub() : base(1200) + { + cls = 5; + name = "龟息咒"; + nativename = "龟息咒"; + icon = "龟息咒"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 2152; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill1200Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.06f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1200.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1200.cs.meta new file mode 100644 index 0000000000..3ad82ba34b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1200.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 21a27abe8fe21470ba69bdfdb8bf3e93 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1201.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1201.cs new file mode 100644 index 0000000000..b7537f1703 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1201.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1201 : Skill + { + public const int SKILL_ID = 1201; + + public Skill1201() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1201Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 28029 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(89); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(89); + skill.SetPlus(1817.4f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1201Stub() : base(1201) + { + cls = 5; + name = "凝霜刺"; + nativename = "凝霜刺"; + icon = "凝霜刺"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2153; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_凝霜刺"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_凝霜刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1201Stub() { } + + public override float GetMpcost(Skill skill) => 178f; + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIceblade (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1201.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1201.cs.meta new file mode 100644 index 0000000000..d77850b25b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1201.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bf1b077f5e6094fdcb1a5fefaea26ccc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1202.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1202.cs new file mode 100644 index 0000000000..5de396f2a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1202.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1202 : Skill + { + public const int SKILL_ID = 1202; + + public Skill1202() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1202Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 28030 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(90); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(90); + skill.SetPlus(3834.1f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1202Stub() : base(1202) + { + cls = 5; + name = "断法击"; + nativename = "断法击"; + icon = "断法击"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2156; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_断法击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_凝霜刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1202Stub() { } + + public override float GetMpcost(Skill skill) => 180f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1.7f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1202.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1202.cs.meta new file mode 100644 index 0000000000..1295f73870 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1202.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 04d965d840f934d81ac869906ec9c48b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1203.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1203.cs new file mode 100644 index 0000000000..5aa0e24ea9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1203.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1203 : Skill + { + public const int SKILL_ID = 1203; + + public Skill1203() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1203Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 28031 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1203Stub() : base(1203) + { + cls = 5; + name = "嗜血狂乱"; + nativename = "嗜血狂乱"; + icon = "嗜血狂乱"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 2157; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_嗜血狂乱"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_嗜血狂乱_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1203Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 300000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetInchpsteal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1203.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1203.cs.meta new file mode 100644 index 0000000000..4bcac4a62d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1203.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 98536035e402546d2829cf7b91b9c971 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1260.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1260.cs new file mode 100644 index 0000000000..4fcbd54264 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1260.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1260 : Skill + { + public const int SKILL_ID = 1260; + + public Skill1260() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1260Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27583 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(38); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(152); + skill.SetPlus(0); + skill.SetRatio(4.3f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1260Stub() : base(1260) + { + cls = 5; + name = "真·大地裂纹"; + nativename = "真·大地裂纹"; + icon = "爆弹仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 1; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1619; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_爆弹"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_爆弹_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1077, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1260Stub() { } + + public override float GetMpcost(Skill skill) => 190f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1260.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1260.cs.meta new file mode 100644 index 0000000000..8042f2b1b7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1260.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bd5ded117b36348d9a1d1d06c37ed841 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1261.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1261.cs new file mode 100644 index 0000000000..b977618ede --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1261.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1261 : Skill + { + public const int SKILL_ID = 1261; + + public Skill1261() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1261Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27614 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(38); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(152); + skill.SetPlus(0); + skill.SetRatio(4); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1261Stub() : base(1261) + { + cls = 5; + name = "狂·大地裂纹"; + nativename = "狂·大地裂纹"; + icon = "爆弹魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 1; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1619; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_爆弹"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_爆弹_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1077, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1261Stub() { } + + public override float GetMpcost(Skill skill) => 190f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1261.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1261.cs.meta new file mode 100644 index 0000000000..0c2e10ef2a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1261.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3b4ab0cc1f94b443fbec819aa2d0ef7e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1262.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1262.cs new file mode 100644 index 0000000000..58dc9cf2ac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1262.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1262 : Skill + { + public const int SKILL_ID = 1262; + + public Skill1262() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1262Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27587 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill1262Stub() : base(1262) + { + cls = 5; + name = "真·匕首精通"; + nativename = "真·匕首精通"; + icon = "匕首精通仙技能"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 2; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1627; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1080, 10); + + } + + ~Skill1262Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncdagger (0.3f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1262.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1262.cs.meta new file mode 100644 index 0000000000..8e450f97c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1262.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3dd62f14c4eed4c1480b80dc6fea8dea \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1263.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1263.cs new file mode 100644 index 0000000000..8c71a56159 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1263.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1263 : Skill + { + public const int SKILL_ID = 1263; + + public Skill1263() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1263Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27618 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill1263Stub() : base(1263) + { + cls = 5; + name = "狂·匕首精通"; + nativename = "狂·匕首精通"; + icon = "匕首精通魔技能"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 2; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1627; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1080, 10); + + } + + ~Skill1263Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncdagger (0.15f); + skill.GetPlayer ().SetInccrit (2); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1263.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1263.cs.meta new file mode 100644 index 0000000000..d99c989013 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1263.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd6c4b26714fa4785b85c409dad4239d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1264.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1264.cs new file mode 100644 index 0000000000..e67a72bd4d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1264.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1264 : Skill + { + public const int SKILL_ID = 1264; + + public Skill1264() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1264Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 15000, 22000, 32000, 45000, 62000, 85000, 120000, 160000, 210000, 320000 }; + + + public Skill1264Stub() : base(1264) + { + cls = 5; + name = "身形精通"; + nativename = "身形精通"; + icon = "身形精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1628; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1264Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncinvisiblepassive (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1264.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1264.cs.meta new file mode 100644 index 0000000000..2d44faeb50 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1264.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cf235972ec25a4b0698e983507b80dd2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1265.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1265.cs new file mode 100644 index 0000000000..56e7dae9c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1265.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1265 : Skill + { + public const int SKILL_ID = 1265; + + public Skill1265() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1265Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 15000, 22000, 32000, 45000, 62000, 85000, 120000, 160000, 210000, 320000 }; + + + public Skill1265Stub() : base(1265) + { + cls = 5; + name = "身形精通"; + nativename = "身形精通"; + icon = "身形精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1628; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1265Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncinvisiblepassive (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1265.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1265.cs.meta new file mode 100644 index 0000000000..3ca5b8ce4d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1265.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: abf790d02aebc42d6b9a64f509fdf68d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1266.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1266.cs new file mode 100644 index 0000000000..f7fd41d794 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1266.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1266 : Skill + { + public const int SKILL_ID = 1266; + + public Skill1266() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1266Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 15000, 22000, 32000, 45000, 62000, 85000, 120000, 160000, 210000, 320000 }; + + + public Skill1266Stub() : base(1266) + { + cls = 5; + name = "眼力精通"; + nativename = "眼力精通"; + icon = "眼力精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 1; + clslimit = 0; + time_type = 0; + showorder = 1629; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1266Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncantiinvisiblepassive (3 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1266.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1266.cs.meta new file mode 100644 index 0000000000..6267a5d4c3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1266.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6dfa4258ae9ac4c808d1b37f7ae1162e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1267.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1267.cs new file mode 100644 index 0000000000..2c60ad3554 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1267.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1267 : Skill + { + public const int SKILL_ID = 1267; + + public Skill1267() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1267Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 15000, 22000, 32000, 45000, 62000, 85000, 120000, 160000, 210000, 320000 }; + + + public Skill1267Stub() : base(1267) + { + cls = 5; + name = "眼力精通"; + nativename = "眼力精通"; + icon = "眼力精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 1; + clslimit = 0; + time_type = 0; + showorder = 1629; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1267Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncantiinvisiblepassive (3 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1267.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1267.cs.meta new file mode 100644 index 0000000000..a5b599acae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1267.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 90d2fb793dbac425db66c26b02399979 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1268.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1268.cs new file mode 100644 index 0000000000..af35ddec5d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1268.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1268 : Skill + { + public const int SKILL_ID = 1268; + + public Skill1268() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1268Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27584 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(90); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.SetPlus(6541.1f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1268Stub() : base(1268) + { + cls = 5; + name = "真·分水刺击"; + nativename = "真·分水刺击"; + icon = "保命仙技能"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 1; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1621; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_旋风斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_旋风斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1083, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1268Stub() { } + + public override float GetMpcost(Skill skill) => 290f; + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDeeppoision (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1268.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1268.cs.meta new file mode 100644 index 0000000000..d204a81d3b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1268.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fa17f274e080e4da0ac12f7749c297c1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1269.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1269.cs new file mode 100644 index 0000000000..b4c23c94b1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1269.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1269 : Skill + { + public const int SKILL_ID = 1269; + + public Skill1269() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1269Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27615 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(90); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.SetPlus(6541.1f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1269Stub() : base(1269) + { + cls = 5; + name = "狂·分水刺击"; + nativename = "狂·分水刺击"; + icon = "保命魔技能"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 1; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1621; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_旋风斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_旋风斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1083, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1269Stub() { } + + public override float GetMpcost(Skill skill) => 290f; + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDeeppoision (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1269.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1269.cs.meta new file mode 100644 index 0000000000..b03d59146a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1269.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8009b4a2196394dd9b86bd535f1b4e61 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1270.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1270.cs new file mode 100644 index 0000000000..1e8a627ae3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1270.cs @@ -0,0 +1,125 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1270 : Skill + { + public const int SKILL_ID = 1270; + + public Skill1270() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1270Stub : SkillStub + { + + + public Skill1270Stub() : base(1270) + { + cls = 5; + name = "如来天心(效果专用)"; + nativename = "如来天心(效果专用)"; + icon = ""; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_如来天心咒"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_如来天心咒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1270Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncantiinvisiblepassive (skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1270.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1270.cs.meta new file mode 100644 index 0000000000..a87955d55b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1270.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 00ccf55854bf64be0b58f1238587f22a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1271.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1271.cs new file mode 100644 index 0000000000..0f2a94838e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1271.cs @@ -0,0 +1,125 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1271 : Skill + { + public const int SKILL_ID = 1271; + + public Skill1271() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1271Stub : SkillStub + { + + + public Skill1271Stub() : base(1271) + { + cls = 5; + name = "如来天心(效果专用)"; + nativename = "如来天心(效果专用)"; + icon = ""; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_如来天心咒"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_如来天心咒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1271Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncantiinvisiblepassive (skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1271.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1271.cs.meta new file mode 100644 index 0000000000..792f506452 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1271.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8bc29efe047274106a36d8bb79094344 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1272.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1272.cs new file mode 100644 index 0000000000..511d2db8c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1272.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1272 : Skill + { + public const int SKILL_ID = 1272; + + public Skill1272() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1272Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27590 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(340); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1272Stub() : base(1272) + { + cls = 5; + name = "真·强行遁隐"; + nativename = "真·强行遁隐"; + icon = "高级隐身仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 100; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1611; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1086, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1272Stub() { } + + public override float GetMpcost(Skill skill) => 340f; + public override int GetExecutetime(Skill skill) => 2800; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (10); + skill.GetVictim ().SetValue (11); + skill.GetVictim ().SetInvisible (1); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetFreemove (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1272.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1272.cs.meta new file mode 100644 index 0000000000..e432b73354 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1272.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bceb5dbf5243348e0b11904c71791f00 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1273.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1273.cs new file mode 100644 index 0000000000..2c5979430f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1273.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1273 : Skill + { + public const int SKILL_ID = 1273; + + public Skill1273() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1273Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27621 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1273Stub() : base(1273) + { + cls = 5; + name = "狂·强行遁隐"; + nativename = "狂·强行遁隐"; + icon = "高级隐身魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 100; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1611; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1086, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1273Stub() { } + + public override float GetMpcost(Skill skill) => 340f; + public override int GetExecutetime(Skill skill) => 2800; + public override int GetCoolingtime(Skill skill) => 75000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (10); + skill.GetVictim ().SetValue (11); + skill.GetVictim ().SetInvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1273.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1273.cs.meta new file mode 100644 index 0000000000..c1d4120d6d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1273.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4de8c11c0a5b14d23a04e9c3f4719354 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1274.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1274.cs new file mode 100644 index 0000000000..813df225da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1274.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1274 : Skill + { + public const int SKILL_ID = 1274; + + public Skill1274() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1274Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27588 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(35); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1274Stub() : base(1274) + { + cls = 5; + name = "真·遁隐术"; + nativename = "真·遁隐术"; + icon = "隐身仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1604; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + notuse_in_combat = true; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1093, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1274Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 2800; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (7); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetInvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1274.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1274.cs.meta new file mode 100644 index 0000000000..0706f9e9e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1274.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 98a72bc18c8404d91a185dccf1245783 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1275.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1275.cs new file mode 100644 index 0000000000..d86eb71467 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1275.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1275 : Skill + { + public const int SKILL_ID = 1275; + + public Skill1275() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1275Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27619 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(35); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1275Stub() : base(1275) + { + cls = 5; + name = "狂·遁隐术"; + nativename = "狂·遁隐术"; + icon = "隐身魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1604; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + notuse_in_combat = true; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1093, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1275Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 2300; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (10); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetInvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1275.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1275.cs.meta new file mode 100644 index 0000000000..c150c082ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1275.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4efab83ecfa7f4602b52182024396dd4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1276.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1276.cs new file mode 100644 index 0000000000..66812a3b2a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1276.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1276 : Skill + { + public const int SKILL_ID = 1276; + + public Skill1276() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1276Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27591 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(114); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(456); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1276Stub() : base(1276) + { + cls = 5; + name = "真·嗜血咒"; + nativename = "真·嗜血咒"; + icon = "吸血光环仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1612; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_吸血光环"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_吸血光环_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1094, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1276Stub() { } + + public override float GetMpcost(Skill skill) => 570f; + public override int GetExecutetime(Skill skill) => 2400; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.03f); + skill.GetVictim ().SetInchpsteal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1276.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1276.cs.meta new file mode 100644 index 0000000000..ec4c8b3d2e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1276.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a50cf2945aae9430498c21488bca135a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1277.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1277.cs new file mode 100644 index 0000000000..e8f4e95bc0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1277.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1277 : Skill + { + public const int SKILL_ID = 1277; + + public Skill1277() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1277Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27622 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(114); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(456); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1277Stub() : base(1277) + { + cls = 5; + name = "狂·嗜血咒"; + nativename = "狂·嗜血咒"; + icon = "吸血光环魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1612; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_吸血光环"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_吸血光环_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1094, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1277Stub() { } + + public override float GetMpcost(Skill skill) => 570f; + public override int GetExecutetime(Skill skill) => 2400; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.02f); + skill.GetVictim ().SetInchpsteal (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1277.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1277.cs.meta new file mode 100644 index 0000000000..111d2e3dca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1277.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ea0e1dbaeb1694a4b8205158140c7906 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1278.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1278.cs new file mode 100644 index 0000000000..bdb758796e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1278.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1278 : Skill + { + public const int SKILL_ID = 1278; + + public Skill1278() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1278Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27604 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1278Stub() : base(1278) + { + cls = 5; + name = "真·如影随形"; + nativename = "真·如影随形"; + icon = "瞬移仙技能"; + max_level = 1; + type = 8; + apcost = 10; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1614; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1095, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1278Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => (float)(15 + 1.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1278.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1278.cs.meta new file mode 100644 index 0000000000..951afbd6be --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1278.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 44e763fa4d032429384ba1dd219bdeae \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1279.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1279.cs new file mode 100644 index 0000000000..13110cc061 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1279.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1279 : Skill + { + public const int SKILL_ID = 1279; + + public Skill1279() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1279Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27634 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1279Stub() : base(1279) + { + cls = 5; + name = "狂·如影随形"; + nativename = "狂·如影随形"; + icon = "瞬移魔技能"; + max_level = 1; + type = 8; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1614; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1095, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1279Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => (float)(15 + 1.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1279.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1279.cs.meta new file mode 100644 index 0000000000..c9863222aa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1279.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7469f4ba5740c408cb73e9fdce711d96 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1280.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1280.cs new file mode 100644 index 0000000000..f133be1611 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1280.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1280 : Skill + { + public const int SKILL_ID = 1280; + + public Skill1280() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1280Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27592 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1280Stub() : base(1280) + { + cls = 5; + name = "真·如来天心咒"; + nativename = "真·如来天心咒"; + icon = "回光返照仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1616; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1096, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1280Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 2600; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (150000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetRebirth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1280.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1280.cs.meta new file mode 100644 index 0000000000..118053dc36 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1280.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 207cfef8f733e4713abf003451228760 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1281.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1281.cs new file mode 100644 index 0000000000..435b133b5f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1281.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1281 : Skill + { + public const int SKILL_ID = 1281; + + public Skill1281() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1281Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27623 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1281Stub() : base(1281) + { + cls = 5; + name = "狂·如来天心咒"; + nativename = "狂·如来天心咒"; + icon = "回光返照魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1616; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1096, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1281Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 2600; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetRebirth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1281.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1281.cs.meta new file mode 100644 index 0000000000..0676e4ba38 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1281.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1b3f31a4a21ef49d08db43334a3d5b0f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1282.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1282.cs new file mode 100644 index 0000000000..de5e910e7e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1282.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1282 : Skill + { + public const int SKILL_ID = 1282; + + public Skill1282() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1282Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27595 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(160); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1282Stub() : base(1282) + { + cls = 5; + name = "真·狂狼印"; + nativename = "真·狂狼印"; + icon = "暴伤仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1605; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_暴伤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_暴伤_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1097, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1282Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetInccritdamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1282.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1282.cs.meta new file mode 100644 index 0000000000..2a12d9d17a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1282.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 44eb06cb6782b410ba8e08b49f7a948e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1283.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1283.cs new file mode 100644 index 0000000000..7614ac0a9f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1283.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1283 : Skill + { + public const int SKILL_ID = 1283; + + public Skill1283() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1283Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27626 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(160); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1283Stub() : base(1283) + { + cls = 5; + name = "狂·狂狼印"; + nativename = "狂·狂狼印"; + icon = "暴伤魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1605; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_暴伤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_暴伤_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1097, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1283Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetInccritdamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1283.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1283.cs.meta new file mode 100644 index 0000000000..4cbda16dc3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1283.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ecc8575c7f58c473da8f0359b7e0f24a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1284.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1284.cs new file mode 100644 index 0000000000..a3d3c04897 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1284.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1284 : Skill + { + public const int SKILL_ID = 1284; + + public Skill1284() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1284Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27589 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(35); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(140); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1284Stub() : base(1284) + { + cls = 5; + name = "真·金刚轮印咒"; + nativename = "真·金刚轮印咒"; + icon = "伤害闪避仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1608; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 90000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1098, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1284Stub() { } + + public override float GetMpcost(Skill skill) => 175f; + public override int GetExecutetime(Skill skill) => 1667; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.33f); + skill.GetVictim ().SetIncdamagedodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1284.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1284.cs.meta new file mode 100644 index 0000000000..e402388428 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1284.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 46c60899279724bdabfdc3a5401b9a59 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1285.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1285.cs new file mode 100644 index 0000000000..affe292fed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1285.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1285 : Skill + { + public const int SKILL_ID = 1285; + + public Skill1285() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1285Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27620 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(35); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(140); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1285Stub() : base(1285) + { + cls = 5; + name = "狂·金刚轮印咒"; + nativename = "狂·金刚轮印咒"; + icon = "伤害闪避魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1608; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 90000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1098, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1285Stub() { } + + public override float GetMpcost(Skill skill) => 175f; + public override int GetExecutetime(Skill skill) => 1667; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetIncdamagedodge (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetIncdebuffdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1285.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1285.cs.meta new file mode 100644 index 0000000000..76bd898d55 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1285.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 862460ee51c8e4a9fb87b5092b21a77f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1286.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1286.cs new file mode 100644 index 0000000000..2f387ee708 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1286.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1286 : Skill + { + public const int SKILL_ID = 1286; + + public Skill1286() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1286Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27593 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(35); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(140); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1286Stub() : base(1286) + { + cls = 5; + name = "真·三世明王咒"; + nativename = "真·三世明王咒"; + icon = "状态闪避仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1624; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 90000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1099, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1286Stub() { } + + public override float GetMpcost(Skill skill) => 175f; + public override int GetExecutetime(Skill skill) => 1667; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.66f); + skill.GetVictim ().SetIncdebuffdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1286.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1286.cs.meta new file mode 100644 index 0000000000..4438671b7b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1286.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3315ced27ce4a4bda9b59312bf125c51 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1287.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1287.cs new file mode 100644 index 0000000000..d8ce5b157b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1287.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1287 : Skill + { + public const int SKILL_ID = 1287; + + public Skill1287() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1287Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27624 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(35); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(140); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1287Stub() : base(1287) + { + cls = 5; + name = "狂·三世明王咒"; + nativename = "狂·三世明王咒"; + icon = "状态闪避魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1624; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 90000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1099, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1287Stub() { } + + public override float GetMpcost(Skill skill) => 175f; + public override int GetExecutetime(Skill skill) => 1667; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncdebuffdodge (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetIncdamagedodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1287.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1287.cs.meta new file mode 100644 index 0000000000..7944e6e898 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1287.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 88eacb24b128d4291ad882d4b9aefb79 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1288.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1288.cs new file mode 100644 index 0000000000..30071ff803 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1288.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1288 : Skill + { + public const int SKILL_ID = 1288; + + public Skill1288() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1288Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27577 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(10); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.SetPlus(2094.5f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1288Stub() : base(1288) + { + cls = 5; + name = "真·连击"; + nativename = "真·连击"; + icon = "连击仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1600; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_先发制人"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_先发制人_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1111, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1288Stub() { } + + public override float GetMpcost(Skill skill) => 90f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.3f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1288.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1288.cs.meta new file mode 100644 index 0000000000..7416d9b2e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1288.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c1f0589772ce34397b050dc1d453235a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1289.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1289.cs new file mode 100644 index 0000000000..aaf74fadab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1289.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1289 : Skill + { + public const int SKILL_ID = 1289; + + public Skill1289() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1289Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27609 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(10); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.SetPlus(2094.5f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1289Stub() : base(1289) + { + cls = 5; + name = "狂·连击"; + nativename = "狂·连击"; + icon = "连击魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1600; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_先发制人"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_先发制人_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1111, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1289Stub() { } + + public override float GetMpcost(Skill skill) => 90f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.3f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1289.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1289.cs.meta new file mode 100644 index 0000000000..ea732609cc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1289.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7b721ebdd3ad748b1a7d449156780ccf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1290.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1290.cs new file mode 100644 index 0000000000..1503bfb639 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1290.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1290 : Skill + { + public const int SKILL_ID = 1290; + + public Skill1290() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1290Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27585 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(50); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(240); + skill.SetPlus(8018.1f); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1290Stub() : base(1290) + { + cls = 5; + name = "真·斩首"; + nativename = "真·斩首"; + icon = "十字斩仙技能"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1622; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_十字斩"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_十字斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1112, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1290Stub() { } + + public override float GetMpcost(Skill skill) => 290f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1800; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 4.5f + 2.2f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 4f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1290.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1290.cs.meta new file mode 100644 index 0000000000..c2fb5f40dc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1290.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e9067c9afa54943b0b656741ef402cae \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1291.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1291.cs new file mode 100644 index 0000000000..96379b80ec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1291.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1291 : Skill + { + public const int SKILL_ID = 1291; + + public Skill1291() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1291Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27616 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(50); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(240); + skill.SetPlus(8018.1f); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1291Stub() : base(1291) + { + cls = 5; + name = "狂·斩首"; + nativename = "狂·斩首"; + icon = "十字斩魔技能"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1622; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_十字斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_十字斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1112, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1291Stub() { } + + public override float GetMpcost(Skill skill) => 290f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1800; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 4.5f + 2.2f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 4f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1291.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1291.cs.meta new file mode 100644 index 0000000000..74bc971a83 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1291.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 63108295c7f1646cbacd602465e6d303 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1292.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1292.cs new file mode 100644 index 0000000000..d33bcd6855 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1292.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1292 : Skill + { + public const int SKILL_ID = 1292; + + public Skill1292() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1292Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27599 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(16); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(64); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1292Stub() : base(1292) + { + cls = 5; + name = "真·深度冰刺"; + nativename = "真·深度冰刺"; + icon = "冰剑护体仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1617; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1113, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1292Stub() { } + + public override float GetMpcost(Skill skill) => 80f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (35); + skill.GetVictim ().SetDeepicethrust (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1292.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1292.cs.meta new file mode 100644 index 0000000000..6ef6358835 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1292.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3f92dc95d7e1f4f6e84ecc0f963b6f13 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1293.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1293.cs new file mode 100644 index 0000000000..e0e3ebe9bb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1293.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1293 : Skill + { + public const int SKILL_ID = 1293; + + public Skill1293() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1293Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27629 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(16); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(64); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1293Stub() : base(1293) + { + cls = 5; + name = "狂·深度冰刺"; + nativename = "狂·深度冰刺"; + icon = "冰剑护体魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1617; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1113, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1293Stub() { } + + public override float GetMpcost(Skill skill) => 80f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetDeepicethrust (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1293.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1293.cs.meta new file mode 100644 index 0000000000..41ac8d29dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1293.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6f196e59982ea458f878013fd2ee1cde \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1294.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1294.cs new file mode 100644 index 0000000000..5adc241722 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1294.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1294 : Skill + { + public const int SKILL_ID = 1294; + + public Skill1294() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1294Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27594 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1294Stub() : base(1294) + { + cls = 5; + name = "真·放血"; + nativename = "真·放血"; + icon = "撕裂伤口仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1601; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_撕裂伤口"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_撕裂伤口_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1114, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1294Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 4.5f + 2.2f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 2.5f; + public float GetTalent0(PlayerWrapper player) => (2 * player.GetWeapondamage () + 4676) * 1.35; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1294.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1294.cs.meta new file mode 100644 index 0000000000..6f4bc74b5d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1294.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 20724839fa5db45e1a7e17b34349502b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1295.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1295.cs new file mode 100644 index 0000000000..e0ff5c625c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1295.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1295 : Skill + { + public const int SKILL_ID = 1295; + + public Skill1295() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1295Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27625 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1295Stub() : base(1295) + { + cls = 5; + name = "狂·放血"; + nativename = "狂·放血"; + icon = "撕裂伤口魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1601; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_撕裂伤口"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_撕裂伤口_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1114, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1295Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 4.5f + 2.2f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 2.5f; + public float GetTalent0(PlayerWrapper player) => 2 * player.GetWeapondamage () + 4676; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1295.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1295.cs.meta new file mode 100644 index 0000000000..3b60c57b9f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1295.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f2dd8955004f44a39a0f55e1f295850e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1296.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1296.cs new file mode 100644 index 0000000000..53cd75a11d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1296.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1296 : Skill + { + public const int SKILL_ID = 1296; + + public Skill1296() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1296Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27582 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(29); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(116); + skill.SetPlus(7331.2f); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1296Stub() : base(1296) + { + cls = 5; + name = "真·断喉斩"; + nativename = "真·断喉斩"; + icon = "旋风斩仙技能"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1615; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_定身"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_定身_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1115, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1296Stub() { } + + public override float GetMpcost(Skill skill) => 145f; + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.6f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 4f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1296.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1296.cs.meta new file mode 100644 index 0000000000..ce2645a4cd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1296.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4f8c912e1d31945edb379ee3985e23a3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1297.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1297.cs new file mode 100644 index 0000000000..ea0e2c1bd2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1297.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1297 : Skill + { + public const int SKILL_ID = 1297; + + public Skill1297() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1297Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27687 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(29); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(116); + skill.SetPlus(7331.2f); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1297Stub() : base(1297) + { + cls = 5; + name = "狂·断喉斩"; + nativename = "狂·断喉斩"; + icon = "旋风斩魔技能"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1615; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_定身"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_定身_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1115, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1297Stub() { } + + public override float GetMpcost(Skill skill) => 145f; + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetDeeppoision (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.6f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 4f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1297.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1297.cs.meta new file mode 100644 index 0000000000..7858830515 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1297.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 666b7fe5ee8ab4f6f97f049661de68a5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1298.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1298.cs new file mode 100644 index 0000000000..07291e3983 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1298.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1298 : Skill + { + public const int SKILL_ID = 1298; + + public Skill1298() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1298Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27578 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(26); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(104); + skill.SetPlus(6633); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1298Stub() : base(1298) + { + cls = 5; + name = "真·斩杀"; + nativename = "真·斩杀"; + icon = "速斩仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 8; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1602; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_斩杀"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_斩杀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1118, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1298Stub() { } + + public override float GetMpcost(Skill skill) => 130f; + public override int GetExecutetime(Skill skill) => 1900; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 2.4f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1298.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1298.cs.meta new file mode 100644 index 0000000000..e02feff91c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1298.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a0c3730a785aa462d927107a5f5984cd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1299.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1299.cs new file mode 100644 index 0000000000..fd9ad371a4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1299.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1299 : Skill + { + public const int SKILL_ID = 1299; + + public Skill1299() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1299Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27610 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(26); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(104); + skill.SetPlus(6633); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1299Stub() : base(1299) + { + cls = 5; + name = "狂·斩杀"; + nativename = "狂·斩杀"; + icon = "速斩魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 8; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1602; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_斩杀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_斩杀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1118, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1299Stub() { } + + public override float GetMpcost(Skill skill) => 130f; + public override int GetExecutetime(Skill skill) => 1900; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 2.4f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1299.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1299.cs.meta new file mode 100644 index 0000000000..66b6399916 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1299.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: efc41662a10734af981b0fb74ae632fb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1300.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1300.cs new file mode 100644 index 0000000000..8991669aae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1300.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1300 : Skill + { + public const int SKILL_ID = 1300; + + public Skill1300() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1300Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27597 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(17); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(68); + skill.SetPlus(1888.5f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1300Stub() : base(1300) + { + cls = 5; + name = "真·钻心袖箭"; + nativename = "真·钻心袖箭"; + icon = "丢飞刀仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1609; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_丢飞刀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/刺客_丢飞刀_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_丢飞刀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1119, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1300Stub() { } + + public override float GetMpcost(Skill skill) => 85f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 70); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1300.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1300.cs.meta new file mode 100644 index 0000000000..69478e7863 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1300.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2ce9c0ab11f484acbaf33dd9f743442d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1301.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1301.cs new file mode 100644 index 0000000000..70b8f1fbb0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1301.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1301 : Skill + { + public const int SKILL_ID = 1301; + + public Skill1301() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1301Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27627 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(17); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(68); + skill.SetPlus(1888.5f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1301Stub() : base(1301) + { + cls = 5; + name = "狂·钻心袖箭"; + nativename = "狂·钻心袖箭"; + icon = "丢飞刀魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1609; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_丢飞刀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/刺客_丢飞刀_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_丢飞刀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1119, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1301Stub() { } + + public override float GetMpcost(Skill skill) => 85f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1301.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1301.cs.meta new file mode 100644 index 0000000000..45fe2ea696 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1301.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 470d8c007576a44f98a40ab28bf852ae \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1302.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1302.cs new file mode 100644 index 0000000000..adef27dbb4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1302.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1302 : Skill + { + public const int SKILL_ID = 1302; + + public Skill1302() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1302Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27601 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1302Stub() : base(1302) + { + cls = 5; + name = "真·背水一战"; + nativename = "真·背水一战"; + icon = "定身仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 200; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1625; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_背水一战"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_背水一战击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1120, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1302Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1302.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1302.cs.meta new file mode 100644 index 0000000000..2e79618b93 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1302.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d792193ccb30e4069a38efe9d13f8d7e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1303.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1303.cs new file mode 100644 index 0000000000..8463c594d1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1303.cs @@ -0,0 +1,161 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1303 : Skill + { + public const int SKILL_ID = 1303; + + public Skill1303() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1303Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27631 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1303Stub() : base(1303) + { + cls = 5; + name = "狂·背水一战"; + nativename = "狂·背水一战"; + icon = "定身魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1625; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_背水一战"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_背水一战击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1120, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1303Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (200); + skill.GetVictim ().SetAp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1303.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1303.cs.meta new file mode 100644 index 0000000000..e38d814198 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1303.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c653b4d1096224cbab12a84737fb9a58 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1304.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1304.cs new file mode 100644 index 0000000000..26f135203a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1304.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1304 : Skill + { + public const int SKILL_ID = 1304; + + public Skill1304() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1304Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27579 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(23); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(92); + skill.SetPlus(3172.1f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1304Stub() : base(1304) + { + cls = 5; + name = "真·狂乱斩"; + nativename = "真·狂乱斩"; + icon = "断筋仙技能"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1603; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_狂乱斩"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_狂乱斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1121, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1304Stub() { } + + public override float GetMpcost(Skill skill) => 115f; + public override int GetExecutetime(Skill skill) => 1533; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetAddattackdegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.7f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1304.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1304.cs.meta new file mode 100644 index 0000000000..31de11718b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1304.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cab82eddc2a194fbab24ffa0c848f173 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1305.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1305.cs new file mode 100644 index 0000000000..1727308698 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1305.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1305 : Skill + { + public const int SKILL_ID = 1305; + + public Skill1305() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1305Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27611 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(23); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(92); + skill.SetPlus(3172.1f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1305Stub() : base(1305) + { + cls = 5; + name = "狂·狂乱斩"; + nativename = "狂·狂乱斩"; + icon = "断筋魔技能"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1603; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_狂乱斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_狂乱斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1121, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1305Stub() { } + + public override float GetMpcost(Skill skill) => 115f; + public override int GetExecutetime(Skill skill) => 1533; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 40); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.7f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1305.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1305.cs.meta new file mode 100644 index 0000000000..a6de4b1c3c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1305.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 68f04aca7b11a4a5f84396d3bd89005b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1306.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1306.cs new file mode 100644 index 0000000000..7936386372 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1306.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1306 : Skill + { + public const int SKILL_ID = 1306; + + public Skill1306() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1306Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27581 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(50); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(290); + skill.SetPlus(4495); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1306Stub() : base(1306) + { + cls = 5; + name = "真·致命扫击"; + nativename = "真·致命扫击"; + icon = "刺腹仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1610; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_致盲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_致盲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1122, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1306Stub() { } + + public override float GetMpcost(Skill skill) => 340f; + public override int GetExecutetime(Skill skill) => 1933; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 3 * 5.5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1306.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1306.cs.meta new file mode 100644 index 0000000000..00ea68768c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1306.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4003c9486cec54c4580f0940a37ee265 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1307.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1307.cs new file mode 100644 index 0000000000..651767f24e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1307.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1307 : Skill + { + public const int SKILL_ID = 1307; + + public Skill1307() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1307Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27613 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(50); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1933; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(290); + skill.SetPlus(4495); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1307Stub() : base(1307) + { + cls = 5; + name = "狂·致命扫击"; + nativename = "狂·致命扫击"; + icon = "刺腹魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1610; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_致盲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_致盲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1122, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1307Stub() { } + + public override float GetMpcost(Skill skill) => 340f; + public override int GetExecutetime(Skill skill) => 1933; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.65f); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 3 * 5.5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1307.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1307.cs.meta new file mode 100644 index 0000000000..eae114f60f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1307.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 06f3b7f44c0b64071bf7c0d19a6687e1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1308.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1308.cs new file mode 100644 index 0000000000..fab0f9a1c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1308.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1308 : Skill + { + public const int SKILL_ID = 1308; + + public Skill1308() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1308Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27580 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(10); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.SetPlus(1492.4f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1308Stub() : base(1308) + { + cls = 5; + name = "真·深刺"; + nativename = "真·深刺"; + icon = "深刺仙技能"; + max_level = 1; + type = 1; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1607; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_深刺"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_深刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1123, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1308Stub() { } + + public override float GetMpcost(Skill skill) => 110f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 13000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.5f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 4f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1308.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1308.cs.meta new file mode 100644 index 0000000000..f17b2cd827 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1308.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 095520298086f45ee8026a27052b8584 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1309.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1309.cs new file mode 100644 index 0000000000..fcb5643d68 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1309.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1309 : Skill + { + public const int SKILL_ID = 1309; + + public Skill1309() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1309Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27612 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(10); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.SetPlus(1492.4f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1309Stub() : base(1309) + { + cls = 5; + name = "狂·深刺"; + nativename = "狂·深刺"; + icon = "深刺魔技能"; + max_level = 1; + type = 1; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1607; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_深刺"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_深刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1123, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1309Stub() { } + + public override float GetMpcost(Skill skill) => 110f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.5f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 4f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1309.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1309.cs.meta new file mode 100644 index 0000000000..2031db4097 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1309.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e2a6d2ba6cfdd4eceb3a18ed20263719 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1310.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1310.cs new file mode 100644 index 0000000000..27aba3a482 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1310.cs @@ -0,0 +1,176 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1310 : Skill + { + public const int SKILL_ID = 1310; + + public Skill1310() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1310Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27603 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1310Stub() : base(1310) + { + cls = 5; + name = "真·疾风行"; + nativename = "真·疾风行"; + icon = "刺客加速仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1606; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_加速"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_加速_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1124, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1310Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 50000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1310.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1310.cs.meta new file mode 100644 index 0000000000..96d8bb7212 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1310.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4426dcd76be9e41bca30dc82dfa21eb9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1311.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1311.cs new file mode 100644 index 0000000000..3b5b465e59 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1311.cs @@ -0,0 +1,176 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1311 : Skill + { + public const int SKILL_ID = 1311; + + public Skill1311() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1311Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 27633 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1311Stub() : base(1311) + { + cls = 5; + name = "狂·疾风行"; + nativename = "狂·疾风行"; + icon = "刺客加速魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1606; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_加速"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_加速_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1124, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1311Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (13000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1311.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1311.cs.meta new file mode 100644 index 0000000000..906e811bf5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1311.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dd9dd9b86cd3f4a2e97e6bc567e9d96f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1312.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1312.cs new file mode 100644 index 0000000000..749c3643c1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1312.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1312 : Skill + { + public const int SKILL_ID = 1312; + + public Skill1312() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1312Stub : SkillStub + { + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(220); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1312Stub() : base(1312) + { + cls = 5; + name = "76"; + nativename = "76"; + icon = "人鱼变仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1627; + allow_land = false; + allow_air = false; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "人鱼变"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "程序联入/人鱼变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1138, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1312Stub() { } + + public override float GetMpcost(Skill skill) => 220f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetFishform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1312.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1312.cs.meta new file mode 100644 index 0000000000..fefa8f56f8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1312.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9927edf55da8746e0a073c268982df6e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1313.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1313.cs new file mode 100644 index 0000000000..90d9bd367b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1313.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1313 : Skill + { + public const int SKILL_ID = 1313; + + public Skill1313() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1313Stub : SkillStub + { + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(220); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1313Stub() : base(1313) + { + cls = 5; + name = "69"; + nativename = "69"; + icon = "人鱼变魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1627; + allow_land = false; + allow_air = false; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "人鱼变"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "程序联入/人鱼变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1138, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1313Stub() { } + + public override float GetMpcost(Skill skill) => 220f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetValue (13); + skill.GetVictim ().SetFishform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1313.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1313.cs.meta new file mode 100644 index 0000000000..bf9c94bea8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1313.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 31f1ef3ec23054fd08f66ee7c3bf6e11 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1314.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1314.cs new file mode 100644 index 0000000000..d5b8a419f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1314.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1314 : Skill + { + public const int SKILL_ID = 1314; + + public Skill1314() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1314Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27606 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1314Stub() : base(1314) + { + cls = 5; + name = "真·百步神行诀"; + nativename = "真·百步神行诀"; + icon = "高级瞬移仙技能"; + max_level = 1; + type = 8; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1626; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1145, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1314Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 150000; + public float GetRadius(Skill skill) => (float)(20 + 1.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1314.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1314.cs.meta new file mode 100644 index 0000000000..9dace161d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1314.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1135eb8396d4348ef95442a830e50cb6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1315.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1315.cs new file mode 100644 index 0000000000..2c51debced --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1315.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1315 : Skill + { + public const int SKILL_ID = 1315; + + public Skill1315() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1315Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27636 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1315Stub() : base(1315) + { + cls = 5; + name = "狂·百步神行诀"; + nativename = "狂·百步神行诀"; + icon = "高级瞬移魔技能"; + max_level = 1; + type = 8; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1626; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1145, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1315Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => (float)(20 + 1.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1315.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1315.cs.meta new file mode 100644 index 0000000000..60362fe911 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1315.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2b5ee2e6a379944ef9356590cd453390 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1316.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1316.cs new file mode 100644 index 0000000000..4916d89262 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1316.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1316 : Skill + { + public const int SKILL_ID = 1316; + + public Skill1316() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1316Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27586 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(50); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 867; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(240); + skill.SetPlus(3831.8f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1316Stub() : base(1316) + { + cls = 5; + name = "真·强冲刺杀"; + nativename = "真·强冲刺杀"; + icon = "致盲仙技能"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1623; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_强冲刺杀"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_强冲刺杀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1148, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1316Stub() { } + + public override float GetMpcost(Skill skill) => 290f; + public override int GetExecutetime(Skill skill) => 867; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 11.7f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 4f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1316.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1316.cs.meta new file mode 100644 index 0000000000..ac669c0ca2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1316.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ca3a5716bf23d476693f7c9254839ec0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1317.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1317.cs new file mode 100644 index 0000000000..56b0eb9e20 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1317.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1317 : Skill + { + public const int SKILL_ID = 1317; + + public Skill1317() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1317Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 27617 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(50); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 867; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(240); + skill.SetPlus(3831.8f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1317Stub() : base(1317) + { + cls = 5; + name = "狂·强冲刺杀"; + nativename = "狂·强冲刺杀"; + icon = "致盲魔技能"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1623; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_强冲刺杀"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_强冲刺杀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1148, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1317Stub() { } + + public override float GetMpcost(Skill skill) => 290f; + public override int GetExecutetime(Skill skill) => 867; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (40); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 11.7f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 4f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1317.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1317.cs.meta new file mode 100644 index 0000000000..3755befc42 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1317.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5da9b6a84750d4c74a835836444f143b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1318.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1318.cs new file mode 100644 index 0000000000..dd6faada51 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1318.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1318 : Skill + { + public const int SKILL_ID = 1318; + + public Skill1318() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1318Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27598 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(15); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.SetPlus(5210.8f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1318Stub() : base(1318) + { + cls = 5; + name = "真·绊腿斩"; + nativename = "真·绊腿斩"; + icon = "绊腿仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 50; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1613; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_断筋"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_断筋_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1180, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1318Stub() { } + + public override float GetMpcost(Skill skill) => 115f; + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (13000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 4.5f + 1.6f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 4f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1318.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1318.cs.meta new file mode 100644 index 0000000000..7fb624756a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1318.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0bef19269c10342e78a781c1991b6be7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1319.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1319.cs new file mode 100644 index 0000000000..ac8023118b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1319.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1319 : Skill + { + public const int SKILL_ID = 1319; + + public Skill1319() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1319Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27628 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(15); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.SetPlus(5210.8f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1319Stub() : base(1319) + { + cls = 5; + name = "狂·绊腿斩"; + nativename = "狂·绊腿斩"; + icon = "绊腿魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 50; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1613; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_断筋"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_断筋_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1180, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1319Stub() { } + + public override float GetMpcost(Skill skill) => 115f; + public override int GetExecutetime(Skill skill) => 1333; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 4.5f + 1.6f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 4f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1319.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1319.cs.meta new file mode 100644 index 0000000000..0ed4c24899 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1319.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e3bb9e5866643488bbafa88c90a63c43 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1320.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1320.cs new file mode 100644 index 0000000000..633fcb535c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1320.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1320 : Skill + { + public const int SKILL_ID = 1320; + + public Skill1320() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1320Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27600 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(25); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(130); + skill.SetPlus(3643.5f); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1320Stub() : base(1320) + { + cls = 5; + name = "真·龙腾斩"; + nativename = "真·龙腾斩"; + icon = "先发制人仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 180; + attr = 7; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1620; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_龙腾斩"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_龙腾斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1181, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1320Stub() { } + + public override float GetMpcost(Skill skill) => 155f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5 + 1.8f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1320.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1320.cs.meta new file mode 100644 index 0000000000..ca927ffc18 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1320.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e41c3a29d66794d3b905e9ff6c95e235 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1321.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1321.cs new file mode 100644 index 0000000000..7675345ea4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1321.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1321 : Skill + { + public const int SKILL_ID = 1321; + + public Skill1321() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1321Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27630 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(45); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(110); + skill.SetPlus(3643.5f); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1321Stub() : base(1321) + { + cls = 5; + name = "狂·龙腾斩"; + nativename = "狂·龙腾斩"; + icon = "先发制人魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 150; + attr = 7; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1620; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_龙腾斩"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_龙腾斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1181, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1321Stub() { } + + public override float GetMpcost(Skill skill) => 155f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 25000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5 + 1.8f * 5.5f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1321.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1321.cs.meta new file mode 100644 index 0000000000..28a6143b47 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1321.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 133df0a143ca24313b7a060abb96aa73 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1322.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1322.cs new file mode 100644 index 0000000000..179219e059 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1322.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1322 : Skill + { + public const int SKILL_ID = 1322; + + public Skill1322() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1322Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27605 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(225); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1322Stub() : base(1322) + { + cls = 5; + name = "真·迷踪乱步诀"; + nativename = "真·迷踪乱步诀"; + icon = "凌波微步仙技能"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1618; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_迷踪乱步决"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_迷踪乱步决_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1189, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1322Stub() { } + + public override float GetMpcost(Skill skill) => 225f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1322.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1322.cs.meta new file mode 100644 index 0000000000..a6e722dd52 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1322.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a5a8d30e3b22a40889553b4e1a3ea821 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1323.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1323.cs new file mode 100644 index 0000000000..95dd5c9a3a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1323.cs @@ -0,0 +1,164 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1323 : Skill + { + public const int SKILL_ID = 1323; + + public Skill1323() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1323Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 27635 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(225); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1323Stub() : base(1323) + { + cls = 5; + name = "狂·迷踪乱步诀"; + nativename = "狂·迷踪乱步诀"; + icon = "凌波微步魔技能"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1618; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_迷踪乱步决"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_迷踪乱步决_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1189, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1323Stub() { } + + public override float GetMpcost(Skill skill) => 225f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetIncdodge (1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1323.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1323.cs.meta new file mode 100644 index 0000000000..f71642654f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1323.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b52ab853e6775443eb56d953855d209b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1324.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1324.cs new file mode 100644 index 0000000000..282688a23c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1324.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1324 : Skill + { + public const int SKILL_ID = 1324; + + public Skill1324() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1324Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 28030 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(90); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(90); + skill.SetPlus(3834.1f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1324Stub() : base(1324) + { + cls = 5; + name = "断法击"; + nativename = "断法击"; + icon = "断法击"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2156; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_断法击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_凝霜刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1324Stub() { } + + public override float GetMpcost(Skill skill) => 180f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1.7f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1324.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1324.cs.meta new file mode 100644 index 0000000000..4b28096da8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1324.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 625def942e5144396b081535dcebe8c2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1325.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1325.cs new file mode 100644 index 0000000000..f035df39c3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1325.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1325 : Skill + { + public const int SKILL_ID = 1325; + + public Skill1325() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1325Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 28031 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1325Stub() : base(1325) + { + cls = 5; + name = "嗜血狂乱"; + nativename = "嗜血狂乱"; + icon = "嗜血狂乱"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 2157; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_嗜血狂乱"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_嗜血狂乱_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1325Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetInchpsteal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1325.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1325.cs.meta new file mode 100644 index 0000000000..94b359955f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1325.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7bae9afcd7e3042e7a43ed0ed75f2dc8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1830.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1830.cs new file mode 100644 index 0000000000..8c03405164 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1830.cs @@ -0,0 +1,165 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1830 : Skill + { + public const int SKILL_ID = 1830; + + public Skill1830() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1830Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33765 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(162); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1830Stub() : base(1830) + { + cls = 4; + name = "奋战扫击"; + nativename = "奋战扫击"; + icon = "奋战扫击"; + max_level = 1; + type = 3; + apcost = 35; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2901; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1830Stub() { } + + public override float GetMpcost(Skill skill) => 202f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 10f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetForceselecttarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1830.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1830.cs.meta new file mode 100644 index 0000000000..22a365936e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1830.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 640af57e2a1794961a299a69cf4ecd49 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1831.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1831.cs new file mode 100644 index 0000000000..e915e08e06 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1831.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1831 : Skill + { + public const int SKILL_ID = 1831; + + public Skill1831() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1831Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33766 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(36); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(146); + skill.SetPlus(1200); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1831Stub() : base(1831) + { + cls = 4; + name = "无冕之王"; + nativename = "无冕之王"; + icon = "无冕之王"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2902; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "白虎_无冕之王"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/白虎_奋战扫击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1831Stub() { } + + public override float GetMpcost(Skill skill) => 182f; + public override int GetExecutetime(Skill skill) => 2300; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 18f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10000 * (1 + skill.GetT0 () * 0.0001f); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50000); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 5f; + public float GetTalent0(PlayerWrapper player) => player.GetMaxhp (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1831.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1831.cs.meta new file mode 100644 index 0000000000..338f8f0925 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1831.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d3a5a40ca59cd4af5850952ab6fc1eef \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1832.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1832.cs new file mode 100644 index 0000000000..d12b65f8bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1832.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1832 : Skill + { + public const int SKILL_ID = 1832; + + public Skill1832() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1832Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33768 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(44); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(178); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1832Stub() : base(1832) + { + cls = 4; + name = "洪荒血脉"; + nativename = "洪荒血脉"; + icon = "无畏"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2903; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1832Stub() { } + + public override float GetMpcost(Skill skill) => 222f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 60000); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetAmount (10); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetIncattackondamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1832.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1832.cs.meta new file mode 100644 index 0000000000..1cb32e6b38 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1832.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8d69bfbdd2c8d4c5c8732b84e7522b3b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1833.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1833.cs new file mode 100644 index 0000000000..d03828aaf5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1833.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1833 : Skill + { + public const int SKILL_ID = 1833; + + public Skill1833() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1833Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 5000000 }; + private static readonly int[] RequiredItemArray = { 33769 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(61); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(242); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(1.2f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1833Stub() : base(1833) + { + cls = 4; + name = "衍灭·龙飞绝"; + nativename = "衍灭·龙飞绝"; + icon = "妖兽之力"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0x02; + clslimit = 0; + time_type = 0; + showorder = 2905; + allow_land = true; + allow_air = false; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "妖兽_兽灵之力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖兽_兽灵之力_飞行02.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖兽_兽灵之力.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1877, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1833Stub() { } + + public override float GetMpcost(Skill skill) => 303f; + public override int GetExecutetime(Skill skill) => 1450; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80 + (skill.GetT0 () - skill.GetPlayer ().GetSoulpower ()) / 2000); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetNofly (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 4f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1833.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1833.cs.meta new file mode 100644 index 0000000000..9a84a21bd9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1833.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 70862e272a7ce456e92517727ba94807 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1834.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1834.cs new file mode 100644 index 0000000000..200fce99a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1834.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1834 : Skill + { + public const int SKILL_ID = 1834; + + public Skill1834() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1834Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33767 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(50); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(202); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1834Stub() : base(1834) + { + cls = 4; + name = "不灭战魂"; + nativename = "不灭战魂"; + icon = "虎啸"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2904; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "妖兽_虎啸"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖兽_虎啸_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖兽_虎啸_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1834Stub() { } + + public override float GetMpcost(Skill skill) => 252f; + public override int GetExecutetime(Skill skill) => 2300; + public override int GetCoolingtime(Skill skill) => 300000; + public float GetRadius(Skill skill) => 7f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (150000); + skill.GetVictim ().SetRatio (0.45f); + skill.GetVictim ().SetValue (200); + skill.GetVictim ().SetRebirth2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 22f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1834.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1834.cs.meta new file mode 100644 index 0000000000..a2ef9396d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1834.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e9699faebf79e4f389e252b4c0a7df42 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1835.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1835.cs new file mode 100644 index 0000000000..5f45afc1b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1835.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1835 : Skill + { + public const int SKILL_ID = 1835; + + public Skill1835() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1835Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33715 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(91); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1050; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(363); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1835Stub() : base(1835) + { + cls = 5; + name = "日食"; + nativename = "日食"; + icon = "日冕"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2901; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_日冕"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_日冕_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1835Stub() { } + + public override float GetMpcost(Skill skill) => 454f; + public override int GetExecutetime(Skill skill) => 1050; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6500); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetCls () == 5 ? 10 : 30); + skill.GetVictim ().SetInvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1835.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1835.cs.meta new file mode 100644 index 0000000000..5cbcbf4008 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1835.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1251fe15e63f144b282765e27bc5ec71 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1836.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1836.cs new file mode 100644 index 0000000000..c49f999961 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1836.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1836 : Skill + { + public const int SKILL_ID = 1836; + + public Skill1836() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1836Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33716 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(9); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(36); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1836Stub() : base(1836) + { + cls = 5; + name = "千金散尽"; + nativename = "千金散尽"; + icon = "飘零"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2902; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_飘零"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_飘零_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1836Stub() { } + + public override float GetMpcost(Skill skill) => 45f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDropmoneyondeath (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1836.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1836.cs.meta new file mode 100644 index 0000000000..ba0ab7c099 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1836.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b91800cc2a14846f9bf4f77a33e2955f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1837.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1837.cs new file mode 100644 index 0000000000..a1922680b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1837.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1837 : Skill + { + public const int SKILL_ID = 1837; + + public Skill1837() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1837Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33718 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(61); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1837Stub() : base(1837) + { + cls = 5; + name = "毒刃"; + nativename = "毒刃"; + icon = "毒仞"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2903; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_毒刃"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_毒刃_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1837Stub() { } + + public override float GetMpcost(Skill skill) => 81f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 140); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5.5f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 3f; + public float GetTalent0(PlayerWrapper player) => 3 * player.GetWeapondamage () + 9000; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1837.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1837.cs.meta new file mode 100644 index 0000000000..402bf6dff9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1837.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e2403f247a0cd425b97172881f1589b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1838.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1838.cs new file mode 100644 index 0000000000..b44f201bf8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1838.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1838 : Skill + { + public const int SKILL_ID = 1838; + + public Skill1838() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1838Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33717 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2250; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(400); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1838Stub() : base(1838) + { + cls = 5; + name = "侦查"; + nativename = "侦查"; + icon = "影嗜"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2904; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1838Stub() { } + + public override float GetMpcost(Skill skill) => 600f; + public override int GetExecutetime(Skill skill) => 2250; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetQueryotherinventory (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1838.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1838.cs.meta new file mode 100644 index 0000000000..7f12c1b4a1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1838.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4544c0bc9e3fe4ee980a80c69cc05409 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1839.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1839.cs new file mode 100644 index 0000000000..7491744725 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1839.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1839 : Skill + { + public const int SKILL_ID = 1839; + + public Skill1839() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1839Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 5000000 }; + private static readonly int[] RequiredItemArray = { 33719 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(61); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1050; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(242); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1839Stub() : base(1839) + { + cls = 5; + name = "阎浮·归魂葬"; + nativename = "阎浮·归魂葬"; + icon = "葬魂印记"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2905; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1876, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1839Stub() { } + + public override float GetMpcost(Skill skill) => 303f; + public override int GetExecutetime(Skill skill) => 1050; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.2f + (skill.GetT0 () - skill.GetT1 () * skill.GetT1 () - 50 * skill.GetT1 ()) * 0.00001f); + skill.GetVictim ().SetValue (45); + skill.GetVictim ().SetAdditionalattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 4f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); + public float GetTalent1(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1839.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1839.cs.meta new file mode 100644 index 0000000000..e2b51d7ae1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1839.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dbaf7f9822f3f49238f6631c0d07bbe2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1876.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1876.cs new file mode 100644 index 0000000000..15dec07198 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1876.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1876 : Skill + { + public const int SKILL_ID = 1876; + + public Skill1876() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1876Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 500000 }; + private static readonly int[] RequiredItemArray = { 33720 }; + private static readonly int[] RequiredMoneyArray = { 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1050; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1876Stub() : base(1876) + { + cls = 5; + name = "归魂葬"; + nativename = "归魂葬"; + icon = "葬魂印记"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2905; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1876Stub() { } + + public override float GetMpcost(Skill skill) => 240f; + public override int GetExecutetime(Skill skill) => 1050; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.15f + (skill.GetT0 () - skill.GetT1 () * skill.GetT1 () - 50 * skill.GetT1 ()) * 0.00001f); + skill.GetVictim ().SetValue (45); + skill.GetVictim ().SetAdditionalattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 4f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); + public float GetTalent1(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1876.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1876.cs.meta new file mode 100644 index 0000000000..64786af1aa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1876.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7099717bcea4944e39df2e0a4b8fae5e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1877.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1877.cs new file mode 100644 index 0000000000..cfea31e523 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1877.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1877 : Skill + { + public const int SKILL_ID = 1877; + + public Skill1877() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1877Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 500000 }; + private static readonly int[] RequiredItemArray = { 33770 }; + private static readonly int[] RequiredMoneyArray = { 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(0.4f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1877Stub() : base(1877) + { + cls = 4; + name = "龙飞绝"; + nativename = "龙飞绝"; + icon = "妖兽之力"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 8; + eventflag = 0; + posdouble = 0x02; + clslimit = 0; + time_type = 0; + showorder = 2905; + allow_land = true; + allow_air = false; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "妖兽_兽灵之力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖兽_兽灵之力_飞行02.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖兽_兽灵之力.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1877Stub() { } + + public override float GetMpcost(Skill skill) => 240f; + public override int GetExecutetime(Skill skill) => 1450; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetLevel () - skill.GetT1 () > + 5 ? 0 : 70 + (skill.GetT0 () - skill.GetPlayer ().GetSoulpower ()) / 2000); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetNofly (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 4f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); + public float GetTalent1(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1877.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1877.cs.meta new file mode 100644 index 0000000000..be3f8da1a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1877.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d59c7029440dd4c8db973a9133cb4d99 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill188.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill188.cs new file mode 100644 index 0000000000..f81315eb1b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill188.cs @@ -0,0 +1,161 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill188 : Skill + { + public const int SKILL_ID = 188; + + public Skill188() : base(SKILL_ID) + { + } + } +#endif + + public class Skill188Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19 }; + private static readonly int[] RequiredSpArray = { 3680 }; + private static readonly int[] RequiredMoneyArray = { 440 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill188Stub() : base(188) + { + cls = 4; + name = "兽王之怒"; + nativename = "兽王之怒"; + icon = "兽王之怒新"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 2; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1526; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill188Stub() { } + + public override float GetMpcost(Skill skill) => 20f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (5); + skill.GetVictim ().SetApgen (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetHp () > skill.GetPlayer ().GetMaxhp () * 0.5f ? 0 : 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (2000); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetAbsorbmagicdamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.2f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill188.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill188.cs.meta new file mode 100644 index 0000000000..fa66003c09 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill188.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 11456aeeadf86426fa17b7497bc03407 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1949.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1949.cs new file mode 100644 index 0000000000..74e35ad039 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1949.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1949 : Skill + { + public const int SKILL_ID = 1949; + + public Skill1949() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1949Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + + public Skill1949Stub() : base(1949) + { + cls = 5; + name = "千金还复"; + nativename = "千金还复"; + icon = "飘零"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1664; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1836, 1); + + } + + ~Skill1949Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetImmunedrop (1); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1949.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1949.cs.meta new file mode 100644 index 0000000000..4c04741651 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1949.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a4b841763a1524c838835ebbb103ed15 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill195.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill195.cs new file mode 100644 index 0000000000..469271096a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill195.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill195 : Skill + { + public const int SKILL_ID = 195; + + public Skill195() : base(SKILL_ID) + { + } + } +#endif + + public class Skill195Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 3, 8, 13, 18, 23, 28, 33, 38, 43, 48 }; + private static readonly int[] RequiredSpArray = { 100, 800, 2100, 4100, 7000, 10900, 16100, 23000, 32000, 44100 }; + private static readonly int[] RequiredMoneyArray = { 10, 90, 220, 400, 630, 1000, 1450, 1900, 2380, 2880 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-1.6f + 4 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-1.6f + 4 * skill.GetLevel())); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill195Stub() : base(195) + { + cls = 4; + name = "绞杀"; + nativename = "绞杀"; + icon = "绞杀"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 1; + rank = 0; + eventflag = 4; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1502; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "绞杀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/绞杀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(102, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill195Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-1.6 + 4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (4.8f * skill.GetLevel () * skill.GetLevel () + 103 * skill.GetLevel () + 72.5f); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12.5f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1.2f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill195.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill195.cs.meta new file mode 100644 index 0000000000..dd4e5646b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill195.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ba69cbbe314474718844d0104604a858 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1980.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1980.cs new file mode 100644 index 0000000000..f1a3ce01f8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1980.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1980 : Skill + { + public const int SKILL_ID = 1980; + + public Skill1980() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1980Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 37291 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1980Stub() : base(1980) + { + cls = 4; + name = "真·白虎变(强化)"; + nativename = "真·白虎变(强化)"; + icon = "白虎变1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1514; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1白虎变"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 2000; + m_szFlyGfxPath = "策划联入/人物技能/飞行/白虎变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(518, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1980Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 100,90)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0.4f); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (0.9f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetTigerform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1980.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1980.cs.meta new file mode 100644 index 0000000000..d1c91a3a71 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1980.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bb666ad68531f4a74a0d3439461f8888 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1981.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1981.cs new file mode 100644 index 0000000000..16d3e8f5fc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1981.cs @@ -0,0 +1,164 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1981 : Skill + { + public const int SKILL_ID = 1981; + + public Skill1981() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1981Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 37292 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1981Stub() : base(1981) + { + cls = 4; + name = "狂·白虎变(强化)"; + nativename = "狂·白虎变(强化)"; + icon = "白虎变2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1514; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2白虎变"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 2000; + m_szFlyGfxPath = "策划联入/人物技能/飞行/白虎变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(519, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1981Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 100,80)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0.3f); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (0.8f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetTigerform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetValue (5); + skill.GetVictim ().SetInccritresistance (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1981.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1981.cs.meta new file mode 100644 index 0000000000..0807f22bae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1981.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ef869cfa101e2496c8a63d3dad9180e0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1982.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1982.cs new file mode 100644 index 0000000000..559e59f7e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1982.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1982 : Skill + { + public const int SKILL_ID = 1982; + + public Skill1982() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1982Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 37293 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1982Stub() : base(1982) + { + cls = 4; + name = "真·熊猫变"; + nativename = "真·熊猫变"; + icon = "真熊猫变"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 0; + rank = 20; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1514; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1白虎变"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 2000; + m_szFlyGfxPath = "策划联入/人物技能/飞行/白虎变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1980, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1982Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 100,90)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0.4f); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetAmount (0.9f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetTigerform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1982.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1982.cs.meta new file mode 100644 index 0000000000..1e7f80bd5e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1982.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cbc3cada0e63f4e1f9485988ea4f8297 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1983.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1983.cs new file mode 100644 index 0000000000..304077b369 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1983.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1983 : Skill + { + public const int SKILL_ID = 1983; + + public Skill1983() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1983Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 37294 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1983Stub() : base(1983) + { + cls = 4; + name = "狂·熊猫变"; + nativename = "狂·熊猫变"; + icon = "狂熊猫变"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1514; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2白虎变"; + doenchant = 1; + dobless = 0; + commoncooldown = 1; + commoncooldowntime = 2000; + m_szFlyGfxPath = "策划联入/人物技能/飞行/白虎变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1981, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1983Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 100,80)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0.3f); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetAmount (0.8f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetTigerform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetValue (5); + skill.GetVictim ().SetInccritresistance (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1983.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1983.cs.meta new file mode 100644 index 0000000000..3d46f4d67b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill1983.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6cc8ee9c74dc24cddb82853166ff0e75 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2212.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2212.cs new file mode 100644 index 0000000000..e855b5b6a7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2212.cs @@ -0,0 +1,245 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2212 : Skill + { + public const int SKILL_ID = 2212; + + public Skill2212() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2212Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42090 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(10); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.GetPlayer().SetDecmp(40); + skill.SetPlus(11755); + skill.SetRatio(2); + skill.SetDamage(0.5f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.GetPlayer().SetDecmp(40); + skill.SetPlus(11755); + skill.SetRatio(2); + skill.SetDamage(0.5f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2212Stub() : base(2212) + { + cls = 5; + name = "玄·追命"; + nativename = "玄·追命"; + icon = "玄·追命"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1600; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_连击改_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_连击改_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1288, 1); + pre_skills.Add(1306, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); +#endif + } + + ~Skill2212Stub() { } + + public override float GetMpcost(Skill skill) => 90f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 1400; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2212.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2212.cs.meta new file mode 100644 index 0000000000..34898f2de3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2212.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8b83036f73bef48768244e8665748217 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2213.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2213.cs new file mode 100644 index 0000000000..084312221c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2213.cs @@ -0,0 +1,241 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2213 : Skill + { + public const int SKILL_ID = 2213; + + public Skill2213() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2213Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42091 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(10); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.GetPlayer().SetDecmp(40); + skill.SetPlus(11755); + skill.SetRatio(2); + skill.SetDamage(0.5f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.GetPlayer().SetDecmp(40); + skill.SetPlus(11755); + skill.SetRatio(2); + skill.SetDamage(0.5f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2213Stub() : base(2213) + { + cls = 5; + name = "荒·追命"; + nativename = "荒·追命"; + icon = "荒·追命"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1600; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_连击改_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_连击改_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1289, 1); + pre_skills.Add(1307, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); +#endif + } + + ~Skill2213Stub() { } + + public override float GetMpcost(Skill skill) => 90f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 1400; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetCls () == -1 ? 0.65f : 1.25f); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2213.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2213.cs.meta new file mode 100644 index 0000000000..5556d13c36 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2213.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 83a67e4d439e642159e1922b5fda7329 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2214.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2214.cs new file mode 100644 index 0000000000..c2f0731192 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2214.cs @@ -0,0 +1,310 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2214 : Skill + { + public const int SKILL_ID = 2214; + + public Skill2214() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2214Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42092 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(26); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(104); + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 250; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(0.6f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(0.4f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(0.4f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(0.6f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(5); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(1.2f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State8 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2214Stub() : base(2214) + { + cls = 5; + name = "玄·七杀"; + nativename = "玄·七杀"; + icon = "玄·七杀"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1602; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_斩杀改_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_连击改_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1298, 1); + pre_skills.Add(1294, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); + statestub.Add(new State8()); +#endif + } + + ~Skill2214Stub() { } + + public override float GetMpcost(Skill skill) => 130f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * 1.35f); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 2f; + public float GetTalent0(PlayerWrapper player) => 6 * player.GetEquipattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2214.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2214.cs.meta new file mode 100644 index 0000000000..55ce48e8f1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2214.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b3ff2d8092d1044ce8e467d50ecc77dc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2215.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2215.cs new file mode 100644 index 0000000000..946f9da90d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2215.cs @@ -0,0 +1,310 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2215 : Skill + { + public const int SKILL_ID = 2215; + + public Skill2215() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2215Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42093 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(26); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(104); + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 250; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(0.6f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(0.4f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(0.4f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(0.6f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(5); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(1.2f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State8 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2215Stub() : base(2215) + { + cls = 5; + name = "荒·七杀"; + nativename = "荒·七杀"; + icon = "荒·七杀"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1602; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_斩杀改_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_连击改_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1299, 1); + pre_skills.Add(1295, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); + statestub.Add(new State8()); +#endif + } + + ~Skill2215Stub() { } + + public override float GetMpcost(Skill skill) => 130f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetAmount (skill.GetT0 ()); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 2f; + public float GetTalent0(PlayerWrapper player) => 6 * player.GetEquipattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2215.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2215.cs.meta new file mode 100644 index 0000000000..b4d82fd992 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2215.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 15bfdeff474c34c30a7141a3f76bab4f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2244.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2244.cs new file mode 100644 index 0000000000..f0a8ba9c8a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2244.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2244 : Skill + { + public const int SKILL_ID = 2244; + + public Skill2244() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2244Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42147 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(108); + skill.SetPlus(3836); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2244Stub() : base(2244) + { + cls = 4; + name = "玄·千斤锤"; + nativename = "玄·千斤锤"; + icon = "千斤锤1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 7; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1504; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "妖兽_新千斤锤_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖兽_新千斤锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(498, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2244Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 135)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () < 50 ? 100 : 0); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () < 50 ? 0 : 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.7f; + public float GetTalent0(PlayerWrapper player) => player.GetRand (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2244.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2244.cs.meta new file mode 100644 index 0000000000..d78a98a5ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2244.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 87a7cb6fa6f5c42bfab404c70927af4e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2245.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2245.cs new file mode 100644 index 0000000000..8d7a1a0fe9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2245.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2245 : Skill + { + public const int SKILL_ID = 2245; + + public Skill2245() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2245Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42148 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(108); + skill.SetPlus(3836); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2245Stub() : base(2245) + { + cls = 4; + name = "荒·千斤锤"; + nativename = "荒·千斤锤"; + icon = "千斤锤2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 7; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1504; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "妖兽_新千斤锤_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖兽_新千斤锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(499, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2245Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 135)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () < 60 ? 100 : 0); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () < 60 ? 0 : 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.7f; + public float GetTalent0(PlayerWrapper player) => player.GetRand (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2245.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2245.cs.meta new file mode 100644 index 0000000000..b1e581cfae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2245.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 40bfbd73bfffe49d6a63522ed3b9d55a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2246.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2246.cs new file mode 100644 index 0000000000..5978239af3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2246.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2246 : Skill + { + public const int SKILL_ID = 2246; + + public Skill2246() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2246Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42149 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(99); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(396); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2246Stub() : base(2246) + { + cls = 4; + name = "作废"; + nativename = "作废"; + icon = "至·兽神赐力"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1511; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "熊猫_兽神赐力_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/熊猫_兽神赐力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2246Stub() { } + + public override float GetMpcost(Skill skill) => 495f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 495)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2246.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2246.cs.meta new file mode 100644 index 0000000000..f5cae425ad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2246.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 769799477787e483c9ed11386f93b514 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2247.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2247.cs new file mode 100644 index 0000000000..17cb89fc39 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2247.cs @@ -0,0 +1,212 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2247 : Skill + { + public const int SKILL_ID = 2247; + + public Skill2247() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2247Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42150 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(44); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(176); + skill.SetPlus(0); + skill.SetRatio(3); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2247Stub() : base(2247) + { + cls = 4; + name = "玄·天崩地裂"; + nativename = "玄·天崩地裂"; + icon = "兽王之怒1"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1519; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "熊猫_新天崩地裂_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "人物/技能/熊猫/新天崩地裂_施放起_石头.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(528, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2247Stub() { } + + public override float GetMpcost(Skill skill) => 220f; + public override int GetExecutetime(Skill skill) => 1700; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 220,5200)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (8500); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 4f; + public float GetTalent0(PlayerWrapper player) => 33415; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2247.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2247.cs.meta new file mode 100644 index 0000000000..3baaafdd6b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2247.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6cf5ea065c9ec43cc8484f68223dc634 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2248.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2248.cs new file mode 100644 index 0000000000..b18fd65448 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2248.cs @@ -0,0 +1,213 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2248 : Skill + { + public const int SKILL_ID = 2248; + + public Skill2248() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2248Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42151 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(44); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(176); + skill.GetPlayer().SetHp(skill.GetPlayer().GetHp() + 4000); + skill.SetPlus(0); + skill.SetRatio(3); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2248Stub() : base(2248) + { + cls = 4; + name = "荒·天崩地裂"; + nativename = "荒·天崩地裂"; + icon = "兽王之怒2"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1519; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "熊猫_新天崩地裂_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "人物/技能/熊猫/新天崩地裂_施放起_石头.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(529, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2248Stub() { } + + public override float GetMpcost(Skill skill) => 220f; + public override int GetExecutetime(Skill skill) => 1700; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 220,5200)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetValue (150); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 4f; + public float GetTalent0(PlayerWrapper player) => 33415; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2248.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2248.cs.meta new file mode 100644 index 0000000000..1e58c79d41 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2248.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 48de0c97eec4a412e9135b33db3b9ecc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill230.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill230.cs new file mode 100644 index 0000000000..1e3d6d00ab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill230.cs @@ -0,0 +1,172 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill230 : Skill + { + public const int SKILL_ID = 230; + + public Skill230() : base(SKILL_ID) + { + } + } +#endif + + public class Skill230Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29 }; + private static readonly int[] RequiredSpArray = { 18, 000 }; + private static readonly int[] RequiredMoneyArray = { 23, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill230Stub() : base(230) + { + cls = 4; + name = "真元爆发"; + nativename = "真元爆发"; + icon = "爆气1"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2131; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill230Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill230.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill230.cs.meta new file mode 100644 index 0000000000..bd274477ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill230.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fcda7ef094cee4fd49fb889cd15efb3e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill231.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill231.cs new file mode 100644 index 0000000000..c1c47b0c64 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill231.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill231 : Skill + { + public const int SKILL_ID = 231; + + public Skill231() : base(SKILL_ID) + { + } + } +#endif + + public class Skill231Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 130, 000 }; + private static readonly int[] RequiredMoneyArray = { 180, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill231Stub() : base(231) + { + cls = 4; + name = "高级真元爆发"; + nativename = "高级真元爆发"; + icon = "爆气2"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2132; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill231Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill231.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill231.cs.meta new file mode 100644 index 0000000000..fd71407b65 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill231.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e933973eef1cd4fd1afa5431210e687a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill234.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill234.cs new file mode 100644 index 0000000000..5e1f7e0e9f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill234.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill234 : Skill + { + public const int SKILL_ID = 234; + + public Skill234() : base(SKILL_ID) + { + } + } +#endif + + public class Skill234Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(10 * skill.GetLevel()); + skill.SetPlus(0); + skill.SetRatio((1.5f + 0.15f * skill.GetLevel()) * skill.GetCharging() /(5200 - 200 * skill.GetLevel())); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill234Stub() : base(234) + { + cls = 6; + name = "引而不发"; + nativename = "引而不发"; + icon = "引而不发"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 3; + showorder = 1301; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "1引而不发"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/引而不发飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/引而不发击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill234Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 10; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 10f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill234.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill234.cs.meta new file mode 100644 index 0000000000..29967724ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill234.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6ae8532690b1843908f41470977c7533 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill235.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill235.cs new file mode 100644 index 0000000000..c38d014e8e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill235.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill235 : Skill + { + public const int SKILL_ID = 235; + + public Skill235() : base(SKILL_ID) + { + } + } +#endif + + public class Skill235Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 3, 8, 13, 18, 23, 28, 33, 38, 43 }; + private static readonly int[] RequiredSpArray = { 0, 100, 800, 2100, 4100, 7000, 10900, 16100, 23000, 32000 }; + private static readonly int[] RequiredMoneyArray = { 0, 10, 90, 220, 400, 630, 1000, 1450, 1900, 2380 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-5.5f + 7.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-5.5f + 7.5f * skill.GetLevel())); + skill.SetPlus(2.3f * skill.GetLevel() * skill.GetLevel() + 63.2f * skill.GetLevel() + 46.4f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill235Stub() : base(235) + { + cls = 6; + name = "连射"; + nativename = "连射"; + icon = "连射"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 5; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1302; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "连射"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/连射飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/连射击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill235Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-5.5 + 7.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill235.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill235.cs.meta new file mode 100644 index 0000000000..3176051147 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill235.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8105112e257b3407fbf46cdde10dde42 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill236.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill236.cs new file mode 100644 index 0000000000..fc3bb81285 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill236.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill236 : Skill + { + public const int SKILL_ID = 236; + + public Skill236() : base(SKILL_ID) + { + } + } +#endif + + public class Skill236Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(25.2f + 9 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(25.2f + 9 * skill.GetLevel())); + skill.SetPlus(3.4f * skill.GetLevel() * skill.GetLevel() + 116 * skill.GetLevel() + 364.6f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill236Stub() : base(236) + { + cls = 6; + name = "击退矢"; + nativename = "击退矢"; + icon = "击退矢"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 10; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1303; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "击退矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/击退矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/击退矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(235, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill236Stub() { } + + public override float GetMpcost(Skill skill) => (float)(25.2 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill236.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill236.cs.meta new file mode 100644 index 0000000000..42e2eb3472 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill236.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5e86e5b9fb3bd41fea73c6242a724a0c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2366.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2366.cs new file mode 100644 index 0000000000..39997a5e21 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2366.cs @@ -0,0 +1,297 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2366 : Skill + { + public const int SKILL_ID = 2366; + + public Skill2366() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2366Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42277 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(90); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(14994); + skill.SetRatio(7.5f); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(14994); + skill.SetRatio(7.5f); + skill.SetDamage(0.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(14994); + skill.SetRatio(7.5f); + skill.SetDamage(0.15f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 1250; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(14994); + skill.SetRatio(7.5f); + skill.SetDamage(0.5f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2366Stub() : base(2366) + { + cls = 5; + name = "玄·神威狱"; + nativename = "玄·神威狱"; + icon = "玄·杀戮盛宴"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1622; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_十字斩"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_十字斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1290, 1); + pre_skills.Add(1304, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2366Stub() { } + + public override float GetMpcost(Skill skill) => 290f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 4f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2366.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2366.cs.meta new file mode 100644 index 0000000000..35f4064322 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2366.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ba556619862244fdf9aba5a37db56bfb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill237.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill237.cs new file mode 100644 index 0000000000..081e11ee30 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill237.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill237 : Skill + { + public const int SKILL_ID = 237; + + public Skill237() : base(SKILL_ID) + { + } + } +#endif + + public class Skill237Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(54 + 11.3f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(54 + 11.3f * skill.GetLevel())); + skill.SetPlus(6 * skill.GetLevel() * skill.GetLevel() + 201.6f * skill.GetLevel() + 853.5f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill237Stub() : base(237) + { + cls = 6; + name = "困缚矢"; + nativename = "困缚矢"; + icon = "混乱矢(虚弱矢)"; + max_level = 10; + type = 1; + apcost = 100; + arrowcost = 1; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1304; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "虚弱矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/虚弱矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虚弱矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(236, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill237Stub() { } + + public override float GetMpcost(Skill skill) => (float)(54 + 11.3 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 90); + skill.GetVictim ().SetTime (5500 + 300 * skill.GetLevel ()); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill237.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill237.cs.meta new file mode 100644 index 0000000000..fa2ae38265 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill237.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 782cfe16425e54521800f75603450078 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill238.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill238.cs new file mode 100644 index 0000000000..f63e2407d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill238.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill238 : Skill + { + public const int SKILL_ID = 238; + + public Skill238() : base(SKILL_ID) + { + } + } +#endif + + public class Skill238Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(105 + 12 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(105 + 12 * skill.GetLevel())); + skill.SetPlus(1.3f * skill.GetLevel() * skill.GetLevel() + 92.5f * skill.GetLevel() + 706.3f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill238Stub() : base(238) + { + cls = 6; + name = "击晕矢"; + nativename = "击晕矢"; + icon = "击晕矢"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1305; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "击晕矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/击晕矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/击晕矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(237, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill238Stub() { } + + public override float GetMpcost(Skill skill) => (float)(105 + 12 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 40 + 5 * skill.GetLevel ()); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill238.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill238.cs.meta new file mode 100644 index 0000000000..189bcf0f25 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill238.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2c748f8dcf5bb4958b0443172ddedd18 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill239.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill239.cs new file mode 100644 index 0000000000..5182c97740 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill239.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill239 : Skill + { + public const int SKILL_ID = 239; + + public Skill239() : base(SKILL_ID) + { + } + } +#endif + + public class Skill239Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(168.8f + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(168.8f + 15 * skill.GetLevel())); + skill.SetPlus(4.1f * skill.GetLevel() * skill.GetLevel() + 248.7f * skill.GetLevel() + 2089.6f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill239Stub() : base(239) + { + cls = 6; + name = "致命矢"; + nativename = "致命矢"; + icon = "致命矢"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1306; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "致命矢"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/致命矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/致命矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(238, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill239Stub() { } + + public override float GetMpcost(Skill skill) => (float)(168.8 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 10; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill239.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill239.cs.meta new file mode 100644 index 0000000000..c07b32697b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill239.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f4ec7ea01ffa54609810f05b22504704 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill240.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill240.cs new file mode 100644 index 0000000000..e2067f75b4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill240.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill240 : Skill + { + public const int SKILL_ID = 240; + + public Skill240() : base(SKILL_ID) + { + } + } +#endif + + public class Skill240Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 2800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(340 + 20 * skill.GetLevel()); + skill.SetPlus(2.9f * skill.GetLevel() * skill.GetLevel() + 185.7f * skill.GetLevel() + 2438.6f); + skill.SetRatio(1 + 0.1f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill240Stub() : base(240) + { + cls = 6; + name = "箭阵"; + nativename = "箭阵"; + icon = "箭阵"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 3; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1307; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "箭阵"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/箭阵击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(239, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill240Stub() { } + + public override float GetMpcost(Skill skill) => (float)(340 + 20 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 800 * skill.GetLevel (); + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 10; + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill240.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill240.cs.meta new file mode 100644 index 0000000000..97ca9ab689 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill240.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bfc6a81061aaf4c699876d7cecb92dab \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill241.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill241.cs new file mode 100644 index 0000000000..eaf284e74b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill241.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill241 : Skill + { + public const int SKILL_ID = 241; + + public Skill241() : base(SKILL_ID) + { + } + } +#endif + + public class Skill241Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 13, 18, 23, 28, 33, 38, 43, 48, 53, 58 }; + private static readonly int[] RequiredSpArray = { 2100, 4100, 7000, 10900, 16100, 23000, 32000, 44100, 60200, 81800 }; + private static readonly int[] RequiredMoneyArray = { 220, 400, 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(30 + 18.8f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(30 + 18.8f * skill.GetLevel())); + skill.SetPlus(5.5f * skill.GetLevel() * skill.GetLevel() + 136.1f * skill.GetLevel() + 303.9f); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill241Stub() : base(241) + { + cls = 6; + name = "落雷"; + nativename = "落雷"; + icon = "落雷"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 10; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1308; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "落雷"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/落雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill241Stub() { } + + public override float GetMpcost(Skill skill) => (float)(30 + 18.8 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 1; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill241.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill241.cs.meta new file mode 100644 index 0000000000..ef08751dfa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill241.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 46ff88b2cdfe148598f2390141aa9de4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2418.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2418.cs new file mode 100644 index 0000000000..32871d4b45 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2418.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2418 : Skill + { + public const int SKILL_ID = 2418; + + public Skill2418() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2418Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42152 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(18); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(72); + skill.SetPlus(5266); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2418Stub() : base(2418) + { + cls = 4; + name = "玄·兽王锤"; + nativename = "玄·兽王锤"; + icon = "兽王锤1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1501; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1兽王锤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(492, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2418Stub() { } + + public override float GetMpcost(Skill skill) => 90f; + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 90)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetPlayer ().GetCls () == -1 ? 0 : 100)); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.08f); + skill.GetVictim ().SetAmount (5); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurt4 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 11f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.7f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2418.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2418.cs.meta new file mode 100644 index 0000000000..ee7de2b055 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2418.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 94056d618fcb84670830c2d62b6e86b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2419.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2419.cs new file mode 100644 index 0000000000..a25cf27adb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2419.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2419 : Skill + { + public const int SKILL_ID = 2419; + + public Skill2419() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2419Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42153 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(18); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(72); + skill.SetPlus(5266); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2419Stub() : base(2419) + { + cls = 4; + name = "荒·兽王锤"; + nativename = "荒·兽王锤"; + icon = "兽王锤2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 7; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1501; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2兽王锤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(493, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2419Stub() { } + + public override float GetMpcost(Skill skill) => 90f; + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 90)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetPlayer ().GetCls () == -1 ? 0 : 100)); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.08f); + skill.GetVictim ().SetAmount (5); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurt4 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 11f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.7f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2419.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2419.cs.meta new file mode 100644 index 0000000000..16127ee17b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2419.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f5eb6478c8c6c49baa0fb0a85807ce2e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill242.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill242.cs new file mode 100644 index 0000000000..3c73f0441a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill242.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill242 : Skill + { + public const int SKILL_ID = 242; + + public Skill242() : base(SKILL_ID) + { + } + } +#endif + + public class Skill242Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(90 + 18.8f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(90 + 18.8f * skill.GetLevel())); + skill.SetPlus(5.4f * skill.GetLevel() * skill.GetLevel() + 187.6f * skill.GetLevel() + 813.1f); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill242Stub() : base(242) + { + cls = 6; + name = "惊雷"; + nativename = "惊雷"; + icon = "惊雷"; + max_level = 10; + type = 1; + apcost = 30; + arrowcost = 1; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1309; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "惊雷"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/惊雷飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/惊雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(241, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill242Stub() { } + + public override float GetMpcost(Skill skill) => (float)(90 + 18.8 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.2f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetReducegold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill242.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill242.cs.meta new file mode 100644 index 0000000000..a803643f6e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill242.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 677800baadf5444878d50acfad26da72 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2420.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2420.cs new file mode 100644 index 0000000000..d65f4479a7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2420.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2420 : Skill + { + public const int SKILL_ID = 2420; + + public Skill2420() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2420Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42154 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(24); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.SetPlus(5516); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2420Stub() : base(2420) + { + cls = 4; + name = "玄·兽王无敌"; + nativename = "玄·兽王无敌"; + icon = "兽王无敌1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 7; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1508; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1兽王无敌"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王无敌击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.0f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(506, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2420Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 0.2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(12 + skill.GetPlayer().GetRange() - 3.5); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 12,120)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdodge (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (2418); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (200); + skill.GetVictim ().SetInccountedsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetPlayer ().GetRange () - 3.5f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2420.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2420.cs.meta new file mode 100644 index 0000000000..a0b95fd0a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2420.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 59ec08aff906f483c914acf2860e2119 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2421.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2421.cs new file mode 100644 index 0000000000..7b6b62c8fd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2421.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2421 : Skill + { + public const int SKILL_ID = 2421; + + public Skill2421() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2421Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42155 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(24); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.SetPlus(5516); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2421Stub() : base(2421) + { + cls = 4; + name = "荒·兽王无敌"; + nativename = "荒·兽王无敌"; + icon = "兽王无敌2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1508; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1兽王无敌"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王无敌击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.0f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(507, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2421Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 0.2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(12 + skill.GetPlayer().GetRange() - 3.5); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 12,120)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdodge (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetValue (40); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetPlayer ().GetRange () - 3.5f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2421.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2421.cs.meta new file mode 100644 index 0000000000..2698839370 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2421.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 09185538942044ad8a396f08806a92a8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill243.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill243.cs new file mode 100644 index 0000000000..d7fa38a4e5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill243.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill243 : Skill + { + public const int SKILL_ID = 243; + + public Skill243() : base(SKILL_ID) + { + } + } +#endif + + public class Skill243Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 44, 48, 52, 56, 60, 64, 68, 72, 76, 80 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredMoneyArray = { 2480, 2880, 3280, 3680, 4980, 12980, 41980, 111980, 211980, 371980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(150 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(150 + 15 * skill.GetLevel())); + skill.SetPlus(2.7f * skill.GetLevel() * skill.GetLevel() + 173.4f * skill.GetLevel() + 1350.4f); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill243Stub() : base(243) + { + cls = 6; + name = "炸雷"; + nativename = "炸雷"; + icon = "炸雷"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 2; + apgain = 10; + attr = 2; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1310; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "炸雷"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/炸雷飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/炸雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(242, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill243Stub() { } + + public override float GetMpcost(Skill skill) => (float)(150 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(4 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill243.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill243.cs.meta new file mode 100644 index 0000000000..6600ee83e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill243.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0076b738014bf49069d20d666875ff5e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2438.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2438.cs new file mode 100644 index 0000000000..baab4879d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2438.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2438 : Skill + { + public const int SKILL_ID = 2438; + + public Skill2438() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2438Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42275 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(16); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(64); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2438Stub() : base(2438) + { + cls = 5; + name = "玄·深度冰刺"; + nativename = "玄·深度冰刺"; + icon = "冰剑护体仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1617; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1292, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2438Stub() { } + + public override float GetMpcost(Skill skill) => 80f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (40); + skill.GetVictim ().SetDeepicethrust (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2438.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2438.cs.meta new file mode 100644 index 0000000000..4aa3693a8c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2438.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8d78e299d1e094b56ae2ee03405da5ba \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2439.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2439.cs new file mode 100644 index 0000000000..c47836d2bb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2439.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2439 : Skill + { + public const int SKILL_ID = 2439; + + public Skill2439() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2439Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42276 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(16); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(64); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2439Stub() : base(2439) + { + cls = 5; + name = "荒·深度冰刺"; + nativename = "荒·深度冰刺"; + icon = "冰剑护体魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1617; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1293, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2439Stub() { } + + public override float GetMpcost(Skill skill) => 80f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetValue (35); + skill.GetVictim ().SetDeepicethrust (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2439.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2439.cs.meta new file mode 100644 index 0000000000..6005db437a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2439.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 16fd299f3dc22479b9a5907ff6803ce6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill244.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill244.cs new file mode 100644 index 0000000000..7fd2c001f9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill244.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill244 : Skill + { + public const int SKILL_ID = 244; + + public Skill244() : base(SKILL_ID) + { + } + } +#endif + + public class Skill244Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 6, 11, 16, 21, 26, 31, 36, 41, 46, 51 }; + private static readonly int[] RequiredSpArray = { 320, 1200, 2560, 4640, 7360, 11120, 16000, 22480, 31120, 42560 }; + private static readonly int[] RequiredMoneyArray = { 50, 160, 320, 530, 820, 1270, 1720, 2180, 2680, 3180 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(4.5f + 22.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(4.5f + 22.5f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill244Stub() : base(244) + { + cls = 6; + name = "烈焰之矢"; + nativename = "烈焰之矢"; + icon = "烈焰之矢"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1312; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill244Stub() { } + + public override float GetMpcost(Skill skill) => (float)(4.5 + 22.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.1f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetFirearrow (1); + skill.GetVictim ().SetClearinvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill244.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill244.cs.meta new file mode 100644 index 0000000000..8c08f64b32 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill244.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 67621c679433f4ac1b56e249c6ba31f2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill245.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill245.cs new file mode 100644 index 0000000000..1f732633a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill245.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill245 : Skill + { + public const int SKILL_ID = 245; + + public Skill245() : base(SKILL_ID) + { + } + } +#endif + + public class Skill245Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(6 + 7.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(6 + 7.5f * skill.GetLevel())); + skill.SetPlus(3.3f * skill.GetLevel() * skill.GetLevel() + 88.6f * skill.GetLevel() + 165.1f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill245Stub() : base(245) + { + cls = 6; + name = "寒冰之矢"; + nativename = "寒冰之矢"; + icon = "寒冰之矢"; + max_level = 10; + type = 1; + apcost = 25; + arrowcost = 1; + apgain = 0; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1313; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "寒冰之矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/寒冰之矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寒冰之矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(244, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill245Stub() { } + + public override float GetMpcost(Skill skill) => (float)(6 + 7.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + 150 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill245.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill245.cs.meta new file mode 100644 index 0000000000..582a6e942b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill245.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b61fedc68039849c7a897730770e8ee0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2451.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2451.cs new file mode 100644 index 0000000000..d79ca47bc5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2451.cs @@ -0,0 +1,287 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2451 : Skill + { + public const int SKILL_ID = 2451; + + public Skill2451() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2451Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42278 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(90); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(14994); + skill.SetRatio(7.5f); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(14994); + skill.SetRatio(7.5f); + skill.SetDamage(0.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(14994); + skill.SetRatio(7.5f); + skill.SetDamage(0.15f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 1250; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(14994); + skill.SetRatio(7.5f); + skill.SetDamage(0.5f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2451Stub() : base(2451) + { + cls = 5; + name = "荒·神威狱"; + nativename = "荒·神威狱"; + icon = "荒·杀戮盛宴"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1622; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_十字斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_十字斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1291, 1); + pre_skills.Add(1305, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2451Stub() { } + + public override float GetMpcost(Skill skill) => 290f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 4f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2451.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2451.cs.meta new file mode 100644 index 0000000000..4779b58c40 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill2451.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1e0d5554b75c3448e9d214de1adc5a89 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill246.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill246.cs new file mode 100644 index 0000000000..c5e893bb23 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill246.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill246 : Skill + { + public const int SKILL_ID = 246; + + public Skill246() : base(SKILL_ID) + { + } + } +#endif + + public class Skill246Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(21 + 7.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(21 + 7.5f * skill.GetLevel())); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill246Stub() : base(246) + { + cls = 6; + name = "蛇蝎之矢"; + nativename = "蛇蝎之矢"; + icon = "蛇蝎之矢"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 10; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1314; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "蛇蝎之矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蛇蝎之矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/蛇蝎之矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(245, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill246Stub() { } + + public override float GetMpcost(Skill skill) => (float)(21 + 7.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => -1000 - 200 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (6.9f * skill.GetLevel () * skill.GetLevel () + 188 * skill.GetLevel () + 539.1f); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill246.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill246.cs.meta new file mode 100644 index 0000000000..46d2d71bf8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill246.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 53929a7fd07484f3eba6585d9324243c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill247.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill247.cs new file mode 100644 index 0000000000..efa171b02d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill247.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill247 : Skill + { + public const int SKILL_ID = 247; + + public Skill247() : base(SKILL_ID) + { + } + } +#endif + + public class Skill247Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 34, 39, 44, 49, 54, 59, 64, 69, 74, 79 }; + private static readonly int[] RequiredSpArray = { 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000, 399000 }; + private static readonly int[] RequiredMoneyArray = { 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980, 331980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(43.5f + 7.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(43.5f + 7.5f * skill.GetLevel())); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill247Stub() : base(247) + { + cls = 6; + name = "尖牙之矢"; + nativename = "尖牙之矢"; + icon = "尖牙之矢"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1315; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "尖牙之矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/尖牙之矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/尖牙之矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(246, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill247Stub() { } + + public override float GetMpcost(Skill skill) => (float)(43.5 + 7.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (7.5f * skill.GetLevel () * skill.GetLevel () + 258 * skill.GetLevel () + 1241.4f); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill247.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill247.cs.meta new file mode 100644 index 0000000000..f51715316c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill247.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f0c5ba46c262443f7bb14b79e7a176f3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill248.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill248.cs new file mode 100644 index 0000000000..1c5bbbc5d5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill248.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill248 : Skill + { + public const int SKILL_ID = 248; + + public Skill248() : base(SKILL_ID) + { + } + } +#endif + + public class Skill248Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(67.5f + 6 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(67.5f + 6 * skill.GetLevel())); + skill.SetPlus(1.9f * skill.GetLevel() * skill.GetLevel() + 146.4f * skill.GetLevel() + 1247.5f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill248Stub() : base(248) + { + cls = 6; + name = "利齿之矢"; + nativename = "利齿之矢"; + icon = "利齿之矢"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 12; + attr = 1; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1316; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "利齿之矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/利齿之矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/利齿之矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(247, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill248Stub() { } + + public override float GetMpcost(Skill skill) => (float)(67.5 + 6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 200 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.011f + 0.015f * skill.GetLevel ()); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill248.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill248.cs.meta new file mode 100644 index 0000000000..a80274d55c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill248.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 656943455676243179932ce7697add71 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill249.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill249.cs new file mode 100644 index 0000000000..37ef3a42bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill249.cs @@ -0,0 +1,170 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill249 : Skill + { + public const int SKILL_ID = 249; + + public Skill249() : base(SKILL_ID) + { + } + } +#endif + + public class Skill249Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 800, 1920, 3680, 6160, 9440, 13840, 19680, 27360, 37600, 51200 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(18 + 22 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(18 + 22 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill249Stub() : base(249) + { + cls = 6; + name = "翼盾"; + nativename = "翼盾"; + icon = "翼盾"; + max_level = 10; + type = 2; + apcost = 45; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1317; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill249Stub() { } + + public override float GetMpcost(Skill skill) => (float)(18 + 22 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetAmount (60 + 75 * skill.GetLevel ()); + skill.GetVictim ().SetValue (4 + 6 * skill.GetLevel ()); + skill.GetVictim ().SetWingshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill249.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill249.cs.meta new file mode 100644 index 0000000000..b677203ef0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill249.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 52f28c58f4888439d87c9cfd1b613b38 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill250.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill250.cs new file mode 100644 index 0000000000..6150f5c356 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill250.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill250 : Skill + { + public const int SKILL_ID = 250; + + public Skill250() : base(SKILL_ID) + { + } + } +#endif + + public class Skill250Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 23, 28, 33, 38, 43, 48, 53, 58, 63, 68 }; + private static readonly int[] RequiredSpArray = { 7000, 10900, 16100, 23000, 32000, 44100, 60200, 81800, 111000, 151000 }; + private static readonly int[] RequiredMoneyArray = { 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880, 10980, 41980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(54 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(54 + 15 * skill.GetLevel())); + skill.SetPlus(3.6f * skill.GetLevel() * skill.GetLevel() + 127.2f * skill.GetLevel() + 466.3f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill250Stub() : base(250) + { + cls = 6; + name = "翼击"; + nativename = "翼击"; + icon = "翼击"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 2; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1318; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "翼击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/翼击击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 3.0f; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(249, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill250Stub() { } + + public override float GetMpcost(Skill skill) => (float)(54 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill250.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill250.cs.meta new file mode 100644 index 0000000000..fa74d32d5b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill250.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2641d39dc37a5431ead0391fd743d8f3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill251.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill251.cs new file mode 100644 index 0000000000..36ce73d183 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill251.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill251 : Skill + { + public const int SKILL_ID = 251; + + public Skill251() : base(SKILL_ID) + { + } + } +#endif + + public class Skill251Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(157.5f + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(157.5f + 18 * skill.GetLevel())); + skill.SetPlus(2.4f * skill.GetLevel() * skill.GetLevel() + 153.5f * skill.GetLevel() + 1069.8f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill251Stub() : base(251) + { + cls = 6; + name = "翼展"; + nativename = "翼展"; + icon = "翼展"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 8; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1319; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "翼展"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/翼击击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 3.0f; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(250, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill251Stub() { } + + public override float GetMpcost(Skill skill) => (float)(157.5 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (6 + 0.3f * skill.GetLevel ()); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill251.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill251.cs.meta new file mode 100644 index 0000000000..a448696d31 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill251.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fc7fa4439c6a940b8bd16c202d837170 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill252.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill252.cs new file mode 100644 index 0000000000..2ea61c0a85 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill252.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill252 : Skill + { + public const int SKILL_ID = 252; + + public Skill252() : base(SKILL_ID) + { + } + } +#endif + + public class Skill252Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 69600 }; + private static readonly int[] RequiredMoneyArray = { 3980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill252Stub() : base(252) + { + cls = 6; + name = "神鹰翼扬"; + nativename = "神鹰翼扬"; + icon = "神鹰翼扬"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1320; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "神鹰之翼"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神鹰之翼击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(251, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill252Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetFreemove (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill252.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill252.cs.meta new file mode 100644 index 0000000000..4af893c25c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill252.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f31d3e1a3242c4f08a04ea0b9df1507e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill253.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill253.cs new file mode 100644 index 0000000000..3d3ca0c40b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill253.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill253 : Skill + { + public const int SKILL_ID = 253; + + public Skill253() : base(SKILL_ID) + { + } + } +#endif + + public class Skill253Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(252 + 13.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(252 + 13.5f * skill.GetLevel())); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill253Stub() : base(253) + { + cls = 6; + name = "狂雷天鹰"; + nativename = "狂雷天鹰"; + icon = "狂雷天鹰"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 1; + apgain = 0; + attr = 2; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1311; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "狂雷天鹰"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/狂雷天鹰飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狂雷天鹰击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(243, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill253Stub() { } + + public override float GetMpcost(Skill skill) => (float)(252 + 13.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 800 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetAmount (7.2f * skill.GetLevel () * skill.GetLevel () + 450.9f * skill.GetLevel () + 5922.2f); + skill.GetVictim ().SetEaglecurse (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill253.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill253.cs.meta new file mode 100644 index 0000000000..464a67eff3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill253.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 91543e642759547cdb9e35053682acfa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill254.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill254.cs new file mode 100644 index 0000000000..57e0c2e0e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill254.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill254 : Skill + { + public const int SKILL_ID = 254; + + public Skill254() : base(SKILL_ID) + { + } + } +#endif + + public class Skill254Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 23, 28, 33, 38, 43, 48, 53, 58, 63, 68 }; + private static readonly int[] RequiredSpArray = { 5250, 8175, 12075, 17250, 24000, 33075, 45150, 61350, 83250, 113250 }; + private static readonly int[] RequiredMoneyArray = { 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880, 10980, 41980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(27 + 7.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(27 + 7.5f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill254Stub() : base(254) + { + cls = 6; + name = "羽之守护"; + nativename = "羽之守护"; + icon = "羽之守护(神鹰祝福)"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1321; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "神鹰祝福"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神鹰祝福.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill254Stub() { } + + public override float GetMpcost(Skill skill) => (float)(27 + 7.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.05f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetIncdodge (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.15f); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill254.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill254.cs.meta new file mode 100644 index 0000000000..cd68e387c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill254.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e0e9f23f7832346c48f27614bde371d6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill255.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill255.cs new file mode 100644 index 0000000000..400e6d8a72 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill255.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill255 : Skill + { + public const int SKILL_ID = 255; + + public Skill255() : base(SKILL_ID) + { + } + } +#endif + + public class Skill255Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + + public Skill255Stub() : base(255) + { + cls = 6; + name = "百步穿杨"; + nativename = "百步穿杨"; + icon = "百步穿杨"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 1; + eventflag = 2; + posdouble = 0; + time_type = 0; + showorder = 1323; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill255Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncrange (skill.GetLevel () + 1); + return true; + } + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill255.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill255.cs.meta new file mode 100644 index 0000000000..cd6b39177d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill255.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f62bd4ff84620459aa8c80dd431e0e1a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill256.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill256.cs new file mode 100644 index 0000000000..2ea9be1096 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill256.cs @@ -0,0 +1,102 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill256 : Skill + { + public const int SKILL_ID = 256; + + public Skill256() : base(SKILL_ID) + { + } + } +#endif + + public class Skill256Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill256Stub() : base(256) + { + cls = 6; + name = "弓弩精通"; + nativename = "弓弩精通"; + icon = "弓弩精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 2; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1324; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill256Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncbow (0.06f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill256.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill256.cs.meta new file mode 100644 index 0000000000..2c39a8dedd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill256.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b0aa7fc3b61f94744917b69ba41c1982 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill257.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill257.cs new file mode 100644 index 0000000000..e11ad2266e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill257.cs @@ -0,0 +1,173 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill257 : Skill + { + public const int SKILL_ID = 257; + + public Skill257() : base(SKILL_ID) + { + } + } +#endif + + public class Skill257Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29 }; + private static readonly int[] RequiredSpArray = { 18, 000 }; + private static readonly int[] RequiredMoneyArray = { 23, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill257Stub() : base(257) + { + cls = 6; + name = "真元爆发"; + nativename = "真元爆发"; + icon = "爆气1"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2121; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(291); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill257Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetClearinvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill257.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill257.cs.meta new file mode 100644 index 0000000000..cb6fd9276a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill257.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f7e902db85486445faaabca027a56330 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill258.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill258.cs new file mode 100644 index 0000000000..2f27d0598a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill258.cs @@ -0,0 +1,174 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill258 : Skill + { + public const int SKILL_ID = 258; + + public Skill258() : base(SKILL_ID) + { + } + } +#endif + + public class Skill258Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 130, 000 }; + private static readonly int[] RequiredMoneyArray = { 180, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill258Stub() : base(258) + { + cls = 6; + name = "高级真元爆发"; + nativename = "高级真元爆发"; + icon = "爆气2"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2122; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill258Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible3 (1); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetClearinvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill258.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill258.cs.meta new file mode 100644 index 0000000000..fb00ca3131 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill258.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 75fd1c26630cd49ddba892a71671406b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill274.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill274.cs new file mode 100644 index 0000000000..77a1626aba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill274.cs @@ -0,0 +1,100 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill274 : Skill + { + public const int SKILL_ID = 274; + + public Skill274() : base(SKILL_ID) + { + } + } +#endif + + public class Skill274Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 500, 1200, 2300, 3850, 5900, 8650, 12300, 17100, 23500, 32000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + + public Skill274Stub() : base(274) + { + cls = 6; + name = "飞行精通"; + nativename = "飞行精通"; + icon = "飞行精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 1; + eventflag = 2; + posdouble = 0; + time_type = 0; + showorder = 1322; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill274Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncfeather (0.2f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill274.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill274.cs.meta new file mode 100644 index 0000000000..33f295642c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill274.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8ae80dc86d2054b1c9f00a639d3bc319 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill366.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill366.cs new file mode 100644 index 0000000000..abe65980a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill366.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill366 : Skill + { + public const int SKILL_ID = 366; + + public Skill366() : base(SKILL_ID) + { + } + } +#endif + + public class Skill366Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill366Stub() : base(366) + { + cls = 4; + name = "仙元爆发"; + nativename = "仙元爆发"; + icon = "仙元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2133; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill366Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill366.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill366.cs.meta new file mode 100644 index 0000000000..b776e1e74e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill366.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 523f33e7374384668be3b562b42cd485 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill367.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill367.cs new file mode 100644 index 0000000000..1f247d779c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill367.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill367 : Skill + { + public const int SKILL_ID = 367; + + public Skill367() : base(SKILL_ID) + { + } + } +#endif + + public class Skill367Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill367Stub() : base(367) + { + cls = 4; + name = "魔元爆发"; + nativename = "魔元爆发"; + icon = "魔元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2134; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill367Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill367.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill367.cs.meta new file mode 100644 index 0000000000..9442ec6a8b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill367.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d13f705dc2e90450b96ba1da2ce6e237 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill370.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill370.cs new file mode 100644 index 0000000000..fae867db7f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill370.cs @@ -0,0 +1,176 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill370 : Skill + { + public const int SKILL_ID = 370; + + public Skill370() : base(SKILL_ID) + { + } + } +#endif + + public class Skill370Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill370Stub() : base(370) + { + cls = 6; + name = "仙元爆发"; + nativename = "仙元爆发"; + icon = "仙元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2123; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill370Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible3 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetClearinvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill370.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill370.cs.meta new file mode 100644 index 0000000000..6a9e5e8098 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill370.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 184f3fbae5a02426cb3c6b40ef7941f6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill371.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill371.cs new file mode 100644 index 0000000000..2f910471f0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill371.cs @@ -0,0 +1,176 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill371 : Skill + { + public const int SKILL_ID = 371; + + public Skill371() : base(SKILL_ID) + { + } + } +#endif + + public class Skill371Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill371Stub() : base(371) + { + cls = 6; + name = "魔元爆发"; + nativename = "魔元爆发"; + icon = "魔元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2124; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill371Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible3 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetClearinvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill371.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill371.cs.meta new file mode 100644 index 0000000000..89a1912fa3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill371.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e6e4058ce427f466795b7d7a816f7c67 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill492.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill492.cs new file mode 100644 index 0000000000..f5f7ca1dc3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill492.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill492 : Skill + { + public const int SKILL_ID = 492; + + public Skill492() : base(SKILL_ID) + { + } + } +#endif + + public class Skill492Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9563 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(18); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(72); + skill.SetPlus(1920); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill492Stub() : base(492) + { + cls = 4; + name = "真·兽王锤"; + nativename = "真·兽王锤"; + icon = "兽王锤1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1501; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1兽王锤"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(102, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill492Stub() { } + + public override float GetMpcost(Skill skill) => 90f; + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 90,1920)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 11.7f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.7f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill492.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill492.cs.meta new file mode 100644 index 0000000000..8eb1fa6369 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill492.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: feab796e273c04782aa20446446e82c9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill493.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill493.cs new file mode 100644 index 0000000000..49365054ec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill493.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill493 : Skill + { + public const int SKILL_ID = 493; + + public Skill493() : base(SKILL_ID) + { + } + } +#endif + + public class Skill493Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9564 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(18); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(72); + skill.SetPlus(1920); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill493Stub() : base(493) + { + cls = 4; + name = "狂·兽王锤"; + nativename = "狂·兽王锤"; + icon = "兽王锤2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1501; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2兽王锤"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(102, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill493Stub() { } + + public override float GetMpcost(Skill skill) => 90f; + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 90,1920)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 11.7f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.7f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill493.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill493.cs.meta new file mode 100644 index 0000000000..cdff7c09bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill493.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 55dff713615c54a80bb6dfeec7a365c8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill494.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill494.cs new file mode 100644 index 0000000000..c27210c9e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill494.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill494 : Skill + { + public const int SKILL_ID = 494; + + public Skill494() : base(SKILL_ID) + { + } + } +#endif + + public class Skill494Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9565 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(14); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(56); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill494Stub() : base(494) + { + cls = 4; + name = "真·绞杀"; + nativename = "真·绞杀"; + icon = "绞杀1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 1; + rank = 20; + eventflag = 4; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1502; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1绞杀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/绞杀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(195, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill494Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 70,3897)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12.5f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 2f; + public float GetTalent0(PlayerWrapper player) => 5067; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill494.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill494.cs.meta new file mode 100644 index 0000000000..1e73cef229 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill494.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9a583ac39586b4f78ad6b906e135d04f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill495.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill495.cs new file mode 100644 index 0000000000..0fc19b9f7b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill495.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill495 : Skill + { + public const int SKILL_ID = 495; + + public Skill495() : base(SKILL_ID) + { + } + } +#endif + + public class Skill495Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9566 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(14); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(56); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill495Stub() : base(495) + { + cls = 4; + name = "狂·绞杀"; + nativename = "狂·绞杀"; + icon = "绞杀2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 1; + rank = 30; + eventflag = 4; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1502; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2绞杀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/绞杀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(195, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill495Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 70,3897)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12.5f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 2f; + public float GetTalent0(PlayerWrapper player) => 3897; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill495.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill495.cs.meta new file mode 100644 index 0000000000..55c9f3b85f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill495.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2d1df28aa16724ad5a4e515757a24114 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill496.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill496.cs new file mode 100644 index 0000000000..bf5267c08d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill496.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill496 : Skill + { + public const int SKILL_ID = 496; + + public Skill496() : base(SKILL_ID) + { + } + } +#endif + + public class Skill496Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9567 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(108); + skill.SetPlus(1785); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill496Stub() : base(496) + { + cls = 4; + name = "真·巨浪"; + nativename = "真·巨浪"; + icon = "巨浪1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1503; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1巨浪"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巨浪击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(12, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill496Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 135); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 135,1785)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill496.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill496.cs.meta new file mode 100644 index 0000000000..ad71a70d9a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill496.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9b81702b4fe114ddb91a41729face09c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill497.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill497.cs new file mode 100644 index 0000000000..6e35f6b0ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill497.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill497 : Skill + { + public const int SKILL_ID = 497; + + public Skill497() : base(SKILL_ID) + { + } + } +#endif + + public class Skill497Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9568 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(108); + skill.SetPlus(1785); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill497Stub() : base(497) + { + cls = 4; + name = "狂·巨浪"; + nativename = "狂·巨浪"; + icon = "巨浪2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1503; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2巨浪"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巨浪击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(12, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill497Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 135,1785)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill497.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill497.cs.meta new file mode 100644 index 0000000000..1778e84e94 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill497.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cc016cb7b42e74259a6cc60ccbaedc82 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill498.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill498.cs new file mode 100644 index 0000000000..fccc873f51 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill498.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill498 : Skill + { + public const int SKILL_ID = 498; + + public Skill498() : base(SKILL_ID) + { + } + } +#endif + + public class Skill498Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9569 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(108); + skill.SetPlus(2227); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill498Stub() : base(498) + { + cls = 4; + name = "真·千斤锤"; + nativename = "真·千斤锤"; + icon = "千斤锤1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 7; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1504; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2千斤锤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/千金锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(104, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill498Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 135,50)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.7f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill498.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill498.cs.meta new file mode 100644 index 0000000000..8495d09661 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill498.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0d679d4f5ad9e44f99ee30fe1ba9445b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill499.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill499.cs new file mode 100644 index 0000000000..f28806d402 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill499.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill499 : Skill + { + public const int SKILL_ID = 499; + + public Skill499() : base(SKILL_ID) + { + } + } +#endif + + public class Skill499Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9570 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(108); + skill.SetPlus(2227); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill499Stub() : base(499) + { + cls = 4; + name = "狂·千斤锤"; + nativename = "狂·千斤锤"; + icon = "千斤锤2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 7; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1504; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2千斤锤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/千金锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(104, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill499Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 135,50)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 60); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13.3f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1.7f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill499.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill499.cs.meta new file mode 100644 index 0000000000..c42549a9f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill499.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 468f3fcf5c6b945b09d131bcd2a7a89f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill500.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill500.cs new file mode 100644 index 0000000000..7f68f2300f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill500.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill500 : Skill + { + public const int SKILL_ID = 500; + + public Skill500() : base(SKILL_ID) + { + } + } +#endif + + public class Skill500Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9571 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(24); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.SetPlus(3129); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill500Stub() : base(500) + { + cls = 4; + name = "真·破甲一击"; + nativename = "真·破甲一击"; + icon = "破甲一击1"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1504; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1破甲一击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/破甲一击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(106, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill500Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 120)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 4000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.45f); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 11.7f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1.7f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill500.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill500.cs.meta new file mode 100644 index 0000000000..54389b4f1d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill500.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1a4c33ea3248c400d935be6831fdb0d8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill501.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill501.cs new file mode 100644 index 0000000000..156e69809c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill501.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill501 : Skill + { + public const int SKILL_ID = 501; + + public Skill501() : base(SKILL_ID) + { + } + } +#endif + + public class Skill501Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9572 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(24); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.SetPlus(3129); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill501Stub() : base(501) + { + cls = 4; + name = "狂·破甲一击"; + nativename = "狂·破甲一击"; + icon = "破甲一击2"; + max_level = 1; + type = 1; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1505; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2破甲一击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/破甲一击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(106, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill501Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 0.2 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 120)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 4000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 11.7f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1.7f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill501.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill501.cs.meta new file mode 100644 index 0000000000..5981d2fb10 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill501.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 96c141ce0350341489e0488ac54663b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill502.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill502.cs new file mode 100644 index 0000000000..522ea43559 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill502.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill502 : Skill + { + public const int SKILL_ID = 502; + + public Skill502() : base(SKILL_ID) + { + } + } +#endif + + public class Skill502Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9573 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(22); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(88); + skill.SetPlus(0); + skill.SetRatio(2); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill502Stub() : base(502) + { + cls = 4; + name = "真·风火轮"; + nativename = "真·风火轮"; + icon = "风火轮1"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1506; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1风火轮"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/风火轮击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(105, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill502Stub() { } + + public override float GetMpcost(Skill skill) => 110f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 3.5f; + public float GetAttackdistance(Skill skill) => 12f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 110)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8f; + public int GetAttackspeed(Skill skill) => 15; + public float GetHitrate(Skill skill) => 2.5f; + public float GetTalent0(PlayerWrapper player) => 3 * player.GetWeapondamage () + 6836; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill502.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill502.cs.meta new file mode 100644 index 0000000000..3c3cf617dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill502.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7d92594ad58044e5a85f0da72751dd63 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill503.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill503.cs new file mode 100644 index 0000000000..7e2624b9e4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill503.cs @@ -0,0 +1,213 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill503 : Skill + { + public const int SKILL_ID = 503; + + public Skill503() : base(SKILL_ID) + { + } + } +#endif + + public class Skill503Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9574 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(22); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(88); + skill.SetPlus(0); + skill.SetRatio(2); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill503Stub() : base(503) + { + cls = 4; + name = "狂·风火轮"; + nativename = "狂·风火轮"; + icon = "风火轮2"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1506; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2风火轮"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/风火轮击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(105, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill503Stub() { } + + public override float GetMpcost(Skill skill) => 110f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 3.5f; + public float GetAttackdistance(Skill skill) => 12f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 110)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8f; + public int GetAttackspeed(Skill skill) => 15; + public float GetHitrate(Skill skill) => 2.5f; + public float GetTalent0(PlayerWrapper player) => 3 * player.GetWeapondamage () + 4336; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill503.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill503.cs.meta new file mode 100644 index 0000000000..cbbfeebe9e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill503.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3745e57a3dd2a4327af66ddba1376974 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill504.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill504.cs new file mode 100644 index 0000000000..8762a81141 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill504.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill504 : Skill + { + public const int SKILL_ID = 504; + + public Skill504() : base(SKILL_ID) + { + } + } +#endif + + public class Skill504Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9575 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(30); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.SetPlus(3373); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill504Stub() : base(504) + { + cls = 4; + name = "真·地裂"; + nativename = "真·地裂"; + icon = "地裂1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 12; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1507; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1地裂"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/地裂击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(107, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill504Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 0.2 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150,9)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (9); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill504.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill504.cs.meta new file mode 100644 index 0000000000..afb7a6951a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill504.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5affe54c8322a4cd09b52d0f05b69a8e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill505.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill505.cs new file mode 100644 index 0000000000..cb8b1e9a0f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill505.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill505 : Skill + { + public const int SKILL_ID = 505; + + public Skill505() : base(SKILL_ID) + { + } + } +#endif + + public class Skill505Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9576 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(30); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.SetPlus(3373); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill505Stub() : base(505) + { + cls = 4; + name = "狂·地裂"; + nativename = "狂·地裂"; + icon = "地裂2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1507; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2地裂"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/地裂击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(107, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill505Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 0.2 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150,9)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (9); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill505.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill505.cs.meta new file mode 100644 index 0000000000..69d7bde826 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill505.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7f64fd9997bd34a50b6ac9ea169de14c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill506.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill506.cs new file mode 100644 index 0000000000..d335b22531 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill506.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill506 : Skill + { + public const int SKILL_ID = 506; + + public Skill506() : base(SKILL_ID) + { + } + } +#endif + + public class Skill506Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9577 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(24); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.SetPlus(3600); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill506Stub() : base(506) + { + cls = 4; + name = "真·兽王无敌"; + nativename = "真·兽王无敌"; + icon = "兽王无敌1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 7; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1508; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1兽王无敌"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王无敌击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.0f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(108, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill506Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 0.2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(12 + skill.GetPlayer().GetRange() - 3.5); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 12,120)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetPlayer ().GetRange () - 3.5f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill506.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill506.cs.meta new file mode 100644 index 0000000000..2f40323081 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill506.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 371c2ca9e0bd347059e492defbbf4879 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill507.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill507.cs new file mode 100644 index 0000000000..9f11703509 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill507.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill507 : Skill + { + public const int SKILL_ID = 507; + + public Skill507() : base(SKILL_ID) + { + } + } +#endif + + public class Skill507Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9578 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(24); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.SetPlus(3600); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill507Stub() : base(507) + { + cls = 4; + name = "狂·兽王无敌"; + nativename = "狂·兽王无敌"; + icon = "兽王无敌2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1508; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2兽王无敌"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王无敌击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.0f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(108, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill507Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 0.2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(12 + skill.GetPlayer().GetRange() - 3.5); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 12,120)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdodge (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetValue (35); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + skill.GetPlayer ().GetRange () - 3.5f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill507.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill507.cs.meta new file mode 100644 index 0000000000..b4e8c1a281 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill507.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 91cb555cc623e44ab845d4a03ac5f4a3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill508.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill508.cs new file mode 100644 index 0000000000..41496e0c40 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill508.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill508 : Skill + { + public const int SKILL_ID = 508; + + public Skill508() : base(SKILL_ID) + { + } + } +#endif + + public class Skill508Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9579 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetPlus(5000 +(skill.GetPlayer().GetHp() / 2 + skill.GetPlayer().GetMp() / 2) * 4); + skill.GetPlayer().SetHp(skill.GetPlayer().GetHp() * 0.575f); + skill.GetPlayer().SetMp(skill.GetPlayer().GetMp() * 0.575f); + skill.SetDamage(skill.GetPlus()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill508Stub() : base(508) + { + cls = 4; + name = "真·毁天灭地"; + nativename = "真·毁天灭地"; + icon = "毁天灭地1"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1509; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1毁天灭地"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/毁天灭地击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(13, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill508Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 4)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 12000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill508.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill508.cs.meta new file mode 100644 index 0000000000..2913b01fc8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill508.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0171ef86350aa4a54ac97c197fb75939 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill509.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill509.cs new file mode 100644 index 0000000000..f113bc6eec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill509.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill509 : Skill + { + public const int SKILL_ID = 509; + + public Skill509() : base(SKILL_ID) + { + } + } +#endif + + public class Skill509Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9580 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetPlus(5500 +(skill.GetPlayer().GetHp() / 2 + skill.GetPlayer().GetMp() / 2) * 4.4f); + skill.GetPlayer().SetHp(skill.GetPlayer().GetHp() / 2); + skill.GetPlayer().SetMp(skill.GetPlayer().GetMp() / 2); + skill.SetDamage(skill.GetPlus()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill509Stub() : base(509) + { + cls = 4; + name = "狂·毁天灭地"; + nativename = "狂·毁天灭地"; + icon = "毁天灭地2"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1509; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2毁天灭地"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/毁天灭地击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(13, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill509Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 4)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 12000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill509.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill509.cs.meta new file mode 100644 index 0000000000..b220b44a79 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill509.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 444f79df9f4c547fc97fe9d5c63648ce \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill510.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill510.cs new file mode 100644 index 0000000000..ca3ae081d1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill510.cs @@ -0,0 +1,106 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill510 : Skill + { + public const int SKILL_ID = 510; + + public Skill510() : base(SKILL_ID) + { + } + } +#endif + + public class Skill510Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9581 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + + public Skill510Stub() : base(510) + { + cls = 4; + name = "真·野性回复"; + nativename = "真·野性回复"; + icon = "野性回复1"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 1; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1510; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(109, 10); + + } + + ~Skill510Stub() { } + + public override float GetMpcost(Skill skill) => (float)(18 + skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 4000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 3 + 0.2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 25)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetInchpgen (50); + skill.GetPlayer ().SetIncmpgen (20); + return true; + } + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill510.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill510.cs.meta new file mode 100644 index 0000000000..5f65dadded --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill510.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 10102a977ee94490d962eafedd3f7b92 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill511.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill511.cs new file mode 100644 index 0000000000..7dc45d5f76 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill511.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill511 : Skill + { + public const int SKILL_ID = 511; + + public Skill511() : base(SKILL_ID) + { + } + } +#endif + + public class Skill511Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9582 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + + public Skill511Stub() : base(511) + { + cls = 4; + name = "狂·野性回复"; + nativename = "狂·野性回复"; + icon = "野性回复2"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 1; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1510; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(109, 10); + + } + + ~Skill511Stub() { } + + public override float GetMpcost(Skill skill) => (float)(18 + skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 4000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 *(20 + 2.5 * skill.GetLevel())); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange() + 3 + 0.2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 25)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetInchpgen (70); + return true; + } + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill511.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill511.cs.meta new file mode 100644 index 0000000000..3252884a09 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill511.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b175364bb163b450da89a5d9808cbaa4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill512.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill512.cs new file mode 100644 index 0000000000..00716bd8a1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill512.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill512 : Skill + { + public const int SKILL_ID = 512; + + public Skill512() : base(SKILL_ID) + { + } + } +#endif + + public class Skill512Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9583 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(99); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(396); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill512Stub() : base(512) + { + cls = 4; + name = "真·兽王鼓舞"; + nativename = "真·兽王鼓舞"; + icon = "兽王鼓舞1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1511; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1兽王鼓舞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王鼓舞击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(82, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill512Stub() { } + + public override float GetMpcost(Skill skill) => 495f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 495,35)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill512.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill512.cs.meta new file mode 100644 index 0000000000..57ed7c7552 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill512.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fe49dd3f8ef344b3aa93f87e3fe69644 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill513.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill513.cs new file mode 100644 index 0000000000..59e7ca4e0d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill513.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill513 : Skill + { + public const int SKILL_ID = 513; + + public Skill513() : base(SKILL_ID) + { + } + } +#endif + + public class Skill513Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9584 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(99); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(396); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill513Stub() : base(513) + { + cls = 4; + name = "狂·兽王鼓舞"; + nativename = "狂·兽王鼓舞"; + icon = "兽王鼓舞2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1511; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2兽王鼓舞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王鼓舞击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(82, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill513Stub() { } + + public override float GetMpcost(Skill skill) => 495f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 495,35)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetInchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill513.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill513.cs.meta new file mode 100644 index 0000000000..912c04ae04 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill513.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e0f0208c284fb4cd38d7b18a17f956e2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill514.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill514.cs new file mode 100644 index 0000000000..14e19efd76 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill514.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill514 : Skill + { + public const int SKILL_ID = 514; + + public Skill514() : base(SKILL_ID) + { + } + } +#endif + + public class Skill514Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9585 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetHp(skill.GetPlayer().GetHp() * 0.9f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill514Stub() : base(514) + { + cls = 4; + name = "真·化血成魔"; + nativename = "真·化血成魔"; + icon = "化血成魔1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1512; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1化血成魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(111, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill514Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 100, + 8, + 225)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetAmount (2.25f); + skill.GetVictim ().SetDevilstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill514.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill514.cs.meta new file mode 100644 index 0000000000..5a3503a73a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill514.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 69bd5e85cf895444fa2b417b40c39976 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill515.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill515.cs new file mode 100644 index 0000000000..da5cad975c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill515.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill515 : Skill + { + public const int SKILL_ID = 515; + + public Skill515() : base(SKILL_ID) + { + } + } +#endif + + public class Skill515Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9586 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetHp(skill.GetPlayer().GetHp() * 0.85f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill515Stub() : base(515) + { + cls = 4; + name = "狂·化血成魔"; + nativename = "狂·化血成魔"; + icon = "化血成魔2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1512; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2化血成魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(111, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill515Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 100, + 8, + 225)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.08f); + skill.GetVictim ().SetAmount (3); + skill.GetVictim ().SetDevilstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 3.33f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill515.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill515.cs.meta new file mode 100644 index 0000000000..a56e2b8e99 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill515.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fdd929d2f3f6548559788e6a6f6fa5f7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill516.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill516.cs new file mode 100644 index 0000000000..f37394f539 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill516.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill516 : Skill + { + public const int SKILL_ID = 516; + + public Skill516() : base(SKILL_ID) + { + } + } +#endif + + public class Skill516Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9587 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(99); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(496); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill516Stub() : base(516) + { + cls = 4; + name = "真·巨灵神力"; + nativename = "真·巨灵神力"; + icon = "巨灵神力1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1513; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(83, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill516Stub() { } + + public override float GetMpcost(Skill skill) => 595f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 595,40)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetGiant (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 15; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill516.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill516.cs.meta new file mode 100644 index 0000000000..61c225fb92 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill516.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e90c76b5182e94bddbc549153aa31d2a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill517.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill517.cs new file mode 100644 index 0000000000..150fd861ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill517.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill517 : Skill + { + public const int SKILL_ID = 517; + + public Skill517() : base(SKILL_ID) + { + } + } +#endif + + public class Skill517Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9588 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(99); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(496); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill517Stub() : base(517) + { + cls = 4; + name = "狂·巨灵神力"; + nativename = "狂·巨灵神力"; + icon = "巨灵神力2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1513; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(83, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill517Stub() { } + + public override float GetMpcost(Skill skill) => 595f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 595,40)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetGiant (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetValue (5); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 15; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill517.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill517.cs.meta new file mode 100644 index 0000000000..cc0cbb94cf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill517.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 15ae7ff14d894408ab2400012a6260cd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill518.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill518.cs new file mode 100644 index 0000000000..b273705eae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill518.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill518 : Skill + { + public const int SKILL_ID = 518; + + public Skill518() : base(SKILL_ID) + { + } + } +#endif + + public class Skill518Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9589 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill518Stub() : base(518) + { + cls = 4; + name = "真·白虎变"; + nativename = "真·白虎变"; + icon = "白虎变1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 1; + showorder = 1514; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1白虎变"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/白虎变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(112, 3); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill518Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 100, + 30, + 90, + 50)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0.4f); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (0.9f); + skill.GetVictim ().SetValue (-0.5f); + skill.GetVictim ().SetTigerform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill518.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill518.cs.meta new file mode 100644 index 0000000000..0bee9c2036 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill518.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 54080f1033aee459587e7c7fae940c34 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill519.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill519.cs new file mode 100644 index 0000000000..82d36a3d31 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill519.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill519 : Skill + { + public const int SKILL_ID = 519; + + public Skill519() : base(SKILL_ID) + { + } + } +#endif + + public class Skill519Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9590 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill519Stub() : base(519) + { + cls = 4; + name = "狂·白虎变"; + nativename = "狂·白虎变"; + icon = "白虎变2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 1; + showorder = 1514; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2白虎变"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/白虎变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(112, 3); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill519Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 100, + 30, + 80, + 50)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0.3f); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (0.8f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetTigerform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill519.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill519.cs.meta new file mode 100644 index 0000000000..794a9c2759 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill519.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6a9a0523325f94bd3bcb3321238918cc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill520.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill520.cs new file mode 100644 index 0000000000..3ab7b32148 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill520.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill520 : Skill + { + public const int SKILL_ID = 520; + + public Skill520() : base(SKILL_ID) + { + } + } +#endif + + public class Skill520Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9591 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(14); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(56); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill520Stub() : base(520) + { + cls = 4; + name = "真·撕咬"; + nativename = "真·撕咬"; + icon = "撕咬1"; + max_level = 1; + type = 1; + apcost = 15; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1515; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1撕咬"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/撕咬击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(150, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill520Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 70)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000 * (1 + skill.GetT0 () * 0.0001f); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (3974); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (8000); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 2.5f; + public float GetTalent0(PlayerWrapper player) => player.GetMaxhp (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill520.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill520.cs.meta new file mode 100644 index 0000000000..89f458e817 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill520.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 65096e434108744dea8bda7c054b8730 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill521.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill521.cs new file mode 100644 index 0000000000..b90fa83a04 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill521.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill521 : Skill + { + public const int SKILL_ID = 521; + + public Skill521() : base(SKILL_ID) + { + } + } +#endif + + public class Skill521Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9592 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(14); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(56); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill521Stub() : base(521) + { + cls = 4; + name = "狂·撕咬"; + nativename = "狂·撕咬"; + icon = "撕咬2"; + max_level = 1; + type = 1; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1515; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2撕咬"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/撕咬击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(150, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill521Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 70)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000 * (1 + skill.GetT0 () * 0.0001f); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (3974); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (8000); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 2.5f; + public float GetTalent0(PlayerWrapper player) => player.GetMaxhp (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill521.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill521.cs.meta new file mode 100644 index 0000000000..5b07ad1465 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill521.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c683b7c532f06448ba57f605ff81c841 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill522.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill522.cs new file mode 100644 index 0000000000..82cef4995b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill522.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill522 : Skill + { + public const int SKILL_ID = 522; + + public Skill522() : base(SKILL_ID) + { + } + } +#endif + + public class Skill522Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9593 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.SetPlus(2694); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill522Stub() : base(522) + { + cls = 4; + name = "真·怒扑"; + nativename = "真·怒扑"; + icon = "怒扑1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1516; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2虎扑"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虎扑击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(149, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill522Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 100,8)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill522.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill522.cs.meta new file mode 100644 index 0000000000..51c1d53b8a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill522.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 66c8877f98fd24c9285a52cfee248686 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill523.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill523.cs new file mode 100644 index 0000000000..d945e83cf0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill523.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill523 : Skill + { + public const int SKILL_ID = 523; + + public Skill523() : base(SKILL_ID) + { + } + } +#endif + + public class Skill523Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9594 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.SetPlus(1894); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill523Stub() : base(523) + { + cls = 4; + name = "狂·怒扑"; + nativename = "狂·怒扑"; + icon = "怒扑2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1516; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "虎扑"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虎扑击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(149, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill523Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 7000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 100,8)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill523.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill523.cs.meta new file mode 100644 index 0000000000..8016cc7106 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill523.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fd96566eda79e4622b10a3a992a65dc7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill524.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill524.cs new file mode 100644 index 0000000000..8ee4215e0a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill524.cs @@ -0,0 +1,214 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill524 : Skill + { + public const int SKILL_ID = 524; + + public Skill524() : base(SKILL_ID) + { + } + } +#endif + + public class Skill524Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9595 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(24); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.SetPlus(3317); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill524Stub() : base(524) + { + cls = 4; + name = "真·吞噬"; + nativename = "真·吞噬"; + icon = "吞噬1"; + max_level = 1; + type = 1; + apcost = 35; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1517; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1吞噬"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/吞噬击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(151, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill524Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 120)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 7500 + skill.GetT0 (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetSubattackdegree (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (70); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 2.5f; + public float GetTalent0(PlayerWrapper player) => player.GetMaxhp () * 0.2; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill524.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill524.cs.meta new file mode 100644 index 0000000000..600d40a9d5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill524.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2a03a5be37fb1494c890917d669ee110 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill525.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill525.cs new file mode 100644 index 0000000000..f0d808aae6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill525.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill525 : Skill + { + public const int SKILL_ID = 525; + + public Skill525() : base(SKILL_ID) + { + } + } +#endif + + public class Skill525Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9596 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(24); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.SetPlus(3317); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill525Stub() : base(525) + { + cls = 4; + name = "狂·吞噬"; + nativename = "狂·吞噬"; + icon = "吞噬2"; + max_level = 1; + type = 1; + apcost = 35; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1517; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2吞噬"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/吞噬击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(151, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill525Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 120)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 7500 + skill.GetT0 (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetSubattackdegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14.1f; + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 2.5f; + public float GetTalent0(PlayerWrapper player) => player.GetMaxhp () * 0.2; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill525.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill525.cs.meta new file mode 100644 index 0000000000..01fd2f5fac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill525.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 96c000c8acec04970b6b10b34af88856 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill526.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill526.cs new file mode 100644 index 0000000000..bf01b40bec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill526.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill526 : Skill + { + public const int SKILL_ID = 526; + + public Skill526() : base(SKILL_ID) + { + } + } +#endif + + public class Skill526Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9597 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(30); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.SetPlus(2241); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill526Stub() : base(526) + { + cls = 4; + name = "真·排山倒海"; + nativename = "真·排山倒海"; + icon = "排山倒海1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1518; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1排山倒海"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/排山倒海击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.0f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(152, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill526Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 6000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.65f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15.7f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill526.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill526.cs.meta new file mode 100644 index 0000000000..fbadb4870f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill526.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5e0829245f185416daf3c16385c13a6d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill527.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill527.cs new file mode 100644 index 0000000000..fa7ef2dca1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill527.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill527 : Skill + { + public const int SKILL_ID = 527; + + public Skill527() : base(SKILL_ID) + { + } + } +#endif + + public class Skill527Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9598 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(30); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.SetPlus(2241); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill527Stub() : base(527) + { + cls = 4; + name = "狂·排山倒海"; + nativename = "狂·排山倒海"; + icon = "排山倒海2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1518; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2排山倒海"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/排山倒海击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.0f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(152, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill527Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 6000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (4500); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15.7f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 2.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill527.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill527.cs.meta new file mode 100644 index 0000000000..acf16a0eeb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill527.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 463b87758b47e4a4ab26178ebcb65f06 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill528.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill528.cs new file mode 100644 index 0000000000..02d749c1d5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill528.cs @@ -0,0 +1,212 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill528 : Skill + { + public const int SKILL_ID = 528; + + public Skill528() : base(SKILL_ID) + { + } + } +#endif + + public class Skill528Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9599 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(44); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(176); + skill.SetPlus(0); + skill.SetRatio(3); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill528Stub() : base(528) + { + cls = 4; + name = "真·天崩地裂"; + nativename = "真·天崩地裂"; + icon = "兽王之怒1"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1519; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "流星锤"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/流星锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(153, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill528Stub() { } + + public override float GetMpcost(Skill skill) => 220f; + public override int GetExecutetime(Skill skill) => 2500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 220)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 12000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (6666); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 4f; + public float GetTalent0(PlayerWrapper player) => 9245; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill528.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill528.cs.meta new file mode 100644 index 0000000000..cfaeb217dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill528.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 891b7b164e8d24c72abb4c539a44fe2c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill529.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill529.cs new file mode 100644 index 0000000000..a3e51d707f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill529.cs @@ -0,0 +1,213 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill529 : Skill + { + public const int SKILL_ID = 529; + + public Skill529() : base(SKILL_ID) + { + } + } +#endif + + public class Skill529Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9600 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(44); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(176); + skill.GetPlayer().SetHp(skill.GetPlayer().GetHp() + 4000); + skill.SetPlus(0); + skill.SetRatio(3); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill529Stub() : base(529) + { + cls = 4; + name = "狂·天崩地裂"; + nativename = "狂·天崩地裂"; + icon = "兽王之怒2"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1519; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "流星锤"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/流星锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(153, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill529Stub() { } + + public override float GetMpcost(Skill skill) => 220f; + public override int GetExecutetime(Skill skill) => 2500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 220)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 12000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetValue (95); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 4f; + public float GetTalent0(PlayerWrapper player) => 9245; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill529.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill529.cs.meta new file mode 100644 index 0000000000..03cac81302 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill529.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f47cf6f3c8f464eef9087897d62a4246 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill530.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill530.cs new file mode 100644 index 0000000000..ebc42ea910 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill530.cs @@ -0,0 +1,164 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill530 : Skill + { + public const int SKILL_ID = 530; + + public Skill530() : base(SKILL_ID) + { + } + } +#endif + + public class Skill530Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9601 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(50); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill530Stub() : base(530) + { + cls = 4; + name = "真·兽王之怒"; + nativename = "真·兽王之怒"; + icon = "天崩地裂1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1526; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(188, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill530Stub() { } + + public override float GetMpcost(Skill skill) => 50f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetValue (6); + skill.GetVictim ().SetApgen (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetHp () > skill.GetPlayer ().GetMaxhp () * 0.5f ? 0 : 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (4000); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetAbsorbmagicdamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill530.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill530.cs.meta new file mode 100644 index 0000000000..1f31b2c4ad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill530.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 785f0a3fb557940d8b13b0fc685c710f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill531.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill531.cs new file mode 100644 index 0000000000..36e6e57feb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill531.cs @@ -0,0 +1,164 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill531 : Skill + { + public const int SKILL_ID = 531; + + public Skill531() : base(SKILL_ID) + { + } + } +#endif + + public class Skill531Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9602 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(50); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill531Stub() : base(531) + { + cls = 4; + name = "狂·兽王之怒"; + nativename = "狂·兽王之怒"; + icon = "天崩地裂2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1526; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(188, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill531Stub() { } + + public override float GetMpcost(Skill skill) => 50f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (8); + skill.GetVictim ().SetApgen (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetHp () > skill.GetPlayer ().GetMaxhp () * 0.5f ? 0 : 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (4000); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetAbsorbmagicdamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill531.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill531.cs.meta new file mode 100644 index 0000000000..e790fc6832 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill531.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d82d61fbc7da84fe58c28ef1d839882e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill532.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill532.cs new file mode 100644 index 0000000000..6f41511e2e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill532.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill532 : Skill + { + public const int SKILL_ID = 532; + + public Skill532() : base(SKILL_ID) + { + } + } +#endif + + public class Skill532Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9603 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(59); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(236); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill532Stub() : base(532) + { + cls = 4; + name = "真·毒牙"; + nativename = "真·毒牙"; + icon = "毒牙1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1520; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "毒牙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(155, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill532Stub() { } + + public override float GetMpcost(Skill skill) => 295f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 295,40)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetToxicblade (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill532.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill532.cs.meta new file mode 100644 index 0000000000..c9c90e0ad3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill532.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 75fa40588ea7b4e1aafb208d4f3f062c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill533.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill533.cs new file mode 100644 index 0000000000..3b9835f7e9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill533.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill533 : Skill + { + public const int SKILL_ID = 533; + + public Skill533() : base(SKILL_ID) + { + } + } +#endif + + public class Skill533Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9604 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(59); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(236); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill533Stub() : base(533) + { + cls = 4; + name = "狂·毒牙"; + nativename = "狂·毒牙"; + icon = "毒牙2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1520; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "毒牙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(155, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill533Stub() { } + + public override float GetMpcost(Skill skill) => 295f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 295,40)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetToxicblade (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill533.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill533.cs.meta new file mode 100644 index 0000000000..5c37d05582 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill533.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8b5713a43d5a94cb084146214c4446c0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill534.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill534.cs new file mode 100644 index 0000000000..af1ec0ee1a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill534.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill534 : Skill + { + public const int SKILL_ID = 534; + + public Skill534() : base(SKILL_ID) + { + } + } +#endif + + public class Skill534Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9605 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(28); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(112); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill534Stub() : base(534) + { + cls = 4; + name = "真·咆哮"; + nativename = "真·咆哮"; + icon = "咆哮1"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1521; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1咆哮"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/咆哮击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(185, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill534Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 140)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 90); + skill.GetVictim ().SetValue (8000); + skill.GetVictim ().SetAssault (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDecmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 6 + 0.6f * skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill534.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill534.cs.meta new file mode 100644 index 0000000000..1d1fa8d5de --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill534.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f9a60793437b74f6b957f6c3e7de9863 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill535.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill535.cs new file mode 100644 index 0000000000..4081bd680c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill535.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill535 : Skill + { + public const int SKILL_ID = 535; + + public Skill535() : base(SKILL_ID) + { + } + } +#endif + + public class Skill535Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9606 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(28); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(112); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill535Stub() : base(535) + { + cls = 4; + name = "狂·咆哮"; + nativename = "狂·咆哮"; + icon = "咆哮2"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1521; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2咆哮"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/咆哮击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(185, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill535Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 140)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 90); + skill.GetVictim ().SetValue (8000); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetRetort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 6 + 0.6f * skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill535.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill535.cs.meta new file mode 100644 index 0000000000..a6a428e666 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill535.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5bc7b539fdbd5485b988e7bfb8991a13 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill536.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill536.cs new file mode 100644 index 0000000000..e73d483de0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill536.cs @@ -0,0 +1,173 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill536 : Skill + { + public const int SKILL_ID = 536; + + public Skill536() : base(SKILL_ID) + { + } + } +#endif + + public class Skill536Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9607 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(28); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(112); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill536Stub() : base(536) + { + cls = 4; + name = "真·震慑"; + nativename = "真·震慑"; + icon = "震慑1"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1522; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1震慑"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(156, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill536Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 140)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 2000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDecattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 2 + 0.3f * skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill536.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill536.cs.meta new file mode 100644 index 0000000000..552c5a8eac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill536.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c2158a30afae34d5e81fdca3886ed0cf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill537.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill537.cs new file mode 100644 index 0000000000..aea37d3df2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill537.cs @@ -0,0 +1,173 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill537 : Skill + { + public const int SKILL_ID = 537; + + public Skill537() : base(SKILL_ID) + { + } + } +#endif + + public class Skill537Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9608 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(28); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(112); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill537Stub() : base(537) + { + cls = 4; + name = "狂·震慑"; + nativename = "狂·震慑"; + icon = "震慑2"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1522; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "2震慑"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(156, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill537Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 140)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 2000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDecattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 2 + 0.3f * skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill537.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill537.cs.meta new file mode 100644 index 0000000000..202cce1857 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill537.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d1191aa3ea0d34a29a6b2a96cd90f7f6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill538.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill538.cs new file mode 100644 index 0000000000..bab2d33269 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill538.cs @@ -0,0 +1,156 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill538 : Skill + { + public const int SKILL_ID = 538; + + public Skill538() : base(SKILL_ID) + { + } + } +#endif + + public class Skill538Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9609 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill538Stub() : base(538) + { + cls = 4; + name = "真·变身强化"; + nativename = "真·变身强化"; + icon = "变身强化1"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 4; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1523; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(154, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill538Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 80)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetAdddefence (0.6f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill538.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill538.cs.meta new file mode 100644 index 0000000000..27378a1516 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill538.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7f2eed468bfdd4de2b0c03ac2077ef9d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill539.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill539.cs new file mode 100644 index 0000000000..be741a748e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill539.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill539 : Skill + { + public const int SKILL_ID = 539; + + public Skill539() : base(SKILL_ID) + { + } + } +#endif + + public class Skill539Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9610 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill539Stub() : base(539) + { + cls = 4; + name = "狂·变身强化"; + nativename = "狂·变身强化"; + icon = "变身强化2"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 4; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1523; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(9); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(154, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill539Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 80)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetAdddefence (0.2f); + skill.GetPlayer ().SetInccrit (2); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill539.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill539.cs.meta new file mode 100644 index 0000000000..fba82a3352 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill539.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7a3ff43ab599c41b79f30d48d9a51ce4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill540.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill540.cs new file mode 100644 index 0000000000..d22e742161 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill540.cs @@ -0,0 +1,103 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill540 : Skill + { + public const int SKILL_ID = 540; + + public Skill540() : base(SKILL_ID) + { + } + } +#endif + + public class Skill540Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 10059 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill540Stub() : base(540) + { + cls = 4; + name = "真·斧锤精通"; + nativename = "真·斧锤精通"; + icon = "斧锤精通1"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 2; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1527; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(162, 10); + + } + + ~Skill540Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 75)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetInchammer (0.4f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill540.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill540.cs.meta new file mode 100644 index 0000000000..5f33ccb31b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill540.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8daff01a9e60e413a95a4cddaa7b809a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill541.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill541.cs new file mode 100644 index 0000000000..1332a0364e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill541.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill541 : Skill + { + public const int SKILL_ID = 541; + + public Skill541() : base(SKILL_ID) + { + } + } +#endif + + public class Skill541Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 10060 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill541Stub() : base(541) + { + cls = 4; + name = "狂·斧锤精通"; + nativename = "狂·斧锤精通"; + icon = "斧锤精通2"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 2; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1527; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(162, 10); + + } + + ~Skill541Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 75)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetInchammer (0.15f); + skill.GetPlayer ().SetInccrit (2); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill541.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill541.cs.meta new file mode 100644 index 0000000000..449c9badfd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill541.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 68d220428620c49b2b14bc02acfc619f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill590.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill590.cs new file mode 100644 index 0000000000..044be9b50b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill590.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill590 : Skill + { + public const int SKILL_ID = 590; + + public Skill590() : base(SKILL_ID) + { + } + } +#endif + + public class Skill590Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9661 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.SetPlus(0); + skill.SetRatio(5 * skill.GetCharging() / 3000); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill590Stub() : base(590) + { + cls = 6; + name = "真·引而不发"; + nativename = "真·引而不发"; + icon = "引而不发1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 3; + showorder = 1301; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "引而不发"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/引而不发飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/引而不发击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(234, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill590Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 120,400)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 10; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 10f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill590.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill590.cs.meta new file mode 100644 index 0000000000..99cae9cc06 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill590.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d46854cc5dfb84a4aab6c7b856a85437 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill591.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill591.cs new file mode 100644 index 0000000000..4a86770366 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill591.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill591 : Skill + { + public const int SKILL_ID = 591; + + public Skill591() : base(SKILL_ID) + { + } + } +#endif + + public class Skill591Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9662 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.SetPlus(0); + skill.SetRatio(4 * skill.GetCharging() / 2500); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill591Stub() : base(591) + { + cls = 6; + name = "狂·引而不发"; + nativename = "狂·引而不发"; + icon = "引而不发2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 3; + showorder = 1301; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "2引而不发"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/引而不发飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/引而不发击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(234, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill591Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 120,400)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 10; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 10f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill591.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill591.cs.meta new file mode 100644 index 0000000000..4fe12084a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill591.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e6e7a0fe592e84315b5f240279358b2d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill592.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill592.cs new file mode 100644 index 0000000000..5bd4c9bb3a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill592.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill592 : Skill + { + public const int SKILL_ID = 592; + + public Skill592() : base(SKILL_ID) + { + } + } +#endif + + public class Skill592Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9663 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(108); + skill.SetPlus(2508); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill592Stub() : base(592) + { + cls = 6; + name = "真·连射"; + nativename = "真·连射"; + icon = "连射1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1302; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "1连射"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/连射飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/连射击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(235, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill592Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 135,2508)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill592.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill592.cs.meta new file mode 100644 index 0000000000..f234a43d35 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill592.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1de804211e37b4e2f9107e2a699e1ce8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill593.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill593.cs new file mode 100644 index 0000000000..95d055099b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill593.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill593 : Skill + { + public const int SKILL_ID = 593; + + public Skill593() : base(SKILL_ID) + { + } + } +#endif + + public class Skill593Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9664 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(108); + skill.SetPlus(2508); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill593Stub() : base(593) + { + cls = 6; + name = "狂·连射"; + nativename = "狂·连射"; + icon = "连射2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 5; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1302; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "2连射"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/连射飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/连射击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(235, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill593Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 135,2508)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetFastattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill593.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill593.cs.meta new file mode 100644 index 0000000000..ebb97d1ffe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill593.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 10fe023a6188141d4822ca9718a4c6bb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill594.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill594.cs new file mode 100644 index 0000000000..cbc22557f0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill594.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill594 : Skill + { + public const int SKILL_ID = 594; + + public Skill594() : base(SKILL_ID) + { + } + } +#endif + + public class Skill594Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9665 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(36); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(144); + skill.SetPlus(3046); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill594Stub() : base(594) + { + cls = 6; + name = "真·击退矢"; + nativename = "真·击退矢"; + icon = "击退矢1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1303; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "1击退矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/击退矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/击退矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(236, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill594Stub() { } + + public override float GetMpcost(Skill skill) => 180f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 180)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill594.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill594.cs.meta new file mode 100644 index 0000000000..99641379aa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill594.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2d5adf6fde9d44aacb1cc174e4459e04 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill595.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill595.cs new file mode 100644 index 0000000000..b30997e712 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill595.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill595 : Skill + { + public const int SKILL_ID = 595; + + public Skill595() : base(SKILL_ID) + { + } + } +#endif + + public class Skill595Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9666 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(36); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(144); + skill.SetPlus(3046); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill595Stub() : base(595) + { + cls = 6; + name = "狂·击退矢"; + nativename = "狂·击退矢"; + icon = "击退矢2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1303; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "2击退矢"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/击退矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/击退矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(236, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill595Stub() { } + + public override float GetMpcost(Skill skill) => 180f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 180)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill595.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill595.cs.meta new file mode 100644 index 0000000000..98565593ef --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill595.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 09a23a34865054f9eb4375eb08db0bb6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill596.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill596.cs new file mode 100644 index 0000000000..9370357328 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill596.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill596 : Skill + { + public const int SKILL_ID = 596; + + public Skill596() : base(SKILL_ID) + { + } + } +#endif + + public class Skill596Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9667 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(45); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(180); + skill.SetPlus(5403); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill596Stub() : base(596) + { + cls = 6; + name = "真·困缚矢"; + nativename = "真·困缚矢"; + icon = "困缚矢1"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 1; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1304; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "1虚弱矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/虚弱矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虚弱矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(237, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill596Stub() { } + + public override float GetMpcost(Skill skill) => 225f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 225,8)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 90); + skill.GetVictim ().SetTime (8500); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill596.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill596.cs.meta new file mode 100644 index 0000000000..4ff5b114b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill596.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2284a380ad1bc428aae2cde55303d831 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill597.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill597.cs new file mode 100644 index 0000000000..3c178f2897 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill597.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill597 : Skill + { + public const int SKILL_ID = 597; + + public Skill597() : base(SKILL_ID) + { + } + } +#endif + + public class Skill597Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9668 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(45); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(180); + skill.SetPlus(5403); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill597Stub() : base(597) + { + cls = 6; + name = "狂·困缚矢"; + nativename = "狂·困缚矢"; + icon = "困缚矢2"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 1; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1304; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "2虚弱矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/虚弱矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虚弱矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(237, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill597Stub() { } + + public override float GetMpcost(Skill skill) => 225f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 225,8)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 90); + skill.GetVictim ().SetTime (8500); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (3500); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill597.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill597.cs.meta new file mode 100644 index 0000000000..6960242863 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill597.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c6cf7378533494b0bb19025a82ab8569 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill598.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill598.cs new file mode 100644 index 0000000000..324dce93a1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill598.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill598 : Skill + { + public const int SKILL_ID = 598; + + public Skill598() : base(SKILL_ID) + { + } + } +#endif + + public class Skill598Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9669 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(59); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(236); + skill.SetPlus(2687); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill598Stub() : base(598) + { + cls = 6; + name = "真·击晕矢"; + nativename = "真·击晕矢"; + icon = "击晕矢1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1305; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "1击晕矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/击晕矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/击晕矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(238, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill598Stub() { } + + public override float GetMpcost(Skill skill) => 295f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 295)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 90); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill598.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill598.cs.meta new file mode 100644 index 0000000000..1d80395f39 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill598.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 89fe0837dd48445598c7df3d31305018 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill599.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill599.cs new file mode 100644 index 0000000000..7ea52a0c12 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill599.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill599 : Skill + { + public const int SKILL_ID = 599; + + public Skill599() : base(SKILL_ID) + { + } + } +#endif + + public class Skill599Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9670 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(59); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(236); + skill.SetPlus(2687); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill599Stub() : base(599) + { + cls = 6; + name = "狂·击晕矢"; + nativename = "狂·击晕矢"; + icon = "击晕矢2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1304; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "1击晕矢"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/击晕矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/击晕矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(238, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill599Stub() { } + + public override float GetMpcost(Skill skill) => 295f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 295)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 90); + skill.GetVictim ().SetTime (4500); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill599.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill599.cs.meta new file mode 100644 index 0000000000..efd380f8e1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill599.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6e4d1845d3753432e9fb135d8647d0b2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill600.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill600.cs new file mode 100644 index 0000000000..3c422ea108 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill600.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill600 : Skill + { + public const int SKILL_ID = 600; + + public Skill600() : base(SKILL_ID) + { + } + } +#endif + + public class Skill600Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9671 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(74); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(296); + skill.SetPlus(5800); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill600Stub() : base(600) + { + cls = 6; + name = "真·致命矢"; + nativename = "真·致命矢"; + icon = "致命矢1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1306; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1致命矢"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/致命矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/致命矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(239, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill600Stub() { } + + public override float GetMpcost(Skill skill) => 370f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 370, + 100, + 5800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 10; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill600.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill600.cs.meta new file mode 100644 index 0000000000..4445056853 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill600.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 743d39281350c45bf8c8cfbe821792f4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill601.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill601.cs new file mode 100644 index 0000000000..725e7085f8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill601.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill601 : Skill + { + public const int SKILL_ID = 601; + + public Skill601() : base(SKILL_ID) + { + } + } +#endif + + public class Skill601Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9672 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(74); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(296); + skill.SetPlus(6300); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill601Stub() : base(601) + { + cls = 6; + name = "狂·致命矢"; + nativename = "狂·致命矢"; + icon = "致命矢2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1306; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "2致命矢"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/致命矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/致命矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(239, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill601Stub() { } + + public override float GetMpcost(Skill skill) => 370f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 370, + 100, + 5800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 10; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill601.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill601.cs.meta new file mode 100644 index 0000000000..22599aae7f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill601.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b1eae7848fd144a36a73d2bf6f6feba1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill602.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill602.cs new file mode 100644 index 0000000000..fa2c9d4128 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill602.cs @@ -0,0 +1,215 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill602 : Skill + { + public const int SKILL_ID = 602; + + public Skill602() : base(SKILL_ID) + { + } + } +#endif + + public class Skill602Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9673 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 2800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(655); + skill.SetPlus(6639); + skill.SetRatio(2); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill602Stub() : base(602) + { + cls = 6; + name = "真·箭阵"; + nativename = "真·箭阵"; + icon = "箭阵1"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 3; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 2; + showorder = 1307; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "1箭阵"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/箭阵击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(240, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill602Stub() { } + + public override float GetMpcost(Skill skill) => 655f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 655)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10000; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.33f); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 10; + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill602.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill602.cs.meta new file mode 100644 index 0000000000..b0bc497d2f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill602.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1b741368725b64c3eb72ad3ec3f743a7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill603.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill603.cs new file mode 100644 index 0000000000..991e3fcc49 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill603.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill603 : Skill + { + public const int SKILL_ID = 603; + + public Skill603() : base(SKILL_ID) + { + } + } +#endif + + public class Skill603Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9674 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 2300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(655); + skill.SetPlus(6639); + skill.SetRatio(2); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill603Stub() : base(603) + { + cls = 6; + name = "狂·箭阵"; + nativename = "狂·箭阵"; + icon = "箭阵2"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 3; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 2; + showorder = 1307; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "2箭阵"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/箭阵击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(240, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill603Stub() { } + + public override float GetMpcost(Skill skill) => 655f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 655)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 10; + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill603.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill603.cs.meta new file mode 100644 index 0000000000..f4230fc4ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill603.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e2a7ac057ea44493b9d86033d94154bd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill604.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill604.cs new file mode 100644 index 0000000000..ecf84c7867 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill604.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill604 : Skill + { + public const int SKILL_ID = 604; + + public Skill604() : base(SKILL_ID) + { + } + } +#endif + + public class Skill604Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9675 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(67); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(268); + skill.SetPlus(3820); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill604Stub() : base(604) + { + cls = 6; + name = "真·落雷"; + nativename = "真·落雷"; + icon = "落雷1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1308; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1落雷"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/落雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(241, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill604Stub() { } + + public override float GetMpcost(Skill skill) => 335f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 335,3820)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 1; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill604.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill604.cs.meta new file mode 100644 index 0000000000..8bd2d965a2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill604.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a28cb49fdf1ed4380a5e13600fd4389c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill605.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill605.cs new file mode 100644 index 0000000000..182e504eeb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill605.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill605 : Skill + { + public const int SKILL_ID = 605; + + public Skill605() : base(SKILL_ID) + { + } + } +#endif + + public class Skill605Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9676 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(67); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(268); + skill.SetPlus(3820); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill605Stub() : base(605) + { + cls = 6; + name = "狂·落雷"; + nativename = "狂·落雷"; + icon = "落雷2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 10; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1308; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2落雷"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/落雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(241, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill605Stub() { } + + public override float GetMpcost(Skill skill) => 335f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 335,3820)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 1; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill605.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill605.cs.meta new file mode 100644 index 0000000000..d670a1164d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill605.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ef87a31f16997435fb18e4d57acb984a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill606.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill606.cs new file mode 100644 index 0000000000..28216a5d68 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill606.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill606 : Skill + { + public const int SKILL_ID = 606; + + public Skill606() : base(SKILL_ID) + { + } + } +#endif + + public class Skill606Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9677 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(74); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(296); + skill.SetPlus(4238); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill606Stub() : base(606) + { + cls = 6; + name = "真·惊雷"; + nativename = "真·惊雷"; + icon = "惊雷1"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 1; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1309; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1惊雷"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/惊雷飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/惊雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(242, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill606Stub() { } + + public override float GetMpcost(Skill skill) => 370f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 370,50)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetReducegold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill606.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill606.cs.meta new file mode 100644 index 0000000000..6dd3d81bb7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill606.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2903439d6d3304df6994e9f1eb7ef8e0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill607.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill607.cs new file mode 100644 index 0000000000..cf285d1f04 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill607.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill607 : Skill + { + public const int SKILL_ID = 607; + + public Skill607() : base(SKILL_ID) + { + } + } +#endif + + public class Skill607Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9678 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(74); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(296); + skill.SetPlus(4238); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill607Stub() : base(607) + { + cls = 6; + name = "狂·惊雷"; + nativename = "狂·惊雷"; + icon = "惊雷2"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 1; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1309; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2惊雷"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/惊雷飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/惊雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(242, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill607Stub() { } + + public override float GetMpcost(Skill skill) => 370f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 370,50)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetReducegold (1); + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill607.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill607.cs.meta new file mode 100644 index 0000000000..23b998b9bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill607.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 60d91a002b7404e4f91c7c1ce77d55ea \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill608.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill608.cs new file mode 100644 index 0000000000..fafac6c727 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill608.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill608 : Skill + { + public const int SKILL_ID = 608; + + public Skill608() : base(SKILL_ID) + { + } + } +#endif + + public class Skill608Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9679 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(74); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(296); + skill.SetPlus(4019); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill608Stub() : base(608) + { + cls = 6; + name = "真·炸雷"; + nativename = "真·炸雷"; + icon = "炸雷1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 2; + apgain = 10; + attr = 2; + rank = 21; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1310; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1炸雷"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/炸雷飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/炸雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(243, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill608Stub() { } + + public override float GetMpcost(Skill skill) => 370f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 7000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 370)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill608.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill608.cs.meta new file mode 100644 index 0000000000..3bec1afe90 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill608.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4a40b353c470e4cea9156f28ebb4391c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill609.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill609.cs new file mode 100644 index 0000000000..89a7a9a177 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill609.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill609 : Skill + { + public const int SKILL_ID = 609; + + public Skill609() : base(SKILL_ID) + { + } + } +#endif + + public class Skill609Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9680 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(74); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(296); + skill.SetPlus(4819); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill609Stub() : base(609) + { + cls = 6; + name = "狂·炸雷"; + nativename = "狂·炸雷"; + icon = "炸雷2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 2; + apgain = 10; + attr = 2; + rank = 31; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1310; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2炸雷"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/炸雷飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/炸雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(243, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill609Stub() { } + + public override float GetMpcost(Skill skill) => 370f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 370)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill609.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill609.cs.meta new file mode 100644 index 0000000000..1199893779 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill609.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2f8338a11d04e4908a85167404be7a13 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill610.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill610.cs new file mode 100644 index 0000000000..253b1d1722 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill610.cs @@ -0,0 +1,212 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill610 : Skill + { + public const int SKILL_ID = 610; + + public Skill610() : base(SKILL_ID) + { + } + } +#endif + + public class Skill610Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9681 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(110); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(440); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill610Stub() : base(610) + { + cls = 6; + name = "真·狂雷天鹰"; + nativename = "真·狂雷天鹰"; + icon = "狂雷天鹰1"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 1; + apgain = 0; + attr = 2; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1311; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "1狂雷天鹰"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/狂雷天鹰飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狂雷天鹰击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(253, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill610Stub() { } + + public override float GetMpcost(Skill skill) => 550f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 550)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 8000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetEaglecurse (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; + public float GetTalent0(PlayerWrapper player) => 6 * player.GetWeapondamage () + 12000; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill610.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill610.cs.meta new file mode 100644 index 0000000000..7cdf248d56 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill610.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: af5dd22cd71024d9da0cc3e0f36e15b0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill906.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill906.cs new file mode 100644 index 0000000000..d79b92985c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill906.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill906 : Skill + { + public const int SKILL_ID = 906; + + public Skill906() : base(SKILL_ID) + { + } + } +#endif + + public class Skill906Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 19779 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(50); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(350); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill906Stub() : base(906) + { + cls = 4; + name = "野性咆哮"; + nativename = "野性咆哮"; + icon = "野性咆哮"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 1; + rank = 8; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2351; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2破甲一击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/破甲一击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill906Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 400)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 30000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 6 + 0.6f * skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 16; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill906.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill906.cs.meta new file mode 100644 index 0000000000..fd441ba0c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill906.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: edcb2dc3aa6394944bc9c36ebd3a81d2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill907.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill907.cs new file mode 100644 index 0000000000..8fd2394271 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill907.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill907 : Skill + { + public const int SKILL_ID = 907; + + public Skill907() : base(SKILL_ID) + { + } + } +#endif + + public class Skill907Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 19780 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill907Stub() : base(907) + { + cls = 4; + name = "巨灵狂暴"; + nativename = "巨灵狂暴"; + icon = "巨灵狂暴"; + max_level = 1; + type = 2; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 2352; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巨灵狂暴"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巨灵狂暴击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill907Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 100)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill907.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill907.cs.meta new file mode 100644 index 0000000000..6c8e9a6fd2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill907.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bae58290613d349cf979371b5a33d294 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill908.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill908.cs new file mode 100644 index 0000000000..2830e13cba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill908.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill908 : Skill + { + public const int SKILL_ID = 908; + + public Skill908() : base(SKILL_ID) + { + } + } +#endif + + public class Skill908Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19781 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(170); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill908Stub() : base(908) + { + cls = 4; + name = "狂怒"; + nativename = "狂怒"; + icon = "狂怒"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 22; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2353; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill908Stub() { } + + public override float GetMpcost(Skill skill) => 170f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 170)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 15; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill908.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill908.cs.meta new file mode 100644 index 0000000000..6cb5f9a82f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill908.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8296e46cb2ba94a52ade1ef7d6abfb8d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill909.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill909.cs new file mode 100644 index 0000000000..c6dec692e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill909.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill909 : Skill + { + public const int SKILL_ID = 909; + + public Skill909() : base(SKILL_ID) + { + } + } +#endif + + public class Skill909Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19782 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(400); + skill.SetDamage(skill.GetAttack() * 2); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill909Stub() : base(909) + { + cls = 4; + name = "兽神之怒"; + nativename = "兽神之怒"; + icon = "兽神之怒"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2354; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1妖煞击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖煞击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill909Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 500)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill909.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill909.cs.meta new file mode 100644 index 0000000000..4675fa1ddb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill909.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 80496bf098e7a4138a23335261117e24 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill929.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill929.cs new file mode 100644 index 0000000000..e82299e1dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill929.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill929 : Skill + { + public const int SKILL_ID = 929; + + public Skill929() : base(SKILL_ID) + { + } + } +#endif + + public class Skill929Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19781 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(170); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill929Stub() : base(929) + { + cls = 4; + name = "狂怒"; + nativename = "狂怒"; + icon = "狂怒"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 32; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2355; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill929Stub() { } + + public override float GetMpcost(Skill skill) => 170f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 170)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 15; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill929.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill929.cs.meta new file mode 100644 index 0000000000..1bde1f300c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill929.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 84cb72256d13e4442b8cad26e59842a0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill930.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill930.cs new file mode 100644 index 0000000000..9307ab3511 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill930.cs @@ -0,0 +1,127 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill930 : Skill + { + public const int SKILL_ID = 930; + + public Skill930() : base(SKILL_ID) + { + } + } +#endif + + public class Skill930Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 95 }; + private static readonly int[] RequiredSpArray = { 2 }; + private static readonly int[] RequiredMoneyArray = { 1 }; + + + public Skill930Stub() : base(930) + { + cls = 4; + name = "作废"; + nativename = "作废"; + icon = ""; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 22; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巨灵神力"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill930Stub() { } + + public override float GetMpcost(Skill skill) => 1f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 15; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill930.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill930.cs.meta new file mode 100644 index 0000000000..f3faa86a11 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill930.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 53f87c002a0214fcea64343dad08644d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill935.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill935.cs new file mode 100644 index 0000000000..e6bd671955 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill935.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill935 : Skill + { + public const int SKILL_ID = 935; + + public Skill935() : base(SKILL_ID) + { + } + } +#endif + + public class Skill935Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19782 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(400); + skill.SetDamage(skill.GetAttack() * 2); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill935Stub() : base(935) + { + cls = 4; + name = "兽神之怒"; + nativename = "兽神之怒"; + icon = "兽神之怒"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2356; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "1妖煞击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖煞击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(9); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill935Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 2 + 0.3 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 500)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill935.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill935.cs.meta new file mode 100644 index 0000000000..6c91fb72f8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs3/skill935.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f8de0d819deab40fcba3eb6dd65412f7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4.meta new file mode 100644 index 0000000000..cee3f56cff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 89afea67f4d574935af705241e3b5985 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/SkillStubs4.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/SkillStubs4.cs new file mode 100644 index 0000000000..3d3d722feb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/SkillStubs4.cs @@ -0,0 +1,525 @@ +using BrewMonster.Scripts.Skills; +using UnityEngine; + +namespace BrewMonster +{ + public static partial class SkillStubs + { + // Skill stub declarations + public static Skill11Stub __stub_Skill11Stub = new Skill11Stub(); + public static Skill15Stub __stub_Skill15Stub = new Skill15Stub(); + public static Skill16Stub __stub_Skill16Stub = new Skill16Stub(); + public static Skill17Stub __stub_Skill17Stub = new Skill17Stub(); + public static Skill18Stub __stub_Skill18Stub = new Skill18Stub(); + public static Skill19Stub __stub_Skill19Stub = new Skill19Stub(); + public static Skill113Stub __stub_Skill113Stub = new Skill113Stub(); + public static Skill114Stub __stub_Skill114Stub = new Skill114Stub(); + public static Skill115Stub __stub_Skill115Stub = new Skill115Stub(); + public static Skill116Stub __stub_Skill116Stub = new Skill116Stub(); + public static Skill117Stub __stub_Skill117Stub = new Skill117Stub(); + public static Skill118Stub __stub_Skill118Stub = new Skill118Stub(); + public static Skill119Stub __stub_Skill119Stub = new Skill119Stub(); + public static Skill120Stub __stub_Skill120Stub = new Skill120Stub(); + public static Skill121Stub __stub_Skill121Stub = new Skill121Stub(); + public static Skill122Stub __stub_Skill122Stub = new Skill122Stub(); + public static Skill123Stub __stub_Skill123Stub = new Skill123Stub(); + public static Skill124Stub __stub_Skill124Stub = new Skill124Stub(); + public static Skill125Stub __stub_Skill125Stub = new Skill125Stub(); + public static Skill126Stub __stub_Skill126Stub = new Skill126Stub(); + public static Skill127Stub __stub_Skill127Stub = new Skill127Stub(); + public static Skill128Stub __stub_Skill128Stub = new Skill128Stub(); + public static Skill129Stub __stub_Skill129Stub = new Skill129Stub(); + public static Skill130Stub __stub_Skill130Stub = new Skill130Stub(); + public static Skill163Stub __stub_Skill163Stub = new Skill163Stub(); + public static Skill189Stub __stub_Skill189Stub = new Skill189Stub(); + public static Skill190Stub __stub_Skill190Stub = new Skill190Stub(); + public static Skill191Stub __stub_Skill191Stub = new Skill191Stub(); + public static Skill192Stub __stub_Skill192Stub = new Skill192Stub(); + public static Skill193Stub __stub_Skill193Stub = new Skill193Stub(); + public static Skill194Stub __stub_Skill194Stub = new Skill194Stub(); + public static Skill232Stub __stub_Skill232Stub = new Skill232Stub(); + public static Skill233Stub __stub_Skill233Stub = new Skill233Stub(); + public static Skill372Stub __stub_Skill372Stub = new Skill372Stub(); + public static Skill373Stub __stub_Skill373Stub = new Skill373Stub(); + public static Skill542Stub __stub_Skill542Stub = new Skill542Stub(); + public static Skill543Stub __stub_Skill543Stub = new Skill543Stub(); + public static Skill544Stub __stub_Skill544Stub = new Skill544Stub(); + public static Skill545Stub __stub_Skill545Stub = new Skill545Stub(); + public static Skill546Stub __stub_Skill546Stub = new Skill546Stub(); + public static Skill547Stub __stub_Skill547Stub = new Skill547Stub(); + public static Skill548Stub __stub_Skill548Stub = new Skill548Stub(); + public static Skill549Stub __stub_Skill549Stub = new Skill549Stub(); + public static Skill550Stub __stub_Skill550Stub = new Skill550Stub(); + public static Skill551Stub __stub_Skill551Stub = new Skill551Stub(); + public static Skill552Stub __stub_Skill552Stub = new Skill552Stub(); + public static Skill553Stub __stub_Skill553Stub = new Skill553Stub(); + public static Skill554Stub __stub_Skill554Stub = new Skill554Stub(); + public static Skill555Stub __stub_Skill555Stub = new Skill555Stub(); + public static Skill556Stub __stub_Skill556Stub = new Skill556Stub(); + public static Skill557Stub __stub_Skill557Stub = new Skill557Stub(); + public static Skill558Stub __stub_Skill558Stub = new Skill558Stub(); + public static Skill559Stub __stub_Skill559Stub = new Skill559Stub(); + public static Skill560Stub __stub_Skill560Stub = new Skill560Stub(); + public static Skill561Stub __stub_Skill561Stub = new Skill561Stub(); + public static Skill562Stub __stub_Skill562Stub = new Skill562Stub(); + public static Skill563Stub __stub_Skill563Stub = new Skill563Stub(); + public static Skill564Stub __stub_Skill564Stub = new Skill564Stub(); + public static Skill565Stub __stub_Skill565Stub = new Skill565Stub(); + public static Skill566Stub __stub_Skill566Stub = new Skill566Stub(); + public static Skill567Stub __stub_Skill567Stub = new Skill567Stub(); + public static Skill568Stub __stub_Skill568Stub = new Skill568Stub(); + public static Skill569Stub __stub_Skill569Stub = new Skill569Stub(); + public static Skill570Stub __stub_Skill570Stub = new Skill570Stub(); + public static Skill571Stub __stub_Skill571Stub = new Skill571Stub(); + public static Skill572Stub __stub_Skill572Stub = new Skill572Stub(); + public static Skill573Stub __stub_Skill573Stub = new Skill573Stub(); + public static Skill574Stub __stub_Skill574Stub = new Skill574Stub(); + public static Skill575Stub __stub_Skill575Stub = new Skill575Stub(); + public static Skill576Stub __stub_Skill576Stub = new Skill576Stub(); + public static Skill577Stub __stub_Skill577Stub = new Skill577Stub(); + public static Skill578Stub __stub_Skill578Stub = new Skill578Stub(); + public static Skill579Stub __stub_Skill579Stub = new Skill579Stub(); + public static Skill580Stub __stub_Skill580Stub = new Skill580Stub(); + public static Skill581Stub __stub_Skill581Stub = new Skill581Stub(); + public static Skill582Stub __stub_Skill582Stub = new Skill582Stub(); + public static Skill583Stub __stub_Skill583Stub = new Skill583Stub(); + public static Skill584Stub __stub_Skill584Stub = new Skill584Stub(); + public static Skill585Stub __stub_Skill585Stub = new Skill585Stub(); + public static Skill586Stub __stub_Skill586Stub = new Skill586Stub(); + public static Skill587Stub __stub_Skill587Stub = new Skill587Stub(); + public static Skill588Stub __stub_Skill588Stub = new Skill588Stub(); + public static Skill589Stub __stub_Skill589Stub = new Skill589Stub(); + public static Skill611Stub __stub_Skill611Stub = new Skill611Stub(); + public static Skill612Stub __stub_Skill612Stub = new Skill612Stub(); + public static Skill613Stub __stub_Skill613Stub = new Skill613Stub(); + public static Skill614Stub __stub_Skill614Stub = new Skill614Stub(); + public static Skill615Stub __stub_Skill615Stub = new Skill615Stub(); + public static Skill616Stub __stub_Skill616Stub = new Skill616Stub(); + public static Skill617Stub __stub_Skill617Stub = new Skill617Stub(); + public static Skill618Stub __stub_Skill618Stub = new Skill618Stub(); + public static Skill619Stub __stub_Skill619Stub = new Skill619Stub(); + public static Skill620Stub __stub_Skill620Stub = new Skill620Stub(); + public static Skill621Stub __stub_Skill621Stub = new Skill621Stub(); + public static Skill622Stub __stub_Skill622Stub = new Skill622Stub(); + public static Skill623Stub __stub_Skill623Stub = new Skill623Stub(); + public static Skill624Stub __stub_Skill624Stub = new Skill624Stub(); + public static Skill625Stub __stub_Skill625Stub = new Skill625Stub(); + public static Skill626Stub __stub_Skill626Stub = new Skill626Stub(); + public static Skill627Stub __stub_Skill627Stub = new Skill627Stub(); + public static Skill628Stub __stub_Skill628Stub = new Skill628Stub(); + public static Skill629Stub __stub_Skill629Stub = new Skill629Stub(); + public static Skill630Stub __stub_Skill630Stub = new Skill630Stub(); + public static Skill631Stub __stub_Skill631Stub = new Skill631Stub(); + public static Skill632Stub __stub_Skill632Stub = new Skill632Stub(); + public static Skill633Stub __stub_Skill633Stub = new Skill633Stub(); + public static Skill915Stub __stub_Skill915Stub = new Skill915Stub(); + public static Skill916Stub __stub_Skill916Stub = new Skill916Stub(); + public static Skill917Stub __stub_Skill917Stub = new Skill917Stub(); + public static Skill918Stub __stub_Skill918Stub = new Skill918Stub(); + public static Skill919Stub __stub_Skill919Stub = new Skill919Stub(); + public static Skill920Stub __stub_Skill920Stub = new Skill920Stub(); + public static Skill921Stub __stub_Skill921Stub = new Skill921Stub(); + public static Skill922Stub __stub_Skill922Stub = new Skill922Stub(); + public static Skill931Stub __stub_Skill931Stub = new Skill931Stub(); + public static Skill932Stub __stub_Skill932Stub = new Skill932Stub(); + public static Skill933Stub __stub_Skill933Stub = new Skill933Stub(); + public static Skill934Stub __stub_Skill934Stub = new Skill934Stub(); + public static Skill1340Stub __stub_Skill1340Stub = new Skill1340Stub(); + public static Skill1341Stub __stub_Skill1341Stub = new Skill1341Stub(); + public static Skill1342Stub __stub_Skill1342Stub = new Skill1342Stub(); + public static Skill1343Stub __stub_Skill1343Stub = new Skill1343Stub(); + public static Skill1344Stub __stub_Skill1344Stub = new Skill1344Stub(); + public static Skill1345Stub __stub_Skill1345Stub = new Skill1345Stub(); + public static Skill1346Stub __stub_Skill1346Stub = new Skill1346Stub(); + public static Skill1347Stub __stub_Skill1347Stub = new Skill1347Stub(); + public static Skill1348Stub __stub_Skill1348Stub = new Skill1348Stub(); + public static Skill1349Stub __stub_Skill1349Stub = new Skill1349Stub(); + public static Skill1350Stub __stub_Skill1350Stub = new Skill1350Stub(); + public static Skill1351Stub __stub_Skill1351Stub = new Skill1351Stub(); + public static Skill1352Stub __stub_Skill1352Stub = new Skill1352Stub(); + public static Skill1353Stub __stub_Skill1353Stub = new Skill1353Stub(); + public static Skill1354Stub __stub_Skill1354Stub = new Skill1354Stub(); + public static Skill1355Stub __stub_Skill1355Stub = new Skill1355Stub(); + public static Skill1356Stub __stub_Skill1356Stub = new Skill1356Stub(); + public static Skill1357Stub __stub_Skill1357Stub = new Skill1357Stub(); + public static Skill1358Stub __stub_Skill1358Stub = new Skill1358Stub(); + public static Skill1359Stub __stub_Skill1359Stub = new Skill1359Stub(); + public static Skill1360Stub __stub_Skill1360Stub = new Skill1360Stub(); + public static Skill1361Stub __stub_Skill1361Stub = new Skill1361Stub(); + public static Skill1362Stub __stub_Skill1362Stub = new Skill1362Stub(); + public static Skill1363Stub __stub_Skill1363Stub = new Skill1363Stub(); + public static Skill1364Stub __stub_Skill1364Stub = new Skill1364Stub(); + public static Skill1365Stub __stub_Skill1365Stub = new Skill1365Stub(); + public static Skill1366Stub __stub_Skill1366Stub = new Skill1366Stub(); + public static Skill1367Stub __stub_Skill1367Stub = new Skill1367Stub(); + public static Skill1368Stub __stub_Skill1368Stub = new Skill1368Stub(); + public static Skill1369Stub __stub_Skill1369Stub = new Skill1369Stub(); + public static Skill1370Stub __stub_Skill1370Stub = new Skill1370Stub(); + public static Skill1371Stub __stub_Skill1371Stub = new Skill1371Stub(); + public static Skill1372Stub __stub_Skill1372Stub = new Skill1372Stub(); + public static Skill1373Stub __stub_Skill1373Stub = new Skill1373Stub(); + public static Skill1664Stub __stub_Skill1664Stub = new Skill1664Stub(); + public static Skill1665Stub __stub_Skill1665Stub = new Skill1665Stub(); + public static Skill1666Stub __stub_Skill1666Stub = new Skill1666Stub(); + public static Skill1667Stub __stub_Skill1667Stub = new Skill1667Stub(); + public static Skill1668Stub __stub_Skill1668Stub = new Skill1668Stub(); + public static Skill1669Stub __stub_Skill1669Stub = new Skill1669Stub(); + public static Skill1670Stub __stub_Skill1670Stub = new Skill1670Stub(); + public static Skill1671Stub __stub_Skill1671Stub = new Skill1671Stub(); + public static Skill1672Stub __stub_Skill1672Stub = new Skill1672Stub(); + public static Skill1673Stub __stub_Skill1673Stub = new Skill1673Stub(); + public static Skill1674Stub __stub_Skill1674Stub = new Skill1674Stub(); + public static Skill1675Stub __stub_Skill1675Stub = new Skill1675Stub(); + public static Skill1676Stub __stub_Skill1676Stub = new Skill1676Stub(); + public static Skill1677Stub __stub_Skill1677Stub = new Skill1677Stub(); + public static Skill1678Stub __stub_Skill1678Stub = new Skill1678Stub(); + public static Skill1679Stub __stub_Skill1679Stub = new Skill1679Stub(); + public static Skill1680Stub __stub_Skill1680Stub = new Skill1680Stub(); + public static Skill1681Stub __stub_Skill1681Stub = new Skill1681Stub(); + public static Skill1682Stub __stub_Skill1682Stub = new Skill1682Stub(); + public static Skill1683Stub __stub_Skill1683Stub = new Skill1683Stub(); + public static Skill1684Stub __stub_Skill1684Stub = new Skill1684Stub(); + public static Skill1685Stub __stub_Skill1685Stub = new Skill1685Stub(); + public static Skill1686Stub __stub_Skill1686Stub = new Skill1686Stub(); + public static Skill1687Stub __stub_Skill1687Stub = new Skill1687Stub(); + public static Skill1688Stub __stub_Skill1688Stub = new Skill1688Stub(); + public static Skill1689Stub __stub_Skill1689Stub = new Skill1689Stub(); + public static Skill1690Stub __stub_Skill1690Stub = new Skill1690Stub(); + public static Skill1691Stub __stub_Skill1691Stub = new Skill1691Stub(); + public static Skill1692Stub __stub_Skill1692Stub = new Skill1692Stub(); + public static Skill1693Stub __stub_Skill1693Stub = new Skill1693Stub(); + public static Skill1694Stub __stub_Skill1694Stub = new Skill1694Stub(); + public static Skill1695Stub __stub_Skill1695Stub = new Skill1695Stub(); + public static Skill1696Stub __stub_Skill1696Stub = new Skill1696Stub(); + public static Skill1697Stub __stub_Skill1697Stub = new Skill1697Stub(); + public static Skill1698Stub __stub_Skill1698Stub = new Skill1698Stub(); + public static Skill1699Stub __stub_Skill1699Stub = new Skill1699Stub(); + public static Skill1700Stub __stub_Skill1700Stub = new Skill1700Stub(); + public static Skill1701Stub __stub_Skill1701Stub = new Skill1701Stub(); + public static Skill1702Stub __stub_Skill1702Stub = new Skill1702Stub(); + public static Skill1703Stub __stub_Skill1703Stub = new Skill1703Stub(); + public static Skill1704Stub __stub_Skill1704Stub = new Skill1704Stub(); + public static Skill1705Stub __stub_Skill1705Stub = new Skill1705Stub(); + public static Skill1706Stub __stub_Skill1706Stub = new Skill1706Stub(); + public static Skill1707Stub __stub_Skill1707Stub = new Skill1707Stub(); + public static Skill1708Stub __stub_Skill1708Stub = new Skill1708Stub(); + public static Skill1709Stub __stub_Skill1709Stub = new Skill1709Stub(); + public static Skill1710Stub __stub_Skill1710Stub = new Skill1710Stub(); + public static Skill1711Stub __stub_Skill1711Stub = new Skill1711Stub(); + public static Skill1712Stub __stub_Skill1712Stub = new Skill1712Stub(); + public static Skill1713Stub __stub_Skill1713Stub = new Skill1713Stub(); + public static Skill1714Stub __stub_Skill1714Stub = new Skill1714Stub(); + public static Skill1715Stub __stub_Skill1715Stub = new Skill1715Stub(); + public static Skill1716Stub __stub_Skill1716Stub = new Skill1716Stub(); + public static Skill1717Stub __stub_Skill1717Stub = new Skill1717Stub(); + public static Skill1718Stub __stub_Skill1718Stub = new Skill1718Stub(); + public static Skill1719Stub __stub_Skill1719Stub = new Skill1719Stub(); + public static Skill1720Stub __stub_Skill1720Stub = new Skill1720Stub(); + public static Skill1721Stub __stub_Skill1721Stub = new Skill1721Stub(); + public static Skill1731Stub __stub_Skill1731Stub = new Skill1731Stub(); + public static Skill1732Stub __stub_Skill1732Stub = new Skill1732Stub(); + public static Skill1733Stub __stub_Skill1733Stub = new Skill1733Stub(); + public static Skill1734Stub __stub_Skill1734Stub = new Skill1734Stub(); + public static Skill1735Stub __stub_Skill1735Stub = new Skill1735Stub(); + public static Skill1736Stub __stub_Skill1736Stub = new Skill1736Stub(); + public static Skill1737Stub __stub_Skill1737Stub = new Skill1737Stub(); + public static Skill1738Stub __stub_Skill1738Stub = new Skill1738Stub(); + public static Skill1739Stub __stub_Skill1739Stub = new Skill1739Stub(); + public static Skill1740Stub __stub_Skill1740Stub = new Skill1740Stub(); + public static Skill1804Stub __stub_Skill1804Stub = new Skill1804Stub(); + public static Skill1810Stub __stub_Skill1810Stub = new Skill1810Stub(); + public static Skill1811Stub __stub_Skill1811Stub = new Skill1811Stub(); + public static Skill1812Stub __stub_Skill1812Stub = new Skill1812Stub(); + public static Skill1813Stub __stub_Skill1813Stub = new Skill1813Stub(); + public static Skill1814Stub __stub_Skill1814Stub = new Skill1814Stub(); + public static Skill1840Stub __stub_Skill1840Stub = new Skill1840Stub(); + public static Skill1841Stub __stub_Skill1841Stub = new Skill1841Stub(); + public static Skill1842Stub __stub_Skill1842Stub = new Skill1842Stub(); + public static Skill1843Stub __stub_Skill1843Stub = new Skill1843Stub(); + public static Skill1844Stub __stub_Skill1844Stub = new Skill1844Stub(); + public static Skill1845Stub __stub_Skill1845Stub = new Skill1845Stub(); + public static Skill1846Stub __stub_Skill1846Stub = new Skill1846Stub(); + public static Skill1847Stub __stub_Skill1847Stub = new Skill1847Stub(); + public static Skill1848Stub __stub_Skill1848Stub = new Skill1848Stub(); + public static Skill1849Stub __stub_Skill1849Stub = new Skill1849Stub(); + public static Skill1850Stub __stub_Skill1850Stub = new Skill1850Stub(); + public static Skill1857Stub __stub_Skill1857Stub = new Skill1857Stub(); + public static Skill1866Stub __stub_Skill1866Stub = new Skill1866Stub(); + public static Skill1869Stub __stub_Skill1869Stub = new Skill1869Stub(); + public static Skill1881Stub __stub_Skill1881Stub = new Skill1881Stub(); + public static Skill2216Stub __stub_Skill2216Stub = new Skill2216Stub(); + public static Skill2217Stub __stub_Skill2217Stub = new Skill2217Stub(); + public static Skill2218Stub __stub_Skill2218Stub = new Skill2218Stub(); + public static Skill2219Stub __stub_Skill2219Stub = new Skill2219Stub(); + public static Skill2220Stub __stub_Skill2220Stub = new Skill2220Stub(); + public static Skill2221Stub __stub_Skill2221Stub = new Skill2221Stub(); + public static Skill2222Stub __stub_Skill2222Stub = new Skill2222Stub(); + public static Skill2223Stub __stub_Skill2223Stub = new Skill2223Stub(); + public static Skill2224Stub __stub_Skill2224Stub = new Skill2224Stub(); + public static Skill2412Stub __stub_Skill2412Stub = new Skill2412Stub(); + public static Skill2413Stub __stub_Skill2413Stub = new Skill2413Stub(); + public static Skill2414Stub __stub_Skill2414Stub = new Skill2414Stub(); + public static Skill2415Stub __stub_Skill2415Stub = new Skill2415Stub(); + public static Skill2432Stub __stub_Skill2432Stub = new Skill2432Stub(); + public static Skill2433Stub __stub_Skill2433Stub = new Skill2433Stub(); + +#if SKILL_SERVER + public static Skill11 __stub_Skill11 = new Skill11(); + public static Skill15 __stub_Skill15 = new Skill15(); + public static Skill16 __stub_Skill16 = new Skill16(); + public static Skill17 __stub_Skill17 = new Skill17(); + public static Skill18 __stub_Skill18 = new Skill18(); + public static Skill19 __stub_Skill19 = new Skill19(); + public static Skill113 __stub_Skill113 = new Skill113(); + public static Skill114 __stub_Skill114 = new Skill114(); + public static Skill115 __stub_Skill115 = new Skill115(); + public static Skill116 __stub_Skill116 = new Skill116(); + public static Skill117 __stub_Skill117 = new Skill117(); + public static Skill118 __stub_Skill118 = new Skill118(); + public static Skill119 __stub_Skill119 = new Skill119(); + public static Skill120 __stub_Skill120 = new Skill120(); + public static Skill121 __stub_Skill121 = new Skill121(); + public static Skill122 __stub_Skill122 = new Skill122(); + public static Skill123 __stub_Skill123 = new Skill123(); + public static Skill124 __stub_Skill124 = new Skill124(); + public static Skill125 __stub_Skill125 = new Skill125(); + public static Skill126 __stub_Skill126 = new Skill126(); + public static Skill127 __stub_Skill127 = new Skill127(); + public static Skill128 __stub_Skill128 = new Skill128(); + public static Skill129 __stub_Skill129 = new Skill129(); + public static Skill130 __stub_Skill130 = new Skill130(); + public static Skill163 __stub_Skill163 = new Skill163(); + public static Skill189 __stub_Skill189 = new Skill189(); + public static Skill190 __stub_Skill190 = new Skill190(); + public static Skill191 __stub_Skill191 = new Skill191(); + public static Skill192 __stub_Skill192 = new Skill192(); + public static Skill193 __stub_Skill193 = new Skill193(); + public static Skill194 __stub_Skill194 = new Skill194(); + public static Skill232 __stub_Skill232 = new Skill232(); + public static Skill233 __stub_Skill233 = new Skill233(); + public static Skill372 __stub_Skill372 = new Skill372(); + public static Skill373 __stub_Skill373 = new Skill373(); + public static Skill542 __stub_Skill542 = new Skill542(); + public static Skill543 __stub_Skill543 = new Skill543(); + public static Skill544 __stub_Skill544 = new Skill544(); + public static Skill545 __stub_Skill545 = new Skill545(); + public static Skill546 __stub_Skill546 = new Skill546(); + public static Skill547 __stub_Skill547 = new Skill547(); + public static Skill548 __stub_Skill548 = new Skill548(); + public static Skill549 __stub_Skill549 = new Skill549(); + public static Skill550 __stub_Skill550 = new Skill550(); + public static Skill551 __stub_Skill551 = new Skill551(); + public static Skill552 __stub_Skill552 = new Skill552(); + public static Skill553 __stub_Skill553 = new Skill553(); + public static Skill554 __stub_Skill554 = new Skill554(); + public static Skill555 __stub_Skill555 = new Skill555(); + public static Skill556 __stub_Skill556 = new Skill556(); + public static Skill557 __stub_Skill557 = new Skill557(); + public static Skill558 __stub_Skill558 = new Skill558(); + public static Skill559 __stub_Skill559 = new Skill559(); + public static Skill560 __stub_Skill560 = new Skill560(); + public static Skill561 __stub_Skill561 = new Skill561(); + public static Skill562 __stub_Skill562 = new Skill562(); + public static Skill563 __stub_Skill563 = new Skill563(); + public static Skill564 __stub_Skill564 = new Skill564(); + public static Skill565 __stub_Skill565 = new Skill565(); + public static Skill566 __stub_Skill566 = new Skill566(); + public static Skill567 __stub_Skill567 = new Skill567(); + public static Skill568 __stub_Skill568 = new Skill568(); + public static Skill569 __stub_Skill569 = new Skill569(); + public static Skill570 __stub_Skill570 = new Skill570(); + public static Skill571 __stub_Skill571 = new Skill571(); + public static Skill572 __stub_Skill572 = new Skill572(); + public static Skill573 __stub_Skill573 = new Skill573(); + public static Skill574 __stub_Skill574 = new Skill574(); + public static Skill575 __stub_Skill575 = new Skill575(); + public static Skill576 __stub_Skill576 = new Skill576(); + public static Skill577 __stub_Skill577 = new Skill577(); + public static Skill578 __stub_Skill578 = new Skill578(); + public static Skill579 __stub_Skill579 = new Skill579(); + public static Skill580 __stub_Skill580 = new Skill580(); + public static Skill581 __stub_Skill581 = new Skill581(); + public static Skill582 __stub_Skill582 = new Skill582(); + public static Skill583 __stub_Skill583 = new Skill583(); + public static Skill584 __stub_Skill584 = new Skill584(); + public static Skill585 __stub_Skill585 = new Skill585(); + public static Skill586 __stub_Skill586 = new Skill586(); + public static Skill587 __stub_Skill587 = new Skill587(); + public static Skill588 __stub_Skill588 = new Skill588(); + public static Skill589 __stub_Skill589 = new Skill589(); + public static Skill611 __stub_Skill611 = new Skill611(); + public static Skill612 __stub_Skill612 = new Skill612(); + public static Skill613 __stub_Skill613 = new Skill613(); + public static Skill614 __stub_Skill614 = new Skill614(); + public static Skill615 __stub_Skill615 = new Skill615(); + public static Skill616 __stub_Skill616 = new Skill616(); + public static Skill617 __stub_Skill617 = new Skill617(); + public static Skill618 __stub_Skill618 = new Skill618(); + public static Skill619 __stub_Skill619 = new Skill619(); + public static Skill620 __stub_Skill620 = new Skill620(); + public static Skill621 __stub_Skill621 = new Skill621(); + public static Skill622 __stub_Skill622 = new Skill622(); + public static Skill623 __stub_Skill623 = new Skill623(); + public static Skill624 __stub_Skill624 = new Skill624(); + public static Skill625 __stub_Skill625 = new Skill625(); + public static Skill626 __stub_Skill626 = new Skill626(); + public static Skill627 __stub_Skill627 = new Skill627(); + public static Skill628 __stub_Skill628 = new Skill628(); + public static Skill629 __stub_Skill629 = new Skill629(); + public static Skill630 __stub_Skill630 = new Skill630(); + public static Skill631 __stub_Skill631 = new Skill631(); + public static Skill632 __stub_Skill632 = new Skill632(); + public static Skill633 __stub_Skill633 = new Skill633(); + public static Skill915 __stub_Skill915 = new Skill915(); + public static Skill916 __stub_Skill916 = new Skill916(); + public static Skill917 __stub_Skill917 = new Skill917(); + public static Skill918 __stub_Skill918 = new Skill918(); + public static Skill919 __stub_Skill919 = new Skill919(); + public static Skill920 __stub_Skill920 = new Skill920(); + public static Skill921 __stub_Skill921 = new Skill921(); + public static Skill922 __stub_Skill922 = new Skill922(); + public static Skill931 __stub_Skill931 = new Skill931(); + public static Skill932 __stub_Skill932 = new Skill932(); + public static Skill933 __stub_Skill933 = new Skill933(); + public static Skill934 __stub_Skill934 = new Skill934(); + public static Skill1340 __stub_Skill1340 = new Skill1340(); + public static Skill1341 __stub_Skill1341 = new Skill1341(); + public static Skill1342 __stub_Skill1342 = new Skill1342(); + public static Skill1343 __stub_Skill1343 = new Skill1343(); + public static Skill1344 __stub_Skill1344 = new Skill1344(); + public static Skill1345 __stub_Skill1345 = new Skill1345(); + public static Skill1346 __stub_Skill1346 = new Skill1346(); + public static Skill1347 __stub_Skill1347 = new Skill1347(); + public static Skill1348 __stub_Skill1348 = new Skill1348(); + public static Skill1349 __stub_Skill1349 = new Skill1349(); + public static Skill1350 __stub_Skill1350 = new Skill1350(); + public static Skill1351 __stub_Skill1351 = new Skill1351(); + public static Skill1352 __stub_Skill1352 = new Skill1352(); + public static Skill1353 __stub_Skill1353 = new Skill1353(); + public static Skill1354 __stub_Skill1354 = new Skill1354(); + public static Skill1355 __stub_Skill1355 = new Skill1355(); + public static Skill1356 __stub_Skill1356 = new Skill1356(); + public static Skill1357 __stub_Skill1357 = new Skill1357(); + public static Skill1358 __stub_Skill1358 = new Skill1358(); + public static Skill1359 __stub_Skill1359 = new Skill1359(); + public static Skill1360 __stub_Skill1360 = new Skill1360(); + public static Skill1361 __stub_Skill1361 = new Skill1361(); + public static Skill1362 __stub_Skill1362 = new Skill1362(); + public static Skill1363 __stub_Skill1363 = new Skill1363(); + public static Skill1364 __stub_Skill1364 = new Skill1364(); + public static Skill1365 __stub_Skill1365 = new Skill1365(); + public static Skill1366 __stub_Skill1366 = new Skill1366(); + public static Skill1367 __stub_Skill1367 = new Skill1367(); + public static Skill1368 __stub_Skill1368 = new Skill1368(); + public static Skill1369 __stub_Skill1369 = new Skill1369(); + public static Skill1370 __stub_Skill1370 = new Skill1370(); + public static Skill1371 __stub_Skill1371 = new Skill1371(); + public static Skill1372 __stub_Skill1372 = new Skill1372(); + public static Skill1373 __stub_Skill1373 = new Skill1373(); + public static Skill1664 __stub_Skill1664 = new Skill1664(); + public static Skill1665 __stub_Skill1665 = new Skill1665(); + public static Skill1666 __stub_Skill1666 = new Skill1666(); + public static Skill1667 __stub_Skill1667 = new Skill1667(); + public static Skill1668 __stub_Skill1668 = new Skill1668(); + public static Skill1669 __stub_Skill1669 = new Skill1669(); + public static Skill1670 __stub_Skill1670 = new Skill1670(); + public static Skill1671 __stub_Skill1671 = new Skill1671(); + public static Skill1672 __stub_Skill1672 = new Skill1672(); + public static Skill1673 __stub_Skill1673 = new Skill1673(); + public static Skill1674 __stub_Skill1674 = new Skill1674(); + public static Skill1675 __stub_Skill1675 = new Skill1675(); + public static Skill1676 __stub_Skill1676 = new Skill1676(); + public static Skill1677 __stub_Skill1677 = new Skill1677(); + public static Skill1678 __stub_Skill1678 = new Skill1678(); + public static Skill1679 __stub_Skill1679 = new Skill1679(); + public static Skill1680 __stub_Skill1680 = new Skill1680(); + public static Skill1681 __stub_Skill1681 = new Skill1681(); + public static Skill1682 __stub_Skill1682 = new Skill1682(); + public static Skill1683 __stub_Skill1683 = new Skill1683(); + public static Skill1684 __stub_Skill1684 = new Skill1684(); + public static Skill1685 __stub_Skill1685 = new Skill1685(); + public static Skill1686 __stub_Skill1686 = new Skill1686(); + public static Skill1687 __stub_Skill1687 = new Skill1687(); + public static Skill1688 __stub_Skill1688 = new Skill1688(); + public static Skill1689 __stub_Skill1689 = new Skill1689(); + public static Skill1690 __stub_Skill1690 = new Skill1690(); + public static Skill1691 __stub_Skill1691 = new Skill1691(); + public static Skill1692 __stub_Skill1692 = new Skill1692(); + public static Skill1693 __stub_Skill1693 = new Skill1693(); + public static Skill1694 __stub_Skill1694 = new Skill1694(); + public static Skill1695 __stub_Skill1695 = new Skill1695(); + public static Skill1696 __stub_Skill1696 = new Skill1696(); + public static Skill1697 __stub_Skill1697 = new Skill1697(); + public static Skill1698 __stub_Skill1698 = new Skill1698(); + public static Skill1699 __stub_Skill1699 = new Skill1699(); + public static Skill1700 __stub_Skill1700 = new Skill1700(); + public static Skill1701 __stub_Skill1701 = new Skill1701(); + public static Skill1702 __stub_Skill1702 = new Skill1702(); + public static Skill1703 __stub_Skill1703 = new Skill1703(); + public static Skill1704 __stub_Skill1704 = new Skill1704(); + public static Skill1705 __stub_Skill1705 = new Skill1705(); + public static Skill1706 __stub_Skill1706 = new Skill1706(); + public static Skill1707 __stub_Skill1707 = new Skill1707(); + public static Skill1708 __stub_Skill1708 = new Skill1708(); + public static Skill1709 __stub_Skill1709 = new Skill1709(); + public static Skill1710 __stub_Skill1710 = new Skill1710(); + public static Skill1711 __stub_Skill1711 = new Skill1711(); + public static Skill1712 __stub_Skill1712 = new Skill1712(); + public static Skill1713 __stub_Skill1713 = new Skill1713(); + public static Skill1714 __stub_Skill1714 = new Skill1714(); + public static Skill1715 __stub_Skill1715 = new Skill1715(); + public static Skill1716 __stub_Skill1716 = new Skill1716(); + public static Skill1717 __stub_Skill1717 = new Skill1717(); + public static Skill1718 __stub_Skill1718 = new Skill1718(); + public static Skill1719 __stub_Skill1719 = new Skill1719(); + public static Skill1720 __stub_Skill1720 = new Skill1720(); + public static Skill1721 __stub_Skill1721 = new Skill1721(); + public static Skill1731 __stub_Skill1731 = new Skill1731(); + public static Skill1732 __stub_Skill1732 = new Skill1732(); + public static Skill1733 __stub_Skill1733 = new Skill1733(); + public static Skill1734 __stub_Skill1734 = new Skill1734(); + public static Skill1735 __stub_Skill1735 = new Skill1735(); + public static Skill1736 __stub_Skill1736 = new Skill1736(); + public static Skill1737 __stub_Skill1737 = new Skill1737(); + public static Skill1738 __stub_Skill1738 = new Skill1738(); + public static Skill1739 __stub_Skill1739 = new Skill1739(); + public static Skill1740 __stub_Skill1740 = new Skill1740(); + public static Skill1804 __stub_Skill1804 = new Skill1804(); + public static Skill1810 __stub_Skill1810 = new Skill1810(); + public static Skill1811 __stub_Skill1811 = new Skill1811(); + public static Skill1812 __stub_Skill1812 = new Skill1812(); + public static Skill1813 __stub_Skill1813 = new Skill1813(); + public static Skill1814 __stub_Skill1814 = new Skill1814(); + public static Skill1840 __stub_Skill1840 = new Skill1840(); + public static Skill1841 __stub_Skill1841 = new Skill1841(); + public static Skill1842 __stub_Skill1842 = new Skill1842(); + public static Skill1843 __stub_Skill1843 = new Skill1843(); + public static Skill1844 __stub_Skill1844 = new Skill1844(); + public static Skill1845 __stub_Skill1845 = new Skill1845(); + public static Skill1846 __stub_Skill1846 = new Skill1846(); + public static Skill1847 __stub_Skill1847 = new Skill1847(); + public static Skill1848 __stub_Skill1848 = new Skill1848(); + public static Skill1849 __stub_Skill1849 = new Skill1849(); + public static Skill1850 __stub_Skill1850 = new Skill1850(); + public static Skill1857 __stub_Skill1857 = new Skill1857(); + public static Skill1866 __stub_Skill1866 = new Skill1866(); + public static Skill1869 __stub_Skill1869 = new Skill1869(); + public static Skill1881 __stub_Skill1881 = new Skill1881(); + public static Skill2216 __stub_Skill2216 = new Skill2216(); + public static Skill2217 __stub_Skill2217 = new Skill2217(); + public static Skill2218 __stub_Skill2218 = new Skill2218(); + public static Skill2219 __stub_Skill2219 = new Skill2219(); + public static Skill2220 __stub_Skill2220 = new Skill2220(); + public static Skill2221 __stub_Skill2221 = new Skill2221(); + public static Skill2222 __stub_Skill2222 = new Skill2222(); + public static Skill2223 __stub_Skill2223 = new Skill2223(); + public static Skill2224 __stub_Skill2224 = new Skill2224(); + public static Skill2412 __stub_Skill2412 = new Skill2412(); + public static Skill2413 __stub_Skill2413 = new Skill2413(); + public static Skill2414 __stub_Skill2414 = new Skill2414(); + public static Skill2415 __stub_Skill2415 = new Skill2415(); + public static Skill2432 __stub_Skill2432 = new Skill2432(); + public static Skill2433 __stub_Skill2433 = new Skill2433(); +#endif + } +} diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/SkillStubs4.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/SkillStubs4.cs.meta new file mode 100644 index 0000000000..611062cb49 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/SkillStubs4.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 01158019e0a424bc4a8b1ae590ec7d42 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill11.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill11.cs new file mode 100644 index 0000000000..0d014e8085 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill11.cs @@ -0,0 +1,100 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill11 : Skill + { + public const int SKILL_ID = 11; + + public Skill11() : base(SKILL_ID) + { + } + } +#endif + + public class Skill11Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill11Stub() : base(11) + { + cls = 7; + name = "金精通"; + nativename = "金精通"; + icon = "金精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 1; + posdouble = 0; + time_type = 0; + showorder = 1431; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill11Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncgold (0.02f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill11.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill11.cs.meta new file mode 100644 index 0000000000..20d962325b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill11.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bf6de6db86b634066a5360936f792299 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill113.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill113.cs new file mode 100644 index 0000000000..6b30434b4e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill113.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill113 : Skill + { + public const int SKILL_ID = 113; + + public Skill113() : base(SKILL_ID) + { + } + } +#endif + + public class Skill113Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 240, 960, 2240, 4160, 6720, 10240, 14880, 21040, 29200 }; + private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-20 + 30 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-20 + 30 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill113Stub() : base(113) + { + cls = 7; + name = "清心咒"; + nativename = "清心咒"; + icon = "清心咒"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1401; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "清心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/清心咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill113Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-20 + 30 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => -35 + 70 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 4 * skill.GetLevel () / 100 - 35 + 70 * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill113.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill113.cs.meta new file mode 100644 index 0000000000..a7c96a0374 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill113.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: be41e9518077f4ca8874474ec806e7e5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill114.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill114.cs new file mode 100644 index 0000000000..d05679ca03 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill114.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill114 : Skill + { + public const int SKILL_ID = 114; + + public Skill114() : base(SKILL_ID) + { + } + } +#endif + + public class Skill114Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 6, 11, 16, 21, 26, 31, 36, 41, 46, 51 }; + private static readonly int[] RequiredSpArray = { 320, 1200, 2560, 4640, 7360, 11120, 16000, 22480, 31120, 42560 }; + private static readonly int[] RequiredMoneyArray = { 50, 160, 320, 530, 820, 1270, 1720, 2180, 2680, 3180 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(4.5f + 22.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(4.5f + 22.5f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill114Stub() : base(114) + { + cls = 7; + name = "静心咒"; + nativename = "静心咒"; + icon = "静心符"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1402; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "静心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/静心咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(113, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill114Stub() { } + + public override float GetMpcost(Skill skill) => (float)(4.5 + 22.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 7 + 35 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 3 * skill.GetLevel () / 100 + 14 + 70 * skill.GetLevel ()); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill114.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill114.cs.meta new file mode 100644 index 0000000000..813f0e208c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill114.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 332167246551c4601a53a60d6c81bc7e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill115.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill115.cs new file mode 100644 index 0000000000..b1ed5993d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill115.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill115 : Skill + { + public const int SKILL_ID = 115; + + public Skill115() : base(SKILL_ID) + { + } + } +#endif + + public class Skill115Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 800, 1920, 3680, 6160, 9440, 13840, 19680, 27360, 37600, 51200 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(12 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(12 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill115Stub() : base(115) + { + cls = 7; + name = "醍醐灌顶"; + nativename = "醍醐灌顶"; + icon = "醍醐灌顶"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1403; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "醍醐灌顶"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/醍醐灌顶击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(114, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill115Stub() { } + + public override float GetMpcost(Skill skill) => (float)(12 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 24 + 28 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 2 * skill.GetLevel () / 100 + 50 + 30 * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill115.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill115.cs.meta new file mode 100644 index 0000000000..572543a873 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill115.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 07136ae7ef6d842c0887dc41d6da8e48 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill116.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill116.cs new file mode 100644 index 0000000000..d9fe9b0952 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill116.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill116 : Skill + { + public const int SKILL_ID = 116; + + public Skill116() : base(SKILL_ID) + { + } + } +#endif + + public class Skill116Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 37600, 48160, 61520, 78640, 100000, 128000, 172000, 261600, 387200, 564000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(450 + 40 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(450 + 40 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill116Stub() : base(116) + { + cls = 7; + name = "海纳百川"; + nativename = "海纳百川"; + icon = "海纳百川"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 0; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1407; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "海纳百川"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/海纳百川击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(15, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill116Stub() { } + + public override float GetMpcost(Skill skill) => (float)(450 + 40 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => (float)(10 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 945 + 90 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * (0.2f + 0.03f * skill.GetLevel ()) + 630 + 60 * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (630 + 60 * skill.GetLevel ()); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill116.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill116.cs.meta new file mode 100644 index 0000000000..1f79dbc511 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill116.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1eb75c4b67f7348ee99136f6f4f67a4a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill117.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill117.cs new file mode 100644 index 0000000000..1d43c86a63 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill117.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill117 : Skill + { + public const int SKILL_ID = 117; + + public Skill117() : base(SKILL_ID) + { + } + } +#endif + + public class Skill117Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(72 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(72 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill117Stub() : base(117) + { + cls = 7; + name = "五体符"; + nativename = "五体符"; + icon = "五体符"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 12; + attr = 0; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1410; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "五体符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五体符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五体符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(17, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill117Stub() { } + + public override float GetMpcost(Skill skill) => (float)(72 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 300 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 + 1000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 + 1000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 25; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill117.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill117.cs.meta new file mode 100644 index 0000000000..3b706a44ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill117.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bb5607f8404ff47b68b7d87fd8e08232 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill118.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill118.cs new file mode 100644 index 0000000000..ede68a4ea9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill118.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill118 : Skill + { + public const int SKILL_ID = 118; + + public Skill118() : base(SKILL_ID) + { + } + } +#endif + + public class Skill118Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(157.5f + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(157.5f + 18 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill118Stub() : base(118) + { + cls = 7; + name = "五音符"; + nativename = "五音符"; + icon = "五音符"; + max_level = 10; + type = 3; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1411; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "五音符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五音符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五音符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(117, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill118Stub() { } + + public override float GetMpcost(Skill skill) => (float)(157.5 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 500 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime ((1 + skill.GetRand () / 50) * (1600 + 400 * skill.GetLevel ())); + skill.GetVictim ().SetFix (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000 + 500 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 25; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill118.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill118.cs.meta new file mode 100644 index 0000000000..fa8742b3e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill118.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 70da2d1659f81470290d861398e6a187 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill119.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill119.cs new file mode 100644 index 0000000000..e77b8c1a80 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill119.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill119 : Skill + { + public const int SKILL_ID = 119; + + public Skill119() : base(SKILL_ID) + { + } + } +#endif + + public class Skill119Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(337.5f + 30 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(337.5f + 30 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill119Stub() : base(119) + { + cls = 7; + name = "五色符"; + nativename = "五色符"; + icon = "五色符"; + max_level = 10; + type = 3; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1412; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "五色符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五色符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五色符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.5f, 0.5f, 0.5f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.5f; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(118, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill119Stub() { } + + public override float GetMpcost(Skill skill) => (float)(337.5 + 30 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 40000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 800 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime ((1 + skill.GetRand () / 50) * (3200 + 800 * skill.GetLevel ())); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + 1000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 25; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill119.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill119.cs.meta new file mode 100644 index 0000000000..e09d1ee30c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill119.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2ce8c63d87b2f45ae8ae8744b2e86c15 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill120.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill120.cs new file mode 100644 index 0000000000..2a369ff487 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill120.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill120 : Skill + { + public const int SKILL_ID = 120; + + public Skill120() : base(SKILL_ID) + { + } + } +#endif + + public class Skill120Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 12, 15, 18, 21, 24, 27, 30, 33, 36 }; + private static readonly int[] RequiredSpArray = { 800, 1440, 2240, 3280, 4640, 6160, 8000, 10240, 12880, 16000 }; + private static readonly int[] RequiredMoneyArray = { 110, 190, 280, 400, 530, 680, 910, 1180, 1450, 1720 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(18 + 9 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(18 + 9 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill120Stub() : base(120) + { + cls = 7; + name = "坚甲符"; + nativename = "坚甲符"; + icon = "坚甲符"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1413; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "坚甲符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/坚甲符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill120Stub() { } + + public override float GetMpcost(Skill skill) => (float)(18 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.1f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetStoneskin (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill120.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill120.cs.meta new file mode 100644 index 0000000000..0d4135dbfb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill120.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 04e82f004fa0243b4bbaf475956b273b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill121.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill121.cs new file mode 100644 index 0000000000..e7f1ad050c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill121.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill121 : Skill + { + public const int SKILL_ID = 121; + + public Skill121() : base(SKILL_ID) + { + } + } +#endif + + public class Skill121Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 46 }; + private static readonly int[] RequiredSpArray = { 31120 }; + private static readonly int[] RequiredMoneyArray = { 2680 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(750); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill121Stub() : base(121) + { + cls = 7; + name = "真灵护体"; + nativename = "真灵护体"; + icon = "真灵护体"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 0; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1418; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "真灵护体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/真灵护体击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(191, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill121Stub() { } + + public override float GetMpcost(Skill skill) => 750f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill121.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill121.cs.meta new file mode 100644 index 0000000000..de90dbf728 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill121.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cfe60a1155c0a4dc2a9b62dfb947a287 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill122.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill122.cs new file mode 100644 index 0000000000..b9858302a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill122.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill122 : Skill + { + public const int SKILL_ID = 122; + + public Skill122() : base(SKILL_ID) + { + } + } +#endif + + public class Skill122Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 53 }; + private static readonly int[] RequiredSpArray = { 48160 }; + private static readonly int[] RequiredMoneyArray = { 3380 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(900); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill122Stub() : base(122) + { + cls = 7; + name = "天师借法"; + nativename = "天师借法"; + icon = "乾坤借法"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 0; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1419; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "乾坤借法"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/乾坤借法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(192, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill122Stub() { } + + public override float GetMpcost(Skill skill) => 900f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetFasthpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetFastmpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill122.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill122.cs.meta new file mode 100644 index 0000000000..1eae97cbb6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill122.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9a28fcc15ae794a238620fd195e1f2d7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill123.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill123.cs new file mode 100644 index 0000000000..94e53b9013 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill123.cs @@ -0,0 +1,222 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill123 : Skill + { + public const int SKILL_ID = 123; + + public Skill123() : base(SKILL_ID) + { + } + } +#endif + + public class Skill123Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 69600 }; + private static readonly int[] RequiredMoneyArray = { 3980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 4800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill123Stub() : base(123) + { + cls = 7; + name = "天地无极"; + nativename = "天地无极"; + icon = "天地无极"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1421; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "天地无级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/天地无级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill123Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill123.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill123.cs.meta new file mode 100644 index 0000000000..795d04ba23 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill123.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e6cab0645221c4577b39926ae23caa6e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill124.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill124.cs new file mode 100644 index 0000000000..820b506f0a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill124.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill124 : Skill + { + public const int SKILL_ID = 124; + + public Skill124() : base(SKILL_ID) + { + } + } +#endif + + public class Skill124Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 69600 }; + private static readonly int[] RequiredMoneyArray = { 3980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(1000); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill124Stub() : base(124) + { + cls = 7; + name = "神兵利器"; + nativename = "神兵利器"; + icon = "神兵利器"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 0; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1420; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "神兵利器"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神兵利器击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(193, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill124Stub() { } + + public override float GetMpcost(Skill skill) => 1000f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.70f); + skill.GetVictim ().SetBlessmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill124.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill124.cs.meta new file mode 100644 index 0000000000..30d1cfc841 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill124.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c10eb6fc377a1411b95c93272bf874b2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill125.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill125.cs new file mode 100644 index 0000000000..b34ca56cf7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill125.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill125 : Skill + { + public const int SKILL_ID = 125; + + public Skill125() : base(SKILL_ID) + { + } + } +#endif + + public class Skill125Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-10 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 35 - 2.5 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-10 + 15 * skill.GetLevel())); + skill.SetPlus(4.5f * skill.GetLevel() * skill.GetLevel() + 90 * skill.GetLevel() + 29.6f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill125Stub() : base(125) + { + cls = 7; + name = "羽箭"; + nativename = "羽箭"; + icon = "羽箭"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1422; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "羽箭"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽箭飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽箭击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 10000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)0; + // m_param = new GFX_SKILL_PARAM(); + // m_param.bVal = false; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill125Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-10 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill125.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill125.cs.meta new file mode 100644 index 0000000000..250bfa1a74 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill125.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd5e6446a49ed4cbdb6f07ba1a016f5c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill126.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill126.cs new file mode 100644 index 0000000000..ba816c3075 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill126.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill126 : Skill + { + public const int SKILL_ID = 126; + + public Skill126() : base(SKILL_ID) + { + } + } +#endif + + public class Skill126Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 23, 28, 33, 38, 43, 48, 53, 58, 63, 68 }; + private static readonly int[] RequiredSpArray = { 7000, 10900, 16100, 23000, 32000, 44100, 60200, 81800, 111000, 151000 }; + private static readonly int[] RequiredMoneyArray = { 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880, 10980, 41980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(81 + 22.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(81 + 22.5f * skill.GetLevel())); + skill.SetPlus(4.1f * skill.GetLevel() * skill.GetLevel() + 134.4f * skill.GetLevel() + 504.2f); + skill.SetRatio(1 + 0.1f * skill.GetLevel()); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill126Stub() : base(126) + { + cls = 7; + name = "羽刃"; + nativename = "羽刃"; + icon = "羽刃"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1424; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "羽刃"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽刃飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽刃中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.2f; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(19, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill126Stub() { } + + public override float GetMpcost(Skill skill) => (float)(81 + 22.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(4 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 300 * skill.GetLevel (); + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill126.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill126.cs.meta new file mode 100644 index 0000000000..23f1d6a8c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill126.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 673940721077144f39edc90c09380663 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill127.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill127.cs new file mode 100644 index 0000000000..26cc9ec780 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill127.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill127 : Skill + { + public const int SKILL_ID = 127; + + public Skill127() : base(SKILL_ID) + { + } + } +#endif + + public class Skill127Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 3, 8, 13, 18, 23, 28, 33, 38, 43, 48 }; + private static readonly int[] RequiredSpArray = { 100, 800, 2100, 4100, 7000, 10900, 16100, 23000, 32000, 44100 }; + private static readonly int[] RequiredMoneyArray = { 10, 90, 220, 400, 630, 1000, 1450, 1900, 2380, 2880 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-6 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-6 + 15 * skill.GetLevel())); + skill.SetPlus(4.1f * skill.GetLevel() * skill.GetLevel() + 88.5f * skill.GetLevel() + 77.6f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill127Stub() : base(127) + { + cls = 7; + name = "龙卷风"; + nativename = "龙卷风"; + icon = "龙卷风"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "龙卷风"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/龙卷风击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2500; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill127Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-6 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 62 + 3 * skill.GetLevel ()); + skill.GetVictim ().SetTime (5000 + 300 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill127.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill127.cs.meta new file mode 100644 index 0000000000..77ee738b5e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill127.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0e0c7efbab82844e1b2017d3a03a5d52 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill128.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill128.cs new file mode 100644 index 0000000000..99688d52aa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill128.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill128 : Skill + { + public const int SKILL_ID = 128; + + public Skill128() : base(SKILL_ID) + { + } + } +#endif + + public class Skill128Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 16, 21, 26, 31, 36, 41, 46, 51, 56, 61 }; + private static readonly int[] RequiredSpArray = { 3200, 5800, 9200, 13900, 20000, 28100, 38900, 53200, 72400, 98300 }; + private static readonly int[] RequiredMoneyArray = { 320, 530, 820, 1270, 1720, 2180, 2680, 3180, 3680, 6980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(39.6f + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(39.6f + 18 * skill.GetLevel())); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill128Stub() : base(128) + { + cls = 7; + name = "神雷"; + nativename = "神雷"; + icon = "神雷"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 2; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1426; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "神雷"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/神雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(127, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill128Stub() { } + + public override float GetMpcost(Skill skill) => (float)(39.6 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (11.4f * skill.GetLevel () * skill.GetLevel () + 266.9f * skill.GetLevel () + 610.7f); + skill.GetVictim ().SetThunder (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill128.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill128.cs.meta new file mode 100644 index 0000000000..48025cb0b7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill128.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eac20562cca3e449d9019747cabee3af \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill129.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill129.cs new file mode 100644 index 0000000000..c8f9ff3cb6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill129.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill129 : Skill + { + public const int SKILL_ID = 129; + + public Skill129() : base(SKILL_ID) + { + } + } +#endif + + public class Skill129Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(144 + 30 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(144 + 30 * skill.GetLevel())); + skill.SetPlus(6.5f * skill.GetLevel() * skill.GetLevel() + 214.2f * skill.GetLevel() + 916.3f); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill129Stub() : base(129) + { + cls = 7; + name = "和风拂面"; + nativename = "和风拂面"; + icon = "和风拂面"; + max_level = 10; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1427; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "和风拂面"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/和风拂面击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(128, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill129Stub() { } + + public override float GetMpcost(Skill skill) => (float)(144 + 30 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill129.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill129.cs.meta new file mode 100644 index 0000000000..093fd9e25d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill129.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1db96536c3a944af9956c16fa3ab584c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill130.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill130.cs new file mode 100644 index 0000000000..e59bea4c64 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill130.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill130 : Skill + { + public const int SKILL_ID = 130; + + public Skill130() : base(SKILL_ID) + { + } + } +#endif + + public class Skill130Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(336 + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(336 + 18 * skill.GetLevel())); + skill.SetPlus(6 * skill.GetLevel() * skill.GetLevel() + 377.7f * skill.GetLevel() + 4960.1f); + skill.SetRatio(2 + 0.2f * skill.GetLevel()); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill130Stub() : base(130) + { + cls = 7; + name = "狂雷天威"; + nativename = "狂雷天威"; + icon = "狂雷天威"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1429; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "狂雷天威"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/狂雷天威击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 10000; + m_bTraceTarget = true; + m_FlyClusterCount = 6; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 11.0f; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(163, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill130Stub() { } + + public override float GetMpcost(Skill skill) => (float)(336 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 85 + skill.GetLevel ()); + skill.GetVictim ().SetTime (6000 + 200 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill130.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill130.cs.meta new file mode 100644 index 0000000000..a57de4038c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill130.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a373ab9ae08484312bfb14ecc268cc2f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1340.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1340.cs new file mode 100644 index 0000000000..b4f83444cb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1340.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1340 : Skill + { + public const int SKILL_ID = 1340; + + public Skill1340() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1340Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2133; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1867; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1340Stub() : base(1340) + { + cls = 8; + name = "三才剑咒"; + nativename = "三才剑咒"; + icon = "三才剑咒"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1127; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_三才剑咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/三才剑咒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1344, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1340Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1867; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (29371 + skill.GetLevel ()); + skill.GetVictim ().SetActivatesharpener (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1340.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1340.cs.meta new file mode 100644 index 0000000000..fe88f4dd46 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1340.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f0f3b431383114cc685d6e0501121e1c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1341.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1341.cs new file mode 100644 index 0000000000..b558a7f983 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1341.cs @@ -0,0 +1,156 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1341 : Skill + { + public const int SKILL_ID = 1341; + + public Skill1341() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1341Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(25 + 1.5f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1341Stub() : base(1341) + { + cls = 8; + name = "剑心通明"; + nativename = "剑心通明"; + icon = "剑心通明"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1105; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_剑心通明"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/剑灵_剑心通明_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1360, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1341Stub() { } + + public override float GetMpcost(Skill skill) => (float)(25 + 1.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.4f + 0.04f * skill.GetLevel ()); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1341.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1341.cs.meta new file mode 100644 index 0000000000..4d16ce82bb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1341.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9005ebe4502d640578e8d7197617d21f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1342.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1342.cs new file mode 100644 index 0000000000..f8c4f539e4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1342.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1342 : Skill + { + public const int SKILL_ID = 1342; + + public Skill1342() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1342Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 59, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 87000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 3980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(100 + 50 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1867; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(100 + 50 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1342Stub() : base(1342) + { + cls = 8; + name = "六合剑咒"; + nativename = "六合剑咒"; + icon = "六合剑咒"; + max_level = 3; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1127; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_六合剑咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_六合剑咒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1345, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1342Stub() { } + + public override float GetMpcost(Skill skill) => (float)(100 + 50 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1867; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (29381 + skill.GetLevel ()); + skill.GetVictim ().SetActivatesharpener (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1342.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1342.cs.meta new file mode 100644 index 0000000000..75d7aab084 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1342.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0dbc5372a5018403e9a580839b392d6b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1343.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1343.cs new file mode 100644 index 0000000000..2f0e88fe27 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1343.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1343 : Skill + { + public const int SKILL_ID = 1343; + + public Skill1343() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1343Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 74, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 239000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 151980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(250 + 75 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3067; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(250 + 75 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1343Stub() : base(1343) + { + cls = 8; + name = "九宫剑咒"; + nativename = "九宫剑咒"; + icon = "九宫剑咒"; + max_level = 3; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1127; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_九宫剑咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_九宫剑咒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1346, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1343Stub() { } + + public override float GetMpcost(Skill skill) => (float)(250 + 75 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 3067; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (29384 + skill.GetLevel ()); + skill.GetVictim ().SetActivatesharpener (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1343.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1343.cs.meta new file mode 100644 index 0000000000..818dca63e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1343.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3b178dc8877d34075acd25675113c777 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1344.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1344.cs new file mode 100644 index 0000000000..8dc200bb22 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1344.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1344 : Skill + { + public const int SKILL_ID = 1344; + + public Skill1344() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1344Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 13, 18, 23, 28, 33, 38, 43, 48, 53, 58 }; + private static readonly int[] RequiredSpArray = { 2100, 4100, 7000, 10900, 16100, 23000, 32000, 44100, 60200, 81800 }; + private static readonly int[] RequiredMoneyArray = { 220, 400, 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1344Stub() : base(1344) + { + cls = 8; + name = "玄武剑诀"; + nativename = "玄武剑诀"; + icon = "玄武剑诀"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1111; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_玄武剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_玄武剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1344Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10 + 2 * skill.GetLevel ()); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1351); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (1365); + skill.GetVictim ().SetAttackattachstate1 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1344.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1344.cs.meta new file mode 100644 index 0000000000..9bb2d1aab8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1344.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 84925d4679dd34350941e9bea5701721 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1345.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1345.cs new file mode 100644 index 0000000000..c188d7e018 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1345.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1345 : Skill + { + public const int SKILL_ID = 1345; + + public Skill1345() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1345Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1345Stub() : base(1345) + { + cls = 8; + name = "饮血剑诀"; + nativename = "饮血剑诀"; + icon = "饮血剑诀"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1115; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_饮血剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_饮血剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1340, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1345Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 667; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10 + skill.GetLevel ()); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1354); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (1366); + skill.GetVictim ().SetAttackattachstate2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1345.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1345.cs.meta new file mode 100644 index 0000000000..74a7850d0a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1345.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6ec10ec8854cf400396686e4a6b770ba \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1346.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1346.cs new file mode 100644 index 0000000000..eab9be8159 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1346.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1346 : Skill + { + public const int SKILL_ID = 1346; + + public Skill1346() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1346Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1346Stub() : base(1346) + { + cls = 8; + name = "磐龙剑诀"; + nativename = "磐龙剑诀"; + icon = "磐龙剑诀"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1116; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_磐龙剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_磐龙剑诀_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1342, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1346Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 733; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30 + 2 * skill.GetLevel ()); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1357); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (1367); + skill.GetVictim ().SetAttackattachstate3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1346.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1346.cs.meta new file mode 100644 index 0000000000..150dc2918f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1346.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cccce2d6d59844a45b8fe79ac6895a83 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1347.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1347.cs new file mode 100644 index 0000000000..cbd033cd80 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1347.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1347 : Skill + { + public const int SKILL_ID = 1347; + + public Skill1347() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1347Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 24, 29, 34, 39, 44, 49, 54, 59, 64, 69 }; + private static readonly int[] RequiredSpArray = { 6160, 9440, 13840, 19680, 27360, 37600, 51200, 69600, 94400, 128000 }; + private static readonly int[] RequiredMoneyArray = { 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1347Stub() : base(1347) + { + cls = 8; + name = "金刚剑印"; + nativename = "金刚剑印"; + icon = "金刚剑印"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1121; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_金刚剑印"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/金刚剑印_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1347Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 467; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(15 + 0.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 + 10 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000 + 30000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurtphysicgold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1347.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1347.cs.meta new file mode 100644 index 0000000000..0384c3c3f7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1347.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6e3b577dd31c5404aacea66a42eb5b11 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1348.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1348.cs new file mode 100644 index 0000000000..710ac7a69b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1348.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1348 : Skill + { + public const int SKILL_ID = 1348; + + public Skill1348() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1348Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1348Stub() : base(1348) + { + cls = 8; + name = "寒潮剑印"; + nativename = "寒潮剑印"; + icon = "寒潮剑印"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1122; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_寒潮剑印"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寒潮剑印_击中剑印.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1347, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1348Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 533; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(15 + 0.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 + 10 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (120000 + 18000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (10 + 2 * skill.GetLevel ()); + skill.GetVictim ().SetInchurtwoodwater (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1348.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1348.cs.meta new file mode 100644 index 0000000000..9268f37d3f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1348.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ecf4b974eda9f4b009eb20398317982f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1349.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1349.cs new file mode 100644 index 0000000000..dbb9de00df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1349.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1349 : Skill + { + public const int SKILL_ID = 1349; + + public Skill1349() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1349Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(10 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1349Stub() : base(1349) + { + cls = 8; + name = "焚心剑印"; + nativename = "焚心剑印"; + icon = "焚心剑印"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1123; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_焚心剑印"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_焚心剑印_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1348, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1349Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 467; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(15 + 0.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 + 10 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetValue (5 * skill.GetLevel ()); + skill.GetVictim ().SetInchurtfireearth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1349.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1349.cs.meta new file mode 100644 index 0000000000..cf80e46764 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1349.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5ab5aa3fa845644e69f1557c8a4fb30f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1350.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1350.cs new file mode 100644 index 0000000000..a8107c387c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1350.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1350 : Skill + { + public const int SKILL_ID = 1350; + + public Skill1350() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1350Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-5 + 7 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-5 + 7 * skill.GetLevel())); + skill.SetPlus(1.9f * skill.GetLevel() * skill.GetLevel() + 53.3f * skill.GetLevel() + 60.8f); + skill.SetRatio(0.09f * skill.GetLevel()); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1350Stub() : base(1350) + { + cls = 8; + name = "碎石剑气"; + nativename = "碎石剑气"; + icon = "碎石剑气"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1124; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_碎石剑气"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_碎石剑气_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_碎石剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 2.3f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1350Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-5 + 7 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 733; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16 + 0.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 0.5f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1350.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1350.cs.meta new file mode 100644 index 0000000000..e638ae5ab7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1350.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0388d443f2734401bace3600b44c937b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1351.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1351.cs new file mode 100644 index 0000000000..0d3e053985 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1351.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1351 : Skill + { + public const int SKILL_ID = 1351; + + public Skill1351() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1351Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 800, 1920, 3680, 6160, 9440, 13840, 19680, 27360, 37600, 51200 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(4.5f + 5.6f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(4.5f + 5.6f * skill.GetLevel())); + skill.SetPlus(2.6f * skill.GetLevel() * skill.GetLevel() + 78 * skill.GetLevel() + 167); + skill.SetRatio(0.09f * skill.GetLevel()); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1351Stub() : base(1351) + { + cls = 8; + name = "破风剑气"; + nativename = "破风剑气"; + icon = "破风剑气"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1125; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_破风剑气"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/破风剑气_旋转剑气.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/破风剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1350, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1351Stub() { } + + public override float GetMpcost(Skill skill) => (float)(4.5 + 5.6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16 + 0.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 0.5f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1351.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1351.cs.meta new file mode 100644 index 0000000000..ee54241cac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1351.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e6258d67c5c144f469532fe10fa4e27c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1352.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1352.cs new file mode 100644 index 0000000000..7520223a48 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1352.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1352 : Skill + { + public const int SKILL_ID = 1352; + + public Skill1352() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1352Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(15.7f + 5.6f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(15.7f + 5.6f * skill.GetLevel())); + skill.SetPlus(3.4f * skill.GetLevel() * skill.GetLevel() + 110.4f * skill.GetLevel() + 368.2f); + skill.SetRatio(0.09f * skill.GetLevel()); + skill.SetGolddamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1352Stub() : base(1352) + { + cls = 8; + name = "流光剑气"; + nativename = "流光剑气"; + icon = "流光剑劲"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 7; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1126; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_流光剑劲"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_流光剑劲_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_流光剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1351, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1352Stub() { } + + public override float GetMpcost(Skill skill) => (float)(15.7 + 5.6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 4000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(15 + 0.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 450 * skill.GetLevel (); + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1352.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1352.cs.meta new file mode 100644 index 0000000000..bde6889d83 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1352.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d0a78ae1ae97246f4bcf06d9ccd50937 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1353.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1353.cs new file mode 100644 index 0000000000..b5f9988e53 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1353.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1353 : Skill + { + public const int SKILL_ID = 1353; + + public Skill1353() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1353Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(40.3f + 8.4f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(40.3f + 8.4f * skill.GetLevel())); + skill.SetPlus(6.1f * skill.GetLevel() * skill.GetLevel() + 199.7f * skill.GetLevel() + 863.9f); + skill.SetRatio(1 + 0.14f * skill.GetLevel()); + skill.SetGolddamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1353Stub() : base(1353) + { + cls = 8; + name = "玄铁剑意"; + nativename = "玄铁剑意"; + icon = "玄铁剑意"; + max_level = 10; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1127; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_玄铁剑意"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/玄铁剑意_吟唱飞行效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_玄铁剑意_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1352, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1353Stub() { } + + public override float GetMpcost(Skill skill) => (float)(40.3 + 8.4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(15 + 0.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50 + 5 * skill.GetLevel ()); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.15f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetReducegold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + 0.5f * skill.GetLevel () + 2 * 15; + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1353.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1353.cs.meta new file mode 100644 index 0000000000..a9dee4c759 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1353.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 748e3806c9fe5493dae264a353553de3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1354.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1354.cs new file mode 100644 index 0000000000..e05eac3e74 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1354.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1354 : Skill + { + public const int SKILL_ID = 1354; + + public Skill1354() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1354Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(40.3f + 8.4f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(40.3f + 8.4f * skill.GetLevel())); + skill.SetPlus(3.3f * skill.GetLevel() * skill.GetLevel() + 132.5f * skill.GetLevel() + 589.4f); + skill.SetRatio(0.09f * skill.GetLevel()); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1354Stub() : base(1354) + { + cls = 8; + name = "虚空剑劲"; + nativename = "虚空剑劲"; + icon = "虚空剑劲"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1128; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_虚空剑劲"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_虚空剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1352, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1354Stub() { } + + public override float GetMpcost(Skill skill) => (float)(40.3 + 8.4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 533; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1354.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1354.cs.meta new file mode 100644 index 0000000000..696808ddb1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1354.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 22257638c8c74464eb5762e0f49fdf90 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1355.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1355.cs new file mode 100644 index 0000000000..a691f87c20 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1355.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1355 : Skill + { + public const int SKILL_ID = 1355; + + public Skill1355() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1355Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1057; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(39.2f + 4.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(39.2f + 4.5f * skill.GetLevel())); + skill.SetPlus(2.2f * skill.GetLevel() * skill.GetLevel() + 140.4f * skill.GetLevel() + 1022.5f); + skill.SetRatio(0.5f + 0.14f * skill.GetLevel()); + skill.SetGolddamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1355Stub() : base(1355) + { + cls = 8; + name = "熔心剑意"; + nativename = "熔心剑意"; + icon = "熔心剑意"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 7; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1129; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_熔心剑意"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_熔心剑意击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1353, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1355Stub() { } + + public override float GetMpcost(Skill skill) => (float)(39.2 + 4.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(15 + skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 40 + 3 * skill.GetLevel ()); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel () + 1.2f * 15; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1355.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1355.cs.meta new file mode 100644 index 0000000000..84f622b616 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1355.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 77df4453dadfc45a1af410217c58bc04 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1356.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1356.cs new file mode 100644 index 0000000000..5add13f15f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1356.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1356 : Skill + { + public const int SKILL_ID = 1356; + + public Skill1356() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1356Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(49 + 5.6f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(49 + 5.6f * skill.GetLevel())); + skill.SetPlus(2.2f * skill.GetLevel() * skill.GetLevel() + 130.2f * skill.GetLevel() + 951.4f); + skill.SetRatio(0.09f * skill.GetLevel()); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1356Stub() : base(1356) + { + cls = 8; + name = "天罡剑劲"; + nativename = "天罡剑劲"; + icon = "天罡剑气"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1130; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_天罡剑气"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_天罡剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1354, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1356Stub() { } + + public override float GetMpcost(Skill skill) => (float)(49 + 5.6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 733; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1356.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1356.cs.meta new file mode 100644 index 0000000000..a94b472102 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1356.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7a71f39a0517f47c1b54cb19b5fe34ed \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1357.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1357.cs new file mode 100644 index 0000000000..00aacda608 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1357.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1357 : Skill + { + public const int SKILL_ID = 1357; + + public Skill1357() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1357Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(75.6f + 6.7f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(75.6f + 6.7f * skill.GetLevel())); + skill.SetPlus(4.1f * skill.GetLevel() * skill.GetLevel() + 242.3f * skill.GetLevel() + 2082); + skill.SetRatio(2.5f + 0.2f * skill.GetLevel()); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1357Stub() : base(1357) + { + cls = 8; + name = "万象剑劲"; + nativename = "万象剑劲"; + icon = "万象剑劲"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1130; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_万象剑劲"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/万象剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1356, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1357Stub() { } + + public override float GetMpcost(Skill skill) => (float)(75.6 + 6.7 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(15 + skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel () + 2 * 15; + public float GetHitrate(Skill skill) => 3 + 0.5f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1357.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1357.cs.meta new file mode 100644 index 0000000000..5ccfd6628e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1357.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5f976e919018e4bf98d72f0415704a94 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1358.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1358.cs new file mode 100644 index 0000000000..4b649f0f54 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1358.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1358 : Skill + { + public const int SKILL_ID = 1358; + + public Skill1358() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1358Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(313.6f + 16.8f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f *(313.6f + 16.8f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1358Stub() : base(1358) + { + cls = 8; + name = "八方剑影"; + nativename = "八方剑影"; + icon = "八方剑影"; + max_level = 10; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1131; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_八方剑影"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_八方剑影_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1355, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1358Stub() { } + + public override float GetMpcost(Skill skill) => (float)(313.6 + 16.8 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1533; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 500 + 10 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (8); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (1364); + skill.GetVictim ().SetAuracurse (1); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (176); + skill.GetVictim ().SetAmount (72); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetPureattack (); + public float GetTalent1(PlayerWrapper player) => (player.GetAttackdegree () * 0.011 + 1.1) * (player.GetRand () < player.GetCrit () * 2 ? 1.5 : 1) * 1000; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1358.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1358.cs.meta new file mode 100644 index 0000000000..31a0b6aaf1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1358.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0944a1ad9750b4ce69db973cba2f235f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1359.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1359.cs new file mode 100644 index 0000000000..46c91fb57c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1359.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1359 : Skill + { + public const int SKILL_ID = 1359; + + public Skill1359() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1359Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1466; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(274.4f + 14.7f * skill.GetLevel()); + skill.SetPlus(5 * skill.GetLevel() * skill.GetLevel() + 317.4f * skill.GetLevel() + 4168.8f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1359Stub() : base(1359) + { + cls = 8; + name = "剑神无敌"; + nativename = "剑神无敌"; + icon = "剑神无敌"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1132; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_剑神无敌_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_剑神无敌_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1357, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill1359Stub() { } + + public override float GetMpcost(Skill skill) => (float)(274.4 + 14.7 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1359.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1359.cs.meta new file mode 100644 index 0000000000..d73cc4a7f1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1359.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5adee24304ba243759fd4c7a66d0c7b9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1360.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1360.cs new file mode 100644 index 0000000000..3aa3abad39 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1360.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1360 : Skill + { + public const int SKILL_ID = 1360; + + public Skill1360() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1360Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 800, 1920, 3680, 6160, 9440, 13840, 19680, 27360, 37600, 51200 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(10 + 5 * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1360Stub() : base(1360) + { + cls = 8; + name = "逍遥诀"; + nativename = "逍遥诀"; + icon = "逍遥诀"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1133; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_逍遥诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/剑灵_逍遥诀_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1360Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.4f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1360.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1360.cs.meta new file mode 100644 index 0000000000..b9d9127163 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1360.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6f7b90a9f712e4cf092799006d934a89 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1361.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1361.cs new file mode 100644 index 0000000000..276a2408a7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1361.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1361 : Skill + { + public const int SKILL_ID = 1361; + + public Skill1361() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1361Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(50 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(50 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1361Stub() : base(1361) + { + cls = 8; + name = "琉璃金身"; + nativename = "琉璃金身"; + icon = "琉璃金身"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1140; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_琉璃金身"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/琉璃金身_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1341, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1361Stub() { } + + public override float GetMpcost(Skill skill) => (float)(50 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetValue (10 + 2 * skill.GetLevel ()); + skill.GetVictim ().SetAdddefencedegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1361.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1361.cs.meta new file mode 100644 index 0000000000..4b63085db2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1361.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4da12fc4a605e44b1b6bca51cf629286 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1362.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1362.cs new file mode 100644 index 0000000000..cb08a70be9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1362.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1362 : Skill + { + public const int SKILL_ID = 1362; + + public Skill1362() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1362Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(75 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(75 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1362Stub() : base(1362) + { + cls = 8; + name = "御心剑"; + nativename = "御心剑"; + icon = "御心剑"; + max_level = 10; + type = 8; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1101; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1361, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1362Stub() { } + + public override float GetMpcost(Skill skill) => (float)(75 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(20 + 1.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 + 10 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + 1.5f * skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1362.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1362.cs.meta new file mode 100644 index 0000000000..e66fb56813 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1362.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7aac376fffcef41e392910d42bcde390 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1363.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1363.cs new file mode 100644 index 0000000000..a57170b07e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1363.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1363 : Skill + { + public const int SKILL_ID = 1363; + + public Skill1363() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1363Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(100 + 20 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(100 + 20 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1363Stub() : base(1363) + { + cls = 8; + name = "身外化身"; + nativename = "身外化身"; + icon = "身外化身"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1139; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_身外化身"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_身外化身_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1362, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1363Stub() { } + + public override float GetMpcost(Skill skill) => (float)(100 + 20 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 667; + public override int GetCoolingtime(Skill skill) => 180000 - 12000 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(23 + 0.5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 + 10 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetAbsorbdebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1363.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1363.cs.meta new file mode 100644 index 0000000000..efc61240cb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1363.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 32a261bdd44b84ce2847bba7cdfcaed6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1364.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1364.cs new file mode 100644 index 0000000000..73598121fc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1364.cs @@ -0,0 +1,128 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1364 : Skill + { + public const int SKILL_ID = 1364; + + public Skill1364() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1364Stub : SkillStub + { + + + public Skill1364Stub() : base(1364) + { + cls = 8; + name = "870401"; + nativename = "870401"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_八方剑影"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_八方剑影_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1364Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT1 () * + (skill.GetT0 () + 3.8f * skill.GetLevel () * skill.GetLevel () + 237.8f * skill.GetLevel () + + 3123.7f) * 0.001f); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1364.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1364.cs.meta new file mode 100644 index 0000000000..6013600256 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1364.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd7c918be528747fe8c648552053f43d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1365.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1365.cs new file mode 100644 index 0000000000..f1017ce6db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1365.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1365 : Skill + { + public const int SKILL_ID = 1365; + + public Skill1365() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1365Stub : SkillStub + { + + + public Skill1365Stub() : base(1365) + { + cls = 8; + name = "玄武剑眼(效果专用)"; + nativename = "玄武剑眼(效果专用)"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_玄武剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_玄武剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1365Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1351); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (1368); + skill.GetVictim ().SetBeattackattachstate1 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1365.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1365.cs.meta new file mode 100644 index 0000000000..ba24432db1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1365.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 10948e08c84c04c6084809ebaad550e8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1366.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1366.cs new file mode 100644 index 0000000000..08a0fd2968 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1366.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1366 : Skill + { + public const int SKILL_ID = 1366; + + public Skill1366() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1366Stub : SkillStub + { + + + public Skill1366Stub() : base(1366) + { + cls = 8; + name = "饮血剑眼(效果专用)"; + nativename = "饮血剑眼(效果专用)"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_饮血剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_饮血剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1366Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (1354); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (1369); + skill.GetVictim ().SetBeattackattachstate2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1366.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1366.cs.meta new file mode 100644 index 0000000000..2b47694cfb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1366.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2d937760b875d4fc6976835d225931a6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1367.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1367.cs new file mode 100644 index 0000000000..e6a14802c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1367.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1367 : Skill + { + public const int SKILL_ID = 1367; + + public Skill1367() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1367Stub : SkillStub + { + + + public Skill1367Stub() : base(1367) + { + cls = 8; + name = "磐龙剑眼(效果专用)"; + nativename = "磐龙剑眼(效果专用)"; + icon = ""; + max_level = MAX_LEVEL; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "磐龙剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_磐龙剑诀_击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1367Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1357); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (1370); + skill.GetVictim ().SetBeattackattachstate3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1367.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1367.cs.meta new file mode 100644 index 0000000000..1446310ea7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1367.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 58b6fd6dfa54d441a8aec90c7a3d09a8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1368.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1368.cs new file mode 100644 index 0000000000..2ade171877 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1368.cs @@ -0,0 +1,133 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1368 : Skill + { + public const int SKILL_ID = 1368; + + public Skill1368() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1368Stub : SkillStub + { + + + public Skill1368Stub() : base(1368) + { + cls = 8; + name = "玄武剑眼激活"; + nativename = "玄武剑眼激活"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "玄武剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_玄武剑诀_状态击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1368Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (10 + skill.GetLevel ()); + skill.GetVictim ().SetSubdefencedegree (1); + skill.GetVictim ().SetValue (1.5f * 4.3f * skill.GetLevel () * skill.GetLevel () + 1.5f * 72.2f * skill.GetLevel () + 1.5f * 55); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1368.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1368.cs.meta new file mode 100644 index 0000000000..f3f258fa97 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1368.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9b2dca63637144ad9bd0ceb994c96f80 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1369.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1369.cs new file mode 100644 index 0000000000..8c3167b186 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1369.cs @@ -0,0 +1,129 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1369 : Skill + { + public const int SKILL_ID = 1369; + + public Skill1369() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1369Stub : SkillStub + { + + + public Skill1369Stub() : base(1369) + { + cls = 8; + name = "饮血剑眼激活"; + nativename = "饮血剑眼激活"; + icon = ""; + max_level = MAX_LEVEL; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "饮血剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_饮血剑诀_状态效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1369Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetValue (1.5f * 5 * skill.GetLevel () * skill.GetLevel () + 1.5f * 125.7f * skill.GetLevel () + 1.5f * 487.4f); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1369.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1369.cs.meta new file mode 100644 index 0000000000..35ff926a4d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1369.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d8ee51818b0244342891713000d7d766 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1370.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1370.cs new file mode 100644 index 0000000000..4ad1b7d414 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1370.cs @@ -0,0 +1,134 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1370 : Skill + { + public const int SKILL_ID = 1370; + + public Skill1370() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1370Stub : SkillStub + { + + + public Skill1370Stub() : base(1370) + { + cls = 8; + name = "磐龙剑眼激活"; + nativename = "磐龙剑眼激活"; + icon = ""; + max_level = MAX_LEVEL; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "磐龙剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_磐龙剑诀_击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1370Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetSubattackdegree (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetSubdefencedegree (1); + skill.GetVictim ().SetValue (1.5f * 5.7f * skill.GetLevel () * skill.GetLevel () + 1.5f * 238.5f * skill.GetLevel () + 1.5f * 1960); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1370.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1370.cs.meta new file mode 100644 index 0000000000..d1d818d5f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1370.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 30af766c529564f24ae617e3637b8078 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1371.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1371.cs new file mode 100644 index 0000000000..24c73346de --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1371.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1371 : Skill + { + public const int SKILL_ID = 1371; + + public Skill1371() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1371Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill1371Stub() : base(1371) + { + cls = 8; + name = "刀剑精通"; + nativename = "刀剑精通"; + icon = "剑灵刀剑精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 2; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1134; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1371Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncsword (0.06f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1371.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1371.cs.meta new file mode 100644 index 0000000000..7dfb981ffd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1371.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8dc39a211bb274cf98dbe626c7700102 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1372.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1372.cs new file mode 100644 index 0000000000..9839380ae9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1372.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1372 : Skill + { + public const int SKILL_ID = 1372; + + public Skill1372() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1372Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29 }; + private static readonly int[] RequiredSpArray = { 11800 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1372Stub() : base(1372) + { + cls = 8; + name = "真元爆发"; + nativename = "真元爆发"; + icon = "爆气1"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2111; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(1); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1372Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1372.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1372.cs.meta new file mode 100644 index 0000000000..1438543906 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1372.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b707b42e0abec4046888fe8486b185e8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1373.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1373.cs new file mode 100644 index 0000000000..fc9721fbf8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1373.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1373 : Skill + { + public const int SKILL_ID = 1373; + + public Skill1373() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1373Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 87000 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1373Stub() : base(1373) + { + cls = 8; + name = "高级真元爆发"; + nativename = "高级真元爆发"; + icon = "爆气2"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2112; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1373Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1373.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1373.cs.meta new file mode 100644 index 0000000000..ae8da61747 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1373.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 128d5627171704293acb448a002a7492 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill15.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill15.cs new file mode 100644 index 0000000000..029e45b27f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill15.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill15 : Skill + { + public const int SKILL_ID = 15; + + public Skill15() : base(SKILL_ID) + { + } + } +#endif + + public class Skill15Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 19680, 25600, 33120, 42560, 54480, 69600, 88800, 113600, 144800, 212800 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(420 + 55 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(420 + 55 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill15Stub() : base(15) + { + cls = 7; + name = "五气朝元"; + nativename = "五气朝元"; + icon = "五气朝元"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 0; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1406; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "五气朝元"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五气朝元击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(189, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill15Stub() { } + + public override float GetMpcost(Skill skill) => (float)(420 + 55 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => (float)(10 + skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1410 + 180 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * (10 + skill.GetLevel ()) / 100 + 470 + 60 * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill15.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill15.cs.meta new file mode 100644 index 0000000000..c1b24b02e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill15.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e6c30150d12fb4b78a4a4b171a0c3a15 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill16.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill16.cs new file mode 100644 index 0000000000..7321beeecf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill16.cs @@ -0,0 +1,214 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill16 : Skill + { + public const int SKILL_ID = 16; + + public Skill16() : base(SKILL_ID) + { + } + } +#endif + + public class Skill16Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 87000 }; + private static readonly int[] RequiredMoneyArray = { 3980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 4800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill16Stub() : base(16) + { + cls = 7; + name = "极度乾坤"; + nativename = "极度乾坤"; + icon = "极度乾坤"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1408; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "极度乾坤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/极度乾坤击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 7000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(116, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill16Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (300 + skill.GetMagicdamage () * 0.2f); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill16.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill16.cs.meta new file mode 100644 index 0000000000..b0cfa331df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill16.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 89dd2e4c1e0b840759fd2ffced7329c0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill163.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill163.cs new file mode 100644 index 0000000000..4809b16e86 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill163.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill163 : Skill + { + public const int SKILL_ID = 163; + + public Skill163() : base(SKILL_ID) + { + } + } +#endif + + public class Skill163Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 44, 48, 52, 56, 60, 64, 68, 72, 76, 80 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredMoneyArray = { 2480, 2880, 3280, 3680, 4980, 12980, 41980, 111980, 211980, 371980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(240 + 24 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(240 + 24 * skill.GetLevel())); + skill.SetPlus(4.1f * skill.GetLevel() * skill.GetLevel() + 236.2f * skill.GetLevel() + 1811.3f); + skill.SetRatio(1 + 0.1f * skill.GetLevel()); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill163Stub() : base(163) + { + cls = 7; + name = "雷链"; + nativename = "雷链"; + icon = "雷链"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 2; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1428; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "雷链"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/雷链飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/雷链击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(129, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill163Stub() { } + + public override float GetMpcost(Skill skill) => (float)(240 + 24 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 300 * skill.GetLevel (); + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 24; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill163.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill163.cs.meta new file mode 100644 index 0000000000..bf4d438959 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill163.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4073ee525ccc047dc95235c1aa37db22 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1664.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1664.cs new file mode 100644 index 0000000000..0fc3784fd7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1664.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1664 : Skill + { + public const int SKILL_ID = 1664; + + public Skill1664() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1664Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30939 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1664Stub() : base(1664) + { + cls = 8; + name = "真·玄武剑诀"; + nativename = "真·玄武剑诀"; + icon = "玄武剑诀仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1111; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_玄武剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_玄武剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1344, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1664Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 40); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1700); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1665); + skill.GetVictim ().SetAttackattachstate1 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1664.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1664.cs.meta new file mode 100644 index 0000000000..603e3206f0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1664.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e81d419de1bae4c35901b559db8fa6d3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1665.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1665.cs new file mode 100644 index 0000000000..5238777133 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1665.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1665 : Skill + { + public const int SKILL_ID = 1665; + + public Skill1665() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1665Stub : SkillStub + { + + + public Skill1665Stub() : base(1665) + { + cls = 8; + name = "111"; + nativename = "111"; + icon = ""; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_玄武剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_玄武剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1665Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1700); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1666); + skill.GetVictim ().SetBeattackattachstate1 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1665.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1665.cs.meta new file mode 100644 index 0000000000..e2bfc486bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1665.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bfe48bd801f8f42f8943ef56c27a67e7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1666.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1666.cs new file mode 100644 index 0000000000..9c04962a31 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1666.cs @@ -0,0 +1,133 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1666 : Skill + { + public const int SKILL_ID = 1666; + + public Skill1666() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1666Stub : SkillStub + { + + + public Skill1666Stub() : base(1666) + { + cls = 8; + name = "1111"; + nativename = "1111"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "玄武剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_玄武剑诀_状态击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1666Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetSubdefencedegree (1); + skill.GetVictim ().SetValue (2060); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1666.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1666.cs.meta new file mode 100644 index 0000000000..493ee04643 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1666.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d19086a88c13b4b0f99bb8defe39b4db \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1667.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1667.cs new file mode 100644 index 0000000000..a41f09f6ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1667.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1667 : Skill + { + public const int SKILL_ID = 1667; + + public Skill1667() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1667Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30960 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1667Stub() : base(1667) + { + cls = 8; + name = "狂·玄武剑诀"; + nativename = "狂·玄武剑诀"; + icon = "玄武剑诀魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1111; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_玄武剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_玄武剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1344, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1667Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1701); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1668); + skill.GetVictim ().SetAttackattachstate1 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1667.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1667.cs.meta new file mode 100644 index 0000000000..40c82f89fa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1667.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 349b7365ca4894975b51ae29de29ab42 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1668.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1668.cs new file mode 100644 index 0000000000..9e3b761bf6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1668.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1668 : Skill + { + public const int SKILL_ID = 1668; + + public Skill1668() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1668Stub : SkillStub + { + + + public Skill1668Stub() : base(1668) + { + cls = 8; + name = "222"; + nativename = "222"; + icon = ""; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_玄武剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_玄武剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1668Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1701); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1669); + skill.GetVictim ().SetBeattackattachstate1 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1668.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1668.cs.meta new file mode 100644 index 0000000000..f804076e9d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1668.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 01e965962263b4b6cb494db86ca55237 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1669.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1669.cs new file mode 100644 index 0000000000..f890f2d515 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1669.cs @@ -0,0 +1,133 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1669 : Skill + { + public const int SKILL_ID = 1669; + + public Skill1669() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1669Stub : SkillStub + { + + + public Skill1669Stub() : base(1669) + { + cls = 8; + name = "2222"; + nativename = "2222"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "玄武剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_玄武剑诀_状态击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1669Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetSubdefencedegree (1); + skill.GetVictim ().SetValue (2060); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1669.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1669.cs.meta new file mode 100644 index 0000000000..60f1664ccf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1669.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 32e8af01ae1154be0b60875740d8860f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1670.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1670.cs new file mode 100644 index 0000000000..b70d6cf82f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1670.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1670 : Skill + { + public const int SKILL_ID = 1670; + + public Skill1670() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1670Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30940 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1670Stub() : base(1670) + { + cls = 8; + name = "真·饮血剑诀"; + nativename = "真·饮血剑诀"; + icon = "饮血剑诀仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1115; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_饮血剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_饮血剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1345, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1670Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 667; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1704); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1671); + skill.GetVictim ().SetAttackattachstate2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1670.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1670.cs.meta new file mode 100644 index 0000000000..a17cfbb378 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1670.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0eb8cd2e2ef0b4e0a960488a93752e06 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1671.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1671.cs new file mode 100644 index 0000000000..5acde0525f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1671.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1671 : Skill + { + public const int SKILL_ID = 1671; + + public Skill1671() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1671Stub : SkillStub + { + + + public Skill1671Stub() : base(1671) + { + cls = 8; + name = "333"; + nativename = "333"; + icon = ""; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_饮血剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_饮血剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1671Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (1704); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1672); + skill.GetVictim ().SetBeattackattachstate2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1671.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1671.cs.meta new file mode 100644 index 0000000000..fa7be01ef3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1671.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d9227b0ff86fb40ee8d06ad97f7b8ccc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1672.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1672.cs new file mode 100644 index 0000000000..607496d3ab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1672.cs @@ -0,0 +1,129 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1672 : Skill + { + public const int SKILL_ID = 1672; + + public Skill1672() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1672Stub : SkillStub + { + + + public Skill1672Stub() : base(1672) + { + cls = 8; + name = "3333"; + nativename = "3333"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "饮血剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_饮血剑诀_状态效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1672Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetValue (3750); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1672.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1672.cs.meta new file mode 100644 index 0000000000..73e4b55574 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1672.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3ef421aed412b450cac53e812e524bd6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1673.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1673.cs new file mode 100644 index 0000000000..35c0005341 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1673.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1673 : Skill + { + public const int SKILL_ID = 1673; + + public Skill1673() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1673Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30961 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1673Stub() : base(1673) + { + cls = 8; + name = "狂·饮血剑诀"; + nativename = "狂·饮血剑诀"; + icon = "饮血剑诀魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1115; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_饮血剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_饮血剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1345, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1673Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 667; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1705); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1674); + skill.GetVictim ().SetAttackattachstate2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1673.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1673.cs.meta new file mode 100644 index 0000000000..54adbcbb99 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1673.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c97da91dfae4043ff8d49b4be12a15b2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1674.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1674.cs new file mode 100644 index 0000000000..2acfb3f8dc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1674.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1674 : Skill + { + public const int SKILL_ID = 1674; + + public Skill1674() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1674Stub : SkillStub + { + + + public Skill1674Stub() : base(1674) + { + cls = 8; + name = "444"; + nativename = "444"; + icon = ""; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_饮血剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_饮血剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1674Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (1705); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1675); + skill.GetVictim ().SetBeattackattachstate2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1674.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1674.cs.meta new file mode 100644 index 0000000000..bf4c29357c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1674.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 21dd6695e9b6f4545881e7b0fcd6623e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1675.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1675.cs new file mode 100644 index 0000000000..8d32699b17 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1675.cs @@ -0,0 +1,129 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1675 : Skill + { + public const int SKILL_ID = 1675; + + public Skill1675() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1675Stub : SkillStub + { + + + public Skill1675Stub() : base(1675) + { + cls = 8; + name = "4444"; + nativename = "4444"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "饮血剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_饮血剑诀_状态效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1675Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetValue (3750); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1675.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1675.cs.meta new file mode 100644 index 0000000000..6468a6646a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1675.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 66f9f21a59e044a1880928975ad0a5ec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1676.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1676.cs new file mode 100644 index 0000000000..d1aae47641 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1676.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1676 : Skill + { + public const int SKILL_ID = 1676; + + public Skill1676() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1676Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30941 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1676Stub() : base(1676) + { + cls = 8; + name = "真·磐龙剑诀"; + nativename = "真·磐龙剑诀"; + icon = "磐龙剑诀仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1116; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_磐龙剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_磐龙剑诀_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1346, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1676Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 733; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 65); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1710); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1677); + skill.GetVictim ().SetAttackattachstate3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1676.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1676.cs.meta new file mode 100644 index 0000000000..79def47ee9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1676.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d552a735faa174c46aa16d9f705f52a0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1677.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1677.cs new file mode 100644 index 0000000000..13703387da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1677.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1677 : Skill + { + public const int SKILL_ID = 1677; + + public Skill1677() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1677Stub : SkillStub + { + + + public Skill1677Stub() : base(1677) + { + cls = 8; + name = "555"; + nativename = "555"; + icon = ""; + max_level = MAX_LEVEL; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "磐龙剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_磐龙剑诀_击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1677Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1710); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1678); + skill.GetVictim ().SetBeattackattachstate3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1677.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1677.cs.meta new file mode 100644 index 0000000000..ea9dce4e7b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1677.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e8fe576c9f98441e99ec72132e7e6a07 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1678.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1678.cs new file mode 100644 index 0000000000..47140be68f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1678.cs @@ -0,0 +1,134 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1678 : Skill + { + public const int SKILL_ID = 1678; + + public Skill1678() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1678Stub : SkillStub + { + + + public Skill1678Stub() : base(1678) + { + cls = 8; + name = "5555"; + nativename = "5555"; + icon = ""; + max_level = MAX_LEVEL; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "磐龙剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_磐龙剑诀_击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1678Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetSubattackdegree (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetSubdefencedegree (1); + skill.GetVictim ().SetValue (7950); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1678.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1678.cs.meta new file mode 100644 index 0000000000..4b3dd68f68 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1678.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e19b2c137205045679cb39da7acd86a1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1679.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1679.cs new file mode 100644 index 0000000000..4bc06d795e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1679.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1679 : Skill + { + public const int SKILL_ID = 1679; + + public Skill1679() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1679Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30962 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1679Stub() : base(1679) + { + cls = 8; + name = "狂·磐龙剑诀"; + nativename = "狂·磐龙剑诀"; + icon = "磐龙剑诀魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1116; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_磐龙剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_磐龙剑诀_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1346, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1679Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 733; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1711); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1680); + skill.GetVictim ().SetAttackattachstate3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1679.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1679.cs.meta new file mode 100644 index 0000000000..101c866bd6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1679.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f5da762a9e50445afab1379103d85472 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1680.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1680.cs new file mode 100644 index 0000000000..5eaef5c66a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1680.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1680 : Skill + { + public const int SKILL_ID = 1680; + + public Skill1680() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1680Stub : SkillStub + { + + + public Skill1680Stub() : base(1680) + { + cls = 8; + name = "666"; + nativename = "666"; + icon = ""; + max_level = MAX_LEVEL; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "磐龙剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_磐龙剑诀_击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1680Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1711); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1681); + skill.GetVictim ().SetBeattackattachstate3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1680.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1680.cs.meta new file mode 100644 index 0000000000..d2c03f8eca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1680.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9dadb11a0144f4674baebd8317a265b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1681.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1681.cs new file mode 100644 index 0000000000..25e8570f86 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1681.cs @@ -0,0 +1,134 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1681 : Skill + { + public const int SKILL_ID = 1681; + + public Skill1681() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1681Stub : SkillStub + { + + + public Skill1681Stub() : base(1681) + { + cls = 8; + name = "6666"; + nativename = "6666"; + icon = ""; + max_level = MAX_LEVEL; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "磐龙剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_磐龙剑诀_击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1681Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetSubattackdegree (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetSubdefencedegree (1); + skill.GetVictim ().SetValue (7950); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1681.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1681.cs.meta new file mode 100644 index 0000000000..0cd766e59f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1681.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 17db900328e354065b8d3ef6fe8dda34 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1682.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1682.cs new file mode 100644 index 0000000000..060233f75d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1682.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1682 : Skill + { + public const int SKILL_ID = 1682; + + public Skill1682() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1682Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30942 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1682Stub() : base(1682) + { + cls = 8; + name = "真·金刚剑印"; + nativename = "真·金刚剑印"; + icon = "金刚剑印仙技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1121; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_金刚剑印"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/金刚剑印_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1347, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1682Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 467; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 120; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurtphysicgold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1682.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1682.cs.meta new file mode 100644 index 0000000000..c521b58dc5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1682.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 74bc24bdf4bab4a2f91b6fe9bdb39cf5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1683.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1683.cs new file mode 100644 index 0000000000..276e2cb946 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1683.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1683 : Skill + { + public const int SKILL_ID = 1683; + + public Skill1683() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1683Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30963 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1683Stub() : base(1683) + { + cls = 8; + name = "狂·金刚剑印"; + nativename = "狂·金刚剑印"; + icon = "金刚剑印魔技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1121; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_金刚剑印"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/金刚剑印_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1347, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1683Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 467; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 120; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetInchurtphysicgold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1683.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1683.cs.meta new file mode 100644 index 0000000000..8a71d91ff5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1683.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e09ec50e7b81c45f4abeec3507c4caee \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1684.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1684.cs new file mode 100644 index 0000000000..00b2e358fd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1684.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1684 : Skill + { + public const int SKILL_ID = 1684; + + public Skill1684() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1684Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30943 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1684Stub() : base(1684) + { + cls = 8; + name = "真·寒潮剑印"; + nativename = "真·寒潮剑印"; + icon = "寒潮剑印仙技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1122; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_寒潮剑印"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寒潮剑印_击中剑印.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1348, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1684Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 533; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 120; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetInchurtwoodwater (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1684.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1684.cs.meta new file mode 100644 index 0000000000..3e7b652b03 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1684.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 014a8f079f0b94e69b75dc937409961a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1685.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1685.cs new file mode 100644 index 0000000000..9c5820674b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1685.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1685 : Skill + { + public const int SKILL_ID = 1685; + + public Skill1685() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1685Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30964 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1685Stub() : base(1685) + { + cls = 8; + name = "狂·寒潮剑印"; + nativename = "狂·寒潮剑印"; + icon = "寒潮剑印魔技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1122; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_寒潮剑印"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寒潮剑印_击中剑印.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1348, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1685Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 533; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 120; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.15f); + skill.GetVictim ().SetValue (35); + skill.GetVictim ().SetInchurtwoodwater (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1685.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1685.cs.meta new file mode 100644 index 0000000000..9b48d2aad2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1685.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 10da63475e2cc4838828f3d5f92c0ea3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1686.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1686.cs new file mode 100644 index 0000000000..460fcae7ef --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1686.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1686 : Skill + { + public const int SKILL_ID = 1686; + + public Skill1686() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1686Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30944 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1686Stub() : base(1686) + { + cls = 8; + name = "真·焚心剑印"; + nativename = "真·焚心剑印"; + icon = "焚心剑印仙技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1123; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_焚心剑印"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_焚心剑印_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1349, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1686Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 467; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 120; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetInchurtfireearth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1686.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1686.cs.meta new file mode 100644 index 0000000000..6666d1001c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1686.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 18044d43d14eb4568ad585de7b92cb16 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1687.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1687.cs new file mode 100644 index 0000000000..761769b1ef --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1687.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1687 : Skill + { + public const int SKILL_ID = 1687; + + public Skill1687() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1687Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30965 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1687Stub() : base(1687) + { + cls = 8; + name = "狂·焚心剑印"; + nativename = "狂·焚心剑印"; + icon = "焚心剑印魔技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1123; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_焚心剑印"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_焚心剑印_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1349, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1687Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 467; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 120; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1.2f); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetInchurtfireearth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1687.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1687.cs.meta new file mode 100644 index 0000000000..a91a83ca20 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1687.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 617591174a44a4a0fa94b248b600fbed \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1688.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1688.cs new file mode 100644 index 0000000000..61627d797e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1688.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1688 : Skill + { + public const int SKILL_ID = 1688; + + public Skill1688() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1688Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30945 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1688Stub() : base(1688) + { + cls = 8; + name = "真·逍遥诀"; + nativename = "真·逍遥诀"; + icon = "逍遥诀仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1133; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_逍遥诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/剑灵_逍遥诀_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1360, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1688Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1688.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1688.cs.meta new file mode 100644 index 0000000000..d90c738770 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1688.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ffa3fedf686264d6489cfe7a08c8246d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1689.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1689.cs new file mode 100644 index 0000000000..c40e370ba4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1689.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1689 : Skill + { + public const int SKILL_ID = 1689; + + public Skill1689() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1689Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30966 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1689Stub() : base(1689) + { + cls = 8; + name = "狂·逍遥诀"; + nativename = "狂·逍遥诀"; + icon = "逍遥诀魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1133; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_逍遥诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/剑灵_逍遥诀_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1360, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1689Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1689.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1689.cs.meta new file mode 100644 index 0000000000..59348f2239 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1689.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ca4315b83c458498cadbd586c55efd96 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1690.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1690.cs new file mode 100644 index 0000000000..006bd3a427 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1690.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1690 : Skill + { + public const int SKILL_ID = 1690; + + public Skill1690() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1690Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30946 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 140); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 140); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1690Stub() : base(1690) + { + cls = 8; + name = "真·御心剑"; + nativename = "真·御心剑"; + icon = "御心剑仙技能"; + max_level = 1; + type = 8; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1101; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1362, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1690Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 38f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1690.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1690.cs.meta new file mode 100644 index 0000000000..b5af070692 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1690.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 857a5731481184a59aabb7381f1ea7ec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1691.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1691.cs new file mode 100644 index 0000000000..683dd7f0da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1691.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1691 : Skill + { + public const int SKILL_ID = 1691; + + public Skill1691() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1691Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30967 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 140); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 140); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1691Stub() : base(1691) + { + cls = 8; + name = "狂·御心剑"; + nativename = "狂·御心剑"; + icon = "御心剑魔技能"; + max_level = 1; + type = 8; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1101; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1362, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1691Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 38f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1691.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1691.cs.meta new file mode 100644 index 0000000000..60cdb189d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1691.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e10d9611f2b8e4173bd6e4c3ecb47d04 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1692.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1692.cs new file mode 100644 index 0000000000..58e36c2821 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1692.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1692 : Skill + { + public const int SKILL_ID = 1692; + + public Skill1692() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1692Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30947 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(50); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1692Stub() : base(1692) + { + cls = 8; + name = "真·剑心通明"; + nativename = "真·剑心通明"; + icon = "剑心通明仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1105; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_剑心通明"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/剑灵_剑心通明_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1341, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1692Stub() { } + + public override float GetMpcost(Skill skill) => 50f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.85f); + skill.GetVictim ().SetFastpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncdebuffdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1692.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1692.cs.meta new file mode 100644 index 0000000000..e609a33fef --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1692.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d7b3cd4fc944c4f3aa0a01092366833d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1693.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1693.cs new file mode 100644 index 0000000000..d3ecfa71e1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1693.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1693 : Skill + { + public const int SKILL_ID = 1693; + + public Skill1693() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1693Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30968 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(50); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1693Stub() : base(1693) + { + cls = 8; + name = "狂·剑心通明"; + nativename = "狂·剑心通明"; + icon = "剑心通明魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1105; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_剑心通明"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/剑灵_剑心通明_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1341, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1693Stub() { } + + public override float GetMpcost(Skill skill) => 50f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.85f); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1693.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1693.cs.meta new file mode 100644 index 0000000000..cbdbf507ba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1693.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2ffc5b6da01704a489922abd18a7976c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1694.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1694.cs new file mode 100644 index 0000000000..eb4a68814f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1694.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1694 : Skill + { + public const int SKILL_ID = 1694; + + public Skill1694() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1694Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30948 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 330); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 330); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1694Stub() : base(1694) + { + cls = 8; + name = "真·身外化身"; + nativename = "真·身外化身"; + icon = "身外化身仙技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1139; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_身外化身"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_身外化身_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1363, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1694Stub() { } + + public override float GetMpcost(Skill skill) => 330f; + public override int GetExecutetime(Skill skill) => 667; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetAbsorbdebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1694.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1694.cs.meta new file mode 100644 index 0000000000..3a4648c2d7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1694.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 302df07dd37eb4c7a9516cf3d6a55ded \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1695.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1695.cs new file mode 100644 index 0000000000..ae13e43bfc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1695.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1695 : Skill + { + public const int SKILL_ID = 1695; + + public Skill1695() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1695Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30969 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 330); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 667; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 330); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1695Stub() : base(1695) + { + cls = 8; + name = "狂·身外化身"; + nativename = "狂·身外化身"; + icon = "身外化身魔技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1139; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_身外化身"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_身外化身_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1363, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1695Stub() { } + + public override float GetMpcost(Skill skill) => 330f; + public override int GetExecutetime(Skill skill) => 667; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetAbsorbdebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1695.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1695.cs.meta new file mode 100644 index 0000000000..c941877b10 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1695.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 12e46831c81674800a8940e397bf7a36 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1696.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1696.cs new file mode 100644 index 0000000000..593a9293a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1696.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1696 : Skill + { + public const int SKILL_ID = 1696; + + public Skill1696() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1696Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30949 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 110); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 110); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1696Stub() : base(1696) + { + cls = 8; + name = "真·琉璃金身"; + nativename = "真·琉璃金身"; + icon = "琉璃剑阵仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1140; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_琉璃金身"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/琉璃金身_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1361, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1696Stub() { } + + public override float GetMpcost(Skill skill) => 110f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetValue (35); + skill.GetVictim ().SetAdddefencedegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1696.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1696.cs.meta new file mode 100644 index 0000000000..4cd1286a75 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1696.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b7a539ed357ba4c449a32567c9891553 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1697.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1697.cs new file mode 100644 index 0000000000..548a900916 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1697.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1697 : Skill + { + public const int SKILL_ID = 1697; + + public Skill1697() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1697Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30970 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 110); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 110); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1697Stub() : base(1697) + { + cls = 8; + name = "狂·琉璃金身"; + nativename = "狂·琉璃金身"; + icon = "琉璃剑阵魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1140; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_琉璃金身"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/琉璃金身_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1361, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1697Stub() { } + + public override float GetMpcost(Skill skill) => 110f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetValue (32); + skill.GetVictim ().SetAdddefencedegree (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetIncaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1697.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1697.cs.meta new file mode 100644 index 0000000000..95e2a26ac3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1697.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fcc91ec41c39e4daa80ac170958b0e91 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1698.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1698.cs new file mode 100644 index 0000000000..28cefcea2a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1698.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1698 : Skill + { + public const int SKILL_ID = 1698; + + public Skill1698() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1698Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30950 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 75); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 75); + skill.SetPlus(1500); + skill.SetRatio(0.9f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1698Stub() : base(1698) + { + cls = 8; + name = "真·碎石剑气"; + nativename = "真·碎石剑气"; + icon = "碎石剑气仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1124; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_碎石剑气"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_碎石剑气_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_碎石剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 2.3f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1350, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1698Stub() { } + + public override float GetMpcost(Skill skill) => 75f; + public override int GetExecutetime(Skill skill) => 733; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 21f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + 0.7f * 15; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1698.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1698.cs.meta new file mode 100644 index 0000000000..cfcc6910dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1698.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2a9628e7a5e0f47a4aa36f55751afb95 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1699.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1699.cs new file mode 100644 index 0000000000..a371cbb988 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1699.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1699 : Skill + { + public const int SKILL_ID = 1699; + + public Skill1699() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1699Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30971 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 75); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 75); + skill.SetPlus(1000); + skill.SetRatio(0.9f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1699Stub() : base(1699) + { + cls = 8; + name = "狂·碎石剑气"; + nativename = "狂·碎石剑气"; + icon = "碎石剑气魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1124; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_碎石剑气"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_碎石剑气_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_碎石剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 2.3f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1350, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1699Stub() { } + + public override float GetMpcost(Skill skill) => 75f; + public override int GetExecutetime(Skill skill) => 733; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 21f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + 0.7f * 15; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1699.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1699.cs.meta new file mode 100644 index 0000000000..b36fdd25dc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1699.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d738a13299f854d4a84cd3cec0892acc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill17.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill17.cs new file mode 100644 index 0000000000..db3b7608e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill17.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill17 : Skill + { + public const int SKILL_ID = 17; + + public Skill17() : base(SKILL_ID) + { + } + } +#endif + + public class Skill17Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(42 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(42 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill17Stub() : base(17) + { + cls = 7; + name = "五行符"; + nativename = "五行符"; + icon = "五行符"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1409; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "五行符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill17Stub() { } + + public override float GetMpcost(Skill skill) => (float)(42 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 300 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 + 1000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 + 1000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 25; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill17.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill17.cs.meta new file mode 100644 index 0000000000..fb0cdf42df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill17.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5932e3fed1b21458395b73e1c35bee16 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1700.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1700.cs new file mode 100644 index 0000000000..df78aa55b1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1700.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1700 : Skill + { + public const int SKILL_ID = 1700; + + public Skill1700() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1700Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30951 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 70); + skill.SetPlus(1560); + skill.SetRatio(0.9f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1700Stub() : base(1700) + { + cls = 8; + name = "真·破风剑气"; + nativename = "真·破风剑气"; + icon = "破风剑气仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1125; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_破风剑气"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/破风剑气_旋转剑气.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/破风剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1351, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1700Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 21f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + 0.8f * 15; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1700.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1700.cs.meta new file mode 100644 index 0000000000..98b76b73a5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1700.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 04febf51805ac4da78d74439217ec6b5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1701.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1701.cs new file mode 100644 index 0000000000..48135abc6f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1701.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1701 : Skill + { + public const int SKILL_ID = 1701; + + public Skill1701() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1701Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30972 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 70); + skill.SetPlus(1560); + skill.SetRatio(0.9f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1701Stub() : base(1701) + { + cls = 8; + name = "狂·破风剑气"; + nativename = "狂·破风剑气"; + icon = "破风剑气魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1125; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_破风剑气"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/破风剑气_旋转剑气.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/破风剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1351, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1701Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 21f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + 0.8f * 15; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1701.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1701.cs.meta new file mode 100644 index 0000000000..9be76180e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1701.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5d104221b59164a63a983ec01da38e5c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1702.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1702.cs new file mode 100644 index 0000000000..c6c0c965c1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1702.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1702 : Skill + { + public const int SKILL_ID = 1702; + + public Skill1702() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1702Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30952 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 135); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 135); + skill.SetPlus(6700); + skill.SetRatio(2.9f); + skill.SetGolddamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1702Stub() : base(1702) + { + cls = 8; + name = "真·玄铁剑意"; + nativename = "真·玄铁剑意"; + icon = "玄铁剑意仙技能"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1127; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_玄铁剑意"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/玄铁剑意_吟唱飞行效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_玄铁剑意_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1353, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1702Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetReducegold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + 2 * 15f; + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1702.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1702.cs.meta new file mode 100644 index 0000000000..06f61cb710 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1702.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1425e45769999439781c2218ccce1c2f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1703.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1703.cs new file mode 100644 index 0000000000..eed4b52c78 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1703.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1703 : Skill + { + public const int SKILL_ID = 1703; + + public Skill1703() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1703Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30973 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 135); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 135); + skill.SetPlus(5100); + skill.SetRatio(2.9f); + skill.SetGolddamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1703Stub() : base(1703) + { + cls = 8; + name = "狂·玄铁剑意"; + nativename = "狂·玄铁剑意"; + icon = "玄铁剑意魔技能"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1127; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_玄铁剑意"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/玄铁剑意_吟唱飞行效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_玄铁剑意_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1353, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1703Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (26000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetReducegold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + 2 * 15f; + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1703.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1703.cs.meta new file mode 100644 index 0000000000..d42a58019b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1703.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d3bd89b3bfe6047958ab7d1a21f2111c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1704.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1704.cs new file mode 100644 index 0000000000..0425b01d41 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1704.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1704 : Skill + { + public const int SKILL_ID = 1704; + + public Skill1704() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1704Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30953 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 140); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 140); + skill.SetPlus(4000); + skill.SetRatio(0.9f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1704Stub() : base(1704) + { + cls = 8; + name = "真·虚空剑劲"; + nativename = "真·虚空剑劲"; + icon = "虚空剑劲仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1128; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_虚空剑劲"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_虚空剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1354, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1704Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 533; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1704.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1704.cs.meta new file mode 100644 index 0000000000..bd02046690 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1704.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9f8be78cd679e4284882538804005097 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1705.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1705.cs new file mode 100644 index 0000000000..3a52b242de --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1705.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1705 : Skill + { + public const int SKILL_ID = 1705; + + public Skill1705() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1705Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30974 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 140); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 140); + skill.SetPlus(2500); + skill.SetRatio(0.9f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1705Stub() : base(1705) + { + cls = 8; + name = "狂·虚空剑劲"; + nativename = "狂·虚空剑劲"; + icon = "虚空剑劲魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1128; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_虚空剑劲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_虚空剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1354, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1705Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 533; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (4500); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1705.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1705.cs.meta new file mode 100644 index 0000000000..87da8b421d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1705.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b60699e612eff40c79989a3fcd724fb4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1706.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1706.cs new file mode 100644 index 0000000000..907047109f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1706.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1706 : Skill + { + public const int SKILL_ID = 1706; + + public Skill1706() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1706Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30954 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 115); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 115); + skill.SetPlus(2700); + skill.SetRatio(0.9f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1706Stub() : base(1706) + { + cls = 8; + name = "真·天罡剑劲"; + nativename = "真·天罡剑劲"; + icon = "天罡剑气仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1130; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_天罡剑气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_天罡剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1356, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1706Stub() { } + + public override float GetMpcost(Skill skill) => 115f; + public override int GetExecutetime(Skill skill) => 733; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1706.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1706.cs.meta new file mode 100644 index 0000000000..ebc930d9a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1706.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e34de18dffd71422095ba69c984add61 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1707.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1707.cs new file mode 100644 index 0000000000..1619b2d0c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1707.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1707 : Skill + { + public const int SKILL_ID = 1707; + + public Skill1707() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1707Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30975 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 115); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 115); + skill.SetPlus(2700); + skill.SetRatio(0.9f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1707Stub() : base(1707) + { + cls = 8; + name = "狂·天罡剑劲"; + nativename = "狂·天罡剑劲"; + icon = "天罡剑气魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1130; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_天罡剑气"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_天罡剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1356, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1707Stub() { } + + public override float GetMpcost(Skill skill) => 115f; + public override int GetExecutetime(Skill skill) => 733; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1707.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1707.cs.meta new file mode 100644 index 0000000000..3fea67dd0f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1707.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c8a2584fb32654212b4f6ebdea5b66ec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1708.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1708.cs new file mode 100644 index 0000000000..867fcef96a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1708.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1708 : Skill + { + public const int SKILL_ID = 1708; + + public Skill1708() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1708Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30955 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1057; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 95); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 95); + skill.SetPlus(4800); + skill.SetRatio(1.9f); + skill.SetGolddamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1708Stub() : base(1708) + { + cls = 8; + name = "真·熔心剑意"; + nativename = "真·熔心剑意"; + icon = "熔心剑意仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 7; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1129; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_熔心剑意"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_熔心剑意击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1355, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1708Stub() { } + + public override float GetMpcost(Skill skill) => 95f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 28 + 1.2f * 15; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1708.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1708.cs.meta new file mode 100644 index 0000000000..0310893865 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1708.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fbdc22dd7cfcd4b6ab5fa08ce82128cb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1709.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1709.cs new file mode 100644 index 0000000000..7291d60acd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1709.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1709 : Skill + { + public const int SKILL_ID = 1709; + + public Skill1709() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1709Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30976 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1057; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 95); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 95); + skill.SetPlus(3200); + skill.SetRatio(1.9f); + skill.SetGolddamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1709Stub() : base(1709) + { + cls = 8; + name = "狂·熔心剑意"; + nativename = "狂·熔心剑意"; + icon = "熔心剑意魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 7; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1129; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_熔心剑意"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_熔心剑意击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1355, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1709Stub() { } + + public override float GetMpcost(Skill skill) => 95f; + public override int GetExecutetime(Skill skill) => 1267; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 33 + 1.2f * 15; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1709.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1709.cs.meta new file mode 100644 index 0000000000..ecd6975b29 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1709.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ff85e682142054857ab14e1a7cddad90 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1710.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1710.cs new file mode 100644 index 0000000000..a7c728ec2d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1710.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1710 : Skill + { + public const int SKILL_ID = 1710; + + public Skill1710() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1710Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30956 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 150); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 150); + skill.SetPlus(7500); + skill.SetRatio(4.5f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1710Stub() : base(1710) + { + cls = 8; + name = "真·万象剑劲"; + nativename = "真·万象剑劲"; + icon = "万象剑劲仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1130; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_万象剑劲"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/万象剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1357, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1710Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 28 + 2 * 15f; + public float GetHitrate(Skill skill) => 8f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1710.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1710.cs.meta new file mode 100644 index 0000000000..8c69eecce9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1710.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 93229c5afe1d64cc283a7306b7752238 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1711.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1711.cs new file mode 100644 index 0000000000..71fa86fb14 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1711.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1711 : Skill + { + public const int SKILL_ID = 1711; + + public Skill1711() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1711Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30977 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3333; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 150); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 150); + skill.SetPlus(5500); + skill.SetRatio(4.5f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1711Stub() : base(1711) + { + cls = 8; + name = "狂·万象剑劲"; + nativename = "狂·万象剑劲"; + icon = "万象剑劲魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1130; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_万象剑劲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/万象剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1357, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1711Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 28 + 2 * 15f; + public float GetHitrate(Skill skill) => 8f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1711.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1711.cs.meta new file mode 100644 index 0000000000..4af10a7594 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1711.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3769fcf7d0a7143c5a91a5f043972f8a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1712.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1712.cs new file mode 100644 index 0000000000..02390b3fc3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1712.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1712 : Skill + { + public const int SKILL_ID = 1712; + + public Skill1712() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1712Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30958 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1466; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(435); + skill.SetPlus(8300); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1712Stub() : base(1712) + { + cls = 8; + name = "真·剑神无敌"; + nativename = "真·剑神无敌"; + icon = "剑神无敌仙技能"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1132; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_剑神无敌_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_剑神无敌_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1359, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill1712Stub() { } + + public override float GetMpcost(Skill skill) => 435f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 14f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1712.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1712.cs.meta new file mode 100644 index 0000000000..3647ffbaa7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1712.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 17374b873ca1d4e7e899faadf0640163 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1713.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1713.cs new file mode 100644 index 0000000000..45c193053e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1713.cs @@ -0,0 +1,214 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1713 : Skill + { + public const int SKILL_ID = 1713; + + public Skill1713() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1713Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30979 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1466; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(435); + skill.SetPlus(8300); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1713Stub() : base(1713) + { + cls = 8; + name = "狂·剑神无敌"; + nativename = "狂·剑神无敌"; + icon = "剑神无敌魔技能"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1132; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_剑神无敌_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_剑神无敌_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1359, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill1713Stub() { } + + public override float GetMpcost(Skill skill) => 435f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 15); + skill.GetVictim ().SetTime (1400); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1713.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1713.cs.meta new file mode 100644 index 0000000000..1f5d693954 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1713.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f7b00a65daa794b71851cea7badd1b2a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1714.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1714.cs new file mode 100644 index 0000000000..c8074f145b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1714.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1714 : Skill + { + public const int SKILL_ID = 1714; + + public Skill1714() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1714Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1714Stub() : base(1714) + { + cls = 8; + name = "仙元爆发"; + nativename = "仙元爆发"; + icon = "仙元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2113; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1714Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1714.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1714.cs.meta new file mode 100644 index 0000000000..0b922ef50b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1714.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a3f3e3a2c54904913bd856bac8751a27 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1715.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1715.cs new file mode 100644 index 0000000000..ffebdaf990 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1715.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1715 : Skill + { + public const int SKILL_ID = 1715; + + public Skill1715() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1715Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1715Stub() : base(1715) + { + cls = 8; + name = "魔元爆发"; + nativename = "魔元爆发"; + icon = "魔元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2114; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1715Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1715.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1715.cs.meta new file mode 100644 index 0000000000..2daf33b80c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1715.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 868852f2c62e7420c99d95e613bcd7e3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1716.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1716.cs new file mode 100644 index 0000000000..e8009199ec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1716.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1716 : Skill + { + public const int SKILL_ID = 1716; + + public Skill1716() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1716Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30959 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill1716Stub() : base(1716) + { + cls = 8; + name = "真·刀剑精通"; + nativename = "真·刀剑精通"; + icon = "刀剑精通1"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 2; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1134; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1371, 10); + + } + + ~Skill1716Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 75)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncsword (0.3f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1716.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1716.cs.meta new file mode 100644 index 0000000000..c31332c164 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1716.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9c0dec8dd3e214a6680cd6aeb68fe280 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1717.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1717.cs new file mode 100644 index 0000000000..0e7777c4c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1717.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1717 : Skill + { + public const int SKILL_ID = 1717; + + public Skill1717() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1717Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30980 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill1717Stub() : base(1717) + { + cls = 8; + name = "狂·刀剑精通"; + nativename = "狂·刀剑精通"; + icon = "刀剑精通2"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 2; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1134; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1371, 10); + + } + + ~Skill1717Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 75)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncsword (0.15f); + skill.GetPlayer ().SetInccrit (1); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1717.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1717.cs.meta new file mode 100644 index 0000000000..deaeb9de45 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1717.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f8a7c410e60f141bea5fd4eb93687ffb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1718.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1718.cs new file mode 100644 index 0000000000..a0655c3add --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1718.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1718 : Skill + { + public const int SKILL_ID = 1718; + + public Skill1718() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1718Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30957 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 500); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1718Stub() : base(1718) + { + cls = 8; + name = "真·八方剑影"; + nativename = "真·八方剑影"; + icon = "八方剑影仙技能"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1131; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_八方剑影"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_八方剑影_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1358, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1718Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 1533; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1719); + skill.GetVictim ().SetAuracurse (1); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (176); + skill.GetVictim ().SetAmount (72); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetPureattack (); + public float GetTalent1(PlayerWrapper player) => (player.GetAttackdegree () * 0.011 + 1.1) * (player.GetRand () < player.GetCrit () * 2 ? 1.5 : 1) * 1000; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1718.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1718.cs.meta new file mode 100644 index 0000000000..dac90cb5a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1718.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e83c7390f20274083a821c2d47a416d5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1719.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1719.cs new file mode 100644 index 0000000000..9c6e8a25ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1719.cs @@ -0,0 +1,126 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1719 : Skill + { + public const int SKILL_ID = 1719; + + public Skill1719() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1719Stub : SkillStub + { + + + public Skill1719Stub() : base(1719) + { + cls = 8; + name = "870402"; + nativename = "870402"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_八方剑影"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_八方剑影_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1719Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT1 () * (skill.GetT0 () + 6500) * 0.001f); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1719.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1719.cs.meta new file mode 100644 index 0000000000..3ab9157cf0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1719.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 684a73222ceff49e3852faab64b591da \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1720.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1720.cs new file mode 100644 index 0000000000..08edab52a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1720.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1720 : Skill + { + public const int SKILL_ID = 1720; + + public Skill1720() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1720Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30978 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 500); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1533; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1720Stub() : base(1720) + { + cls = 8; + name = "狂·八方剑影"; + nativename = "狂·八方剑影"; + icon = "八方剑影魔技能"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1131; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_八方剑影"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_八方剑影_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1358, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1720Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 1533; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (8); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1721); + skill.GetVictim ().SetAuracurse (1); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (176); + skill.GetVictim ().SetAmount (72); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetPureattack (); + public float GetTalent1(PlayerWrapper player) => (player.GetAttackdegree () * 0.011 + 1.1) * (player.GetRand () < player.GetCrit () * 2 ? 1.5 : 1) * 1000; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1720.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1720.cs.meta new file mode 100644 index 0000000000..eef1d4166d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1720.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f53e72a3e87484afa97bc7a89500ad84 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1721.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1721.cs new file mode 100644 index 0000000000..ac0b480b85 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1721.cs @@ -0,0 +1,126 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1721 : Skill + { + public const int SKILL_ID = 1721; + + public Skill1721() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1721Stub : SkillStub + { + + + public Skill1721Stub() : base(1721) + { + cls = 8; + name = "870403"; + nativename = "870403"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_八方剑影"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_八方剑影_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1721Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT1 () * (skill.GetT0 () + 6500) * 0.001f); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1721.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1721.cs.meta new file mode 100644 index 0000000000..2c7642c112 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1721.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8ce04fc4876aa4ab6be0dd0c15bd748f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1731.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1731.cs new file mode 100644 index 0000000000..89f84e1b76 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1731.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1731 : Skill + { + public const int SKILL_ID = 1731; + + public Skill1731() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1731Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30935 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetMp(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1731Stub() : base(1731) + { + cls = 8; + name = "回光诀"; + nativename = "回光诀"; + icon = "回光诀"; + max_level = 1; + type = 2; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1133; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "武侠_龙依"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/武侠_龙依.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1731Stub() { } + + public override float GetMpcost(Skill skill) => 1f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetFreemove (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1731.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1731.cs.meta new file mode 100644 index 0000000000..b8339473ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1731.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f92aae1dffe4d4e539f742a23f8afcc6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1732.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1732.cs new file mode 100644 index 0000000000..bb0e287b65 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1732.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1732 : Skill + { + public const int SKILL_ID = 1732; + + public Skill1732() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1732Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30936 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 200); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 200); + skill.SetPlus(3980); + skill.SetRatio(3.4f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1732Stub() : base(1732) + { + cls = 8; + name = "翔龙剑劲"; + nativename = "翔龙剑劲"; + icon = "翔龙剑劲"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1130; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_翔龙剑劲"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_翔龙剑劲_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_翔龙剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1732Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1732.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1732.cs.meta new file mode 100644 index 0000000000..f064ccae8e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1732.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ead39f3ac3c3343c5be9c6ed9fbe097d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1733.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1733.cs new file mode 100644 index 0000000000..a76ee40533 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1733.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1733 : Skill + { + public const int SKILL_ID = 1733; + + public Skill1733() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1733Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 30938 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1733Stub() : base(1733) + { + cls = 8; + name = "归刃诀"; + nativename = "归刃诀"; + icon = "归刃诀"; + max_level = 1; + type = 2; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1133; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_归刃诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/状态效果/归刃诀_瞬发.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1733Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1690); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (1362); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1360); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (1688); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1733.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1733.cs.meta new file mode 100644 index 0000000000..14c2061db8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1733.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 664433ab165c947e3bf839b1205f8d1a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1734.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1734.cs new file mode 100644 index 0000000000..cfe32297a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1734.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1734 : Skill + { + public const int SKILL_ID = 1734; + + public Skill1734() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1734Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 30938 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1734Stub() : base(1734) + { + cls = 8; + name = "归刃诀"; + nativename = "归刃诀"; + icon = "归刃诀"; + max_level = 1; + type = 2; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1133; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_归刃诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/状态效果/归刃诀_瞬发.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1734Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1691); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (1362); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1360); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (1689); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1734.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1734.cs.meta new file mode 100644 index 0000000000..ac43eb48e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1734.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 668add70209ee490b811a3ac747a1d76 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1735.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1735.cs new file mode 100644 index 0000000000..42e6f75ac7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1735.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1735 : Skill + { + public const int SKILL_ID = 1735; + + public Skill1735() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1735Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 30937 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 80); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1735Stub() : base(1735) + { + cls = 8; + name = "九尊剑诀"; + nativename = "九尊剑诀"; + icon = "九尊剑诀"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1111; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_九尊剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_九尊剑诀_击中02.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1735Stub() { } + + public override float GetMpcost(Skill skill) => 80f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1732); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1736); + skill.GetVictim ().SetAttackattachstate4 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1735.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1735.cs.meta new file mode 100644 index 0000000000..1b498d936c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1735.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 63be5e1dfc4824a79b110a831eda49af \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1736.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1736.cs new file mode 100644 index 0000000000..158a67530f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1736.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1736 : Skill + { + public const int SKILL_ID = 1736; + + public Skill1736() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1736Stub : SkillStub + { + + + public Skill1736Stub() : base(1736) + { + cls = 8; + name = "444"; + nativename = "444"; + icon = ""; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_九尊剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_九尊剑诀_击中02.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1736Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1732); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1737); + skill.GetVictim ().SetBeattackattachstate4 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1736.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1736.cs.meta new file mode 100644 index 0000000000..3b6ae59651 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1736.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7fa45cc7bf84a47b09210b150cc906f6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1737.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1737.cs new file mode 100644 index 0000000000..612cc69699 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1737.cs @@ -0,0 +1,129 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1737 : Skill + { + public const int SKILL_ID = 1737; + + public Skill1737() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1737Stub : SkillStub + { + + + public Skill1737Stub() : base(1737) + { + cls = 8; + name = "4444"; + nativename = "4444"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_九尊剑眼激活"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_九尊剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1737Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetWeapondisabled (1); + skill.GetVictim ().SetValue (4080); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1737.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1737.cs.meta new file mode 100644 index 0000000000..776cef1b4e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1737.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7c022f9aa1d1b4e7bab6e2dba3b6ecec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1738.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1738.cs new file mode 100644 index 0000000000..996f8faa58 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1738.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1738 : Skill + { + public const int SKILL_ID = 1738; + + public Skill1738() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1738Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 30937 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.5f * 80); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1738Stub() : base(1738) + { + cls = 8; + name = "九尊剑诀"; + nativename = "九尊剑诀"; + icon = "九尊剑诀"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1111; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "九尊剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1738Stub() { } + + public override float GetMpcost(Skill skill) => 80f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1732); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1736); + skill.GetVictim ().SetAttackattachstate4 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1738.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1738.cs.meta new file mode 100644 index 0000000000..38c138187f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1738.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bec8bdbb4b80a4adea00a62942707930 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1739.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1739.cs new file mode 100644 index 0000000000..6427b8b941 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1739.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1739 : Skill + { + public const int SKILL_ID = 1739; + + public Skill1739() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1739Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 31158 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 80); + skill.SetPlus(3100); + skill.SetRatio(0.9f); + skill.SetGolddamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1739Stub() : base(1739) + { + cls = 8; + name = "真·流光剑气"; + nativename = "真·流光剑气"; + icon = "流光剑劲仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 7; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1126; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_流光剑劲"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_流光剑劲_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_流光剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1352, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1739Stub() { } + + public override float GetMpcost(Skill skill) => 80f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 4000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 5000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1739.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1739.cs.meta new file mode 100644 index 0000000000..1ff89f2747 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1739.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a798ca805a297405ab33a21c8161488a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1740.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1740.cs new file mode 100644 index 0000000000..d3e0d5dabf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1740.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1740 : Skill + { + public const int SKILL_ID = 1740; + + public Skill1740() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1740Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 31159 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 80); + skill.SetPlus(2500); + skill.SetRatio(0.9f); + skill.SetGolddamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1740Stub() : base(1740) + { + cls = 8; + name = "狂·流光剑气"; + nativename = "狂·流光剑气"; + icon = "流光剑劲魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 7; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1126; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_流光剑劲"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_流光剑劲_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_流光剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1352, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1740Stub() { } + + public override float GetMpcost(Skill skill) => 80f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 4000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 5000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1740.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1740.cs.meta new file mode 100644 index 0000000000..11a5e28c17 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1740.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 118f574780e3c45198e8913afef85822 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill18.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill18.cs new file mode 100644 index 0000000000..326d783e06 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill18.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill18 : Skill + { + public const int SKILL_ID = 18; + + public Skill18() : base(SKILL_ID) + { + } + } +#endif + + public class Skill18Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 2300, 3850, 5900, 8650, 12300, 17100, 23500, 32000, 43500, 59000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 6000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(210 + 75 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(210 + 75 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill18Stub() : base(18) + { + cls = 7; + name = "还魂咒"; + nativename = "还魂咒"; + icon = "还魂咒"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 2; + eventflag = 0; + posdouble = 0; + time_type = 0; + showorder = 1404; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 1; + allow_forms = 1; + effect = "还魂咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/还魂咒中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(115, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill18Stub() { } + + public override float GetMpcost(Skill skill) => (float)(210 + 75 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.055f - 0.005f * skill.GetLevel ()); + skill.GetVictim ().SetAmount (0.1f); + skill.GetVictim ().SetValue (0.1f); + skill.GetVictim ().SetResurrect (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill18.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill18.cs.meta new file mode 100644 index 0000000000..fe7f1bc67d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill18.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 404f8b359e7004a8fb8226023985f9e8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1804.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1804.cs new file mode 100644 index 0000000000..d16da4d9ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1804.cs @@ -0,0 +1,103 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1804 : Skill + { + public const int SKILL_ID = 1804; + + public Skill1804() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1804Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 95 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33748 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + + public Skill1804Stub() : base(1804) + { + cls = 7; + name = "众神的眷顾"; + nativename = "众神的眷顾"; + icon = "众神的眷顾"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2906; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill1804Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetReduceresurrectexplost (100); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1804.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1804.cs.meta new file mode 100644 index 0000000000..b4f1d0d341 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1804.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 88c188ae6228e427b81248c78f876116 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1810.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1810.cs new file mode 100644 index 0000000000..c53ee4cce7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1810.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1810 : Skill + { + public const int SKILL_ID = 1810; + + public Skill1810() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1810Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33747 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(406); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1810Stub() : base(1810) + { + cls = 7; + name = "雷疾弧光"; + nativename = "雷疾弧光"; + icon = "羽斩"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2903; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "羽灵_羽斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽灵_羽斩_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽灵_羽斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1810Stub() { } + + public override float GetMpcost(Skill skill) => 606f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 606)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetDeccritresistance (1); + skill.GetVictim ().SetValue (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => (player.GetMagicattack () + player.GetSoulpower () * 0.3) * (player.GetRand () < player.GetCrit () * 2 ? 1.5 : 1); + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1810.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1810.cs.meta new file mode 100644 index 0000000000..5b7f72ba48 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1810.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ba013f599e9024bf19a4d17cbc25fa5c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1811.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1811.cs new file mode 100644 index 0000000000..a200bf5525 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1811.cs @@ -0,0 +1,171 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1811 : Skill + { + public const int SKILL_ID = 1811; + + public Skill1811() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1811Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 5000000 }; + private static readonly int[] RequiredItemArray = { 33750 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(110); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(435); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1811Stub() : base(1811) + { + cls = 7; + name = "天羽·紫夜舞"; + nativename = "天羽·紫夜舞"; + icon = "雷火坠"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2907; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1869, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1811Stub() { } + + public override float GetMpcost(Skill skill) => 545f; + public override int GetExecutetime(Skill skill) => 1650; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 545)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetRatio ((250 + 50 * (skill.GetT1 () - 100)) > 10 ? (250 + 50 * (skill.GetT1 () - 100)) : 10); + skill.GetVictim ().SetValue (0.6f + (skill.GetT0 () - skill.GetT1 () * skill.GetT1 () - 50 * skill.GetT1 ()) * 0.00001f); + skill.GetVictim ().SetThunderform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetT2 ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); + public float GetTalent1(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1811.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1811.cs.meta new file mode 100644 index 0000000000..1962389fa9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1811.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 47420ded74e5846df91b793d19b9f892 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1812.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1812.cs new file mode 100644 index 0000000000..60c9fab590 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1812.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1812 : Skill + { + public const int SKILL_ID = 1812; + + public Skill1812() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1812Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 500000 }; + private static readonly int[] RequiredItemArray = { 33745 }; + private static readonly int[] RequiredMoneyArray = { 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(709); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1812Stub() : base(1812) + { + cls = 7; + name = "极光幻雷"; + nativename = "极光幻雷"; + icon = "流光溢彩"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2902; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "羽灵_流光溢彩"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽灵_流光溢彩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1812Stub() { } + + public override float GetMpcost(Skill skill) => 909f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 909)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetLevel () - skill.GetT1 () > 5 ? 0 : 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetSoulpower () - skill.GetT2 () > + 45000 ? 1000 : 10000 + (skill.GetT2 () - skill.GetPlayer ().GetSoulpower ()) / 5); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.1f + 675); + skill.GetVictim ().SetHealabsorb (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetT2 () * 0.15f); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetPuremagicattack (); + public float GetTalent1(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1812.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1812.cs.meta new file mode 100644 index 0000000000..582f83b564 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1812.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ea4fef20f45af468f87312506c39be23 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1813.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1813.cs new file mode 100644 index 0000000000..ec0d65fe5f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1813.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1813 : Skill + { + public const int SKILL_ID = 1813; + + public Skill1813() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1813Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33749 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 850; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(1315); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1813Stub() : base(1813) + { + cls = 7; + name = "虔诚"; + nativename = "虔诚"; + icon = "天瀑符"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2905; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "羽灵_天瀑符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/天瀑符_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1813Stub() { } + + public override float GetMpcost(Skill skill) => 1515f; + public override int GetExecutetime(Skill skill) => 850; + public override int GetCoolingtime(Skill skill) => 45000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 1515)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (13000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetRebirth2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1813.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1813.cs.meta new file mode 100644 index 0000000000..c6e2dcc7db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1813.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 544217e97ca494ddbbad858386055680 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1814.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1814.cs new file mode 100644 index 0000000000..756057484a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1814.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1814 : Skill + { + public const int SKILL_ID = 1814; + + public Skill1814() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1814Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33746 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1050; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(506); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1814Stub() : base(1814) + { + cls = 7; + name = "天音雷暴符"; + nativename = "天音雷暴符"; + icon = "五感符"; + max_level = 1; + type = 3; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2904; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "羽灵_五感符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽灵_五感符_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽灵_五感符_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1814Stub() { } + + public override float GetMpcost(Skill skill) => 606f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 606)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetAmount (30); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetHurtwhenuseskill (1); + return true; + } + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncmpgen (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetPuremagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1814.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1814.cs.meta new file mode 100644 index 0000000000..64348db21f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1814.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 34a538d7194904a469acc4b2d0732ce8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1840.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1840.cs new file mode 100644 index 0000000000..04e2a5f82f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1840.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1840 : Skill + { + public const int SKILL_ID = 1840; + + public Skill1840() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1840Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33754 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1250; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(154); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.SetPlus(3200); + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1840Stub() : base(1840) + { + cls = 6; + name = "断空封魔矢"; + nativename = "断空封魔矢"; + icon = "软骨之矢"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 3; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2901; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽芒_软骨之矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽芒_软骨之矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_软骨之矢_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1840Stub() { } + + public override float GetMpcost(Skill skill) => 454f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 3f; + public float GetAttackdistance(Skill skill) => 25f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 18f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 454)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1840.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1840.cs.meta new file mode 100644 index 0000000000..9f16c4b16e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1840.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 398f748c722cc4e75a8d1af47620261b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1841.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1841.cs new file mode 100644 index 0000000000..708d9d3b2f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1841.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1841 : Skill + { + public const int SKILL_ID = 1841; + + public Skill1841() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1841Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 5000000 }; + private static readonly int[] RequiredItemArray = { 33758 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(172); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1841Stub() : base(1841) + { + cls = 6; + name = "天羽·苍雷破"; + nativename = "天羽·苍雷破"; + icon = "擎天雷鸣"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2906; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽芒_擎天雷鸣"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_擎天雷鸣.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1866, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1841Stub() { } + + public override float GetMpcost(Skill skill) => 272f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 25f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 272)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (6); + skill.GetVictim ().SetIncattackrange (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (5 + skill.GetT0 ()); + skill.GetVictim ().SetValue (25); + skill.GetVictim ().SetInccountedsmite (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 2f; + public float GetTalent0(PlayerWrapper player) => (player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel ()) / 10000; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1841.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1841.cs.meta new file mode 100644 index 0000000000..6abf5e175f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1841.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e0f62e289486e4ef79363e19f8a31094 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1842.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1842.cs new file mode 100644 index 0000000000..bbb3f36230 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1842.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1842 : Skill + { + public const int SKILL_ID = 1842; + + public Skill1842() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1842Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33753 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(130); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 850; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.SetPlus(1500); + skill.SetRatio(2.5f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1842Stub() : base(1842) + { + cls = 6; + name = "落日矢"; + nativename = "落日矢"; + icon = "落日矢"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 3; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2902; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽芒_落日矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_落日矢_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1842Stub() { } + + public override float GetMpcost(Skill skill) => 530f; + public override int GetExecutetime(Skill skill) => 850; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 25f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 530)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetAmount (0.3f); + skill.GetVictim ().SetValue (3000); + skill.GetVictim ().SetWeakenbless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 8; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1842.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1842.cs.meta new file mode 100644 index 0000000000..704e3d95af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1842.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cb05512f6295e44449e5d50dfbca3075 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1843.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1843.cs new file mode 100644 index 0000000000..a6d407365e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1843.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1843 : Skill + { + public const int SKILL_ID = 1843; + + public Skill1843() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1843Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33752 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(21); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1843Stub() : base(1843) + { + cls = 6; + name = "宁静"; + nativename = "宁静"; + icon = "回旋之翼"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2903; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1843Stub() { } + + public override float GetMpcost(Skill skill) => 121f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 25f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 121)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (9); + skill.GetVictim ().SetAmount (50); + skill.GetVictim ().SetValue (31); + skill.GetVictim ().SetInvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1843.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1843.cs.meta new file mode 100644 index 0000000000..afcbb57e8f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1843.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e740db65e471540abb3834525f820474 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1844.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1844.cs new file mode 100644 index 0000000000..87728bd720 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1844.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1844 : Skill + { + public const int SKILL_ID = 1844; + + public Skill1844() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1844Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 33755 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(66); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1844Stub() : base(1844) + { + cls = 6; + name = "左弦之翼"; + nativename = "左弦之翼"; + icon = "无上之翼左 "; + max_level = 1; + type = 8; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2904; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1844Stub() { } + + public override float GetMpcost(Skill skill) => 166f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 35000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 25f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 166)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1844.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1844.cs.meta new file mode 100644 index 0000000000..e79daf31f2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1844.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8076c3d775f89474388f62bf0cc52796 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1845.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1845.cs new file mode 100644 index 0000000000..75864b5ecd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1845.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1845 : Skill + { + public const int SKILL_ID = 1845; + + public Skill1845() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1845Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 33756 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(66); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1845Stub() : base(1845) + { + cls = 6; + name = "右弦之翼"; + nativename = "右弦之翼"; + icon = "无上之翼右"; + max_level = 1; + type = 8; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2905; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1845Stub() { } + + public override float GetMpcost(Skill skill) => 166f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 35000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 25f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 180); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 166)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1845.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1845.cs.meta new file mode 100644 index 0000000000..15ece2a3bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1845.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b8e76f8b69b9146f0bf0893524c24743 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1846.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1846.cs new file mode 100644 index 0000000000..616f15efb6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1846.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1846 : Skill + { + public const int SKILL_ID = 1846; + + public Skill1846() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1846Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33730 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(69); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.SetPlus(3681); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1846Stub() : base(1846) + { + cls = 8; + name = "赤血剑心"; + nativename = "赤血剑心"; + icon = "剑景"; + max_level = 1; + type = 1; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2901; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_剑景"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_剑景_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1846Stub() { } + + public override float GetMpcost(Skill skill) => 169f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 169)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000 + skill.GetT0 () * 5; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetT0 () * 10); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.2f); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 6f; + public float GetTalent0(PlayerWrapper player) => player.GetPureattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1846.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1846.cs.meta new file mode 100644 index 0000000000..f8e73c127a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1846.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e5d3a6565da1a4beb96505308908a871 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1847.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1847.cs new file mode 100644 index 0000000000..d9da9c35af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1847.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1847 : Skill + { + public const int SKILL_ID = 1847; + + public Skill1847() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1847Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33732 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(63); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1847Stub() : base(1847) + { + cls = 8; + name = "破釜诀"; + nativename = "破釜诀"; + icon = "血牙剑气"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2902; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_血牙剑气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_血牙剑气_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_血牙剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1847Stub() { } + + public override float GetMpcost(Skill skill) => 163f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 163)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.4f); + skill.GetVictim ().SetSubdefencedegree2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.2f); + skill.GetVictim ().SetAddattackdegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 6f; + public float GetTalent0(PlayerWrapper player) => player.GetDefenddegree () > 50 ? player.GetDefenddegree () : 50; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1847.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1847.cs.meta new file mode 100644 index 0000000000..89308025d0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1847.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2c742d06fa2d74a9386d32a7a9bd8a6d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1848.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1848.cs new file mode 100644 index 0000000000..99422e1c27 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1848.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1848 : Skill + { + public const int SKILL_ID = 1848; + + public Skill1848() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1848Stub : SkillStub + { + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(41); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1848Stub() : base(1848) + { + cls = 8; + name = "1678181"; + nativename = "1678181"; + icon = "桎梏诀"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2903; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1848Stub() { } + + public override float GetMpcost(Skill skill) => 141f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * + (skill.GetPlayer ().GetMp () > 135 + && (skill.GetPlayer ().GetHp () > 135 || skill.GetPlayer ().GetLevel () % 135 == 1) ? 100 : 1)); + skill.GetVictim ().SetExchangeposition (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 6f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1848.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1848.cs.meta new file mode 100644 index 0000000000..038d030bc6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1848.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0181b01445ac9446c9d8bfa4b513a63e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1849.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1849.cs new file mode 100644 index 0000000000..45cb0c1809 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1849.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1849 : Skill + { + public const int SKILL_ID = 1849; + + public Skill1849() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1849Stub : SkillStub + { + private static readonly int[] RequiredItemArray = { 33731 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(13); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1250; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1849Stub() : base(1849) + { + cls = 8; + name = "(作废)"; + nativename = "(作废)"; + icon = "悲悯剑劲"; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1220; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_悲悯剑劲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_悲悯剑劲.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/悲悯剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1849Stub() { } + + public override float GetMpcost(Skill skill) => 113f; + public override int GetExecutetime(Skill skill) => 1250; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetAddattackdegree (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetSubdefencedegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 6f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1849.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1849.cs.meta new file mode 100644 index 0000000000..9141e4825f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1849.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9b4c7e24e4a964ed69489f0b8d4e8ad2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1850.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1850.cs new file mode 100644 index 0000000000..d330265f34 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1850.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1850 : Skill + { + public const int SKILL_ID = 1850; + + public Skill1850() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1850Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 5000000 }; + private static readonly int[] RequiredItemArray = { 33734 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(82); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1850Stub() : base(1850) + { + cls = 8; + name = "梵心·剑鸣渊"; + nativename = "梵心·剑鸣渊"; + icon = "乱舞剑咒"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2906; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1870, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1850Stub() { } + + public override float GetMpcost(Skill skill) => 282f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 282)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (6 + skill.GetT0 ()); + skill.GetVictim ().SetValue (33674); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 6f; + public float GetTalent0(PlayerWrapper player) => (player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel ()) > + 40000 ? 4 : (player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel ()) / 10000; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1850.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1850.cs.meta new file mode 100644 index 0000000000..49d6c1fcf1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1850.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0aeeb61dc7d034231bcef775c8f6ab34 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1857.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1857.cs new file mode 100644 index 0000000000..a602c39e32 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1857.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1857 : Skill + { + public const int SKILL_ID = 1857; + + public Skill1857() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1857Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 500000 }; + private static readonly int[] RequiredItemArray = { 33744 }; + private static readonly int[] RequiredMoneyArray = { 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(126); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1857Stub() : base(1857) + { + cls = 7; + name = "静心雷"; + nativename = "静心雷"; + icon = "雷鸣静心符"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2901; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 2; + effect = "羽灵_雷火堕"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽灵_雷火堕.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1857Stub() { } + + public override float GetMpcost(Skill skill) => 426f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28.5,426)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetLevel () - skill.GetT1 () > 5 ? 0 : 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetSoulpower () - skill.GetT2 () > + 45000 ? 1000 : 10000 + (skill.GetT2 () - skill.GetPlayer ().GetSoulpower ()) / 5); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.15f + 675); + skill.GetVictim ().SetHealabsorb (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetT2 () * 0.08f); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetPuremagicattack (); + public float GetTalent1(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1857.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1857.cs.meta new file mode 100644 index 0000000000..db2f460d56 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1857.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eb4e2087909454cf582903e3cfe75679 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1866.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1866.cs new file mode 100644 index 0000000000..0ec8132790 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1866.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1866 : Skill + { + public const int SKILL_ID = 1866; + + public Skill1866() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1866Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 500000 }; + private static readonly int[] RequiredItemArray = { 33757 }; + private static readonly int[] RequiredMoneyArray = { 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(16); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1866Stub() : base(1866) + { + cls = 6; + name = "苍雷破"; + nativename = "苍雷破"; + icon = "擎天雷鸣"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2906; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽芒_擎天雷鸣"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_擎天雷鸣.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1866Stub() { } + + public override float GetMpcost(Skill skill) => 216f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 216)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetValue (6); + skill.GetVictim ().SetIncattackrange (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (4 + skill.GetT0 ()); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetInccountedsmite (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => (player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel ()) / 10000; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1866.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1866.cs.meta new file mode 100644 index 0000000000..92f292b165 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1866.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fd56b7ed0f6e9467085c8aad210e00d3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1869.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1869.cs new file mode 100644 index 0000000000..d1e6f59e0c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1869.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1869 : Skill + { + public const int SKILL_ID = 1869; + + public Skill1869() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1869Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 500000 }; + private static readonly int[] RequiredItemArray = { 33751 }; + private static readonly int[] RequiredMoneyArray = { 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(332); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1869Stub() : base(1869) + { + cls = 7; + name = "紫夜舞"; + nativename = "紫夜舞"; + icon = "雷火坠"; + max_level = 1; + type = 2; + apcost = 15; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2907; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1869Stub() { } + + public override float GetMpcost(Skill skill) => 432f; + public override int GetExecutetime(Skill skill) => 1650; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 432)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (0.4f + (skill.GetT0 () - skill.GetT1 () * skill.GetT1 () - 50 * skill.GetT1 ()) * 0.00001f); + skill.GetVictim ().SetThunderform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); + public float GetTalent1(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1869.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1869.cs.meta new file mode 100644 index 0000000000..0e64e0a6d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1869.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1683c23bf15de47c595ba2de3e302b91 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1881.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1881.cs new file mode 100644 index 0000000000..e54aa94186 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1881.cs @@ -0,0 +1,125 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1881 : Skill + { + public const int SKILL_ID = 1881; + + public Skill1881() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1881Stub : SkillStub + { + + + public Skill1881Stub() : base(1881) + { + cls = 7; + name = "虔诚(效果专用)"; + nativename = "虔诚(效果专用)"; + icon = ""; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_如来天心咒"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_如来天心咒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(23749); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1881Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncantiinvisiblepassive (skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1881.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1881.cs.meta new file mode 100644 index 0000000000..a598a20a49 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill1881.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e60173c5178904ebbbef06a0d6f03131 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill189.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill189.cs new file mode 100644 index 0000000000..80bff4f95d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill189.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill189 : Skill + { + public const int SKILL_ID = 189; + + public Skill189() : base(SKILL_ID) + { + } + } +#endif + + public class Skill189Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 9440, 13840, 19680, 27360, 37600, 51200, 69600, 94400, 128000, 191200 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill189Stub() : base(189) + { + cls = 7; + name = "玄净咒"; + nativename = "玄净咒"; + icon = "玄净咒"; + max_level = 10; + type = 2; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1405; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "玄净咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/玄净咒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(18, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill189Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 13000 - 1000 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill189.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill189.cs.meta new file mode 100644 index 0000000000..22c3c7272b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill189.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 39eddcb81acb84cf88e4381fed24f90e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill19.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill19.cs new file mode 100644 index 0000000000..af4a7807ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill19.cs @@ -0,0 +1,164 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill19 : Skill + { + public const int SKILL_ID = 19; + + public Skill19() : base(SKILL_ID) + { + } + } +#endif + + public class Skill19Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 800, 1920, 3680, 6160, 9440, 13840, 19680, 27360, 37600, 51200 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(10 * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill19Stub() : base(19) + { + cls = 7; + name = "羽盾"; + nativename = "羽盾"; + icon = "羽盾"; + max_level = 10; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(125, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill19Stub() { } + + public override float GetMpcost(Skill skill) => (float)(10 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetValue (2.1f - 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetFeathershield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill19.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill19.cs.meta new file mode 100644 index 0000000000..634b224277 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill19.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1f786c0a6a296486b8d8432ae29c1f09 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill190.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill190.cs new file mode 100644 index 0000000000..e947644f8e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill190.cs @@ -0,0 +1,100 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill190 : Skill + { + public const int SKILL_ID = 190; + + public Skill190() : base(SKILL_ID) + { + } + } +#endif + + public class Skill190Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 500, 1200, 2300, 3850, 5900, 8650, 12300, 17100, 23500, 32000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + + public Skill190Stub() : base(190) + { + cls = 7; + name = "飞行精通"; + nativename = "飞行精通"; + icon = "飞行精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 1; + eventflag = 2; + posdouble = 0; + time_type = 0; + showorder = 1430; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill190Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncfeather (0.2f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill190.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill190.cs.meta new file mode 100644 index 0000000000..dcd9499193 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill190.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2092c03ff3de04b6ebb0c99ec00c2ee7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill191.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill191.cs new file mode 100644 index 0000000000..d73697df4a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill191.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill191 : Skill + { + public const int SKILL_ID = 191; + + public Skill191() : base(SKILL_ID) + { + } + } +#endif + + public class Skill191Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 16, 19, 22, 25, 28, 31, 34, 37, 40, 43 }; + private static readonly int[] RequiredSpArray = { 2560, 3680, 5120, 6720, 8720, 11120, 13840, 17200, 21040, 25600 }; + private static readonly int[] RequiredMoneyArray = { 320, 440, 580, 730, 1000, 1270, 1540, 1810, 2080, 2380 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(39 + 9 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(39 + 9 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill191Stub() : base(191) + { + cls = 7; + name = "聚神符"; + nativename = "聚神符"; + icon = "聚神符"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1414; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "聚神符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/聚神符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(120, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill191Stub() { } + + public override float GetMpcost(Skill skill) => (float)(39 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.1f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill191.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill191.cs.meta new file mode 100644 index 0000000000..6a840b34bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill191.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c1022da064df942959ce923897701f5b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill192.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill192.cs new file mode 100644 index 0000000000..5064baa832 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill192.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill192 : Skill + { + public const int SKILL_ID = 192; + + public Skill192() : base(SKILL_ID) + { + } + } +#endif + + public class Skill192Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 23, 26, 29, 32, 35, 38, 41, 44, 47, 50 }; + private static readonly int[] RequiredSpArray = { 3000, 7600, 14100, 22400, 33500, 46800, 63700, 83200, 106200, 149000 }; + private static readonly int[] RequiredMoneyArray = { 630, 820, 1090, 1360, 1630, 1900, 2180, 2480, 2780, 3080 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(120 + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(120 + 18 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill192Stub() : base(192) + { + cls = 7; + name = "仙守符"; + nativename = "仙守符"; + icon = "仙守符"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1415; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "仙守符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙守符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(191, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill192Stub() { } + + public override float GetMpcost(Skill skill) => (float)(120 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetValue (2 * skill.GetLevel ()); + skill.GetVictim ().SetFasthpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetValue (2 * skill.GetLevel ()); + skill.GetVictim ().SetFastmpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill192.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill192.cs.meta new file mode 100644 index 0000000000..fe3e478b76 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill192.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6430ef352773e42159ac1ca54d40f866 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill193.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill193.cs new file mode 100644 index 0000000000..ce07566c9a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill193.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill193 : Skill + { + public const int SKILL_ID = 193; + + public Skill193() : base(SKILL_ID) + { + } + } +#endif + + public class Skill193Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 32, 35, 38, 41, 44, 47, 50, 53, 56 }; + private static readonly int[] RequiredSpArray = { 9440, 11920, 14880, 18400, 22480, 27360, 33120, 40000, 48160, 57920 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1360, 1630, 1900, 2180, 2480, 2780, 3080, 3380, 3680 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(156 + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(156 + 18 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill193Stub() : base(193) + { + cls = 7; + name = "灵助符"; + nativename = "灵助符"; + icon = "灵助符"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1416; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "灵助符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/灵助符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(192, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill193Stub() { } + + public override float GetMpcost(Skill skill) => (float)(156 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.2f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetBlessmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill193.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill193.cs.meta new file mode 100644 index 0000000000..d81655710a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill193.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 00b56d42b846e46769fa79fd63e5b056 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill194.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill194.cs new file mode 100644 index 0000000000..23ed8069c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill194.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill194 : Skill + { + public const int SKILL_ID = 194; + + public Skill194() : base(SKILL_ID) + { + } + } +#endif + + public class Skill194Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39 }; + private static readonly int[] RequiredSpArray = { 19680 }; + private static readonly int[] RequiredMoneyArray = { 1990 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(650); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill194Stub() : base(194) + { + cls = 7; + name = "奇门护甲"; + nativename = "奇门护甲"; + icon = "天师护体"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 0; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1417; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "奇门护甲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/坚甲符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(120, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill194Stub() { } + + public override float GetMpcost(Skill skill) => 650f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetStoneskin (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill194.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill194.cs.meta new file mode 100644 index 0000000000..ca9c1a51cb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill194.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3d92cce4b19c44b66a0ecdb999f39a2d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2216.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2216.cs new file mode 100644 index 0000000000..e3e18b77bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2216.cs @@ -0,0 +1,222 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2216 : Skill + { + public const int SKILL_ID = 2216; + + public Skill2216() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2216Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42163 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(skill.GetSection() + 1); + skill.GetPlayer().SetDecmp(135); + skill.SetPlus(0); + skill.SetRatio(7.5f); + skill.SetDamage(0.2f * skill.GetAttack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2216Stub() : base(2216) + { + cls = 6; + name = "玄·冰霜散射"; + nativename = "玄·冰霜散射"; + icon = "玄·冰霜散射"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 1; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1313; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽芒_冰霜散射_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_冰霜散射_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(614, 1); + pre_skills.Add(600, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill2216Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 45); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 135)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (2500); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDizzyinchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2216.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2216.cs.meta new file mode 100644 index 0000000000..8f0793bafb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2216.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 30edcbc51a1714e40bc7ddd68dbdcb5b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2217.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2217.cs new file mode 100644 index 0000000000..d6230d8519 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2217.cs @@ -0,0 +1,222 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2217 : Skill + { + public const int SKILL_ID = 2217; + + public Skill2217() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2217Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42164 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(skill.GetSection() + 1); + skill.GetPlayer().SetDecmp(135); + skill.SetPlus(0); + skill.SetRatio(8.5f); + skill.SetDamage(0.2f * skill.GetAttack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2217Stub() : base(2217) + { + cls = 6; + name = "荒·冰霜散射"; + nativename = "荒·冰霜散射"; + icon = "荒·冰霜散射"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 1; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1313; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽芒_冰霜散射_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_冰霜散射_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(615, 1); + pre_skills.Add(601, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill2217Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => (float)(skill.GetPlayer().GetRange() + 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 45); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 135)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (2500); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDizzyinchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2217.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2217.cs.meta new file mode 100644 index 0000000000..844f14b5e5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2217.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0f538bd998ac04b95ad09e1d9574d81c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2218.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2218.cs new file mode 100644 index 0000000000..fb499231af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2218.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2218 : Skill + { + public const int SKILL_ID = 2218; + + public Skill2218() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2218Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42166 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(32); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(128); + skill.SetPlus(5266); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2218Stub() : base(2218) + { + cls = 6; + name = "玄·蛇蝎之吻"; + nativename = "玄·蛇蝎之吻"; + icon = "玄·蛇蝎之吻"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1314; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽芒_恶毒之刺_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_恶毒之刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(616, 1); + pre_skills.Add(618, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2218Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 160)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (1.3f * skill.GetT0 ()); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; + public float GetTalent0(PlayerWrapper player) => player.GetEquipattack () * 6; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2218.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2218.cs.meta new file mode 100644 index 0000000000..63006775a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2218.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5b82df6805c7247998b3dc0306b7705f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2219.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2219.cs new file mode 100644 index 0000000000..b408b9df10 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2219.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2219 : Skill + { + public const int SKILL_ID = 2219; + + public Skill2219() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2219Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42165 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(32); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(128); + skill.SetPlus(5266); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2219Stub() : base(2219) + { + cls = 6; + name = "荒·蛇蝎之吻"; + nativename = "荒·蛇蝎之吻"; + icon = "荒·蛇蝎之吻"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1314; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽芒_恶毒之刺_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_恶毒之刺_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(617, 1); + pre_skills.Add(619, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2219Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 160)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetAmount (skill.GetT0 ()); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; + public float GetTalent0(PlayerWrapper player) => player.GetEquipattack () * 6; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2219.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2219.cs.meta new file mode 100644 index 0000000000..b860953449 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2219.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 912dba97958204a1ab1de7aa114baff1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2220.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2220.cs new file mode 100644 index 0000000000..b806fe0ca3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2220.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2220 : Skill + { + public const int SKILL_ID = 2220; + + public Skill2220() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2220Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42167 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(89); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(356); + skill.SetPlus(6499); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2220Stub() : base(2220) + { + cls = 6; + name = "玄·三千羽杀尽"; + nativename = "玄·三千羽杀尽"; + icon = "玄·三千羽杀尽"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 25; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1319; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽芒_新翼展_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_新翼展_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(626, 1); + pre_skills.Add(624, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2220Stub() { } + + public override float GetMpcost(Skill skill) => 445f; + public override int GetExecutetime(Skill skill) => 400; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 445)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (9); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2220.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2220.cs.meta new file mode 100644 index 0000000000..a6a8ff1146 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2220.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 65755a90ec5024b63a5695f92edf6773 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2221.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2221.cs new file mode 100644 index 0000000000..ae65ff80f9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2221.cs @@ -0,0 +1,213 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2221 : Skill + { + public const int SKILL_ID = 2221; + + public Skill2221() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2221Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42168 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(89); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(356); + skill.SetPlus(6499); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2221Stub() : base(2221) + { + cls = 6; + name = "荒·三千羽杀尽"; + nativename = "荒·三千羽杀尽"; + icon = "荒·三千羽杀尽"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1319; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽芒_新翼展_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_新翼展_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(627, 1); + pre_skills.Add(625, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2221Stub() { } + + public override float GetMpcost(Skill skill) => 445f; + public override int GetExecutetime(Skill skill) => 400; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 445)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (9); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetAmount (405); + skill.GetVictim ().SetValue (32); + skill.GetVictim ().SetWingshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2221.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2221.cs.meta new file mode 100644 index 0000000000..e6769957d7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2221.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a38fd1b5512f943e8bf8fb5e383f2ac9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2222.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2222.cs new file mode 100644 index 0000000000..7e734374ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2222.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2222 : Skill + { + public const int SKILL_ID = 2222; + + public Skill2222() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2222Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 300000 }; + private static readonly int[] RequiredItemArray = { 42156 }; + private static readonly int[] RequiredMoneyArray = { 300000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(2400); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2222Stub() : base(2222) + { + cls = 7; + name = "至·诸神之佑"; + nativename = "至·诸神之佑"; + icon = "至·诸神之佑"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 50; + attr = 0; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1417; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽灵_诸神之佑"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽灵_诸神之佑.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(121, 1); + pre_skills.Add(122, 1); + pre_skills.Add(124, 1); + pre_skills.Add(194, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2222Stub() { } + + public override float GetMpcost(Skill skill) => 2400f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetStoneskin (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetBlessmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (40); + skill.GetVictim ().SetFastmpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2222.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2222.cs.meta new file mode 100644 index 0000000000..22682c57d5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2222.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dfaa74ea986744f41b6339ad82c14d69 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2223.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2223.cs new file mode 100644 index 0000000000..dccca980ed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2223.cs @@ -0,0 +1,217 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2223 : Skill + { + public const int SKILL_ID = 2223; + + public Skill2223() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2223Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 300000 }; + private static readonly int[] RequiredItemArray = { 42157 }; + private static readonly int[] RequiredMoneyArray = { 300000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 4800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2223Stub() : base(2223) + { + cls = 7; + name = "至·极度乾坤"; + nativename = "至·极度乾坤"; + icon = "极度乾坤"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1408; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽灵_新极度乾坤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/新极度乾坤_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(16, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill2223Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (800 + skill.GetMagicdamage () * 0.2f); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2223.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2223.cs.meta new file mode 100644 index 0000000000..1c77dcc1aa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2223.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bda94ac09bcd64c6cac4942161a5cb60 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2224.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2224.cs new file mode 100644 index 0000000000..ff37d22a39 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2224.cs @@ -0,0 +1,225 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2224 : Skill + { + public const int SKILL_ID = 2224; + + public Skill2224() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2224Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 300000 }; + private static readonly int[] RequiredItemArray = { 42158 }; + private static readonly int[] RequiredMoneyArray = { 300000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 4800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2224Stub() : base(2224) + { + cls = 7; + name = "至·天地无极"; + nativename = "至·天地无极"; + icon = "天地无极"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1421; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "羽灵_新天地无极"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽灵_新天地无极.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(123, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill2224Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2224.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2224.cs.meta new file mode 100644 index 0000000000..aafc716a74 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2224.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3c342dc78a28b4bac8a5c5506a0a9efa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill232.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill232.cs new file mode 100644 index 0000000000..003fd6a728 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill232.cs @@ -0,0 +1,173 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill232 : Skill + { + public const int SKILL_ID = 232; + + public Skill232() : base(SKILL_ID) + { + } + } +#endif + + public class Skill232Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29 }; + private static readonly int[] RequiredSpArray = { 18, 000 }; + private static readonly int[] RequiredMoneyArray = { 23, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill232Stub() : base(232) + { + cls = 7; + name = "真元爆发"; + nativename = "真元爆发"; + icon = "爆气1"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2221; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill232Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill232.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill232.cs.meta new file mode 100644 index 0000000000..05a2ad14c4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill232.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 185b24c844b9249d5967bd13a6965ba6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill233.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill233.cs new file mode 100644 index 0000000000..5abb52565f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill233.cs @@ -0,0 +1,176 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill233 : Skill + { + public const int SKILL_ID = 233; + + public Skill233() : base(SKILL_ID) + { + } + } +#endif + + public class Skill233Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 130, 000 }; + private static readonly int[] RequiredMoneyArray = { 180, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill233Stub() : base(233) + { + cls = 7; + name = "高级真元爆发"; + nativename = "高级真元爆发"; + icon = "爆气2"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2222; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill233Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (4); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill233.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill233.cs.meta new file mode 100644 index 0000000000..252351dd5d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill233.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 67a5c116f089643f387c43da023bedd4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2412.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2412.cs new file mode 100644 index 0000000000..917c3c76c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2412.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2412 : Skill + { + public const int SKILL_ID = 2412; + + public Skill2412() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2412Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42159 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(55); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(220); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2412Stub() : base(2412) + { + cls = 7; + name = "玄·醍醐润心"; + nativename = "玄·醍醐润心"; + icon = "醍醐灌顶1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1403; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1醍醐灌顶"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/醍醐灌顶击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(546, 1); + pre_skills.Add(542, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2412Stub() { } + + public override float GetMpcost(Skill skill) => 275f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28,275)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 650; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.25f + 1300); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2412.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2412.cs.meta new file mode 100644 index 0000000000..323ed8d2a7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2412.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 866772bc51a124f6b8e3fa614f6b8ded \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2413.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2413.cs new file mode 100644 index 0000000000..39575c4708 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2413.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2413 : Skill + { + public const int SKILL_ID = 2413; + + public Skill2413() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2413Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42160 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(55); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(220); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2413Stub() : base(2413) + { + cls = 7; + name = "荒·醍醐润心"; + nativename = "荒·醍醐润心"; + icon = "醍醐灌顶2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1403; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2醍醐灌顶"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/醍醐灌顶击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(547, 1); + pre_skills.Add(543, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2413Stub() { } + + public override float GetMpcost(Skill skill) => 275f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28,275)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 650; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.25f + 1300); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2413.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2413.cs.meta new file mode 100644 index 0000000000..216f8a6814 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2413.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fdf878d7de84c4abbb721e95bdb11158 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2414.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2414.cs new file mode 100644 index 0000000000..ae9817f434 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2414.cs @@ -0,0 +1,226 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2414 : Skill + { + public const int SKILL_ID = 2414; + + public Skill2414() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2414Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42161 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetPlus(5266); + skill.SetRatio(1); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2414Stub() : base(2414) + { + cls = 7; + name = "玄·龙卷风"; + nativename = "玄·龙卷风"; + icon = "龙卷风1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1龙卷风"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/龙卷风击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2500; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(578, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill2414Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28,265)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetForm () == 1 ? 100 : 0); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2414); + skill.GetVictim ().SetSkillcooldown (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2414.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2414.cs.meta new file mode 100644 index 0000000000..388a893d37 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2414.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bea0da6e922a047e49b1d29935a07e43 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2415.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2415.cs new file mode 100644 index 0000000000..3b56e81a38 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2415.cs @@ -0,0 +1,226 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2415 : Skill + { + public const int SKILL_ID = 2415; + + public Skill2415() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2415Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42162 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetPlus(6466); + skill.SetRatio(1); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2415Stub() : base(2415) + { + cls = 7; + name = "荒·龙卷风"; + nativename = "荒·龙卷风"; + icon = "龙卷风2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1龙卷风"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/龙卷风击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2500; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(579, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill2415Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28,265)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetForm () == 1 ? 100 : 0); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2415); + skill.GetVictim ().SetSkillcooldown (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2415.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2415.cs.meta new file mode 100644 index 0000000000..01f7d79e0d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2415.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 465ff2dc3f919431a848ade28e1e33b1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2432.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2432.cs new file mode 100644 index 0000000000..89b008c131 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2432.cs @@ -0,0 +1,174 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2432 : Skill + { + public const int SKILL_ID = 2432; + + public Skill2432() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2432Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42287 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(320); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2432Stub() : base(2432) + { + cls = 6; + name = "玄·翼盾"; + nativename = "玄·翼盾"; + icon = "翼盾1"; + max_level = 1; + type = 2; + apcost = 45; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1317; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(622, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2432Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 400)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetAmount (skill.GetT0 ()); + skill.GetVictim ().SetValue (80); + skill.GetVictim ().SetWingshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => 1800; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2432.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2432.cs.meta new file mode 100644 index 0000000000..c4e8d2beb7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2432.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 723aaa43278a14d50824031c1a551cf4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2433.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2433.cs new file mode 100644 index 0000000000..4947e58071 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2433.cs @@ -0,0 +1,174 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2433 : Skill + { + public const int SKILL_ID = 2433; + + public Skill2433() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2433Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42288 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(320); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2433Stub() : base(2433) + { + cls = 6; + name = "荒·翼盾"; + nativename = "荒·翼盾"; + icon = "翼盾2"; + max_level = 1; + type = 2; + apcost = 45; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1317; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(623, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2433Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 400)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (skill.GetT0 ()); + skill.GetVictim ().SetValue (80); + skill.GetVictim ().SetWingshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => 1500; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2433.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2433.cs.meta new file mode 100644 index 0000000000..fe35b9fceb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill2433.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d0c1e839959054547b957ef8330ab3e0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill372.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill372.cs new file mode 100644 index 0000000000..3357ef5a4a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill372.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill372 : Skill + { + public const int SKILL_ID = 372; + + public Skill372() : base(SKILL_ID) + { + } + } +#endif + + public class Skill372Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill372Stub() : base(372) + { + cls = 7; + name = "仙元爆发"; + nativename = "仙元爆发"; + icon = "仙元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2223; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill372Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (7); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill372.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill372.cs.meta new file mode 100644 index 0000000000..0c8e0412da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill372.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1d5aecda52e2549b49f0d6e0b551df27 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill373.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill373.cs new file mode 100644 index 0000000000..caee5c6892 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill373.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill373 : Skill + { + public const int SKILL_ID = 373; + + public Skill373() : base(SKILL_ID) + { + } + } +#endif + + public class Skill373Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill373Stub() : base(373) + { + cls = 7; + name = "魔元爆发"; + nativename = "魔元爆发"; + icon = "魔元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2224; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill373Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetFastpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (7); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill373.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill373.cs.meta new file mode 100644 index 0000000000..4109238e70 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill373.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3a027557c9a9542a18a9e45e3c997882 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill542.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill542.cs new file mode 100644 index 0000000000..4bc86e72d4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill542.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill542 : Skill + { + public const int SKILL_ID = 542; + + public Skill542() : base(SKILL_ID) + { + } + } +#endif + + public class Skill542Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9613 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(320); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill542Stub() : base(542) + { + cls = 7; + name = "真·清心咒"; + nativename = "真·清心咒"; + icon = "清心咒1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1401; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1清心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/清心咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(113, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill542Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 535, + 1375, + 50)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1375; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.5f + 1375); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill542.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill542.cs.meta new file mode 100644 index 0000000000..ab94d61599 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill542.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f0861ee866874419ab6211666047e778 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill543.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill543.cs new file mode 100644 index 0000000000..fbd46432cf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill543.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill543 : Skill + { + public const int SKILL_ID = 543; + + public Skill543() : base(SKILL_ID) + { + } + } +#endif + + public class Skill543Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9614 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(107); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(428); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill543Stub() : base(543) + { + cls = 7; + name = "狂·清心咒"; + nativename = "狂·清心咒"; + icon = "清心咒2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1401; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2清心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/清心咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(113, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill543Stub() { } + + public override float GetMpcost(Skill skill) => 535f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 535, + 1375, + 50)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1375; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.5f + 1375); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill543.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill543.cs.meta new file mode 100644 index 0000000000..5771cb6db8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill543.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d8d2972024f3c4433b35a0090b1bd4b5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill544.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill544.cs new file mode 100644 index 0000000000..b33590e362 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill544.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill544 : Skill + { + public const int SKILL_ID = 544; + + public Skill544() : base(SKILL_ID) + { + } + } +#endif + + public class Skill544Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9615 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(320); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill544Stub() : base(544) + { + cls = 7; + name = "真·静心咒"; + nativename = "真·静心咒"; + icon = "静心符1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1402; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1静心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/静心咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(114, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill544Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 400, + 1200, + 35)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 600; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.385f + 1320); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill544.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill544.cs.meta new file mode 100644 index 0000000000..86d8caf3bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill544.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 06dc2f09ab45a4d50a2db6b7b7b05663 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill545.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill545.cs new file mode 100644 index 0000000000..294af8c9c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill545.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill545 : Skill + { + public const int SKILL_ID = 545; + + public Skill545() : base(SKILL_ID) + { + } + } +#endif + + public class Skill545Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9616 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(320); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill545Stub() : base(545) + { + cls = 7; + name = "狂·静心咒"; + nativename = "狂·静心咒"; + icon = "静心符2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1402; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2静心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/静心咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(114, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill545Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 400, + 1200, + 35)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 600; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.35f + 1200); + skill.GetVictim ().SetHpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (300); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill545.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill545.cs.meta new file mode 100644 index 0000000000..4960ae2e80 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill545.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 66f77272025234e649235da7db724e53 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill546.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill546.cs new file mode 100644 index 0000000000..3c70e33c23 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill546.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill546 : Skill + { + public const int SKILL_ID = 546; + + public Skill546() : base(SKILL_ID) + { + } + } +#endif + + public class Skill546Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9617 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(55); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(220); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill546Stub() : base(546) + { + cls = 7; + name = "真·醍醐灌顶"; + nativename = "真·醍醐灌顶"; + icon = "醍醐灌顶1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1403; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1醍醐灌顶"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/醍醐灌顶击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(115, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill546Stub() { } + + public override float GetMpcost(Skill skill) => 275f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28,275)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 650; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.25f + 650); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill546.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill546.cs.meta new file mode 100644 index 0000000000..4e06a835ef --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill546.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eb91853b481b541d6a9a60540fe5e2da \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill547.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill547.cs new file mode 100644 index 0000000000..c176d47c3f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill547.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill547 : Skill + { + public const int SKILL_ID = 547; + + public Skill547() : base(SKILL_ID) + { + } + } +#endif + + public class Skill547Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9618 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(55); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(220); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill547Stub() : base(547) + { + cls = 7; + name = "狂·醍醐灌顶"; + nativename = "狂·醍醐灌顶"; + icon = "醍醐灌顶2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 12; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1403; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2醍醐灌顶"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/醍醐灌顶击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(115, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill547Stub() { } + + public override float GetMpcost(Skill skill) => 275f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28,275)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 650; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.25f + 650); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill547.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill547.cs.meta new file mode 100644 index 0000000000..cba195117c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill547.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bb727c7eba6664e15a6061bb9e37b0d6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill548.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill548.cs new file mode 100644 index 0000000000..f9c3300e9b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill548.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill548 : Skill + { + public const int SKILL_ID = 548; + + public Skill548() : base(SKILL_ID) + { + } + } +#endif + + public class Skill548Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9619 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 6000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(1200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill548Stub() : base(548) + { + cls = 7; + name = "真·还魂咒"; + nativename = "真·还魂咒"; + icon = "还魂咒1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1404; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 1; + allow_forms = 1; + effect = "1还魂咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/还魂咒中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(18, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill548Stub() { } + + public override float GetMpcost(Skill skill) => 1500f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 1500, + 10)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0.1f); + skill.GetVictim ().SetValue (0.1f); + skill.GetVictim ().SetResurrect (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill548.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill548.cs.meta new file mode 100644 index 0000000000..3d292df547 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill548.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 826e3e21b01f24536b1141c3a6b0b58e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill549.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill549.cs new file mode 100644 index 0000000000..a8348d0128 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill549.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill549 : Skill + { + public const int SKILL_ID = 549; + + public Skill549() : base(SKILL_ID) + { + } + } +#endif + + public class Skill549Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9620 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(1200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill549Stub() : base(549) + { + cls = 7; + name = "狂·还魂咒"; + nativename = "狂·还魂咒"; + icon = "还魂咒2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + time_type = 0; + showorder = 1404; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 1; + allow_forms = 1; + effect = "2还魂咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/还魂咒中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(18, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill549Stub() { } + + public override float GetMpcost(Skill skill) => 1500f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 1500, + 10)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0.1f); + skill.GetVictim ().SetValue (0.1f); + skill.GetVictim ().SetResurrect (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill549.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill549.cs.meta new file mode 100644 index 0000000000..dff2d1e19f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill549.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a5f3048ae98094ac08f7ccc5ab15929f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill550.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill550.cs new file mode 100644 index 0000000000..8ad1e6c853 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill550.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill550 : Skill + { + public const int SKILL_ID = 550; + + public Skill550() : base(SKILL_ID) + { + } + } +#endif + + public class Skill550Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9621 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(150); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill550Stub() : base(550) + { + cls = 7; + name = "真·玄净咒"; + nativename = "真·玄净咒"; + icon = "玄净咒1"; + max_level = 1; + type = 2; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1405; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1玄净咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/玄净咒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(189, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill550Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 3f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill550.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill550.cs.meta new file mode 100644 index 0000000000..e9933b76a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill550.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3662e2016008c4a828fe4d917093f551 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill551.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill551.cs new file mode 100644 index 0000000000..0db666d8f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill551.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill551 : Skill + { + public const int SKILL_ID = 551; + + public Skill551() : base(SKILL_ID) + { + } + } +#endif + + public class Skill551Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9622 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(150); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill551Stub() : base(551) + { + cls = 7; + name = "狂·玄净咒"; + nativename = "狂·玄净咒"; + icon = "玄净咒2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1405; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2玄净咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/玄净咒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(189, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill551Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill551.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill551.cs.meta new file mode 100644 index 0000000000..a0ad923e85 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill551.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e99868b1c0b1f4b849dea89d683c69c5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill552.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill552.cs new file mode 100644 index 0000000000..41a9bf73ea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill552.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill552 : Skill + { + public const int SKILL_ID = 552; + + public Skill552() : base(SKILL_ID) + { + } + } +#endif + + public class Skill552Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9623 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(240); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(960); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill552Stub() : base(552) + { + cls = 7; + name = "真·五气朝元"; + nativename = "真·五气朝元"; + icon = "五气朝元1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1406; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1五气朝元"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五气朝元击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(15, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill552Stub() { } + + public override float GetMpcost(Skill skill) => 1200f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 1200, + 20, + 1600, + 25)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 4800; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.25f + 1600); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill552.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill552.cs.meta new file mode 100644 index 0000000000..52951ead84 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill552.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7872cf33d89484ddf89e17f43c3a4a94 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill553.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill553.cs new file mode 100644 index 0000000000..59b3f9a451 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill553.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill553 : Skill + { + public const int SKILL_ID = 553; + + public Skill553() : base(SKILL_ID) + { + } + } +#endif + + public class Skill553Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9624 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(240); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(960); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill553Stub() : base(553) + { + cls = 7; + name = "狂·五气朝元"; + nativename = "狂·五气朝元"; + icon = "五气朝元2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1406; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2五气朝元"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五气朝元击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(15, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill553Stub() { } + + public override float GetMpcost(Skill skill) => 1200f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 1200, + 20, + 1600, + 25)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 4800; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.25f + 2200); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill553.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill553.cs.meta new file mode 100644 index 0000000000..f586d41cab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill553.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6e03d75455032422f8ccb140c589716e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill554.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill554.cs new file mode 100644 index 0000000000..13dc17ab5a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill554.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill554 : Skill + { + public const int SKILL_ID = 554; + + public Skill554() : base(SKILL_ID) + { + } + } +#endif + + public class Skill554Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9625 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(250); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(750); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill554Stub() : base(554) + { + cls = 7; + name = "真·海纳百川"; + nativename = "真·海纳百川"; + icon = "海纳百川1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1407; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1海纳百川"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/海纳百川击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(116, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill554Stub() { } + + public override float GetMpcost(Skill skill) => 1000f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => (float)(10 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 1000, + 1800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 2700; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.6f + 1800); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (1800); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill554.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill554.cs.meta new file mode 100644 index 0000000000..f134b34d36 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill554.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6d142db21267a4860a6314d361887ef2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill555.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill555.cs new file mode 100644 index 0000000000..a554f98efb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill555.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill555 : Skill + { + public const int SKILL_ID = 555; + + public Skill555() : base(SKILL_ID) + { + } + } +#endif + + public class Skill555Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9626 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(250); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(750); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill555Stub() : base(555) + { + cls = 7; + name = "狂·海纳百川"; + nativename = "狂·海纳百川"; + icon = "海纳百川2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1407; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2海纳百川"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/海纳百川击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(116, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill555Stub() { } + + public override float GetMpcost(Skill skill) => 1000f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => (float)(10 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 1000, + 1800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 2700; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.6f + 1800); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (1800); + skill.GetVictim ().SetHpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill555.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill555.cs.meta new file mode 100644 index 0000000000..e584a41853 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill555.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2fed621da32804092bc3e9ab9e863aa7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill556.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill556.cs new file mode 100644 index 0000000000..68dd2163c1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill556.cs @@ -0,0 +1,209 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill556 : Skill + { + public const int SKILL_ID = 556; + + public Skill556() : base(SKILL_ID) + { + } + } +#endif + + public class Skill556Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9627 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill556Stub() : base(556) + { + cls = 7; + name = "真·五行符"; + nativename = "真·五行符"; + icon = "五行符1"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1409; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1五行符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(17, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill556Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 265, + 35, + 35, + 20)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 25; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill556.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill556.cs.meta new file mode 100644 index 0000000000..12304240d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill556.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e57859dc6023541efa9f43d66059bb7d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill557.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill557.cs new file mode 100644 index 0000000000..5c1aa8861b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill557.cs @@ -0,0 +1,209 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill557 : Skill + { + public const int SKILL_ID = 557; + + public Skill557() : base(SKILL_ID) + { + } + } +#endif + + public class Skill557Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9628 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill557Stub() : base(557) + { + cls = 7; + name = "狂·五行符"; + nativename = "狂·五行符"; + icon = "五行符2"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1409; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2五行符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(17, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill557Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 265, + 35, + 35, + 20)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 25; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill557.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill557.cs.meta new file mode 100644 index 0000000000..33bf16f78f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill557.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4de251309393e41efaca7f9be3e6cbc0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill558.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill558.cs new file mode 100644 index 0000000000..058424399c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill558.cs @@ -0,0 +1,209 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill558 : Skill + { + public const int SKILL_ID = 558; + + public Skill558() : base(SKILL_ID) + { + } + } +#endif + + public class Skill558Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9629 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(59); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(236); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill558Stub() : base(558) + { + cls = 7; + name = "真·五体符"; + nativename = "真·五体符"; + icon = "五体符1"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 12; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1410; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1五体符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五体符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五体符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(117, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill558Stub() { } + + public override float GetMpcost(Skill skill) => 295f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 295, + 40, + 40, + 20)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 25; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill558.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill558.cs.meta new file mode 100644 index 0000000000..4a30407a9d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill558.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b87a48a6431814f0196cd602a5b9a2c4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill559.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill559.cs new file mode 100644 index 0000000000..43e7536454 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill559.cs @@ -0,0 +1,209 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill559 : Skill + { + public const int SKILL_ID = 559; + + public Skill559() : base(SKILL_ID) + { + } + } +#endif + + public class Skill559Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9630 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(59); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(236); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill559Stub() : base(559) + { + cls = 7; + name = "狂·五体符"; + nativename = "狂·五体符"; + icon = "五体符2"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 12; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1410; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2五体符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五体符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五体符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(117, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill559Stub() { } + + public override float GetMpcost(Skill skill) => 295f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 295, + 40, + 40, + 20)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 25; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill559.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill559.cs.meta new file mode 100644 index 0000000000..9cb9f0606f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill559.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: df1b6ce1a40ae459b957b0f0d78c6aea \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill560.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill560.cs new file mode 100644 index 0000000000..19163f4b24 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill560.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill560 : Skill + { + public const int SKILL_ID = 560; + + public Skill560() : base(SKILL_ID) + { + } + } +#endif + + public class Skill560Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9631 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(89); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(356); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill560Stub() : base(560) + { + cls = 7; + name = "真·五音符"; + nativename = "真·五音符"; + icon = "五音符1"; + max_level = 1; + type = 3; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1411; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1五音符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五音符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五音符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(118, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill560Stub() { } + + public override float GetMpcost(Skill skill) => 445f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 445, + 6, + 17)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 5000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime ((1.35f + skill.GetRand () / 50) * 5700); + skill.GetVictim ().SetFix (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 25; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill560.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill560.cs.meta new file mode 100644 index 0000000000..e4a23e6721 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill560.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e089650e63e2d4e2c82009a95f4b718f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill561.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill561.cs new file mode 100644 index 0000000000..d079e0c5ae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill561.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill561 : Skill + { + public const int SKILL_ID = 561; + + public Skill561() : base(SKILL_ID) + { + } + } +#endif + + public class Skill561Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9632 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(89); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(356); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill561Stub() : base(561) + { + cls = 7; + name = "狂·五音符"; + nativename = "狂·五音符"; + icon = "五音符2"; + max_level = 1; + type = 3; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1411; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2五音符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五音符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五音符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(118, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill561Stub() { } + + public override float GetMpcost(Skill skill) => 445f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 445, + 6, + 17)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 5000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime ((1 + skill.GetRand () / 50) * 5700); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 25; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill561.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill561.cs.meta new file mode 100644 index 0000000000..b4c2fd3f60 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill561.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2a86bd91ec2a64de6a7bb8996011be30 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill562.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill562.cs new file mode 100644 index 0000000000..30b7e398cb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill562.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill562 : Skill + { + public const int SKILL_ID = 562; + + public Skill562() : base(SKILL_ID) + { + } + } +#endif + + public class Skill562Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9633 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(149); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(596); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill562Stub() : base(562) + { + cls = 7; + name = "真·五色符"; + nativename = "真·五色符"; + icon = "五色符1"; + max_level = 1; + type = 3; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1412; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1五色符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五色符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五色符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.5f, 0.5f, 0.5f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.5f; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(119, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill562Stub() { } + + public override float GetMpcost(Skill skill) => 745f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 40000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 745, + 14, + 34)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 8000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime ((1.35f + skill.GetRand () / 50) * 11400); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 25; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill562.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill562.cs.meta new file mode 100644 index 0000000000..ef419e0063 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill562.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 08c0a28751ab04734837e03c8cb3e27d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill563.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill563.cs new file mode 100644 index 0000000000..cd0bccc2bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill563.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill563 : Skill + { + public const int SKILL_ID = 563; + + public Skill563() : base(SKILL_ID) + { + } + } +#endif + + public class Skill563Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9634 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(149); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(596); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill563Stub() : base(563) + { + cls = 7; + name = "狂·五色符"; + nativename = "狂·五色符"; + icon = "五色符2"; + max_level = 1; + type = 3; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1412; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1五色符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五色符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五色符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.5f, 0.5f, 0.5f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.5f; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(119, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill563Stub() { } + + public override float GetMpcost(Skill skill) => 745f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 40000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 745, + 14, + 34)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 8000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime ((1 + skill.GetRand () / 50) * 11400); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 25; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill563.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill563.cs.meta new file mode 100644 index 0000000000..ebee57593b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill563.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e9efa8cecd8ba45e69ed25f9dc9c043e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill564.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill564.cs new file mode 100644 index 0000000000..1cb1845a70 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill564.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill564 : Skill + { + public const int SKILL_ID = 564; + + public Skill564() : base(SKILL_ID) + { + } + } +#endif + + public class Skill564Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9635 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill564Stub() : base(564) + { + cls = 7; + name = "真·坚甲符"; + nativename = "真·坚甲符"; + icon = "坚甲符1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1413; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1坚甲符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/坚甲符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(120, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill564Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 265, + 60)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetStoneskin (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill564.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill564.cs.meta new file mode 100644 index 0000000000..3ea22eb7a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill564.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 601a615ab43cb47638c7fb45d86a9ea7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill565.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill565.cs new file mode 100644 index 0000000000..23d4e0ba1a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill565.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill565 : Skill + { + public const int SKILL_ID = 565; + + public Skill565() : base(SKILL_ID) + { + } + } +#endif + + public class Skill565Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9636 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill565Stub() : base(565) + { + cls = 7; + name = "狂·坚甲符"; + nativename = "狂·坚甲符"; + icon = "坚甲符2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1413; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2坚甲符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/坚甲符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(120, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill565Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 265, + 60)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetStoneskin (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetValue (25); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill565.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill565.cs.meta new file mode 100644 index 0000000000..ff21467626 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill565.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6d73973acfd16444a8017c7782c57861 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill566.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill566.cs new file mode 100644 index 0000000000..6f5436f1da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill566.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill566 : Skill + { + public const int SKILL_ID = 566; + + public Skill566() : base(SKILL_ID) + { + } + } +#endif + + public class Skill566Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9637 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill566Stub() : base(566) + { + cls = 7; + name = "真·聚神符"; + nativename = "真·聚神符"; + icon = "聚神符1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1414; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1聚神符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/聚神符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(191, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill566Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 265, + 60)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill566.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill566.cs.meta new file mode 100644 index 0000000000..1e80cc615e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill566.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ffafb85f91c664544b0b2f48129b4d54 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill567.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill567.cs new file mode 100644 index 0000000000..d8339e98f8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill567.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill567 : Skill + { + public const int SKILL_ID = 567; + + public Skill567() : base(SKILL_ID) + { + } + } +#endif + + public class Skill567Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9638 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill567Stub() : base(567) + { + cls = 7; + name = "狂·聚神符"; + nativename = "狂·聚神符"; + icon = "聚神符2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1414; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2聚神符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/聚神符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(191, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill567Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 265, + 60)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetValue (25); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill567.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill567.cs.meta new file mode 100644 index 0000000000..8a484ecd33 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill567.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e79ee635cf36849cfa1d1cb8019aec5d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill568.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill568.cs new file mode 100644 index 0000000000..5068b5c52e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill568.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill568 : Skill + { + public const int SKILL_ID = 568; + + public Skill568() : base(SKILL_ID) + { + } + } +#endif + + public class Skill568Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9639 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(107); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(435); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill568Stub() : base(568) + { + cls = 7; + name = "真·仙守符"; + nativename = "真·仙守符"; + icon = "仙守符1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1415; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1仙守符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙守符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(192, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill568Stub() { } + + public override float GetMpcost(Skill skill) => 535f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 535, + 10)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetFasthpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetFastmpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (1200); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill568.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill568.cs.meta new file mode 100644 index 0000000000..ef97887526 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill568.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5209cca1d007b4880a290e0f4ef27136 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill569.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill569.cs new file mode 100644 index 0000000000..c1d79247df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill569.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill569 : Skill + { + public const int SKILL_ID = 569; + + public Skill569() : base(SKILL_ID) + { + } + } +#endif + + public class Skill569Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9640 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(107); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(435); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill569Stub() : base(569) + { + cls = 7; + name = "狂·仙守符"; + nativename = "狂·仙守符"; + icon = "仙守符2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1415; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2仙守符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙守符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(192, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill569Stub() { } + + public override float GetMpcost(Skill skill) => 535f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 535, + 10)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetFasthpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetFastmpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (900); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill569.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill569.cs.meta new file mode 100644 index 0000000000..09fccd132e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill569.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 28dc46d4697ac499588ffd03094c12c7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill570.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill570.cs new file mode 100644 index 0000000000..805ff6a233 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill570.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill570 : Skill + { + public const int SKILL_ID = 570; + + public Skill570() : base(SKILL_ID) + { + } + } +#endif + + public class Skill570Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9641 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(119); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(476); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill570Stub() : base(570) + { + cls = 7; + name = "真·灵助符"; + nativename = "真·灵助符"; + icon = "灵助符1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1416; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1灵助符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/灵助符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(193, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill570Stub() { } + + public override float GetMpcost(Skill skill) => 595f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 595, + 70)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetBlessmagic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (900); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill570.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill570.cs.meta new file mode 100644 index 0000000000..0eb6d60f5a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill570.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d11730f0739754ae8b4d4655a6d37f77 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill571.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill571.cs new file mode 100644 index 0000000000..10e6fb7200 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill571.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill571 : Skill + { + public const int SKILL_ID = 571; + + public Skill571() : base(SKILL_ID) + { + } + } +#endif + + public class Skill571Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9642 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(119); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(476); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill571Stub() : base(571) + { + cls = 7; + name = "狂·灵助符"; + nativename = "狂·灵助符"; + icon = "灵助符2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1416; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2灵助符"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/灵助符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(193, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill571Stub() { } + + public override float GetMpcost(Skill skill) => 595f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 595, + 70)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetBlessmagic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill571.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill571.cs.meta new file mode 100644 index 0000000000..4825c4a725 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill571.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4ee2e6622af9942d19ae1d4ce3a495d9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill572.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill572.cs new file mode 100644 index 0000000000..599a4c117e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill572.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill572 : Skill + { + public const int SKILL_ID = 572; + + public Skill572() : base(SKILL_ID) + { + } + } +#endif + + public class Skill572Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9643 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 10; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.SetPlus(4190); + skill.SetRatio(1); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill572Stub() : base(572) + { + cls = 7; + name = "真·羽箭"; + nativename = "真·羽箭"; + icon = "羽箭1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1422; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1羽箭"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽箭飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽箭击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 10000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)0; + // m_param = new GFX_SKILL_PARAM(); + // m_param.bVal = false; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(125, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill572Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1500; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 265, + 100, + 3390)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill572.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill572.cs.meta new file mode 100644 index 0000000000..aa6e9af363 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill572.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 01161b596ef344f509bc63e62ee65a1f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill573.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill573.cs new file mode 100644 index 0000000000..82f9f286ea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill573.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill573 : Skill + { + public const int SKILL_ID = 573; + + public Skill573() : base(SKILL_ID) + { + } + } +#endif + + public class Skill573Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9644 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 10; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.SetPlus(3390); + skill.SetRatio(1); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill573Stub() : base(573) + { + cls = 7; + name = "狂·羽箭"; + nativename = "狂·羽箭"; + icon = "羽箭2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1422; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2羽箭"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽箭飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽箭击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 10000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)0; + // m_param = new GFX_SKILL_PARAM(); + // m_param.bVal = false; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(125, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill573Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1200; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 265, + 100, + 3390)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill573.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill573.cs.meta new file mode 100644 index 0000000000..724396468d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill573.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 53e8fd5b32cf343aea1e9355a6fba8e5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill574.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill574.cs new file mode 100644 index 0000000000..15705fb904 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill574.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill574 : Skill + { + public const int SKILL_ID = 574; + + public Skill574() : base(SKILL_ID) + { + } + } +#endif + + public class Skill574Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9645 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill574Stub() : base(574) + { + cls = 7; + name = "真·羽盾"; + nativename = "真·羽盾"; + icon = "羽盾1"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(19, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill574Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 120)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.85f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetFeathershield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill574.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill574.cs.meta new file mode 100644 index 0000000000..47f8a61e12 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill574.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e9abacd160baf4eee8dc861d98cd1d45 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill575.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill575.cs new file mode 100644 index 0000000000..0536303ebc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill575.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill575 : Skill + { + public const int SKILL_ID = 575; + + public Skill575() : base(SKILL_ID) + { + } + } +#endif + + public class Skill575Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9646 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill575Stub() : base(575) + { + cls = 7; + name = "狂·羽盾"; + nativename = "狂·羽盾"; + icon = "羽盾2"; + max_level = 1; + type = 2; + apcost = 15; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(19, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill575Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 120)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetFeathershield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill575.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill575.cs.meta new file mode 100644 index 0000000000..afe4a33aee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill575.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 90013df47e1a542859e6d4c150ca3b9e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill576.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill576.cs new file mode 100644 index 0000000000..84239ab389 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill576.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill576 : Skill + { + public const int SKILL_ID = 576; + + public Skill576() : base(SKILL_ID) + { + } + } +#endif + + public class Skill576Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9647 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(320); + skill.SetPlus(3380); + skill.SetRatio(2); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill576Stub() : base(576) + { + cls = 7; + name = "真·羽刃"; + nativename = "真·羽刃"; + icon = "羽刃1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1424; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1羽刃"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽刃飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽刃中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.2f; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(126, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill576Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 400, + 3380)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill576.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill576.cs.meta new file mode 100644 index 0000000000..513b52d754 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill576.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1af2e52f37eb04584a569101487b6438 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill577.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill577.cs new file mode 100644 index 0000000000..ae496de7af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill577.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill577 : Skill + { + public const int SKILL_ID = 577; + + public Skill577() : base(SKILL_ID) + { + } + } +#endif + + public class Skill577Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9648 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(320); + skill.SetPlus(3380); + skill.SetRatio(2); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill577Stub() : base(577) + { + cls = 7; + name = "狂·羽刃"; + nativename = "狂·羽刃"; + icon = "羽刃2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1424; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2羽刃"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽刃飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽刃中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.2f; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(126, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill577Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 400, + 3380)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 33; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill577.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill577.cs.meta new file mode 100644 index 0000000000..82d18a8114 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill577.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d97e49e186c5c47159a98eac68a9e08e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill578.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill578.cs new file mode 100644 index 0000000000..eab36e10a4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill578.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill578 : Skill + { + public const int SKILL_ID = 578; + + public Skill578() : base(SKILL_ID) + { + } + } +#endif + + public class Skill578Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9649 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.SetPlus(3380); + skill.SetRatio(1); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill578Stub() : base(578) + { + cls = 7; + name = "真·龙卷风"; + nativename = "真·龙卷风"; + icon = "龙卷风1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1龙卷风"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/龙卷风击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2500; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(127, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill578Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28,265)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.45f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill578.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill578.cs.meta new file mode 100644 index 0000000000..0133fd5d51 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill578.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a77b23e91b604406194af88f4ade7805 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill579.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill579.cs new file mode 100644 index 0000000000..5b391ab46e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill579.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill579 : Skill + { + public const int SKILL_ID = 579; + + public Skill579() : base(SKILL_ID) + { + } + } +#endif + + public class Skill579Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9650 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.SetPlus(3980); + skill.SetRatio(1); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill579Stub() : base(579) + { + cls = 7; + name = "狂·龙卷风"; + nativename = "狂·龙卷风"; + icon = "龙卷风2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2龙卷风"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/龙卷风击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2500; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(127, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill579Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28,265)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill579.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill579.cs.meta new file mode 100644 index 0000000000..953e65f480 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill579.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8671fd7d98f7a47a69f99397fa8d89e8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill580.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill580.cs new file mode 100644 index 0000000000..a9911b5617 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill580.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill580 : Skill + { + public const int SKILL_ID = 580; + + public Skill580() : base(SKILL_ID) + { + } + } +#endif + + public class Skill580Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9651 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(64); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(256); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill580Stub() : base(580) + { + cls = 7; + name = "真·神雷"; + nativename = "真·神雷"; + icon = "神雷1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1426; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1神雷"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/神雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(128, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill580Stub() { } + + public override float GetMpcost(Skill skill) => 320f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28,320)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetThunder (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => (4 * player.GetWeaponmagicdamage () + 6800) * 1.15; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill580.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill580.cs.meta new file mode 100644 index 0000000000..9cf92da1cf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill580.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e54feb9715d11420fa90c82be0bc86f7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill581.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill581.cs new file mode 100644 index 0000000000..77b080cbad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill581.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill581 : Skill + { + public const int SKILL_ID = 581; + + public Skill581() : base(SKILL_ID) + { + } + } +#endif + + public class Skill581Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9652 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(64); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(256); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill581Stub() : base(581) + { + cls = 7; + name = "狂·神雷"; + nativename = "狂·神雷"; + icon = "神雷2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 5; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1426; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2神雷"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/神雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(128, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill581Stub() { } + + public override float GetMpcost(Skill skill) => 320f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 28,320)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetThunder (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => 4 * player.GetWeaponmagicdamage () + 6800; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill581.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill581.cs.meta new file mode 100644 index 0000000000..e2eff4f271 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill581.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: acdfb7121d85d45109d7ac43e05e80f8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill582.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill582.cs new file mode 100644 index 0000000000..e6aa7578ba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill582.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill582 : Skill + { + public const int SKILL_ID = 582; + + public Skill582() : base(SKILL_ID) + { + } + } +#endif + + public class Skill582Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9653 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(119); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(476); + skill.SetPlus(5783); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill582Stub() : base(582) + { + cls = 7; + name = "真·和风拂面"; + nativename = "真·和风拂面"; + icon = "和风拂面1"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1427; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1和风拂面"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/和风拂面击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(129, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill582Stub() { } + + public override float GetMpcost(Skill skill) => 595f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 595)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill582.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill582.cs.meta new file mode 100644 index 0000000000..e37b2fe61a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill582.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 32febcef3aa3a40fa84f15f43198b00b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill583.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill583.cs new file mode 100644 index 0000000000..0bc4dc8ab4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill583.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill583 : Skill + { + public const int SKILL_ID = 583; + + public Skill583() : base(SKILL_ID) + { + } + } +#endif + + public class Skill583Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9654 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(119); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(476); + skill.SetPlus(5783); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill583Stub() : base(583) + { + cls = 7; + name = "狂·和风拂面"; + nativename = "狂·和风拂面"; + icon = "和风拂面2"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1427; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2和风拂面"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/和风拂面击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(129, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill583Stub() { } + + public override float GetMpcost(Skill skill) => 595f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 595)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill583.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill583.cs.meta new file mode 100644 index 0000000000..b026299aa7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill583.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: de3fda9c57e2c4dd5917725fb7b8a7f6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill584.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill584.cs new file mode 100644 index 0000000000..7ee50fde14 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill584.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill584 : Skill + { + public const int SKILL_ID = 584; + + public Skill584() : base(SKILL_ID) + { + } + } +#endif + + public class Skill584Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9655 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(119); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(476); + skill.SetPlus(6365); + skill.SetRatio(2); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill584Stub() : base(584) + { + cls = 7; + name = "真·雷链"; + nativename = "真·雷链"; + icon = "雷链1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 2; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1428; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1雷链"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/雷链飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/雷链击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(163, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill584Stub() { } + + public override float GetMpcost(Skill skill) => 595f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 595, + 200, + 6365)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 24; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill584.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill584.cs.meta new file mode 100644 index 0000000000..2f6a372628 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill584.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dc806599c0df849acbd48afccafe9fb9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill585.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill585.cs new file mode 100644 index 0000000000..c0a01688e4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill585.cs @@ -0,0 +1,212 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill585 : Skill + { + public const int SKILL_ID = 585; + + public Skill585() : base(SKILL_ID) + { + } + } +#endif + + public class Skill585Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9657 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(131); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(524); + skill.SetPlus(13503); + skill.SetRatio(4); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill585Stub() : base(585) + { + cls = 7; + name = "真·狂雷天威"; + nativename = "真·狂雷天威"; + icon = "狂雷天威1"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1429; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1狂雷天威"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/狂雷天威击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 10000; + m_bTraceTarget = true; + m_FlyClusterCount = 7; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 11.0f; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(130, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill585Stub() { } + + public override float GetMpcost(Skill skill) => 655f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 655, + 8)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill585.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill585.cs.meta new file mode 100644 index 0000000000..8585e28c56 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill585.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5298ef63f0a4d439caf0d39cf37c89e3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill586.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill586.cs new file mode 100644 index 0000000000..64ca3ce7a5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill586.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill586 : Skill + { + public const int SKILL_ID = 586; + + public Skill586() : base(SKILL_ID) + { + } + } +#endif + + public class Skill586Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9656 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(119); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(476); + skill.SetPlus(6365); + skill.SetRatio(2); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill586Stub() : base(586) + { + cls = 7; + name = "狂·雷链"; + nativename = "狂·雷链"; + icon = "雷链2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 2; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1428; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2雷链"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/雷链飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/雷链击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(163, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill586Stub() { } + + public override float GetMpcost(Skill skill) => 595f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 595, + 200, + 6365)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 3000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetReducegold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38f; + public int GetAttackspeed(Skill skill) => 24; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill586.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill586.cs.meta new file mode 100644 index 0000000000..535dae0f7f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill586.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6dca11fe01ad545fa9f64b52c1bae986 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill587.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill587.cs new file mode 100644 index 0000000000..6865d17332 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill587.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill587 : Skill + { + public const int SKILL_ID = 587; + + public Skill587() : base(SKILL_ID) + { + } + } +#endif + + public class Skill587Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9658 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(131); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(524); + skill.SetPlus(13503); + skill.SetRatio(4); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill587Stub() : base(587) + { + cls = 7; + name = "狂·狂雷天威"; + nativename = "狂·狂雷天威"; + icon = "狂雷天威2"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1429; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2狂雷天威"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/狂雷天威击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 10000; + m_bTraceTarget = true; + m_FlyClusterCount = 7; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 11.0f; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(130, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill587Stub() { } + + public override float GetMpcost(Skill skill) => 655f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 28, + 655, + 8)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill587.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill587.cs.meta new file mode 100644 index 0000000000..73756b7d95 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill587.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 989e6d97344a342e5a6c7a4c8b599faf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill588.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill588.cs new file mode 100644 index 0000000000..87178e1ea6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill588.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill588 : Skill + { + public const int SKILL_ID = 588; + + public Skill588() : base(SKILL_ID) + { + } + } +#endif + + public class Skill588Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9659 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill588Stub() : base(588) + { + cls = 7; + name = "真·金精通"; + nativename = "真·金精通"; + icon = "金精通1"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1431; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(11, 10); + + } + + ~Skill588Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 20)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncgold (0.25f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill588.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill588.cs.meta new file mode 100644 index 0000000000..749029abdb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill588.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 47170a9965ab243c79aee3e89d9fce5e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill589.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill589.cs new file mode 100644 index 0000000000..fc7a0bf1dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill589.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill589 : Skill + { + public const int SKILL_ID = 589; + + public Skill589() : base(SKILL_ID) + { + } + } +#endif + + public class Skill589Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9660 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill589Stub() : base(589) + { + cls = 7; + name = "狂·金精通"; + nativename = "狂·金精通"; + icon = "金精通2"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1431; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(11, 10); + + } + + ~Skill589Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 20)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncgold (0.2f); + skill.GetPlayer ().SetInccrit (2); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill589.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill589.cs.meta new file mode 100644 index 0000000000..7022946914 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill589.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5f546ebecd28a48faa18e47308d81bc3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill611.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill611.cs new file mode 100644 index 0000000000..0f10bdbdbe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill611.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill611 : Skill + { + public const int SKILL_ID = 611; + + public Skill611() : base(SKILL_ID) + { + } + } +#endif + + public class Skill611Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 9682 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(110); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(440); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill611Stub() : base(611) + { + cls = 6; + name = "狂·狂雷天鹰"; + nativename = "狂·狂雷天鹰"; + icon = "狂雷天鹰2"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 1; + apgain = 0; + attr = 2; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1311; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "2狂雷天鹰"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/狂雷天鹰飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狂雷天鹰击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(253, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill611Stub() { } + + public override float GetMpcost(Skill skill) => 550f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 550)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 8000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetEaglecurse (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; + public float GetTalent0(PlayerWrapper player) => 6 * player.GetWeapondamage () + 12000; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill611.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill611.cs.meta new file mode 100644 index 0000000000..3adb339971 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill611.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 042a4623135074cf881816953101f21d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill612.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill612.cs new file mode 100644 index 0000000000..7d87c4f702 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill612.cs @@ -0,0 +1,165 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill612 : Skill + { + public const int SKILL_ID = 612; + + public Skill612() : base(SKILL_ID) + { + } + } +#endif + + public class Skill612Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9683 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(320); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill612Stub() : base(612) + { + cls = 6; + name = "真·烈焰之矢"; + nativename = "真·烈焰之矢"; + icon = "烈焰之矢1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1312; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(244, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill612Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 400)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetFirearrow (1); + skill.GetVictim ().SetClearinvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill612.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill612.cs.meta new file mode 100644 index 0000000000..20e2c71469 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill612.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4fcfde3c9726f4485845481679674ba4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill613.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill613.cs new file mode 100644 index 0000000000..fd87935cb0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill613.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill613 : Skill + { + public const int SKILL_ID = 613; + + public Skill613() : base(SKILL_ID) + { + } + } +#endif + + public class Skill613Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9684 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(320); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill613Stub() : base(613) + { + cls = 6; + name = "狂·烈焰之矢"; + nativename = "狂·烈焰之矢"; + icon = "烈焰之矢2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1312; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(244, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill613Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 400)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetFirearrow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetFireblade (1); + skill.GetVictim ().SetClearinvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill613.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill613.cs.meta new file mode 100644 index 0000000000..54430971c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill613.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7f663d86394574664b70b4403140fcdf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill614.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill614.cs new file mode 100644 index 0000000000..67975b7e7f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill614.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill614 : Skill + { + public const int SKILL_ID = 614; + + public Skill614() : base(SKILL_ID) + { + } + } +#endif + + public class Skill614Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9685 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(108); + skill.SetPlus(2880); + skill.SetRatio(0); + skill.SetWaterdamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill614Stub() : base(614) + { + cls = 6; + name = "真·寒冰之矢"; + nativename = "真·寒冰之矢"; + icon = "寒冰之矢1"; + max_level = 1; + type = 1; + apcost = 25; + arrowcost = 1; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1313; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "1寒冰之矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/寒冰之矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寒冰之矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(245, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill614Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 135, + 2880, + 5)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill614.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill614.cs.meta new file mode 100644 index 0000000000..8c7d2f115a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill614.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7cff32fd1078e40feb5e8a24fd5bb476 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill615.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill615.cs new file mode 100644 index 0000000000..5e87cc7d01 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill615.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill615 : Skill + { + public const int SKILL_ID = 615; + + public Skill615() : base(SKILL_ID) + { + } + } +#endif + + public class Skill615Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9686 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(27); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(108); + skill.SetPlus(2880); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill615Stub() : base(615) + { + cls = 6; + name = "狂·寒冰之矢"; + nativename = "狂·寒冰之矢"; + icon = "寒冰之矢2"; + max_level = 1; + type = 1; + apcost = 25; + arrowcost = 1; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1313; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "2寒冰之矢"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/寒冰之矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寒冰之矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(245, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill615Stub() { } + + public override float GetMpcost(Skill skill) => 135f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 135, + 2880, + 5)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill615.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill615.cs.meta new file mode 100644 index 0000000000..d768689e32 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill615.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a3469c2f0cb6043b7b26bbd6af7cd97a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill616.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill616.cs new file mode 100644 index 0000000000..f65e9a1e52 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill616.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill616 : Skill + { + public const int SKILL_ID = 616; + + public Skill616() : base(SKILL_ID) + { + } + } +#endif + + public class Skill616Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9689 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(32); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(128); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill616Stub() : base(616) + { + cls = 6; + name = "真·蛇蝎之矢"; + nativename = "真·蛇蝎之矢"; + icon = "蛇蝎之矢1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1314; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "1蛇蝎之矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蛇蝎之矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/蛇蝎之矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(246, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill616Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 160)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => -4000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (900); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; + public float GetTalent0(PlayerWrapper player) => (player.GetWeapondamage () + 5093) * 1.35; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill616.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill616.cs.meta new file mode 100644 index 0000000000..e3757c3b2a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill616.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3e380ff0c3e8542ddb0271fb71713cec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill617.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill617.cs new file mode 100644 index 0000000000..6ecd506638 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill617.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill617 : Skill + { + public const int SKILL_ID = 617; + + public Skill617() : base(SKILL_ID) + { + } + } +#endif + + public class Skill617Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9690 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(32); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(128); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill617Stub() : base(617) + { + cls = 6; + name = "狂·蛇蝎之矢"; + nativename = "狂·蛇蝎之矢"; + icon = "蛇蝎之矢2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1314; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "2蛇蝎之矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蛇蝎之矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/蛇蝎之矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(246, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill617Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 160)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => -4000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; + public float GetTalent0(PlayerWrapper player) => player.GetWeapondamage () + 5093; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill617.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill617.cs.meta new file mode 100644 index 0000000000..5320bad580 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill617.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7178a4186a367497ca75385bbe0525fd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill618.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill618.cs new file mode 100644 index 0000000000..99695371b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill618.cs @@ -0,0 +1,203 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill618 : Skill + { + public const int SKILL_ID = 618; + + public Skill618() : base(SKILL_ID) + { + } + } +#endif + + public class Skill618Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9691 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(36); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(144); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill618Stub() : base(618) + { + cls = 6; + name = "真·尖牙之矢"; + nativename = "真·尖牙之矢"; + icon = "尖牙之矢1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1315; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "1尖牙之矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/尖牙之矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/尖牙之矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(247, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill618Stub() { } + + public override float GetMpcost(Skill skill) => 180f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 180,6460)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; + public float GetTalent0(PlayerWrapper player) => player.GetWeapondamage () + 6460; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill618.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill618.cs.meta new file mode 100644 index 0000000000..98b0eb93d8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill618.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 84ee4f99a42fc407cbf8001cf4055d99 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill619.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill619.cs new file mode 100644 index 0000000000..24eefbd011 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill619.cs @@ -0,0 +1,211 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill619 : Skill + { + public const int SKILL_ID = 619; + + public Skill619() : base(SKILL_ID) + { + } + } +#endif + + public class Skill619Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9692 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(36); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(144); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill619Stub() : base(619) + { + cls = 6; + name = "狂·尖牙之矢"; + nativename = "狂·尖牙之矢"; + icon = "尖牙之矢2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 15; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1315; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "2尖牙之矢"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/尖牙之矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/尖牙之矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(247, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill619Stub() { } + + public override float GetMpcost(Skill skill) => 180f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 180,6460)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (300); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.5f; + public float GetTalent0(PlayerWrapper player) => player.GetWeapondamage () + 6460; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill619.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill619.cs.meta new file mode 100644 index 0000000000..7bbe2ef280 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill619.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 07f6bbf7b675f40689fe76f9ef6ecf6d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill620.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill620.cs new file mode 100644 index 0000000000..244b0c05db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill620.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill620 : Skill + { + public const int SKILL_ID = 620; + + public Skill620() : base(SKILL_ID) + { + } + } +#endif + + public class Skill620Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9693 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(56); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(224); + skill.SetPlus(3668); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill620Stub() : base(620) + { + cls = 6; + name = "真·利齿之矢"; + nativename = "真·利齿之矢"; + icon = "利齿之矢1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 12; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1316; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "1利齿之矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/利齿之矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/利齿之矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(248, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill620Stub() { } + + public override float GetMpcost(Skill skill) => 280f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 280,16)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 2000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill620.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill620.cs.meta new file mode 100644 index 0000000000..cbf4c31b0d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill620.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ea54a80d183404a94ba01d57311e8c87 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill621.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill621.cs new file mode 100644 index 0000000000..d75d493244 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill621.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill621 : Skill + { + public const int SKILL_ID = 621; + + public Skill621() : base(SKILL_ID) + { + } + } +#endif + + public class Skill621Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9694 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(56); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(224); + skill.SetPlus(3668); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill621Stub() : base(621) + { + cls = 6; + name = "狂·利齿之矢"; + nativename = "狂·利齿之矢"; + icon = "利齿之矢2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 1; + apgain = 12; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1316; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "利齿之矢"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/利齿之矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/利齿之矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(248, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill621Stub() { } + + public override float GetMpcost(Skill skill) => 280f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 280,16)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 2000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.16f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill621.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill621.cs.meta new file mode 100644 index 0000000000..9b04350ebe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill621.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0e0bed8c8835f44d395975be0f2db3ff \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill622.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill622.cs new file mode 100644 index 0000000000..91e7fe9f2f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill622.cs @@ -0,0 +1,174 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill622 : Skill + { + public const int SKILL_ID = 622; + + public Skill622() : base(SKILL_ID) + { + } + } +#endif + + public class Skill622Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9695 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(320); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill622Stub() : base(622) + { + cls = 6; + name = "真·翼盾"; + nativename = "真·翼盾"; + icon = "翼盾1"; + max_level = 1; + type = 2; + apcost = 45; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1317; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(249, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill622Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 400)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetAmount (skill.GetT0 ()); + skill.GetVictim ().SetValue (80); + skill.GetVictim ().SetWingshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => 1250; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill622.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill622.cs.meta new file mode 100644 index 0000000000..72feeace85 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill622.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 721f82c895a994beea40ddad043bbbf5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill623.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill623.cs new file mode 100644 index 0000000000..70bdd63e4d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill623.cs @@ -0,0 +1,174 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill623 : Skill + { + public const int SKILL_ID = 623; + + public Skill623() : base(SKILL_ID) + { + } + } +#endif + + public class Skill623Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9696 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(320); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill623Stub() : base(623) + { + cls = 6; + name = "狂·翼盾"; + nativename = "狂·翼盾"; + icon = "翼盾2"; + max_level = 1; + type = 2; + apcost = 45; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1317; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(249, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill623Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 400)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (skill.GetT0 ()); + skill.GetVictim ().SetValue (80); + skill.GetVictim ().SetWingshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => 1000; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill623.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill623.cs.meta new file mode 100644 index 0000000000..3cfa974efc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill623.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 464ad72edfc0d43eca87b293626c60db \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill624.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill624.cs new file mode 100644 index 0000000000..88612c7798 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill624.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill624 : Skill + { + public const int SKILL_ID = 624; + + public Skill624() : base(SKILL_ID) + { + } + } +#endif + + public class Skill624Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9697 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.SetPlus(3148); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill624Stub() : base(624) + { + cls = 6; + name = "真·翼击"; + nativename = "真·翼击"; + icon = "翼击1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1318; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1翼击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/翼击击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 3.0f; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(250, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill624Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 265,3148)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill624.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill624.cs.meta new file mode 100644 index 0000000000..a8fb2facb3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill624.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5e202e0240a2147f8b5a47cca13f5a2b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill625.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill625.cs new file mode 100644 index 0000000000..4e1e53cb86 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill625.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill625 : Skill + { + public const int SKILL_ID = 625; + + public Skill625() : base(SKILL_ID) + { + } + } +#endif + + public class Skill625Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9698 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(212); + skill.SetPlus(3148); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill625Stub() : base(625) + { + cls = 6; + name = "狂·翼击"; + nativename = "狂·翼击"; + icon = "翼击2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1318; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2翼击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/翼击击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 3.0f; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(250, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill625Stub() { } + + public override float GetMpcost(Skill skill) => 265f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 265,3148)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill625.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill625.cs.meta new file mode 100644 index 0000000000..372ef1f37f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill625.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 148be631db5a742b688b607e3cce98a6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill626.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill626.cs new file mode 100644 index 0000000000..bfee0f17e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill626.cs @@ -0,0 +1,214 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill626 : Skill + { + public const int SKILL_ID = 626; + + public Skill626() : base(SKILL_ID) + { + } + } +#endif + + public class Skill626Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9699 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(89); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(356); + skill.SetPlus(4347); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill626Stub() : base(626) + { + cls = 6; + name = "真·翼展"; + nativename = "真·翼展"; + icon = "翼展1"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1319; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1翼展"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/翼击击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 3.0f; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(251, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill626Stub() { } + + public override float GetMpcost(Skill skill) => 445f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 445, + 4347, + 9)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (9); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill626.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill626.cs.meta new file mode 100644 index 0000000000..59a465dd19 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill626.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 69a0d84e700e140729fb310c3074c1fa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill627.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill627.cs new file mode 100644 index 0000000000..143ecbe54a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill627.cs @@ -0,0 +1,215 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill627 : Skill + { + public const int SKILL_ID = 627; + + public Skill627() : base(SKILL_ID) + { + } + } +#endif + + public class Skill627Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9700 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(89); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(356); + skill.SetPlus(4347); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill627Stub() : base(627) + { + cls = 6; + name = "狂·翼展"; + nativename = "狂·翼展"; + icon = "翼展2"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1319; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2翼展"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/翼击击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 3.0f; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(251, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill627Stub() { } + + public override float GetMpcost(Skill skill) => 445f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 445, + 4347, + 9)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (9); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetAmount (405); + skill.GetVictim ().SetValue (32); + skill.GetVictim ().SetWingshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill627.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill627.cs.meta new file mode 100644 index 0000000000..179e5c95b9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill627.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 18afbbdd26361417ca665081dc0c3a54 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill628.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill628.cs new file mode 100644 index 0000000000..d43229256f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill628.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill628 : Skill + { + public const int SKILL_ID = 628; + + public Skill628() : base(SKILL_ID) + { + } + } +#endif + + public class Skill628Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9701 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(31); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(124); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill628Stub() : base(628) + { + cls = 6; + name = "真·羽之守护"; + nativename = "真·羽之守护"; + icon = "羽之守护1"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1321; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "1神鹰祝福"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神鹰祝福.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(254, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill628Stub() { } + + public override float GetMpcost(Skill skill) => 155f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 155)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncdodge (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.15f); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill628.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill628.cs.meta new file mode 100644 index 0000000000..d641bad1a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill628.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dc5b1d0801ebd47a39dfdba5579d6342 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill629.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill629.cs new file mode 100644 index 0000000000..0b7b2018dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill629.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill629 : Skill + { + public const int SKILL_ID = 629; + + public Skill629() : base(SKILL_ID) + { + } + } +#endif + + public class Skill629Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9702 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(31); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(124); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill629Stub() : base(629) + { + cls = 6; + name = "狂·羽之守护"; + nativename = "狂·羽之守护"; + icon = "羽之守护2"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1321; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2神鹰祝福"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神鹰祝福.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(254, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill629Stub() { } + + public override float GetMpcost(Skill skill) => 155f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 155)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncdodge (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill629.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill629.cs.meta new file mode 100644 index 0000000000..cc683061bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill629.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 260f8566fa238468490f2db20189dfdc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill630.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill630.cs new file mode 100644 index 0000000000..2da9db6312 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill630.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill630 : Skill + { + public const int SKILL_ID = 630; + + public Skill630() : base(SKILL_ID) + { + } + } +#endif + + public class Skill630Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9703 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + + public Skill630Stub() : base(630) + { + cls = 6; + name = "真·百步穿杨"; + nativename = "真·百步穿杨"; + icon = "百步穿杨1"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 2; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1323; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(255, 10); + + } + + ~Skill630Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 12)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncrange (4); + return true; + } + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill630.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill630.cs.meta new file mode 100644 index 0000000000..2318a20bd2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill630.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e0f3529742b5f44cea33854e3b910cb9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill631.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill631.cs new file mode 100644 index 0000000000..20c5f6de9b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill631.cs @@ -0,0 +1,106 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill631 : Skill + { + public const int SKILL_ID = 631; + + public Skill631() : base(SKILL_ID) + { + } + } +#endif + + public class Skill631Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 9704 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + + public Skill631Stub() : base(631) + { + cls = 6; + name = "狂·百步穿杨"; + nativename = "狂·百步穿杨"; + icon = "百步穿杨2"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 2; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1323; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(255, 10); + + } + + ~Skill631Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 12)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncrange (2); + skill.GetPlayer ().SetInchitrate (0.1f); + skill.GetPlayer ().SetInccrit (1); + return true; + } + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill631.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill631.cs.meta new file mode 100644 index 0000000000..9cd9d65efe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill631.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fcf906218f74c4710bfe5e5cb8344ebb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill632.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill632.cs new file mode 100644 index 0000000000..7b1299ce13 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill632.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill632 : Skill + { + public const int SKILL_ID = 632; + + public Skill632() : base(SKILL_ID) + { + } + } +#endif + + public class Skill632Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9705 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill632Stub() : base(632) + { + cls = 6; + name = "真·弓弩精通"; + nativename = "真·弓弩精通"; + icon = "弓弩精通1"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 2; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1324; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(256, 10); + + } + + ~Skill632Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 75)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncbow (0.3f); + return true; + } + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill632.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill632.cs.meta new file mode 100644 index 0000000000..d9c11869a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill632.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dc984f6585ee047afbccb2b42d7dbf58 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill633.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill633.cs new file mode 100644 index 0000000000..a8b53e56cd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill633.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill633 : Skill + { + public const int SKILL_ID = 633; + + public Skill633() : base(SKILL_ID) + { + } + } +#endif + + public class Skill633Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 9706 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill633Stub() : base(633) + { + cls = 6; + name = "狂·弓弩精通"; + nativename = "狂·弓弩精通"; + icon = "弓弩精通2"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 2; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1324; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(256, 10); + + } + + ~Skill633Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 75)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncbow (0.15f); + skill.GetPlayer ().SetInccrit (1); + return true; + } + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill633.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill633.cs.meta new file mode 100644 index 0000000000..f2468bf4e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill633.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9f5bf7f77213941e8af0d163e043aa11 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill915.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill915.cs new file mode 100644 index 0000000000..348a9ac5d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill915.cs @@ -0,0 +1,165 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill915 : Skill + { + public const int SKILL_ID = 915; + + public Skill915() : base(SKILL_ID) + { + } + } +#endif + + public class Skill915Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 19788 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill915Stub() : base(915) + { + cls = 6; + name = "翼风"; + nativename = "翼风"; + icon = "翼风"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 2551; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "翼风"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/翼风击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill915Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 3500; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 200)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetFreemove (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill915.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill915.cs.meta new file mode 100644 index 0000000000..14a70735a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill915.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1e74000c4cf19410c9030368f26d0e73 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill916.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill916.cs new file mode 100644 index 0000000000..589e89469e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill916.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill916 : Skill + { + public const int SKILL_ID = 916; + + public Skill916() : base(SKILL_ID) + { + } + } +#endif + + public class Skill916Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 19789 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill916Stub() : base(916) + { + cls = 6; + name = "神鹰庇佑"; + nativename = "神鹰庇佑"; + icon = "神鹰庇佑"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 8; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 2552; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "轻灵"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/轻灵击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill916Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 200,1000)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetIncdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill916.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill916.cs.meta new file mode 100644 index 0000000000..aea7d06d40 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill916.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 48e2fe9e5e852494da0fdcf9d8ba4d3e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill917.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill917.cs new file mode 100644 index 0000000000..328c6d0808 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill917.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill917 : Skill + { + public const int SKILL_ID = 917; + + public Skill917() : base(SKILL_ID) + { + } + } +#endif + + public class Skill917Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19790 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(1000); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill917Stub() : base(917) + { + cls = 6; + name = "元魂迸发"; + nativename = "元魂迸发"; + icon = "元魂迸发"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 22; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 2553; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "元魂迸发"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/元魂迸发击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill917Stub() { } + + public override float GetMpcost(Skill skill) => 1000f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 300000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (399); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill917.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill917.cs.meta new file mode 100644 index 0000000000..216be92557 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill917.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7e97726db6cb24858914d5804db7fdec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill918.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill918.cs new file mode 100644 index 0000000000..f5a504c3ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill918.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill918 : Skill + { + public const int SKILL_ID = 918; + + public Skill918() : base(SKILL_ID) + { + } + } +#endif + + public class Skill918Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19791 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(1.5f); + skill.SetPlus(4444); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill918Stub() : base(918) + { + cls = 6; + name = "血矢"; + nativename = "血矢"; + icon = "血矢"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 1; + apgain = 0; + attr = 7; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2554; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "血咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/血祭炎爆击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill918Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.18f); + skill.GetVictim ().SetDechp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetInchurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetThunder (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 10; + public int GetAttackspeed(Skill skill) => 12; + public float GetHitrate(Skill skill) => 3f; + public float GetTalent0(PlayerWrapper player) => 1.5 * player.GetAttack () + 4444; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill918.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill918.cs.meta new file mode 100644 index 0000000000..6b811c2b76 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill918.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5fdd2d379c17847b6afcadbb54a422be \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill919.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill919.cs new file mode 100644 index 0000000000..f0648e2c44 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill919.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill919 : Skill + { + public const int SKILL_ID = 919; + + public Skill919() : base(SKILL_ID) + { + } + } +#endif + + public class Skill919Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 19792 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(800); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill919Stub() : base(919) + { + cls = 7; + name = "护体神光"; + nativename = "护体神光"; + icon = "护体神光"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 2651; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "圣洁"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/圣洁击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill919Stub() { } + + public override float GetMpcost(Skill skill) => 800f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 300000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill919.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill919.cs.meta new file mode 100644 index 0000000000..270e3f4684 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill919.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 34faa2f317bcb4e1090024f2b8e64206 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill920.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill920.cs new file mode 100644 index 0000000000..998118a257 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill920.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill920 : Skill + { + public const int SKILL_ID = 920; + + public Skill920() : base(SKILL_ID) + { + } + } +#endif + + public class Skill920Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 19793 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(800); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill920Stub() : base(920) + { + cls = 7; + name = "羽之守护"; + nativename = "羽之守护"; + icon = "羽之守护"; + max_level = 1; + type = 2; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 2652; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "庇护"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/庇护击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill920Stub() { } + + public override float GetMpcost(Skill skill) => 800f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetMaxhp () / 10 * 2); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetWingshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill920.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill920.cs.meta new file mode 100644 index 0000000000..8cb66c8cfc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill920.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 97bf83b65a0bc405d8723883e4fa1bf7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill921.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill921.cs new file mode 100644 index 0000000000..c7d122526f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill921.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill921 : Skill + { + public const int SKILL_ID = 921; + + public Skill921() : base(SKILL_ID) + { + } + } +#endif + + public class Skill921Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19794 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.SetPlus(3380); + skill.SetRatio(1); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill921Stub() : base(921) + { + cls = 7; + name = "风灵"; + nativename = "风灵"; + icon = "镇魂五音"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2653; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "1龙卷风"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/龙卷风击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2500; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill921Stub() { } + + public override float GetMpcost(Skill skill) => 800f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 30,800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 35); + skill.GetVictim ().SetTime (3500); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack () * 0.1; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill921.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill921.cs.meta new file mode 100644 index 0000000000..f975560529 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill921.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c9db8dc602fa64ba5beb5b0491516006 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill922.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill922.cs new file mode 100644 index 0000000000..910fea3e64 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill922.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill922 : Skill + { + public const int SKILL_ID = 922; + + public Skill922() : base(SKILL_ID) + { + } + } +#endif + + public class Skill922Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19795 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(800); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill922Stub() : base(922) + { + cls = 7; + name = "神之封印"; + nativename = "神之封印"; + icon = "神之封印"; + max_level = 1; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2654; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "五气朝元"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五气朝元击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill922Stub() { } + + public override float GetMpcost(Skill skill) => 1000f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 30,1000)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetSealed2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetFix2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 16; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill922.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill922.cs.meta new file mode 100644 index 0000000000..fa1bcc1e66 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill922.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8499d1d9065a24681a28bf3f2acf823f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill931.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill931.cs new file mode 100644 index 0000000000..4f6e3294fd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill931.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill931 : Skill + { + public const int SKILL_ID = 931; + + public Skill931() : base(SKILL_ID) + { + } + } +#endif + + public class Skill931Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19790 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(1000); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill931Stub() : base(931) + { + cls = 6; + name = "元魂迸发"; + nativename = "元魂迸发"; + icon = "元魂迸发"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 32; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 2555; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "元魂迸发"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/元魂迸发击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill931Stub() { } + + public override float GetMpcost(Skill skill) => 1000f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 300000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (399); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill931.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill931.cs.meta new file mode 100644 index 0000000000..adf241d486 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill931.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ececd293903c543039c37fcd56b26423 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill932.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill932.cs new file mode 100644 index 0000000000..84fbb9c4ed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill932.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill932 : Skill + { + public const int SKILL_ID = 932; + + public Skill932() : base(SKILL_ID) + { + } + } +#endif + + public class Skill932Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19791 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(1.5f); + skill.SetPlus(4444); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill932Stub() : base(932) + { + cls = 6; + name = "血矢"; + nativename = "血矢"; + icon = "血矢"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 1; + apgain = 0; + attr = 7; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2556; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 1; + restrict_corpse = 0; + allow_forms = 1; + effect = "血咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/血祭炎爆击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(13); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill932Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.18f); + skill.GetVictim ().SetDechp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetInchurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetThunder (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 10; + public int GetAttackspeed(Skill skill) => 12; + public float GetHitrate(Skill skill) => 3f; + public float GetTalent0(PlayerWrapper player) => 1.5 * player.GetAttack () + 4444; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill932.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill932.cs.meta new file mode 100644 index 0000000000..00700991a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill932.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9c7dc845594ba4775ada2781849d702b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill933.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill933.cs new file mode 100644 index 0000000000..a3b75f97d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill933.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill933 : Skill + { + public const int SKILL_ID = 933; + + public Skill933() : base(SKILL_ID) + { + } + } +#endif + + public class Skill933Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19794 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.SetPlus(3380); + skill.SetRatio(1); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill933Stub() : base(933) + { + cls = 7; + name = "风灵"; + nativename = "风灵"; + icon = "镇魂五音"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2655; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "海纳百川"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/海纳百川击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill933Stub() { } + + public override float GetMpcost(Skill skill) => 800f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 30,800)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 35); + skill.GetVictim ().SetTime (3500); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38f; + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack () * 0.1; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill933.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill933.cs.meta new file mode 100644 index 0000000000..721822935d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill933.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 22f86dcdfa8b7495a8ae146d3c5e2264 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill934.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill934.cs new file mode 100644 index 0000000000..cc5abf7db5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill934.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill934 : Skill + { + public const int SKILL_ID = 934; + + public Skill934() : base(SKILL_ID) + { + } + } +#endif + + public class Skill934Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 19795 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(800); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill934Stub() : base(934) + { + cls = 7; + name = "神之封印"; + nativename = "神之封印"; + icon = "神之封印"; + max_level = 1; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2656; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "五气朝元"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五气朝元击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill934Stub() { } + + public override float GetMpcost(Skill skill) => 1000f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 30,1000)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetSealed2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetFix2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 16; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill934.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill934.cs.meta new file mode 100644 index 0000000000..f413901379 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs4/skill934.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 117375483503644f690f20e33f8ace89 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5.meta new file mode 100644 index 0000000000..6410bae882 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2453492191bc94d19b85c53d96f59197 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/SkillStubs5.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/SkillStubs5.cs new file mode 100644 index 0000000000..3b9802a73e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/SkillStubs5.cs @@ -0,0 +1,525 @@ +using BrewMonster.Scripts.Skills; +using UnityEngine; + +namespace BrewMonster +{ + public static partial class SkillStubs + { + // Skill stub declarations + public static Skill1374Stub __stub_Skill1374Stub = new Skill1374Stub(); + public static Skill1375Stub __stub_Skill1375Stub = new Skill1375Stub(); + public static Skill1376Stub __stub_Skill1376Stub = new Skill1376Stub(); + public static Skill1377Stub __stub_Skill1377Stub = new Skill1377Stub(); + public static Skill1378Stub __stub_Skill1378Stub = new Skill1378Stub(); + public static Skill1379Stub __stub_Skill1379Stub = new Skill1379Stub(); + public static Skill1380Stub __stub_Skill1380Stub = new Skill1380Stub(); + public static Skill1381Stub __stub_Skill1381Stub = new Skill1381Stub(); + public static Skill1382Stub __stub_Skill1382Stub = new Skill1382Stub(); + public static Skill1383Stub __stub_Skill1383Stub = new Skill1383Stub(); + public static Skill1384Stub __stub_Skill1384Stub = new Skill1384Stub(); + public static Skill1385Stub __stub_Skill1385Stub = new Skill1385Stub(); + public static Skill1386Stub __stub_Skill1386Stub = new Skill1386Stub(); + public static Skill1387Stub __stub_Skill1387Stub = new Skill1387Stub(); + public static Skill1388Stub __stub_Skill1388Stub = new Skill1388Stub(); + public static Skill1389Stub __stub_Skill1389Stub = new Skill1389Stub(); + public static Skill1390Stub __stub_Skill1390Stub = new Skill1390Stub(); + public static Skill1391Stub __stub_Skill1391Stub = new Skill1391Stub(); + public static Skill1392Stub __stub_Skill1392Stub = new Skill1392Stub(); + public static Skill1393Stub __stub_Skill1393Stub = new Skill1393Stub(); + public static Skill1394Stub __stub_Skill1394Stub = new Skill1394Stub(); + public static Skill1395Stub __stub_Skill1395Stub = new Skill1395Stub(); + public static Skill1396Stub __stub_Skill1396Stub = new Skill1396Stub(); + public static Skill1397Stub __stub_Skill1397Stub = new Skill1397Stub(); + public static Skill1398Stub __stub_Skill1398Stub = new Skill1398Stub(); + public static Skill1399Stub __stub_Skill1399Stub = new Skill1399Stub(); + public static Skill1400Stub __stub_Skill1400Stub = new Skill1400Stub(); + public static Skill1401Stub __stub_Skill1401Stub = new Skill1401Stub(); + public static Skill1498Stub __stub_Skill1498Stub = new Skill1498Stub(); + public static Skill1618Stub __stub_Skill1618Stub = new Skill1618Stub(); + public static Skill1619Stub __stub_Skill1619Stub = new Skill1619Stub(); + public static Skill1620Stub __stub_Skill1620Stub = new Skill1620Stub(); + public static Skill1621Stub __stub_Skill1621Stub = new Skill1621Stub(); + public static Skill1622Stub __stub_Skill1622Stub = new Skill1622Stub(); + public static Skill1623Stub __stub_Skill1623Stub = new Skill1623Stub(); + public static Skill1624Stub __stub_Skill1624Stub = new Skill1624Stub(); + public static Skill1625Stub __stub_Skill1625Stub = new Skill1625Stub(); + public static Skill1626Stub __stub_Skill1626Stub = new Skill1626Stub(); + public static Skill1627Stub __stub_Skill1627Stub = new Skill1627Stub(); + public static Skill1628Stub __stub_Skill1628Stub = new Skill1628Stub(); + public static Skill1629Stub __stub_Skill1629Stub = new Skill1629Stub(); + public static Skill1630Stub __stub_Skill1630Stub = new Skill1630Stub(); + public static Skill1631Stub __stub_Skill1631Stub = new Skill1631Stub(); + public static Skill1632Stub __stub_Skill1632Stub = new Skill1632Stub(); + public static Skill1633Stub __stub_Skill1633Stub = new Skill1633Stub(); + public static Skill1634Stub __stub_Skill1634Stub = new Skill1634Stub(); + public static Skill1635Stub __stub_Skill1635Stub = new Skill1635Stub(); + public static Skill1636Stub __stub_Skill1636Stub = new Skill1636Stub(); + public static Skill1637Stub __stub_Skill1637Stub = new Skill1637Stub(); + public static Skill1638Stub __stub_Skill1638Stub = new Skill1638Stub(); + public static Skill1639Stub __stub_Skill1639Stub = new Skill1639Stub(); + public static Skill1640Stub __stub_Skill1640Stub = new Skill1640Stub(); + public static Skill1641Stub __stub_Skill1641Stub = new Skill1641Stub(); + public static Skill1642Stub __stub_Skill1642Stub = new Skill1642Stub(); + public static Skill1643Stub __stub_Skill1643Stub = new Skill1643Stub(); + public static Skill1644Stub __stub_Skill1644Stub = new Skill1644Stub(); + public static Skill1645Stub __stub_Skill1645Stub = new Skill1645Stub(); + public static Skill1651Stub __stub_Skill1651Stub = new Skill1651Stub(); + public static Skill1652Stub __stub_Skill1652Stub = new Skill1652Stub(); + public static Skill1653Stub __stub_Skill1653Stub = new Skill1653Stub(); + public static Skill1657Stub __stub_Skill1657Stub = new Skill1657Stub(); + public static Skill1658Stub __stub_Skill1658Stub = new Skill1658Stub(); + public static Skill1659Stub __stub_Skill1659Stub = new Skill1659Stub(); + public static Skill1660Stub __stub_Skill1660Stub = new Skill1660Stub(); + public static Skill1661Stub __stub_Skill1661Stub = new Skill1661Stub(); + public static Skill1662Stub __stub_Skill1662Stub = new Skill1662Stub(); + public static Skill1663Stub __stub_Skill1663Stub = new Skill1663Stub(); + public static Skill1723Stub __stub_Skill1723Stub = new Skill1723Stub(); + public static Skill1724Stub __stub_Skill1724Stub = new Skill1724Stub(); + public static Skill1725Stub __stub_Skill1725Stub = new Skill1725Stub(); + public static Skill1726Stub __stub_Skill1726Stub = new Skill1726Stub(); + public static Skill1727Stub __stub_Skill1727Stub = new Skill1727Stub(); + public static Skill1728Stub __stub_Skill1728Stub = new Skill1728Stub(); + public static Skill1729Stub __stub_Skill1729Stub = new Skill1729Stub(); + public static Skill1730Stub __stub_Skill1730Stub = new Skill1730Stub(); + public static Skill1851Stub __stub_Skill1851Stub = new Skill1851Stub(); + public static Skill1852Stub __stub_Skill1852Stub = new Skill1852Stub(); + public static Skill1853Stub __stub_Skill1853Stub = new Skill1853Stub(); + public static Skill1854Stub __stub_Skill1854Stub = new Skill1854Stub(); + public static Skill1855Stub __stub_Skill1855Stub = new Skill1855Stub(); + public static Skill1856Stub __stub_Skill1856Stub = new Skill1856Stub(); + public static Skill1859Stub __stub_Skill1859Stub = new Skill1859Stub(); + public static Skill1860Stub __stub_Skill1860Stub = new Skill1860Stub(); + public static Skill1861Stub __stub_Skill1861Stub = new Skill1861Stub(); + public static Skill1862Stub __stub_Skill1862Stub = new Skill1862Stub(); + public static Skill1863Stub __stub_Skill1863Stub = new Skill1863Stub(); + public static Skill1870Stub __stub_Skill1870Stub = new Skill1870Stub(); + public static Skill1907Stub __stub_Skill1907Stub = new Skill1907Stub(); + public static Skill2225Stub __stub_Skill2225Stub = new Skill2225Stub(); + public static Skill2226Stub __stub_Skill2226Stub = new Skill2226Stub(); + public static Skill2227Stub __stub_Skill2227Stub = new Skill2227Stub(); + public static Skill2228Stub __stub_Skill2228Stub = new Skill2228Stub(); + public static Skill2229Stub __stub_Skill2229Stub = new Skill2229Stub(); + public static Skill2249Stub __stub_Skill2249Stub = new Skill2249Stub(); + public static Skill2250Stub __stub_Skill2250Stub = new Skill2250Stub(); + public static Skill2251Stub __stub_Skill2251Stub = new Skill2251Stub(); + public static Skill2252Stub __stub_Skill2252Stub = new Skill2252Stub(); + public static Skill2253Stub __stub_Skill2253Stub = new Skill2253Stub(); + public static Skill2440Stub __stub_Skill2440Stub = new Skill2440Stub(); + public static Skill2441Stub __stub_Skill2441Stub = new Skill2441Stub(); + public static Skill2442Stub __stub_Skill2442Stub = new Skill2442Stub(); + public static Skill2445Stub __stub_Skill2445Stub = new Skill2445Stub(); + public static Skill2447Stub __stub_Skill2447Stub = new Skill2447Stub(); + public static Skill2448Stub __stub_Skill2448Stub = new Skill2448Stub(); + public static Skill2449Stub __stub_Skill2449Stub = new Skill2449Stub(); + public static Skill2450Stub __stub_Skill2450Stub = new Skill2450Stub(); + public static Skill2545Stub __stub_Skill2545Stub = new Skill2545Stub(); + public static Skill2547Stub __stub_Skill2547Stub = new Skill2547Stub(); + public static Skill2548Stub __stub_Skill2548Stub = new Skill2548Stub(); + public static Skill2549Stub __stub_Skill2549Stub = new Skill2549Stub(); + public static Skill2550Stub __stub_Skill2550Stub = new Skill2550Stub(); + public static Skill2551Stub __stub_Skill2551Stub = new Skill2551Stub(); + public static Skill2552Stub __stub_Skill2552Stub = new Skill2552Stub(); + public static Skill2553Stub __stub_Skill2553Stub = new Skill2553Stub(); + public static Skill2554Stub __stub_Skill2554Stub = new Skill2554Stub(); + public static Skill2555Stub __stub_Skill2555Stub = new Skill2555Stub(); + public static Skill2556Stub __stub_Skill2556Stub = new Skill2556Stub(); + public static Skill2557Stub __stub_Skill2557Stub = new Skill2557Stub(); + public static Skill2558Stub __stub_Skill2558Stub = new Skill2558Stub(); + public static Skill2559Stub __stub_Skill2559Stub = new Skill2559Stub(); + public static Skill2560Stub __stub_Skill2560Stub = new Skill2560Stub(); + public static Skill2561Stub __stub_Skill2561Stub = new Skill2561Stub(); + public static Skill2562Stub __stub_Skill2562Stub = new Skill2562Stub(); + public static Skill2563Stub __stub_Skill2563Stub = new Skill2563Stub(); + public static Skill2564Stub __stub_Skill2564Stub = new Skill2564Stub(); + public static Skill2565Stub __stub_Skill2565Stub = new Skill2565Stub(); + public static Skill2566Stub __stub_Skill2566Stub = new Skill2566Stub(); + public static Skill2567Stub __stub_Skill2567Stub = new Skill2567Stub(); + public static Skill2568Stub __stub_Skill2568Stub = new Skill2568Stub(); + public static Skill2569Stub __stub_Skill2569Stub = new Skill2569Stub(); + public static Skill2570Stub __stub_Skill2570Stub = new Skill2570Stub(); + public static Skill2571Stub __stub_Skill2571Stub = new Skill2571Stub(); + public static Skill2572Stub __stub_Skill2572Stub = new Skill2572Stub(); + public static Skill2573Stub __stub_Skill2573Stub = new Skill2573Stub(); + public static Skill2574Stub __stub_Skill2574Stub = new Skill2574Stub(); + public static Skill2575Stub __stub_Skill2575Stub = new Skill2575Stub(); + public static Skill2576Stub __stub_Skill2576Stub = new Skill2576Stub(); + public static Skill2577Stub __stub_Skill2577Stub = new Skill2577Stub(); + public static Skill2578Stub __stub_Skill2578Stub = new Skill2578Stub(); + public static Skill2579Stub __stub_Skill2579Stub = new Skill2579Stub(); + public static Skill2580Stub __stub_Skill2580Stub = new Skill2580Stub(); + public static Skill2581Stub __stub_Skill2581Stub = new Skill2581Stub(); + public static Skill2582Stub __stub_Skill2582Stub = new Skill2582Stub(); + public static Skill2583Stub __stub_Skill2583Stub = new Skill2583Stub(); + public static Skill2584Stub __stub_Skill2584Stub = new Skill2584Stub(); + public static Skill2585Stub __stub_Skill2585Stub = new Skill2585Stub(); + public static Skill2586Stub __stub_Skill2586Stub = new Skill2586Stub(); + public static Skill2587Stub __stub_Skill2587Stub = new Skill2587Stub(); + public static Skill2588Stub __stub_Skill2588Stub = new Skill2588Stub(); + public static Skill2589Stub __stub_Skill2589Stub = new Skill2589Stub(); + public static Skill2590Stub __stub_Skill2590Stub = new Skill2590Stub(); + public static Skill2591Stub __stub_Skill2591Stub = new Skill2591Stub(); + public static Skill2592Stub __stub_Skill2592Stub = new Skill2592Stub(); + public static Skill2593Stub __stub_Skill2593Stub = new Skill2593Stub(); + public static Skill2594Stub __stub_Skill2594Stub = new Skill2594Stub(); + public static Skill2595Stub __stub_Skill2595Stub = new Skill2595Stub(); + public static Skill2596Stub __stub_Skill2596Stub = new Skill2596Stub(); + public static Skill2599Stub __stub_Skill2599Stub = new Skill2599Stub(); + public static Skill2602Stub __stub_Skill2602Stub = new Skill2602Stub(); + public static Skill2603Stub __stub_Skill2603Stub = new Skill2603Stub(); + public static Skill2604Stub __stub_Skill2604Stub = new Skill2604Stub(); + public static Skill2605Stub __stub_Skill2605Stub = new Skill2605Stub(); + public static Skill2606Stub __stub_Skill2606Stub = new Skill2606Stub(); + public static Skill2607Stub __stub_Skill2607Stub = new Skill2607Stub(); + public static Skill2608Stub __stub_Skill2608Stub = new Skill2608Stub(); + public static Skill2609Stub __stub_Skill2609Stub = new Skill2609Stub(); + public static Skill2610Stub __stub_Skill2610Stub = new Skill2610Stub(); + public static Skill2611Stub __stub_Skill2611Stub = new Skill2611Stub(); + public static Skill2612Stub __stub_Skill2612Stub = new Skill2612Stub(); + public static Skill2613Stub __stub_Skill2613Stub = new Skill2613Stub(); + public static Skill2614Stub __stub_Skill2614Stub = new Skill2614Stub(); + public static Skill2615Stub __stub_Skill2615Stub = new Skill2615Stub(); + public static Skill2616Stub __stub_Skill2616Stub = new Skill2616Stub(); + public static Skill2617Stub __stub_Skill2617Stub = new Skill2617Stub(); + public static Skill2618Stub __stub_Skill2618Stub = new Skill2618Stub(); + public static Skill2619Stub __stub_Skill2619Stub = new Skill2619Stub(); + public static Skill2673Stub __stub_Skill2673Stub = new Skill2673Stub(); + public static Skill2674Stub __stub_Skill2674Stub = new Skill2674Stub(); + public static Skill2675Stub __stub_Skill2675Stub = new Skill2675Stub(); + public static Skill2676Stub __stub_Skill2676Stub = new Skill2676Stub(); + public static Skill2687Stub __stub_Skill2687Stub = new Skill2687Stub(); + public static Skill2688Stub __stub_Skill2688Stub = new Skill2688Stub(); + public static Skill2726Stub __stub_Skill2726Stub = new Skill2726Stub(); + public static Skill2727Stub __stub_Skill2727Stub = new Skill2727Stub(); + public static Skill2728Stub __stub_Skill2728Stub = new Skill2728Stub(); + public static Skill2729Stub __stub_Skill2729Stub = new Skill2729Stub(); + public static Skill2730Stub __stub_Skill2730Stub = new Skill2730Stub(); + public static Skill2731Stub __stub_Skill2731Stub = new Skill2731Stub(); + public static Skill2732Stub __stub_Skill2732Stub = new Skill2732Stub(); + public static Skill2733Stub __stub_Skill2733Stub = new Skill2733Stub(); + public static Skill2734Stub __stub_Skill2734Stub = new Skill2734Stub(); + public static Skill2735Stub __stub_Skill2735Stub = new Skill2735Stub(); + public static Skill2736Stub __stub_Skill2736Stub = new Skill2736Stub(); + public static Skill2737Stub __stub_Skill2737Stub = new Skill2737Stub(); + public static Skill2738Stub __stub_Skill2738Stub = new Skill2738Stub(); + public static Skill2739Stub __stub_Skill2739Stub = new Skill2739Stub(); + public static Skill2740Stub __stub_Skill2740Stub = new Skill2740Stub(); + public static Skill2741Stub __stub_Skill2741Stub = new Skill2741Stub(); + public static Skill2742Stub __stub_Skill2742Stub = new Skill2742Stub(); + public static Skill2743Stub __stub_Skill2743Stub = new Skill2743Stub(); + public static Skill2744Stub __stub_Skill2744Stub = new Skill2744Stub(); + public static Skill2745Stub __stub_Skill2745Stub = new Skill2745Stub(); + public static Skill2746Stub __stub_Skill2746Stub = new Skill2746Stub(); + public static Skill2747Stub __stub_Skill2747Stub = new Skill2747Stub(); + public static Skill2748Stub __stub_Skill2748Stub = new Skill2748Stub(); + public static Skill2749Stub __stub_Skill2749Stub = new Skill2749Stub(); + public static Skill2750Stub __stub_Skill2750Stub = new Skill2750Stub(); + public static Skill2751Stub __stub_Skill2751Stub = new Skill2751Stub(); + public static Skill2752Stub __stub_Skill2752Stub = new Skill2752Stub(); + public static Skill2753Stub __stub_Skill2753Stub = new Skill2753Stub(); + public static Skill2754Stub __stub_Skill2754Stub = new Skill2754Stub(); + public static Skill2755Stub __stub_Skill2755Stub = new Skill2755Stub(); + public static Skill2756Stub __stub_Skill2756Stub = new Skill2756Stub(); + public static Skill2757Stub __stub_Skill2757Stub = new Skill2757Stub(); + public static Skill2758Stub __stub_Skill2758Stub = new Skill2758Stub(); + public static Skill2759Stub __stub_Skill2759Stub = new Skill2759Stub(); + public static Skill2760Stub __stub_Skill2760Stub = new Skill2760Stub(); + public static Skill2761Stub __stub_Skill2761Stub = new Skill2761Stub(); + public static Skill2762Stub __stub_Skill2762Stub = new Skill2762Stub(); + public static Skill2763Stub __stub_Skill2763Stub = new Skill2763Stub(); + public static Skill2764Stub __stub_Skill2764Stub = new Skill2764Stub(); + public static Skill2765Stub __stub_Skill2765Stub = new Skill2765Stub(); + public static Skill2766Stub __stub_Skill2766Stub = new Skill2766Stub(); + public static Skill2767Stub __stub_Skill2767Stub = new Skill2767Stub(); + public static Skill2768Stub __stub_Skill2768Stub = new Skill2768Stub(); + public static Skill2769Stub __stub_Skill2769Stub = new Skill2769Stub(); + public static Skill2770Stub __stub_Skill2770Stub = new Skill2770Stub(); + public static Skill2771Stub __stub_Skill2771Stub = new Skill2771Stub(); + public static Skill2772Stub __stub_Skill2772Stub = new Skill2772Stub(); + public static Skill2773Stub __stub_Skill2773Stub = new Skill2773Stub(); + public static Skill2774Stub __stub_Skill2774Stub = new Skill2774Stub(); + public static Skill2775Stub __stub_Skill2775Stub = new Skill2775Stub(); + public static Skill2776Stub __stub_Skill2776Stub = new Skill2776Stub(); + public static Skill2821Stub __stub_Skill2821Stub = new Skill2821Stub(); + public static Skill2822Stub __stub_Skill2822Stub = new Skill2822Stub(); + public static Skill2825Stub __stub_Skill2825Stub = new Skill2825Stub(); + public static Skill2826Stub __stub_Skill2826Stub = new Skill2826Stub(); + public static Skill2827Stub __stub_Skill2827Stub = new Skill2827Stub(); + public static Skill2828Stub __stub_Skill2828Stub = new Skill2828Stub(); + public static Skill2835Stub __stub_Skill2835Stub = new Skill2835Stub(); + public static Skill2847Stub __stub_Skill2847Stub = new Skill2847Stub(); + public static Skill2848Stub __stub_Skill2848Stub = new Skill2848Stub(); + public static Skill2849Stub __stub_Skill2849Stub = new Skill2849Stub(); + public static Skill2850Stub __stub_Skill2850Stub = new Skill2850Stub(); + public static Skill2851Stub __stub_Skill2851Stub = new Skill2851Stub(); + public static Skill2852Stub __stub_Skill2852Stub = new Skill2852Stub(); + public static Skill2853Stub __stub_Skill2853Stub = new Skill2853Stub(); + public static Skill2854Stub __stub_Skill2854Stub = new Skill2854Stub(); + public static Skill2855Stub __stub_Skill2855Stub = new Skill2855Stub(); + public static Skill2856Stub __stub_Skill2856Stub = new Skill2856Stub(); + public static Skill2857Stub __stub_Skill2857Stub = new Skill2857Stub(); + public static Skill2858Stub __stub_Skill2858Stub = new Skill2858Stub(); + public static Skill2859Stub __stub_Skill2859Stub = new Skill2859Stub(); + public static Skill2860Stub __stub_Skill2860Stub = new Skill2860Stub(); + public static Skill2862Stub __stub_Skill2862Stub = new Skill2862Stub(); + public static Skill2863Stub __stub_Skill2863Stub = new Skill2863Stub(); + +#if SKILL_SERVER + public static Skill1374 __stub_Skill1374 = new Skill1374(); + public static Skill1375 __stub_Skill1375 = new Skill1375(); + public static Skill1376 __stub_Skill1376 = new Skill1376(); + public static Skill1377 __stub_Skill1377 = new Skill1377(); + public static Skill1378 __stub_Skill1378 = new Skill1378(); + public static Skill1379 __stub_Skill1379 = new Skill1379(); + public static Skill1380 __stub_Skill1380 = new Skill1380(); + public static Skill1381 __stub_Skill1381 = new Skill1381(); + public static Skill1382 __stub_Skill1382 = new Skill1382(); + public static Skill1383 __stub_Skill1383 = new Skill1383(); + public static Skill1384 __stub_Skill1384 = new Skill1384(); + public static Skill1385 __stub_Skill1385 = new Skill1385(); + public static Skill1386 __stub_Skill1386 = new Skill1386(); + public static Skill1387 __stub_Skill1387 = new Skill1387(); + public static Skill1388 __stub_Skill1388 = new Skill1388(); + public static Skill1389 __stub_Skill1389 = new Skill1389(); + public static Skill1390 __stub_Skill1390 = new Skill1390(); + public static Skill1391 __stub_Skill1391 = new Skill1391(); + public static Skill1392 __stub_Skill1392 = new Skill1392(); + public static Skill1393 __stub_Skill1393 = new Skill1393(); + public static Skill1394 __stub_Skill1394 = new Skill1394(); + public static Skill1395 __stub_Skill1395 = new Skill1395(); + public static Skill1396 __stub_Skill1396 = new Skill1396(); + public static Skill1397 __stub_Skill1397 = new Skill1397(); + public static Skill1398 __stub_Skill1398 = new Skill1398(); + public static Skill1399 __stub_Skill1399 = new Skill1399(); + public static Skill1400 __stub_Skill1400 = new Skill1400(); + public static Skill1401 __stub_Skill1401 = new Skill1401(); + public static Skill1498 __stub_Skill1498 = new Skill1498(); + public static Skill1618 __stub_Skill1618 = new Skill1618(); + public static Skill1619 __stub_Skill1619 = new Skill1619(); + public static Skill1620 __stub_Skill1620 = new Skill1620(); + public static Skill1621 __stub_Skill1621 = new Skill1621(); + public static Skill1622 __stub_Skill1622 = new Skill1622(); + public static Skill1623 __stub_Skill1623 = new Skill1623(); + public static Skill1624 __stub_Skill1624 = new Skill1624(); + public static Skill1625 __stub_Skill1625 = new Skill1625(); + public static Skill1626 __stub_Skill1626 = new Skill1626(); + public static Skill1627 __stub_Skill1627 = new Skill1627(); + public static Skill1628 __stub_Skill1628 = new Skill1628(); + public static Skill1629 __stub_Skill1629 = new Skill1629(); + public static Skill1630 __stub_Skill1630 = new Skill1630(); + public static Skill1631 __stub_Skill1631 = new Skill1631(); + public static Skill1632 __stub_Skill1632 = new Skill1632(); + public static Skill1633 __stub_Skill1633 = new Skill1633(); + public static Skill1634 __stub_Skill1634 = new Skill1634(); + public static Skill1635 __stub_Skill1635 = new Skill1635(); + public static Skill1636 __stub_Skill1636 = new Skill1636(); + public static Skill1637 __stub_Skill1637 = new Skill1637(); + public static Skill1638 __stub_Skill1638 = new Skill1638(); + public static Skill1639 __stub_Skill1639 = new Skill1639(); + public static Skill1640 __stub_Skill1640 = new Skill1640(); + public static Skill1641 __stub_Skill1641 = new Skill1641(); + public static Skill1642 __stub_Skill1642 = new Skill1642(); + public static Skill1643 __stub_Skill1643 = new Skill1643(); + public static Skill1644 __stub_Skill1644 = new Skill1644(); + public static Skill1645 __stub_Skill1645 = new Skill1645(); + public static Skill1651 __stub_Skill1651 = new Skill1651(); + public static Skill1652 __stub_Skill1652 = new Skill1652(); + public static Skill1653 __stub_Skill1653 = new Skill1653(); + public static Skill1657 __stub_Skill1657 = new Skill1657(); + public static Skill1658 __stub_Skill1658 = new Skill1658(); + public static Skill1659 __stub_Skill1659 = new Skill1659(); + public static Skill1660 __stub_Skill1660 = new Skill1660(); + public static Skill1661 __stub_Skill1661 = new Skill1661(); + public static Skill1662 __stub_Skill1662 = new Skill1662(); + public static Skill1663 __stub_Skill1663 = new Skill1663(); + public static Skill1723 __stub_Skill1723 = new Skill1723(); + public static Skill1724 __stub_Skill1724 = new Skill1724(); + public static Skill1725 __stub_Skill1725 = new Skill1725(); + public static Skill1726 __stub_Skill1726 = new Skill1726(); + public static Skill1727 __stub_Skill1727 = new Skill1727(); + public static Skill1728 __stub_Skill1728 = new Skill1728(); + public static Skill1729 __stub_Skill1729 = new Skill1729(); + public static Skill1730 __stub_Skill1730 = new Skill1730(); + public static Skill1851 __stub_Skill1851 = new Skill1851(); + public static Skill1852 __stub_Skill1852 = new Skill1852(); + public static Skill1853 __stub_Skill1853 = new Skill1853(); + public static Skill1854 __stub_Skill1854 = new Skill1854(); + public static Skill1855 __stub_Skill1855 = new Skill1855(); + public static Skill1856 __stub_Skill1856 = new Skill1856(); + public static Skill1859 __stub_Skill1859 = new Skill1859(); + public static Skill1860 __stub_Skill1860 = new Skill1860(); + public static Skill1861 __stub_Skill1861 = new Skill1861(); + public static Skill1862 __stub_Skill1862 = new Skill1862(); + public static Skill1863 __stub_Skill1863 = new Skill1863(); + public static Skill1870 __stub_Skill1870 = new Skill1870(); + public static Skill1907 __stub_Skill1907 = new Skill1907(); + public static Skill2225 __stub_Skill2225 = new Skill2225(); + public static Skill2226 __stub_Skill2226 = new Skill2226(); + public static Skill2227 __stub_Skill2227 = new Skill2227(); + public static Skill2228 __stub_Skill2228 = new Skill2228(); + public static Skill2229 __stub_Skill2229 = new Skill2229(); + public static Skill2249 __stub_Skill2249 = new Skill2249(); + public static Skill2250 __stub_Skill2250 = new Skill2250(); + public static Skill2251 __stub_Skill2251 = new Skill2251(); + public static Skill2252 __stub_Skill2252 = new Skill2252(); + public static Skill2253 __stub_Skill2253 = new Skill2253(); + public static Skill2440 __stub_Skill2440 = new Skill2440(); + public static Skill2441 __stub_Skill2441 = new Skill2441(); + public static Skill2442 __stub_Skill2442 = new Skill2442(); + public static Skill2445 __stub_Skill2445 = new Skill2445(); + public static Skill2447 __stub_Skill2447 = new Skill2447(); + public static Skill2448 __stub_Skill2448 = new Skill2448(); + public static Skill2449 __stub_Skill2449 = new Skill2449(); + public static Skill2450 __stub_Skill2450 = new Skill2450(); + public static Skill2545 __stub_Skill2545 = new Skill2545(); + public static Skill2547 __stub_Skill2547 = new Skill2547(); + public static Skill2548 __stub_Skill2548 = new Skill2548(); + public static Skill2549 __stub_Skill2549 = new Skill2549(); + public static Skill2550 __stub_Skill2550 = new Skill2550(); + public static Skill2551 __stub_Skill2551 = new Skill2551(); + public static Skill2552 __stub_Skill2552 = new Skill2552(); + public static Skill2553 __stub_Skill2553 = new Skill2553(); + public static Skill2554 __stub_Skill2554 = new Skill2554(); + public static Skill2555 __stub_Skill2555 = new Skill2555(); + public static Skill2556 __stub_Skill2556 = new Skill2556(); + public static Skill2557 __stub_Skill2557 = new Skill2557(); + public static Skill2558 __stub_Skill2558 = new Skill2558(); + public static Skill2559 __stub_Skill2559 = new Skill2559(); + public static Skill2560 __stub_Skill2560 = new Skill2560(); + public static Skill2561 __stub_Skill2561 = new Skill2561(); + public static Skill2562 __stub_Skill2562 = new Skill2562(); + public static Skill2563 __stub_Skill2563 = new Skill2563(); + public static Skill2564 __stub_Skill2564 = new Skill2564(); + public static Skill2565 __stub_Skill2565 = new Skill2565(); + public static Skill2566 __stub_Skill2566 = new Skill2566(); + public static Skill2567 __stub_Skill2567 = new Skill2567(); + public static Skill2568 __stub_Skill2568 = new Skill2568(); + public static Skill2569 __stub_Skill2569 = new Skill2569(); + public static Skill2570 __stub_Skill2570 = new Skill2570(); + public static Skill2571 __stub_Skill2571 = new Skill2571(); + public static Skill2572 __stub_Skill2572 = new Skill2572(); + public static Skill2573 __stub_Skill2573 = new Skill2573(); + public static Skill2574 __stub_Skill2574 = new Skill2574(); + public static Skill2575 __stub_Skill2575 = new Skill2575(); + public static Skill2576 __stub_Skill2576 = new Skill2576(); + public static Skill2577 __stub_Skill2577 = new Skill2577(); + public static Skill2578 __stub_Skill2578 = new Skill2578(); + public static Skill2579 __stub_Skill2579 = new Skill2579(); + public static Skill2580 __stub_Skill2580 = new Skill2580(); + public static Skill2581 __stub_Skill2581 = new Skill2581(); + public static Skill2582 __stub_Skill2582 = new Skill2582(); + public static Skill2583 __stub_Skill2583 = new Skill2583(); + public static Skill2584 __stub_Skill2584 = new Skill2584(); + public static Skill2585 __stub_Skill2585 = new Skill2585(); + public static Skill2586 __stub_Skill2586 = new Skill2586(); + public static Skill2587 __stub_Skill2587 = new Skill2587(); + public static Skill2588 __stub_Skill2588 = new Skill2588(); + public static Skill2589 __stub_Skill2589 = new Skill2589(); + public static Skill2590 __stub_Skill2590 = new Skill2590(); + public static Skill2591 __stub_Skill2591 = new Skill2591(); + public static Skill2592 __stub_Skill2592 = new Skill2592(); + public static Skill2593 __stub_Skill2593 = new Skill2593(); + public static Skill2594 __stub_Skill2594 = new Skill2594(); + public static Skill2595 __stub_Skill2595 = new Skill2595(); + public static Skill2596 __stub_Skill2596 = new Skill2596(); + public static Skill2599 __stub_Skill2599 = new Skill2599(); + public static Skill2602 __stub_Skill2602 = new Skill2602(); + public static Skill2603 __stub_Skill2603 = new Skill2603(); + public static Skill2604 __stub_Skill2604 = new Skill2604(); + public static Skill2605 __stub_Skill2605 = new Skill2605(); + public static Skill2606 __stub_Skill2606 = new Skill2606(); + public static Skill2607 __stub_Skill2607 = new Skill2607(); + public static Skill2608 __stub_Skill2608 = new Skill2608(); + public static Skill2609 __stub_Skill2609 = new Skill2609(); + public static Skill2610 __stub_Skill2610 = new Skill2610(); + public static Skill2611 __stub_Skill2611 = new Skill2611(); + public static Skill2612 __stub_Skill2612 = new Skill2612(); + public static Skill2613 __stub_Skill2613 = new Skill2613(); + public static Skill2614 __stub_Skill2614 = new Skill2614(); + public static Skill2615 __stub_Skill2615 = new Skill2615(); + public static Skill2616 __stub_Skill2616 = new Skill2616(); + public static Skill2617 __stub_Skill2617 = new Skill2617(); + public static Skill2618 __stub_Skill2618 = new Skill2618(); + public static Skill2619 __stub_Skill2619 = new Skill2619(); + public static Skill2673 __stub_Skill2673 = new Skill2673(); + public static Skill2674 __stub_Skill2674 = new Skill2674(); + public static Skill2675 __stub_Skill2675 = new Skill2675(); + public static Skill2676 __stub_Skill2676 = new Skill2676(); + public static Skill2687 __stub_Skill2687 = new Skill2687(); + public static Skill2688 __stub_Skill2688 = new Skill2688(); + public static Skill2726 __stub_Skill2726 = new Skill2726(); + public static Skill2727 __stub_Skill2727 = new Skill2727(); + public static Skill2728 __stub_Skill2728 = new Skill2728(); + public static Skill2729 __stub_Skill2729 = new Skill2729(); + public static Skill2730 __stub_Skill2730 = new Skill2730(); + public static Skill2731 __stub_Skill2731 = new Skill2731(); + public static Skill2732 __stub_Skill2732 = new Skill2732(); + public static Skill2733 __stub_Skill2733 = new Skill2733(); + public static Skill2734 __stub_Skill2734 = new Skill2734(); + public static Skill2735 __stub_Skill2735 = new Skill2735(); + public static Skill2736 __stub_Skill2736 = new Skill2736(); + public static Skill2737 __stub_Skill2737 = new Skill2737(); + public static Skill2738 __stub_Skill2738 = new Skill2738(); + public static Skill2739 __stub_Skill2739 = new Skill2739(); + public static Skill2740 __stub_Skill2740 = new Skill2740(); + public static Skill2741 __stub_Skill2741 = new Skill2741(); + public static Skill2742 __stub_Skill2742 = new Skill2742(); + public static Skill2743 __stub_Skill2743 = new Skill2743(); + public static Skill2744 __stub_Skill2744 = new Skill2744(); + public static Skill2745 __stub_Skill2745 = new Skill2745(); + public static Skill2746 __stub_Skill2746 = new Skill2746(); + public static Skill2747 __stub_Skill2747 = new Skill2747(); + public static Skill2748 __stub_Skill2748 = new Skill2748(); + public static Skill2749 __stub_Skill2749 = new Skill2749(); + public static Skill2750 __stub_Skill2750 = new Skill2750(); + public static Skill2751 __stub_Skill2751 = new Skill2751(); + public static Skill2752 __stub_Skill2752 = new Skill2752(); + public static Skill2753 __stub_Skill2753 = new Skill2753(); + public static Skill2754 __stub_Skill2754 = new Skill2754(); + public static Skill2755 __stub_Skill2755 = new Skill2755(); + public static Skill2756 __stub_Skill2756 = new Skill2756(); + public static Skill2757 __stub_Skill2757 = new Skill2757(); + public static Skill2758 __stub_Skill2758 = new Skill2758(); + public static Skill2759 __stub_Skill2759 = new Skill2759(); + public static Skill2760 __stub_Skill2760 = new Skill2760(); + public static Skill2761 __stub_Skill2761 = new Skill2761(); + public static Skill2762 __stub_Skill2762 = new Skill2762(); + public static Skill2763 __stub_Skill2763 = new Skill2763(); + public static Skill2764 __stub_Skill2764 = new Skill2764(); + public static Skill2765 __stub_Skill2765 = new Skill2765(); + public static Skill2766 __stub_Skill2766 = new Skill2766(); + public static Skill2767 __stub_Skill2767 = new Skill2767(); + public static Skill2768 __stub_Skill2768 = new Skill2768(); + public static Skill2769 __stub_Skill2769 = new Skill2769(); + public static Skill2770 __stub_Skill2770 = new Skill2770(); + public static Skill2771 __stub_Skill2771 = new Skill2771(); + public static Skill2772 __stub_Skill2772 = new Skill2772(); + public static Skill2773 __stub_Skill2773 = new Skill2773(); + public static Skill2774 __stub_Skill2774 = new Skill2774(); + public static Skill2775 __stub_Skill2775 = new Skill2775(); + public static Skill2776 __stub_Skill2776 = new Skill2776(); + public static Skill2821 __stub_Skill2821 = new Skill2821(); + public static Skill2822 __stub_Skill2822 = new Skill2822(); + public static Skill2825 __stub_Skill2825 = new Skill2825(); + public static Skill2826 __stub_Skill2826 = new Skill2826(); + public static Skill2827 __stub_Skill2827 = new Skill2827(); + public static Skill2828 __stub_Skill2828 = new Skill2828(); + public static Skill2835 __stub_Skill2835 = new Skill2835(); + public static Skill2847 __stub_Skill2847 = new Skill2847(); + public static Skill2848 __stub_Skill2848 = new Skill2848(); + public static Skill2849 __stub_Skill2849 = new Skill2849(); + public static Skill2850 __stub_Skill2850 = new Skill2850(); + public static Skill2851 __stub_Skill2851 = new Skill2851(); + public static Skill2852 __stub_Skill2852 = new Skill2852(); + public static Skill2853 __stub_Skill2853 = new Skill2853(); + public static Skill2854 __stub_Skill2854 = new Skill2854(); + public static Skill2855 __stub_Skill2855 = new Skill2855(); + public static Skill2856 __stub_Skill2856 = new Skill2856(); + public static Skill2857 __stub_Skill2857 = new Skill2857(); + public static Skill2858 __stub_Skill2858 = new Skill2858(); + public static Skill2859 __stub_Skill2859 = new Skill2859(); + public static Skill2860 __stub_Skill2860 = new Skill2860(); + public static Skill2862 __stub_Skill2862 = new Skill2862(); + public static Skill2863 __stub_Skill2863 = new Skill2863(); +#endif + } +} diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/SkillStubs5.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/SkillStubs5.cs.meta new file mode 100644 index 0000000000..23fe8859cd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/SkillStubs5.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b16d36ea04fbc4beebd1a439603de60f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1374.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1374.cs new file mode 100644 index 0000000000..eca28a8278 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1374.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1374 : Skill + { + public const int SKILL_ID = 1374; + + public Skill1374() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1374Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 4, 8, 12, 16, 20, 24, 28, 32, 36 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + private static readonly int[] RequiredMoneyArray = { 0, 20, 90, 190, 320, 480, 680, 1000, 1360, 1720 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-8 + 14 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-8 + 14 * skill.GetLevel())); + skill.SetPlus(1.5f * skill.GetLevel() * skill.GetLevel() + 51.1f * skill.GetLevel() + 62); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1374Stub() : base(1374) + { + cls = 9; + name = "青藤绕"; + nativename = "青藤绕"; + icon = "腐蔓咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_腐蔓咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魅灵_腐蔓咒_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1374Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-8 + 14 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetSpecialslow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetSpecialphysichurttrigger (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1374.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1374.cs.meta new file mode 100644 index 0000000000..7ad052c90d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1374.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d229cb26ddeb04e5cb3af6e6acc89ad6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1375.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1375.cs new file mode 100644 index 0000000000..73c2f632b7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1375.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1375 : Skill + { + public const int SKILL_ID = 1375; + + public Skill1375() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1375Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 3, 8, 13, 18, 23, 28, 33, 38, 43, 48 }; + private static readonly int[] RequiredSpArray = { 100, 800, 2100, 4100, 7000, 10900, 16100, 23000, 32000, 44100 }; + private static readonly int[] RequiredMoneyArray = { 10, 90, 220, 400, 630, 1000, 1450, 1900, 2380, 2880 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-8.4f + 21 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-8.4f + 21 * skill.GetLevel())); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1375Stub() : base(1375) + { + cls = 9; + name = "青雾绕"; + nativename = "青雾绕"; + icon = "碧云术"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1426; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_碧云术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魅灵_碧云术_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_碧云术_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1374, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1375Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-8.4 + 21 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetAmount (9000); + skill.GetVictim ().SetValue (skill.GetT0 () + 6.5f * skill.GetLevel () * skill.GetLevel () + 128 * skill.GetLevel () + 62.2f); + skill.GetVictim ().SetPoisionseed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 4; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetPuremagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1375.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1375.cs.meta new file mode 100644 index 0000000000..c22aee00e1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1375.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4c2d2f5048ad64f55b396ee3d713491e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1376.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1376.cs new file mode 100644 index 0000000000..4aed598e63 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1376.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1376 : Skill + { + public const int SKILL_ID = 1376; + + public Skill1376() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1376Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(58.8f + 21 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2.5 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(58.8f + 21 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1376Stub() : base(1376) + { + cls = 9; + name = "摄魂咒"; + nativename = "摄魂咒"; + icon = "勾魂摄魄"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1422; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_勾魂摄魄"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/勾魂摄魄_飞行.gfx"; + m_szHitGrndGfxPath = "策划联入/人物技能/击中/勾魂摄魄_击中.gfx"; + m_szHitGfxPath = "策划联入/人物技能/击中/勾魂摄魄_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1375, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1376Stub() { } + + public override float GetMpcost(Skill skill) => (float)(58.8 + 21 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (skill.GetT0 () * 2 + 11.1f * skill.GetLevel () * skill.GetLevel () + 263.9f * skill.GetLevel () + + 735.5f); + skill.GetVictim ().SetValue (skill.GetT0 () * 1.25f + 6.2f * skill.GetLevel () * skill.GetLevel () + 130 * skill.GetLevel () + 350); + skill.GetVictim ().SetSpecialphysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetPuremagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1376.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1376.cs.meta new file mode 100644 index 0000000000..3561b9b094 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1376.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 207bcac385c414a538128bb3404b5bc0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1377.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1377.cs new file mode 100644 index 0000000000..35c2bf8ab9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1377.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1377 : Skill + { + public const int SKILL_ID = 1377; + + public Skill1377() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1377Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 24600, 32000, 41400, 53200, 68100, 87000, 111000, 142000, 181000, 266000 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(245 + 28 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(245 + 28 * skill.GetLevel())); + skill.SetPlus(2.1f * skill.GetLevel() * skill.GetLevel() + 127.9f * skill.GetLevel() + 936.2f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1377Stub() : base(1377) + { + cls = 9; + name = "乱舞清风"; + nativename = "乱舞清风"; + icon = "长风破"; + max_level = 10; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1208; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_东风咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_东风咒.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1376, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1377Stub() { } + + public override float GetMpcost(Skill skill) => (float)(245 + 28 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => (float)(10 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); + public override float GetPraydistance(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 47); + skill.GetVictim ().SetTime (3000 + 200 * skill.GetLevel ()); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 47); + skill.GetVictim ().SetTime (3000 + 200 * skill.GetLevel ()); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1377.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1377.cs.meta new file mode 100644 index 0000000000..b7143bf5d5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1377.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a4f77dc47bca946ad8f14cca0578d815 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1378.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1378.cs new file mode 100644 index 0000000000..88cfc4dae1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1378.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1378 : Skill + { + public const int SKILL_ID = 1378; + + public Skill1378() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1378Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(157.5f + 14 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(157.5f + 14 * skill.GetLevel())); + skill.SetPlus(2.8f * skill.GetLevel() * skill.GetLevel() + 172.1f * skill.GetLevel() + 1492.8f); + skill.SetRatio(0.5f + 0.05f * skill.GetLevel()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1378Stub() : base(1378) + { + cls = 9; + name = "花溅雨"; + nativename = "花溅雨"; + icon = "东风咒"; + max_level = 10; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1303; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_长风破"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_长风破击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1377, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1378Stub() { } + + public override float GetMpcost(Skill skill) => (float)(157.5 + 14 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetRepel2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1378.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1378.cs.meta new file mode 100644 index 0000000000..e6b819647b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1378.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0f2112672715943c3b5496fa77bfe6d4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1379.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1379.cs new file mode 100644 index 0000000000..f6ca10ba2e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1379.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1379 : Skill + { + public const int SKILL_ID = 1379; + + public Skill1379() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1379Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(42 + 52.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(42 + 52.5f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1379Stub() : base(1379) + { + cls = 9; + name = "碧波护体"; + nativename = "碧波护体"; + icon = "铁木衫"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1413; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "坚甲符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/坚甲符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1379Stub() { } + + public override float GetMpcost(Skill skill) => (float)(42 + 52.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.08f * skill.GetLevel ()); + skill.GetVictim ().SetAmount (0.08f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0.08f * skill.GetLevel ()); + skill.GetVictim ().SetIncwoodwaterdefense (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1379.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1379.cs.meta new file mode 100644 index 0000000000..47cb2d593a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1379.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 52a8b3359e8694a9e9bb90ae2a9deeff \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1380.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1380.cs new file mode 100644 index 0000000000..b8d48e22b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1380.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1380 : Skill + { + public const int SKILL_ID = 1380; + + public Skill1380() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1380Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(195 + 28 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(195 + 28 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1380Stub() : base(1380) + { + cls = 9; + name = "迅法术"; + nativename = "迅法术"; + icon = "风竹秋韵"; + max_level = 10; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 5; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1217; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "般若心经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/般若心经.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1380Stub() { } + + public override float GetMpcost(Skill skill) => (float)(195 + 28 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 35000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.5f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0.2f); + skill.GetVictim ().SetFastprayincmagic (1); + return true; + } + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncmpgen (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1380.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1380.cs.meta new file mode 100644 index 0000000000..0d8466453e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1380.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a2b35163cbf9e4e7dbead510d743ab28 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1381.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1381.cs new file mode 100644 index 0000000000..06a07d3c4e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1381.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1381 : Skill + { + public const int SKILL_ID = 1381; + + public Skill1381() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1381Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 240, 960, 2240, 4160, 6720, 10240, 14880, 21040, 29200 }; + private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-10 + 25 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-10 + 25 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1381Stub() : base(1381) + { + cls = 9; + name = "灵光普照"; + nativename = "灵光普照"; + icon = "岐黄妙手"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1401; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_岐黄妙手"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_岐黄妙手_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1381Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-10 + 25 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => -35 + 70 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 3 * skill.GetLevel () / 100 + 30 * skill.GetLevel () + 30); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1381.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1381.cs.meta new file mode 100644 index 0000000000..093eb7dc91 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1381.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b14a7a5fb15af4a06bfec579920c452e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1382.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1382.cs new file mode 100644 index 0000000000..afd519cea8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1382.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1382 : Skill + { + public const int SKILL_ID = 1382; + + public Skill1382() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1382Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 19680, 25600, 33120, 42560, 54480, 69600, 88800, 113600, 144800, 212800 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(478.8f + 49 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(478.8f + 49 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1382Stub() : base(1382) + { + cls = 9; + name = "云生雾长"; + nativename = "云生雾长"; + icon = "萦风抱雾"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 0; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1406; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_萦风抱雾"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_萦风抱雾_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1401, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1382Stub() { } + + public override float GetMpcost(Skill skill) => (float)(478.8 + 49 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => (float)(10 + skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => -35 + 70 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * (8 + skill.GetLevel ()) / 100 + 300 + 42 * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1382.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1382.cs.meta new file mode 100644 index 0000000000..1a64bdaf70 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1382.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 27935547976444233a5ec99f8164ad6e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1383.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1383.cs new file mode 100644 index 0000000000..6c34039068 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1383.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1383 : Skill + { + public const int SKILL_ID = 1383; + + public Skill1383() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1383Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 14, 19, 24, 29, 34, 39, 44, 49, 54 }; + private static readonly int[] RequiredSpArray = { 800, 1920, 3680, 6160, 9440, 13840, 19680, 27360, 37600, 51200 }; + private static readonly int[] RequiredMoneyArray = { 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980, 3480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(28 + 35 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(28 + 35 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1383Stub() : base(1383) + { + cls = 9; + name = "落英缤纷"; + nativename = "落英缤纷"; + icon = "回风回柳"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1402; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_回风拂柳"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_回风拂柳_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1381, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1383Stub() { } + + public override float GetMpcost(Skill skill) => (float)(28 + 35 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => -35 + 40 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (25); + skill.GetVictim ().SetAmount (9000); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 3 * skill.GetLevel () / 100 + 14 + 70 * skill.GetLevel ()); + skill.GetVictim ().SetHpgenseed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1383.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1383.cs.meta new file mode 100644 index 0000000000..a07469fdc3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1383.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f9aab03f061ed42be9c4f24f09a1e241 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1384.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1384.cs new file mode 100644 index 0000000000..6c0c61f58c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1384.cs @@ -0,0 +1,176 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1384 : Skill + { + public const int SKILL_ID = 1384; + + public Skill1384() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1384Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(588 + 31.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(588 + 31.5f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1384Stub() : base(1384) + { + cls = 9; + name = "满地枝"; + nativename = "满地枝"; + icon = "满地枝"; + max_level = 10; + type = 3; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1378, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1384Stub() { } + + public override float GetMpcost(Skill skill) => (float)(588 + 31.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 6; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (19000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetAmount (4); + skill.GetVictim ().SetValue (28927); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1384.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1384.cs.meta new file mode 100644 index 0000000000..67252396e5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1384.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aeb9bd449a62545148735cb1af3af10c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1385.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1385.cs new file mode 100644 index 0000000000..9a3da6e08c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1385.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1385 : Skill + { + public const int SKILL_ID = 1385; + + public Skill1385() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1385Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 7, 12, 17, 22, 27, 32, 37, 42, 47, 52 }; + private static readonly int[] RequiredSpArray = { 400, 1500, 3200, 5800, 9200, 13900, 20000, 28100, 38900, 53200 }; + private static readonly int[] RequiredItemArray = { 30048 }; + private static readonly int[] RequiredMoneyArray = { 70, 190, 360, 580, 910, 1360, 1810, 2280, 2780, 3280 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(35 + 87.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(35 + 87.5f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1385Stub() : base(1385) + { + cls = 9; + name = "武神现世"; + nativename = "武神现世"; + icon = "魔神蚩尤"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1385Stub() { } + + public override float GetMpcost(Skill skill) => (float)(35 + 87.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(10 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetValue (28858); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1385.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1385.cs.meta new file mode 100644 index 0000000000..799cf69089 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1385.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 32c2dbf63af874f07b682d148f3a949a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1386.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1386.cs new file mode 100644 index 0000000000..98866c1af5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1386.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1386 : Skill + { + public const int SKILL_ID = 1386; + + public Skill1386() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1386Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 23, 28, 33, 38, 43, 48, 53, 58, 63, 68 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredItemArray = { 30049 }; + private static readonly int[] RequiredMoneyArray = { 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880, 10980, 41980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(315 + 87.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(315 + 87.5f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1386Stub() : base(1386) + { + cls = 9; + name = "魔神现世"; + nativename = "魔神现世"; + icon = "金光电母"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1385, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1386Stub() { } + + public override float GetMpcost(Skill skill) => (float)(315 + 87.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(10 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetValue (28859); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1386.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1386.cs.meta new file mode 100644 index 0000000000..45c7dd008c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1386.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2c20db0bb7e444feba07005d576de2d3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1387.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1387.cs new file mode 100644 index 0000000000..3e979b4e06 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1387.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1387 : Skill + { + public const int SKILL_ID = 1387; + + public Skill1387() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1387Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 33, 38, 43, 48, 53, 58, 63, 68, 73, 78 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredItemArray = { 30050 }; + private static readonly int[] RequiredMoneyArray = { 1450, 1900, 2380, 2880, 3380, 3880, 10980, 41980, 131980, 291980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(490 + 87.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(490 + 87.5f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1387Stub() : base(1387) + { + cls = 9; + name = "救星降临"; + nativename = "救星降临"; + icon = "清净琉璃"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1386, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1387Stub() { } + + public override float GetMpcost(Skill skill) => (float)(490 + 87.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(10 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetValue (28860); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1387.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1387.cs.meta new file mode 100644 index 0000000000..77bc9c15e9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1387.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 56cd900730b9e4e0b86635438ea78795 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1388.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1388.cs new file mode 100644 index 0000000000..ed90b921bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1388.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1388 : Skill + { + public const int SKILL_ID = 1388; + + public Skill1388() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1388Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 87000, 104000, 125000, 151000, 181000, 239000, 327000, 440000, 586000, 773000 }; + private static readonly int[] RequiredItemArray = { 30051 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(1176 + 63 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(1176 + 63 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1388Stub() : base(1388) + { + cls = 9; + name = "灾星降临"; + nativename = "灾星降临"; + icon = "火神下界"; + max_level = 10; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1387, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1388Stub() { } + + public override float GetMpcost(Skill skill) => (float)(1176 + 63 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(10 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetValue (28861); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1388.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1388.cs.meta new file mode 100644 index 0000000000..f76e335fbf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1388.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a75f9ef724f374e3e9d9bd22dcc6a281 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1389.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1389.cs new file mode 100644 index 0000000000..251f20cb91 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1389.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1389 : Skill + { + public const int SKILL_ID = 1389; + + public Skill1389() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1389Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 11, 16, 21, 26, 31, 36, 41, 46, 51, 56 }; + private static readonly int[] RequiredSpArray = { 800, 1920, 3680, 6160, 9440, 13840, 19680, 27360, 37600, 51200 }; + private static readonly int[] RequiredItemArray = { 30052 }; + private static readonly int[] RequiredMoneyArray = { 160, 320, 530, 820, 1270, 1720, 2180, 2680, 3180, 3680 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(44 + 36.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(44 + 36.5f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1389Stub() : base(1389) + { + cls = 9; + name = "惩罚刺"; + nativename = "惩罚刺"; + icon = "莲子止魂"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1389Stub() { } + + public override float GetMpcost(Skill skill) => (float)(44 + 36.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 20; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (28921); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1389.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1389.cs.meta new file mode 100644 index 0000000000..22d7f040ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1389.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aac763f7d6cc54a5f8720bc50d960bf3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1390.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1390.cs new file mode 100644 index 0000000000..ca5b1bd95b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1390.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1390 : Skill + { + public const int SKILL_ID = 1390; + + public Skill1390() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1390Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 15, 20, 25, 30, 35, 40, 45, 50, 55, 60 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredItemArray = { 30053 }; + private static readonly int[] RequiredMoneyArray = { 280, 480, 730, 1180, 1630, 2080, 2580, 3080, 3580, 4980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(58.4f + 29.2f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(58.4f + 29.2f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1390Stub() : base(1390) + { + cls = 9; + name = "禁咒藤"; + nativename = "禁咒藤"; + icon = "绛珠之咒"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1389, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1390Stub() { } + + public override float GetMpcost(Skill skill) => (float)(58.4 + 29.2 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 6; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (28922); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1390.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1390.cs.meta new file mode 100644 index 0000000000..b6e08dac33 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1390.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b2bbe4a01bbe34191abe74d76a130142 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1391.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1391.cs new file mode 100644 index 0000000000..fbbde3a2d0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1391.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1391 : Skill + { + public const int SKILL_ID = 1391; + + public Skill1391() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1391Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 21, 26, 31, 36, 41, 46, 51, 56, 61, 66 }; + private static readonly int[] RequiredSpArray = { 6160, 9440, 13840, 19680, 27360, 37600, 51200, 69600, 94400, 128000 }; + private static readonly int[] RequiredItemArray = { 30054 }; + private static readonly int[] RequiredMoneyArray = { 530, 820, 1270, 1720, 2180, 2680, 3180, 3680, 6980, 22980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(93.6f + 29.2f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(93.6f + 29.2f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1391Stub() : base(1391) + { + cls = 9; + name = "咒缚丝"; + nativename = "咒缚丝"; + icon = "百裂缠丝"; + max_level = 10; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1390, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1391Stub() { } + + public override float GetMpcost(Skill skill) => (float)(93.6 + 29.2 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 6; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (28923); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1391.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1391.cs.meta new file mode 100644 index 0000000000..5a5d55a9f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1391.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cf48796a7cee04ff59b07c3945415ba3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1392.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1392.cs new file mode 100644 index 0000000000..b5457d667f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1392.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1392 : Skill + { + public const int SKILL_ID = 1392; + + public Skill1392() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1392Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 239000 }; + private static readonly int[] RequiredItemArray = { 30055 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(140.8f + 29.2f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(140.8f + 29.2f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1392Stub() : base(1392) + { + cls = 9; + name = "迷魂阵"; + nativename = "迷魂阵"; + icon = "情意眠眠"; + max_level = 10; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1391, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1392Stub() { } + + public override float GetMpcost(Skill skill) => (float)(140.8 + 29.2 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 6; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (28924); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1392.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1392.cs.meta new file mode 100644 index 0000000000..47dd737dde --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1392.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 50a52d7f772154e22b58f52d65ebcebf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1393.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1393.cs new file mode 100644 index 0000000000..839a3361bb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1393.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1393 : Skill + { + public const int SKILL_ID = 1393; + + public Skill1393() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1393Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredItemArray = { 30056 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(205.6f + 23.2f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(205.6f + 23.2f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1393Stub() : base(1393) + { + cls = 9; + name = "百草愈"; + nativename = "百草愈"; + icon = "玉暖蓝田"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1392, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1393Stub() { } + + public override float GetMpcost(Skill skill) => (float)(205.6 + 23.2 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(10 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 25; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (28925); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1393.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1393.cs.meta new file mode 100644 index 0000000000..f0b3774397 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1393.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e6fea58bc8bd44121a63e12896c7f8d1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1394.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1394.cs new file mode 100644 index 0000000000..9dc103b067 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1394.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1394 : Skill + { + public const int SKILL_ID = 1394; + + public Skill1394() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1394Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 47000, 60200, 76900, 98300, 125000, 160000, 215000, 327000, 484000, 705000 }; + private static readonly int[] RequiredItemArray = { 30057 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(440 + 39.2f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(440 + 39.2f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1394Stub() : base(1394) + { + cls = 9; + name = "百草击"; + nativename = "百草击"; + icon = "残阳如血"; + max_level = 10; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1393, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1394Stub() { } + + public override float GetMpcost(Skill skill) => (float)(440 + 39.2 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 35000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(10 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 25; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (28926); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1394.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1394.cs.meta new file mode 100644 index 0000000000..f31d148edb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1394.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2ed36bbd459294ba795118ee1e68a4f3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1395.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1395.cs new file mode 100644 index 0000000000..3785250f14 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1395.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1395 : Skill + { + public const int SKILL_ID = 1395; + + public Skill1395() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1395Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 11800, 17300, 24600, 34200, 47000, 64000, 87000, 118000, 160000, 217000 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill1395Stub() : base(1395) + { + cls = 9; + name = "木精通"; + nativename = "木精通"; + icon = "木系精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1630; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill1395Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncwood (0.02f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1395.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1395.cs.meta new file mode 100644 index 0000000000..abbcd768be --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1395.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c6b3205d0d9f443c182474076e45b4d6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1396.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1396.cs new file mode 100644 index 0000000000..d6f123bc6a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1396.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1396 : Skill + { + public const int SKILL_ID = 1396; + + public Skill1396() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1396Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29 }; + private static readonly int[] RequiredSpArray = { 18, 000 }; + private static readonly int[] RequiredMoneyArray = { 23, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1396Stub() : base(1396) + { + cls = 9; + name = "真元爆发"; + nativename = "真元爆发"; + icon = "爆气1"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2211; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1396Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1396.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1396.cs.meta new file mode 100644 index 0000000000..b2749f5f9a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1396.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f5876915b24194f97b113e77f50b2a72 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1397.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1397.cs new file mode 100644 index 0000000000..c467752a29 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1397.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1397 : Skill + { + public const int SKILL_ID = 1397; + + public Skill1397() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1397Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 130, 000 }; + private static readonly int[] RequiredMoneyArray = { 180, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1397Stub() : base(1397) + { + cls = 9; + name = "高级真元爆发"; + nativename = "高级真元爆发"; + icon = "爆气2"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2212; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1396, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1397Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (4); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1397.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1397.cs.meta new file mode 100644 index 0000000000..339c67540e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1397.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2297c4094d2d647d6901e036feaa20b1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1398.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1398.cs new file mode 100644 index 0000000000..1f58b2eaed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1398.cs @@ -0,0 +1,170 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1398 : Skill + { + public const int SKILL_ID = 1398; + + public Skill1398() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1398Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(34.3f + 12.3f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(34.3f + 12.3f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1398Stub() : base(1398) + { + cls = 9; + name = "昙花一现"; + nativename = "昙花一现"; + icon = "枯荣法"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1398Stub() { } + + public override float GetMpcost(Skill skill) => (float)(34.3 + 12.3 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 8000 - 500 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 20; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (15); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetPlantsuicide (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1398.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1398.cs.meta new file mode 100644 index 0000000000..d16832ad77 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1398.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 09cc238ea0cd54b00a23d6c57ad58728 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1399.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1399.cs new file mode 100644 index 0000000000..a4302e0d5f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1399.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1399 : Skill + { + public const int SKILL_ID = 1399; + + public Skill1399() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1399Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 34200, 44100, 56600, 72400, 92400, 118000, 151000, 192000, 295000, 440000 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(157.5f + 14 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(157.5f + 14 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1399Stub() : base(1399) + { + cls = 9; + name = "偷天换日"; + nativename = "偷天换日"; + icon = "同气连枝"; + max_level = 10; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1400, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1399Stub() { } + + public override float GetMpcost(Skill skill) => (float)(157.5 + 14 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 180000 - 15000 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(10 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetPetsacrifice (1); + skill.GetVictim ().SetTime (3000 + skill.GetLevel () * 300); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1399.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1399.cs.meta new file mode 100644 index 0000000000..f0647dd98b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1399.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cba2d5abfead7464dbfb55e861d301ac \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1400.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1400.cs new file mode 100644 index 0000000000..426d76e973 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1400.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1400 : Skill + { + public const int SKILL_ID = 1400; + + public Skill1400() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1400Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 17, 22, 27, 32, 37, 42, 47, 52, 57, 62 }; + private static readonly int[] RequiredSpArray = { 1000, 2400, 4600, 7700, 11800, 17300, 24600, 34200, 47000, 64000 }; + private static readonly int[] RequiredMoneyArray = { 360, 580, 910, 1360, 1810, 2280, 2780, 3280, 3780, 8980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(8.4f + 3.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(8.4f + 3.5f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1400Stub() : base(1400) + { + cls = 9; + name = "斗转星移"; + nativename = "斗转星移"; + icon = "移神术"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_移神术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_移神术_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1498, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1400Stub() { } + + public override float GetMpcost(Skill skill) => (float)(8.4 + 3.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(15 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 50; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (15 + 0.9f * skill.GetLevel ()); + skill.GetVictim ().SetAmount (100 + 400 * skill.GetLevel ()); + skill.GetVictim ().SetValue (100 + 400 * skill.GetLevel ()); + skill.GetVictim ().SetTransportmptopet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1400.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1400.cs.meta new file mode 100644 index 0000000000..71fd6e26d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1400.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 801272bf6056f4017bec96a07a687152 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1401.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1401.cs new file mode 100644 index 0000000000..b528473e27 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1401.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1401 : Skill + { + public const int SKILL_ID = 1401; + + public Skill1401() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1401Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 2300, 3850, 5900, 8650, 12300, 17100, 23500, 32000, 43500, 59000 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(210 + 245 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(210 + 245 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1401Stub() : base(1401) + { + cls = 9; + name = "重生术"; + nativename = "重生术"; + icon = "枯木逢春"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_枯木逢春"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_枯木逢春击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1383, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1401Stub() { } + + public override float GetMpcost(Skill skill) => (float)(210 + 245 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(10 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.05f - 0.004f * skill.GetLevel ()); + skill.GetVictim ().SetAmount (0.2f + skill.GetLevel () * 0.03f); + skill.GetVictim ().SetValue (0.2f + skill.GetLevel () * 0.03f); + skill.GetVictim ().SetChanceofrebirth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1401.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1401.cs.meta new file mode 100644 index 0000000000..9dcdceeef2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1401.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9f5baff5992b1447a88cb63b13183693 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1498.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1498.cs new file mode 100644 index 0000000000..93cc5582e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1498.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1498 : Skill + { + public const int SKILL_ID = 1498; + + public Skill1498() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1498Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 7, 12, 17, 22, 27, 32, 37, 42, 47, 52 }; + private static readonly int[] RequiredSpArray = { 960, 2240, 4160, 6720, 10240, 14880, 21040, 29200, 38900, 53200 }; + private static readonly int[] RequiredMoneyArray = { 70, 190, 360, 580, 910, 1360, 1810, 2280, 2780, 3280 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-5 + 28 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25 - 2 * skill.GetLevel (); + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-5 + 28 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1498Stub() : base(1498) + { + cls = 9; + name = "治疗召唤物"; + nativename = "治疗召唤物"; + icon = "治疗宠物"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1401; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_岐黄妙手"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_岐黄妙手_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1385, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1498Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-5 + 28 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(17.5 + 0.9 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 25 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-10 + 55 * skill.GetLevel () + skill.GetMagicdamage () * (0.1f + 0.02f * skill.GetLevel ())); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1498.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1498.cs.meta new file mode 100644 index 0000000000..bf95d87545 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1498.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 13291b4b022964ef489b9a8cd0642d8f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1618.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1618.cs new file mode 100644 index 0000000000..b44587945f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1618.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1618 : Skill + { + public const int SKILL_ID = 1618; + + public Skill1618() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1618Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30899 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 150); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 150); + skill.SetPlus(1200); + skill.SetRatio(1); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1618Stub() : base(1618) + { + cls = 9; + name = "真·青藤绕"; + nativename = "真·青藤绕"; + icon = "腐蔓咒仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_腐蔓咒"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魅灵_腐蔓咒_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1374, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1618Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (13000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSpecialslow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (13000); + skill.GetVictim ().SetSpecialphysichurttrigger (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1618.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1618.cs.meta new file mode 100644 index 0000000000..f1f830b3ac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1618.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5d2b6598da122464a817301b881c4fe8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1619.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1619.cs new file mode 100644 index 0000000000..9bcb1c7b4e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1619.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1619 : Skill + { + public const int SKILL_ID = 1619; + + public Skill1619() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1619Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30917 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 150); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 150); + skill.SetPlus(1800); + skill.SetRatio(1); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1619Stub() : base(1619) + { + cls = 9; + name = "狂·青藤绕"; + nativename = "狂·青藤绕"; + icon = "腐蔓咒魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_腐蔓咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魅灵_腐蔓咒_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1374, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1619Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (13000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSpecialslow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (13000); + skill.GetVictim ().SetSpecialphysichurttrigger (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1619.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1619.cs.meta new file mode 100644 index 0000000000..86aa01adc8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1619.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b78bbb830ad684150999e0adb24554c9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1620.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1620.cs new file mode 100644 index 0000000000..75de1521f1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1620.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1620 : Skill + { + public const int SKILL_ID = 1620; + + public Skill1620() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1620Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30900 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 225); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 225); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1620Stub() : base(1620) + { + cls = 9; + name = "真·青雾绕"; + nativename = "真·青雾绕"; + icon = "碧云术仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_碧云术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魅灵_碧云术_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_碧云术_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1375, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1620Stub() { } + + public override float GetMpcost(Skill skill) => 225f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetAmount (9000); + skill.GetVictim ().SetValue (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetPoisionseed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetPuremagicattack () + 5100; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1620.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1620.cs.meta new file mode 100644 index 0000000000..cee02b8b0d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1620.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 59bf5efa237ac4271a05d5cdb246047d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1621.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1621.cs new file mode 100644 index 0000000000..e12bf3e417 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1621.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1621 : Skill + { + public const int SKILL_ID = 1621; + + public Skill1621() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1621Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30918 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 225); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 225); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1621Stub() : base(1621) + { + cls = 9; + name = "狂·青雾绕"; + nativename = "狂·青雾绕"; + icon = "碧云术魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_碧云术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魅灵_碧云术_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_碧云术_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1375, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1621Stub() { } + + public override float GetMpcost(Skill skill) => 225f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetAmount (9000); + skill.GetVictim ().SetValue (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetPoisionseed (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.15f); + skill.GetVictim ().SetReducewood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetPuremagicattack () + 4300; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1621.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1621.cs.meta new file mode 100644 index 0000000000..689f0c1204 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1621.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 17e6d767bb7374c26ad4999871cbfd68 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1622.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1622.cs new file mode 100644 index 0000000000..3d6d624a28 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1622.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1622 : Skill + { + public const int SKILL_ID = 1622; + + public Skill1622() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1622Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30901 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 300); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 300); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1622Stub() : base(1622) + { + cls = 9; + name = "真·摄魂咒"; + nativename = "真·摄魂咒"; + icon = "勾魂摄魄仙技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1422; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_勾魂摄魄"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/勾魂摄魄_飞行.gfx"; + m_szHitGrndGfxPath = "策划联入/人物技能/击中/勾魂摄魄_击中.gfx"; + m_szHitGfxPath = "策划联入/人物技能/击中/勾魂摄魄_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1376, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1622Stub() { } + + public override float GetMpcost(Skill skill) => 300f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 120; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (skill.GetT2 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetValue (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetSpecialphysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => (player.GetPuremagicattack () * 1.25 + 2900) * (player.GetRand () < player.GetCrit () * 3 ? 1.3 : 1); + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1622.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1622.cs.meta new file mode 100644 index 0000000000..f259eaffd1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1622.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 17f3f63b6c316460c88a8b4d6b7920cf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1623.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1623.cs new file mode 100644 index 0000000000..b442dcc446 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1623.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1623 : Skill + { + public const int SKILL_ID = 1623; + + public Skill1623() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1623Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30919 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 300); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 300); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1623Stub() : base(1623) + { + cls = 9; + name = "狂·摄魂咒"; + nativename = "狂·摄魂咒"; + icon = "勾魂摄魄魔技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1422; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_勾魂摄魄"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/勾魂摄魄_飞行.gfx"; + m_szHitGrndGfxPath = "策划联入/人物技能/击中/勾魂摄魄_击中.gfx"; + m_szHitGfxPath = "策划联入/人物技能/击中/勾魂摄魄_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1376, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1623Stub() { } + + public override float GetMpcost(Skill skill) => 300f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 120; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (skill.GetT2 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetValue (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetSpecialphysichurt (1); + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 26; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => (player.GetPuremagicattack () * 1.25 + 2900) * (player.GetRand () < player.GetCrit () * 3 ? 1.3 : 1); + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1623.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1623.cs.meta new file mode 100644 index 0000000000..09c6281e94 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1623.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e8e550527d26c4d68b9ebc2cdc73086c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1624.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1624.cs new file mode 100644 index 0000000000..5f59de0f03 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1624.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1624 : Skill + { + public const int SKILL_ID = 1624; + + public Skill1624() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1624Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30902 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 560); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 560); + skill.SetPlus(2700); + skill.SetRatio(1); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1624Stub() : base(1624) + { + cls = 9; + name = "真·乱舞清风"; + nativename = "真·乱舞清风"; + icon = "长风破仙技能"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1208; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_东风咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_东风咒.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1377, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1624Stub() { } + + public override float GetMpcost(Skill skill) => 560f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 14f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 47); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 47); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1624.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1624.cs.meta new file mode 100644 index 0000000000..3e39cd917c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1624.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d07ccb038bd1d4f5d86e79639f27b2f0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1625.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1625.cs new file mode 100644 index 0000000000..7027de9dc7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1625.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1625 : Skill + { + public const int SKILL_ID = 1625; + + public Skill1625() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1625Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30920 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 560); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 560); + skill.SetPlus(2700); + skill.SetRatio(1); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1625Stub() : base(1625) + { + cls = 9; + name = "狂·乱舞清风"; + nativename = "狂·乱舞清风"; + icon = "长风破魔技能"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1208; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_东风咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_东风咒.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1377, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1625Stub() { } + + public override float GetMpcost(Skill skill) => 560f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 14f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 47); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 11; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1625.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1625.cs.meta new file mode 100644 index 0000000000..ecd84ef0d8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1625.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c332c5d354445423aac2c848d03dbd76 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1626.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1626.cs new file mode 100644 index 0000000000..9967b43606 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1626.cs @@ -0,0 +1,215 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1626 : Skill + { + public const int SKILL_ID = 1626; + + public Skill1626() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1626Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30903 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 310); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 310); + skill.SetPlus(3750); + skill.SetRatio(1); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1626Stub() : base(1626) + { + cls = 9; + name = "真·花溅雨"; + nativename = "真·花溅雨"; + icon = "东风咒仙技能"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1303; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_长风破"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_长风破击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1378, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1626Stub() { } + + public override float GetMpcost(Skill skill) => 310f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetRepel2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (30); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1626.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1626.cs.meta new file mode 100644 index 0000000000..ad445a8ad9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1626.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a99fd2777ab184f1ab79549764a13506 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1627.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1627.cs new file mode 100644 index 0000000000..c17034926e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1627.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1627 : Skill + { + public const int SKILL_ID = 1627; + + public Skill1627() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1627Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30921 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 310); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 310); + skill.SetPlus(3750); + skill.SetRatio(1); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1627Stub() : base(1627) + { + cls = 9; + name = "狂·花溅雨"; + nativename = "狂·花溅雨"; + icon = "东风咒魔技能"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1303; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_长风破"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_长风破击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1378, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1627Stub() { } + + public override float GetMpcost(Skill skill) => 310f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (13); + skill.GetVictim ().SetRepel2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (13); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 21; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1627.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1627.cs.meta new file mode 100644 index 0000000000..a585180fe5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1627.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 53585ffc228074f4eb69cd1923826437 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1628.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1628.cs new file mode 100644 index 0000000000..a4ed61eafb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1628.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1628 : Skill + { + public const int SKILL_ID = 1628; + + public Skill1628() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1628Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30904 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 620); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 620); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1628Stub() : base(1628) + { + cls = 9; + name = "真·碧波护体"; + nativename = "真·碧波护体"; + icon = "铁木衫仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1413; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "坚甲符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/坚甲符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1379, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1628Stub() { } + + public override float GetMpcost(Skill skill) => 620f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (0.9f); + skill.GetVictim ().SetIncwoodwaterdefense (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1628.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1628.cs.meta new file mode 100644 index 0000000000..9bf6e946b4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1628.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e180ebc9d2a3e46fb894993750ed71d2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1629.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1629.cs new file mode 100644 index 0000000000..fbf187bf69 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1629.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1629 : Skill + { + public const int SKILL_ID = 1629; + + public Skill1629() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1629Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30922 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 620); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 620); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1629Stub() : base(1629) + { + cls = 9; + name = "狂·碧波护体"; + nativename = "狂·碧波护体"; + icon = "铁木衫魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1413; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "坚甲符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/坚甲符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1379, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1629Stub() { } + + public override float GetMpcost(Skill skill) => 620f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetAmount (0.9f); + skill.GetVictim ().SetValue (0.9f); + skill.GetVictim ().SetIncwoodwaterdefense (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetIncdebuffdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1629.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1629.cs.meta new file mode 100644 index 0000000000..c0054a9f89 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1629.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 314b949b000c9413c880186e085cd3aa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1630.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1630.cs new file mode 100644 index 0000000000..fc59b2ca29 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1630.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1630 : Skill + { + public const int SKILL_ID = 1630; + + public Skill1630() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1630Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30905 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 500); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1630Stub() : base(1630) + { + cls = 9; + name = "真·迅法术"; + nativename = "真·迅法术"; + icon = "风竹秋韵仙技能"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 21; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1217; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "般若心经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/般若心经.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1380, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1630Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 35000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetRatio (1630); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1.25f); + skill.GetVictim ().SetValue (0.2f); + skill.GetVictim ().SetFastprayincmagic (1); + return true; + } + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncmpgen (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1630.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1630.cs.meta new file mode 100644 index 0000000000..0768f719fc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1630.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 91552fe5efb884ace8591d6320cc9a79 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1631.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1631.cs new file mode 100644 index 0000000000..be65d70cd0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1631.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1631 : Skill + { + public const int SKILL_ID = 1631; + + public Skill1631() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1631Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30923 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 500); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1631Stub() : base(1631) + { + cls = 9; + name = "狂·迅法术"; + nativename = "狂·迅法术"; + icon = "风竹秋韵魔技能"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 31; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1217; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "般若心经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/般若心经.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1380, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1631Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 35000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1.25f); + skill.GetVictim ().SetValue (0.3f); + skill.GetVictim ().SetFastprayincmagic (1); + return true; + } + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncmpgen (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1631.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1631.cs.meta new file mode 100644 index 0000000000..fccff8d698 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1631.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a0b2c122b325f4bc29e141eb6aea7906 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1632.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1632.cs new file mode 100644 index 0000000000..cc968c9023 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1632.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1632 : Skill + { + public const int SKILL_ID = 1632; + + public Skill1632() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1632Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30906 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 280); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 280); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1632Stub() : base(1632) + { + cls = 9; + name = "真·灵光普照"; + nativename = "真·灵光普照"; + icon = "岐黄妙手仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1401; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_岐黄妙手"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_岐黄妙手_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1381, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1632Stub() { } + + public override float GetMpcost(Skill skill) => 280f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 700; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.35f + 400); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1632.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1632.cs.meta new file mode 100644 index 0000000000..1e483bec98 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1632.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 45a7662d1eae54851b63eebb9d343342 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1633.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1633.cs new file mode 100644 index 0000000000..09cc90e224 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1633.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1633 : Skill + { + public const int SKILL_ID = 1633; + + public Skill1633() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1633Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30924 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 280); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 280); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1633Stub() : base(1633) + { + cls = 9; + name = "狂·灵光普照"; + nativename = "狂·灵光普照"; + icon = "岐黄妙手魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1401; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_岐黄妙手"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_岐黄妙手_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1381, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1633Stub() { } + + public override float GetMpcost(Skill skill) => 280f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 700; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.35f + 400); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (25); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1633.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1633.cs.meta new file mode 100644 index 0000000000..0eec6ac1fe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1633.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5cbbd38f995ee40d8a99dd831dca4931 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1634.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1634.cs new file mode 100644 index 0000000000..8acc1dd9c1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1634.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1634 : Skill + { + public const int SKILL_ID = 1634; + + public Skill1634() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1634Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30907 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 850); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 850); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1634Stub() : base(1634) + { + cls = 9; + name = "真·云生雾长"; + nativename = "真·云生雾长"; + icon = "萦风抱雾仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1406; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_萦风抱雾"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_萦风抱雾_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1382, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1634Stub() { } + + public override float GetMpcost(Skill skill) => 850f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 700; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.2f + 1200); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1634.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1634.cs.meta new file mode 100644 index 0000000000..8357f7db68 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1634.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0f00fab133b654d369c3f03109163380 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1635.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1635.cs new file mode 100644 index 0000000000..82a4442cdf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1635.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1635 : Skill + { + public const int SKILL_ID = 1635; + + public Skill1635() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1635Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30925 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 1000); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 1000); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1635Stub() : base(1635) + { + cls = 9; + name = "狂·云生雾长"; + nativename = "狂·云生雾长"; + icon = "萦风抱雾魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1406; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_萦风抱雾"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_萦风抱雾_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(1382, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1635Stub() { } + + public override float GetMpcost(Skill skill) => 1000f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 700; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.2f + 1200); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 35); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1635.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1635.cs.meta new file mode 100644 index 0000000000..c4dcb262b8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1635.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8868e3370026b45068dbf80e62375e3f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1636.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1636.cs new file mode 100644 index 0000000000..1dfb79dbb4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1636.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1636 : Skill + { + public const int SKILL_ID = 1636; + + public Skill1636() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1636Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30908 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 420); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 420); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1636Stub() : base(1636) + { + cls = 9; + name = "真·落英缤纷"; + nativename = "真·落英缤纷"; + icon = "回风拂柳仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1402; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_回风拂柳"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_回风拂柳_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1383, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1636Stub() { } + + public override float GetMpcost(Skill skill) => 420f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 300; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (25); + skill.GetVictim ().SetAmount (9000); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.35f + 1300); + skill.GetVictim ().SetHpgenseed (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 35); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetValue (280); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1636.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1636.cs.meta new file mode 100644 index 0000000000..082f15f5ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1636.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 896b1831999be4b4f887a4db467193fc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1637.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1637.cs new file mode 100644 index 0000000000..a321069567 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1637.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1637 : Skill + { + public const int SKILL_ID = 1637; + + public Skill1637() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1637Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30926 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 420); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 420); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1637Stub() : base(1637) + { + cls = 9; + name = "狂·落英缤纷"; + nativename = "狂·落英缤纷"; + icon = "回风拂柳魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1402; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_回风拂柳"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_回风拂柳_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1383, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1637Stub() { } + + public override float GetMpcost(Skill skill) => 420f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 300; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (25); + skill.GetVictim ().SetAmount (9000); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.35f + 1300); + skill.GetVictim ().SetHpgenseed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 2; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1637.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1637.cs.meta new file mode 100644 index 0000000000..81b2449075 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1637.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 31952e4d2df24474c92bd8da9acf5daa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1638.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1638.cs new file mode 100644 index 0000000000..7addc50273 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1638.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1638 : Skill + { + public const int SKILL_ID = 1638; + + public Skill1638() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1638Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30910 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 2900); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 2900); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1638Stub() : base(1638) + { + cls = 9; + name = "真·重生术"; + nativename = "真·重生术"; + icon = "枯木逢春仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_枯木逢春"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_枯木逢春击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1401, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1638Stub() { } + + public override float GetMpcost(Skill skill) => 2900f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 200; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.0025f); + skill.GetVictim ().SetAmount (0.5f); + skill.GetVictim ().SetValue (0.5f); + skill.GetVictim ().SetChanceofrebirth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1638.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1638.cs.meta new file mode 100644 index 0000000000..26813f1072 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1638.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ba784debbd2b54964b4c3390c836d09a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1639.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1639.cs new file mode 100644 index 0000000000..f87a55fbab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1639.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1639 : Skill + { + public const int SKILL_ID = 1639; + + public Skill1639() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1639Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30928 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 2900); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 2900); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1639Stub() : base(1639) + { + cls = 9; + name = "狂·重生术"; + nativename = "狂·重生术"; + icon = "枯木逢春魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_枯木逢春"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_枯木逢春击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1401, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1639Stub() { } + + public override float GetMpcost(Skill skill) => 2900f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 200; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.006f); + skill.GetVictim ().SetAmount (0.5f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetChanceofrebirth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1639.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1639.cs.meta new file mode 100644 index 0000000000..f6f2cbd6f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1639.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a49b41d0a4428411a811bd671c22ed91 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1640.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1640.cs new file mode 100644 index 0000000000..636732c745 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1640.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1640 : Skill + { + public const int SKILL_ID = 1640; + + public Skill1640() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1640Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30911 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + + public Skill1640Stub() : base(1640) + { + cls = 9; + name = "真·木精通"; + nativename = "真·木精通"; + icon = "木系精通1"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1630; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1395, 10); + + } + + ~Skill1640Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncwood (0.25f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1640.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1640.cs.meta new file mode 100644 index 0000000000..d00163fde6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1640.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 89c33be30b9464c7bb429f2a7f63e9a4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1641.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1641.cs new file mode 100644 index 0000000000..639c1ca1c7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1641.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1641 : Skill + { + public const int SKILL_ID = 1641; + + public Skill1641() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1641Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 30929 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + + public Skill1641Stub() : base(1641) + { + cls = 9; + name = "狂·木精通"; + nativename = "狂·木精通"; + icon = "木系精通2"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1630; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1395, 10); + + } + + ~Skill1641Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncwood (0.2f); + skill.GetPlayer ().SetInccrit (2); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1641.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1641.cs.meta new file mode 100644 index 0000000000..0b7f6e1771 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1641.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 235c83ba7a4754f7fa3fb86386c2bb4b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1642.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1642.cs new file mode 100644 index 0000000000..2d26cf08ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1642.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1642 : Skill + { + public const int SKILL_ID = 1642; + + public Skill1642() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1642Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30912 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 310); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 310); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1642Stub() : base(1642) + { + cls = 9; + name = "真·偷天换日"; + nativename = "真·偷天换日"; + icon = "同气连枝仙技能"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1399, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1642Stub() { } + + public override float GetMpcost(Skill skill) => 310f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetPetsacrifice (1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1642.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1642.cs.meta new file mode 100644 index 0000000000..db6fbdb988 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1642.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9156e967c4557417aa34dd771bed7463 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1643.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1643.cs new file mode 100644 index 0000000000..4a819f2307 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1643.cs @@ -0,0 +1,170 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1643 : Skill + { + public const int SKILL_ID = 1643; + + public Skill1643() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1643Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30930 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 310); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 310); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1643Stub() : base(1643) + { + cls = 9; + name = "狂·偷天换日"; + nativename = "狂·偷天换日"; + icon = "同气连枝魔技能"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1399, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1643Stub() { } + + public override float GetMpcost(Skill skill) => 310f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetPetsacrifice (1); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetFreemove (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1643.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1643.cs.meta new file mode 100644 index 0000000000..908805e518 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1643.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aae55e4cc75364390bc9495064f7bfee \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1644.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1644.cs new file mode 100644 index 0000000000..b39a242d28 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1644.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1644 : Skill + { + public const int SKILL_ID = 1644; + + public Skill1644() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1644Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1644Stub() : base(1644) + { + cls = 9; + name = "仙元爆发"; + nativename = "仙元爆发"; + icon = "仙元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2233; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 7; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1644Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleincmp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (7); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1644.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1644.cs.meta new file mode 100644 index 0000000000..0f80e5f790 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1644.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f0c688889fce3421a93e69b33ed08c53 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1645.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1645.cs new file mode 100644 index 0000000000..709f0dfa27 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1645.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1645 : Skill + { + public const int SKILL_ID = 1645; + + public Skill1645() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1645Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1645Stub() : base(1645) + { + cls = 9; + name = "魔元爆发"; + nativename = "魔元爆发"; + icon = "魔元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 2234; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 7; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1645Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleincmp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (7); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1645.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1645.cs.meta new file mode 100644 index 0000000000..cda2c5009d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1645.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1835f642e2a274e1aaf97e856e582962 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1651.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1651.cs new file mode 100644 index 0000000000..15eb467cfd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1651.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1651 : Skill + { + public const int SKILL_ID = 1651; + + public Skill1651() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1651Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30909 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 935); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 935); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1651Stub() : base(1651) + { + cls = 9; + name = "真·满地枝"; + nativename = "真·满地枝"; + icon = "暴雨梨花诀仙技能"; + max_level = 1; + type = 3; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1384, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1651Stub() { } + + public override float GetMpcost(Skill skill) => 935f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (19000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (4); + skill.GetVictim ().SetValue (30982); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1651.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1651.cs.meta new file mode 100644 index 0000000000..90bda863b5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1651.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 613c1d640d9a048b882bf7f50b862f5b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1652.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1652.cs new file mode 100644 index 0000000000..9ab9a2c14f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1652.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1652 : Skill + { + public const int SKILL_ID = 1652; + + public Skill1652() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1652Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30927 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 935); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 935); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1652Stub() : base(1652) + { + cls = 9; + name = "狂·满地枝"; + nativename = "狂·满地枝"; + icon = "满地枝魔技能"; + max_level = 1; + type = 3; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1384, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1652Stub() { } + + public override float GetMpcost(Skill skill) => 935f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (19000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (4); + skill.GetVictim ().SetValue (30981); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1652.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1652.cs.meta new file mode 100644 index 0000000000..9e54bcea0e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1652.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5868987dfddb8439687a4f03bd3bd6b1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1653.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1653.cs new file mode 100644 index 0000000000..98a0a7b33c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1653.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1653 : Skill + { + public const int SKILL_ID = 1653; + + public Skill1653() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1653Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30913 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 756); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 756); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1653Stub() : base(1653) + { + cls = 9; + name = "真·武神现世"; + nativename = "真·武神现世"; + icon = "魔神蚩尤仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1385, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1653Stub() { } + + public override float GetMpcost(Skill skill) => 756f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetValue (30983); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1653.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1653.cs.meta new file mode 100644 index 0000000000..0a2909dcde --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1653.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3efe010b96fde438c8004218714762d4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1657.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1657.cs new file mode 100644 index 0000000000..9aa4495ef6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1657.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1657 : Skill + { + public const int SKILL_ID = 1657; + + public Skill1657() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1657Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30931 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 840); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 840); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1657Stub() : base(1657) + { + cls = 9; + name = "狂·武神现世"; + nativename = "狂·武神现世"; + icon = "魔神蚩尤魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1385, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1657Stub() { } + + public override float GetMpcost(Skill skill) => 840f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetValue (30983); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1657.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1657.cs.meta new file mode 100644 index 0000000000..2276486554 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1657.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 55a99c4cfd680493e889ee3e8d78202d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1658.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1658.cs new file mode 100644 index 0000000000..53da242418 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1658.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1658 : Skill + { + public const int SKILL_ID = 1658; + + public Skill1658() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1658Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30914 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 972); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 972); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1658Stub() : base(1658) + { + cls = 9; + name = "真·魔神现世"; + nativename = "真·魔神现世"; + icon = "金光电母仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1386, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1658Stub() { } + + public override float GetMpcost(Skill skill) => 972f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetValue (30984); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1658.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1658.cs.meta new file mode 100644 index 0000000000..812f3fab0c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1658.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e24bf76049c1b4c21ae9480c6770e620 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1659.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1659.cs new file mode 100644 index 0000000000..791e2fe056 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1659.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1659 : Skill + { + public const int SKILL_ID = 1659; + + public Skill1659() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1659Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30932 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 1080); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 1080); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1659Stub() : base(1659) + { + cls = 9; + name = "狂·魔神现世"; + nativename = "狂·魔神现世"; + icon = "金光电母魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1386, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1659Stub() { } + + public override float GetMpcost(Skill skill) => 1080f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetValue (30984); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1659.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1659.cs.meta new file mode 100644 index 0000000000..2653640719 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1659.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ba7a0584a260e465884143ab08c2a792 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1660.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1660.cs new file mode 100644 index 0000000000..dd90be6282 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1660.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1660 : Skill + { + public const int SKILL_ID = 1660; + + public Skill1660() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1660Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30915 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 1116); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 1116); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1660Stub() : base(1660) + { + cls = 9; + name = "真·救星降临"; + nativename = "真·救星降临"; + icon = "清净琉璃仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1387, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1660Stub() { } + + public override float GetMpcost(Skill skill) => 1116f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetValue (30985); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1660.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1660.cs.meta new file mode 100644 index 0000000000..1303a5efdf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1660.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e97e622d45190475188f50069443eb33 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1661.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1661.cs new file mode 100644 index 0000000000..d07646c072 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1661.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1661 : Skill + { + public const int SKILL_ID = 1661; + + public Skill1661() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1661Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30933 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 1240); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 1240); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1661Stub() : base(1661) + { + cls = 9; + name = "狂·救星降临"; + nativename = "狂·救星降临"; + icon = "清净琉璃魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1387, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1661Stub() { } + + public override float GetMpcost(Skill skill) => 1240f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetValue (30985); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1661.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1661.cs.meta new file mode 100644 index 0000000000..51b6a91b71 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1661.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e978cdb1b7dd24b9baadf4118291620d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1662.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1662.cs new file mode 100644 index 0000000000..b60bc048c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1662.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1662 : Skill + { + public const int SKILL_ID = 1662; + + public Skill1662() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1662Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30916 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 1404); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 1404); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1662Stub() : base(1662) + { + cls = 9; + name = "真·灾星降临"; + nativename = "真·灾星降临"; + icon = "火神下界仙技能"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1388, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1662Stub() { } + + public override float GetMpcost(Skill skill) => 1404f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (24000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetValue (28861); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1662.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1662.cs.meta new file mode 100644 index 0000000000..e3cf8aad17 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1662.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aac4410a4083c488a8a852660e0d7e2f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1663.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1663.cs new file mode 100644 index 0000000000..9f4b83ce75 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1663.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1663 : Skill + { + public const int SKILL_ID = 1663; + + public Skill1663() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1663Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 30934 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 1560); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 1560); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1663Stub() : base(1663) + { + cls = 9; + name = "狂·灾星降临"; + nativename = "狂·灾星降临"; + icon = "火神下界魔技能"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1388, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1663Stub() { } + + public override float GetMpcost(Skill skill) => 1560f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetValue (28861); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1663.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1663.cs.meta new file mode 100644 index 0000000000..3290f5fff9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1663.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c357fc9e7b5434356b5e7285a97426ed \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1723.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1723.cs new file mode 100644 index 0000000000..afca0dcb3f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1723.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1723 : Skill + { + public const int SKILL_ID = 1723; + + public Skill1723() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1723Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30894 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1723Stub() : base(1723) + { + cls = 9; + name = "灵犀"; + nativename = "灵犀"; + icon = "灵犀"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1723Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 300000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMp () + 2000); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1723.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1723.cs.meta new file mode 100644 index 0000000000..7607ebf2e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1723.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 37346c167a4d54ffdbe2cd3d408fd475 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1724.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1724.cs new file mode 100644 index 0000000000..ce7fb0edee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1724.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1724 : Skill + { + public const int SKILL_ID = 1724; + + public Skill1724() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1724Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 30895 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 500); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1724Stub() : base(1724) + { + cls = 9; + name = "自然障壁"; + nativename = "自然障壁"; + icon = "自然障壁"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1724Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1724.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1724.cs.meta new file mode 100644 index 0000000000..74b18f04fd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1724.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 409947b0c450c42c49f3b4711a85b6a7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1725.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1725.cs new file mode 100644 index 0000000000..e91d1f4930 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1725.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1725 : Skill + { + public const int SKILL_ID = 1725; + + public Skill1725() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1725Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 30896 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1725Stub() : base(1725) + { + cls = 9; + name = "灵机"; + nativename = "灵机"; + icon = "灵机"; + max_level = 1; + type = 2; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_灵机"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/状态效果/灵机_瞬发状态效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1725Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetInccountedsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1725.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1725.cs.meta new file mode 100644 index 0000000000..af81be241d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1725.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fa8f352355f0e474faee1aa66efa5d78 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1726.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1726.cs new file mode 100644 index 0000000000..7c08502b60 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1726.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1726 : Skill + { + public const int SKILL_ID = 1726; + + public Skill1726() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1726Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 30896 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(500); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1726Stub() : base(1726) + { + cls = 9; + name = "灵机"; + nativename = "灵机"; + icon = "灵机"; + max_level = 1; + type = 2; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_灵机"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/状态效果/灵机_瞬发状态效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1726Stub() { } + + public override float GetMpcost(Skill skill) => 500f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetInccountedsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1726.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1726.cs.meta new file mode 100644 index 0000000000..f43d03439d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1726.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e05de56b3adbe47349f4f7a22b01162c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1727.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1727.cs new file mode 100644 index 0000000000..3a630007b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1727.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1727 : Skill + { + public const int SKILL_ID = 1727; + + public Skill1727() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1727Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 30898 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 900); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 900); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1727Stub() : base(1727) + { + cls = 9; + name = "舞·云摇"; + nativename = "舞·云摇"; + icon = "云摇"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1401; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_云摇_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_云摇_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1727Stub() { } + + public override float GetMpcost(Skill skill) => 900f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 850; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 50 / 100 + 1200); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.08f); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInchp2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1727.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1727.cs.meta new file mode 100644 index 0000000000..841f29dd8b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1727.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2b078957301e94623a57afcc58594df4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1728.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1728.cs new file mode 100644 index 0000000000..6650e255c6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1728.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1728 : Skill + { + public const int SKILL_ID = 1728; + + public Skill1728() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1728Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 30898 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 900); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 900); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1728Stub() : base(1728) + { + cls = 9; + name = "舞·云摇"; + nativename = "舞·云摇"; + icon = "云摇"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1401; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_云摇_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_云摇_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(292); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1728Stub() { } + + public override float GetMpcost(Skill skill) => 900f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 850; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 50 / 100 + 1200); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.08f); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInchp2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 3; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1728.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1728.cs.meta new file mode 100644 index 0000000000..47998f9c39 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1728.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 006f65dc209454d639bf42ad3eb2d677 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1729.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1729.cs new file mode 100644 index 0000000000..ac55d50c67 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1729.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1729 : Skill + { + public const int SKILL_ID = 1729; + + public Skill1729() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1729Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 30897 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 900); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 900); + skill.SetPlus(3500); + skill.SetRatio(2.5f); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1729Stub() : base(1729) + { + cls = 9; + name = "舞·风泣"; + nativename = "舞·风泣"; + icon = "风泣"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_风泣"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魅灵_风泣_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_风泣_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 2.3f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1729Stub() { } + + public override float GetMpcost(Skill skill) => 900f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.08f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1729.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1729.cs.meta new file mode 100644 index 0000000000..bdc2ae5649 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1729.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5924ca5019837400f95d69405b7fdba1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1730.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1730.cs new file mode 100644 index 0000000000..6285bf4566 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1730.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1730 : Skill + { + public const int SKILL_ID = 1730; + + public Skill1730() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1730Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 30897 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 900); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 900); + skill.SetPlus(3500); + skill.SetRatio(2.5f); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1730Stub() : base(1730) + { + cls = 9; + name = "舞·风泣"; + nativename = "舞·风泣"; + icon = "风泣"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_风泣"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魅灵_风泣_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_风泣_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 2.3f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1730Stub() { } + + public override float GetMpcost(Skill skill) => 900f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.08f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1730.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1730.cs.meta new file mode 100644 index 0000000000..2338f00ddd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1730.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a039e7bf3649f4696bb60b0d2ba7416d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1851.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1851.cs new file mode 100644 index 0000000000..aa9b656324 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1851.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1851 : Skill + { + public const int SKILL_ID = 1851; + + public Skill1851() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1851Stub : SkillStub + { + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1851Stub() : base(1851) + { + cls = 9; + name = "双子星(作废)"; + nativename = "双子星(作废)"; + icon = "双子星"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1220; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1851Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 1450; + public override int GetCoolingtime(Skill skill) => 300; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetValue (33672); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1851.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1851.cs.meta new file mode 100644 index 0000000000..e420b91f00 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1851.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 172337d5d5cb8436797e95a2cf6f7a8d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1852.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1852.cs new file mode 100644 index 0000000000..11caf16e28 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1852.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1852 : Skill + { + public const int SKILL_ID = 1852; + + public Skill1852() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1852Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 500000 }; + private static readonly int[] RequiredItemArray = { 33727 }; + private static readonly int[] RequiredMoneyArray = { 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(340); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1852Stub() : base(1852) + { + cls = 9; + name = "星燎原"; + nativename = "星燎原"; + icon = "流星"; + max_level = 1; + type = 3; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2906; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_流星"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魅灵_流星_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_流星.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1852Stub() { } + + public override float GetMpcost(Skill skill) => 440f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 440)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetLevel () - skill.GetT1 () > + 5 ? 0.01f : 0.25f + (skill.GetT0 () - skill.GetPlayer ().GetSoulpower ()) * 0.0000025f); + skill.GetVictim ().SetValue (45); + skill.GetVictim ().SetHealsteal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); + public float GetTalent1(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1852.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1852.cs.meta new file mode 100644 index 0000000000..9c47e60849 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1852.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e4eacd94510614915a4d797f76b37755 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1853.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1853.cs new file mode 100644 index 0000000000..23fa725503 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1853.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1853 : Skill + { + public const int SKILL_ID = 1853; + + public Skill1853() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1853Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33721 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1853Stub() : base(1853) + { + cls = 9; + name = "百花缭乱"; + nativename = "百花缭乱"; + icon = "迷色万花"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2901; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1853Stub() { } + + public override float GetMpcost(Skill skill) => 353f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 353)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetEnhanceskilldamage2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1853.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1853.cs.meta new file mode 100644 index 0000000000..316b4b23fb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1853.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 504a58f4dd6cb4eda82e4ef2a1988d1a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1854.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1854.cs new file mode 100644 index 0000000000..6cf3a63eb1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1854.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1854 : Skill + { + public const int SKILL_ID = 1854; + + public Skill1854() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1854Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33724 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(783); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1854Stub() : base(1854) + { + cls = 9; + name = "迷色万花"; + nativename = "迷色万花"; + icon = "繁星"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2903; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_繁星"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_繁星_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1854Stub() { } + + public override float GetMpcost(Skill skill) => 883f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 883)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (20); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1861); + skill.GetVictim ().SetAurabless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetPuremagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1854.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1854.cs.meta new file mode 100644 index 0000000000..616844c9cb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1854.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6a9df6e0df169424f85ec08f2fb4a68e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1855.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1855.cs new file mode 100644 index 0000000000..150788cb4c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1855.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1855 : Skill + { + public const int SKILL_ID = 1855; + + public Skill1855() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1855Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 5000000 }; + private static readonly int[] RequiredItemArray = { 33726 }; + private static readonly int[] RequiredMoneyArray = { 5000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(487); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1855Stub() : base(1855) + { + cls = 9; + name = "梵心·星燎原"; + nativename = "梵心·星燎原"; + icon = "流星"; + max_level = 1; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2906; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_流星"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魅灵_流星_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_流星.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1852, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1855Stub() { } + + public override float GetMpcost(Skill skill) => 587f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 587)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (40000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetLevel () - skill.GetT1 () > + 10 ? 0.01f : 0.3f + (skill.GetT0 () - skill.GetPlayer ().GetSoulpower ()) * 0.0000025f); + skill.GetVictim ().SetValue (45); + skill.GetVictim ().SetHealsteal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); + public float GetTalent1(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1855.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1855.cs.meta new file mode 100644 index 0000000000..dfa552658f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1855.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 99bc3336ee92d430f90691ed6deb1746 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1856.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1856.cs new file mode 100644 index 0000000000..c6feb4edde --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1856.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1856 : Skill + { + public const int SKILL_ID = 1856; + + public Skill1856() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1856Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33729 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(41); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1856Stub() : base(1856) + { + cls = 8; + name = "易位诀"; + nativename = "易位诀"; + icon = "桎梏诀2"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2904; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1856Stub() { } + + public override float GetMpcost(Skill skill) => 141f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 70 + (skill.GetT0 () - skill.GetPlayer ().GetSoulpower ()) * 0.00075f); + skill.GetVictim ().SetExchangeposition (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 6f; + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1856.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1856.cs.meta new file mode 100644 index 0000000000..fa99d8e8a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1856.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9f1d416672ce549aabe9557758e7c812 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1859.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1859.cs new file mode 100644 index 0000000000..0ccfcfd3be --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1859.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1859 : Skill + { + public const int SKILL_ID = 1859; + + public Skill1859() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1859Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 33722 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(53); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(300); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1859Stub() : base(1859) + { + cls = 9; + name = "温润"; + nativename = "温润"; + icon = "百花缭乱"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2902; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1859Stub() { } + + public override float GetMpcost(Skill skill) => 353f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 353)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetAmount (0.3f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDeepenbless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1859.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1859.cs.meta new file mode 100644 index 0000000000..3fcb3e82e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1859.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 40d4c53c37bb64ff380ce8d754cd1bf0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1860.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1860.cs new file mode 100644 index 0000000000..cf43e7bf96 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1860.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1860 : Skill + { + public const int SKILL_ID = 1860; + + public Skill1860() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1860Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 33723 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(960); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(3000); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1860Stub() : base(1860) + { + cls = 9; + name = "万物回春"; + nativename = "万物回春"; + icon = "万物回春"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2904; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_枯木逢春"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_枯木逢春击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1860Stub() { } + + public override float GetMpcost(Skill skill) => 3960f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 900000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 3960)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.0025f); + skill.GetVictim ().SetAmount (0.5f); + skill.GetVictim ().SetValue (0.5f); + skill.GetVictim ().SetChanceofrebirth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1860.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1860.cs.meta new file mode 100644 index 0000000000..020b0d369d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1860.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4fa612b4afa3b42bbbdf466e80927984 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1861.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1861.cs new file mode 100644 index 0000000000..ca27d8d7e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1861.cs @@ -0,0 +1,127 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1861 : Skill + { + public const int SKILL_ID = 1861; + + public Skill1861() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1861Stub : SkillStub + { + + + public Skill1861Stub() : base(1861) + { + cls = 9; + name = "8704031717"; + nativename = "8704031717"; + icon = ""; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "魅灵_萦风抱雾"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_萦风抱雾_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1861Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.25f + 783); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1861.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1861.cs.meta new file mode 100644 index 0000000000..e4f539d809 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1861.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7027f10bd7e1c4c4890b9b5ebdee65b5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1862.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1862.cs new file mode 100644 index 0000000000..4a7ef75e0a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1862.cs @@ -0,0 +1,164 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1862 : Skill + { + public const int SKILL_ID = 1862; + + public Skill1862() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1862Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33725 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(282); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1862Stub() : base(1862) + { + cls = 9; + name = "灵瞳"; + nativename = "灵瞳"; + icon = "灵瞳"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 2905; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_繁星"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_繁星_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1862Stub() { } + + public override float GetMpcost(Skill skill) => 282f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 282)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetDetectinvisible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (25); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1907); + skill.GetVictim ().SetAuracurse (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1862.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1862.cs.meta new file mode 100644 index 0000000000..66c27e63df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1862.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 05aeab1a91406436ea780cbd8c8e605a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1863.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1863.cs new file mode 100644 index 0000000000..f58537276d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1863.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1863 : Skill + { + public const int SKILL_ID = 1863; + + public Skill1863() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1863Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 3000000 }; + private static readonly int[] RequiredItemArray = { 33733 }; + private static readonly int[] RequiredMoneyArray = { 3000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1863Stub() : base(1863) + { + cls = 8; + name = "灵眸"; + nativename = "灵眸"; + icon = "灵眸"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 2905; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_归刃诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/状态效果/归刃诀_瞬发.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1863Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (31); + skill.GetVictim ().SetIncantiinvisibleactive (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1863.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1863.cs.meta new file mode 100644 index 0000000000..1f19a6e094 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1863.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: da469f150c40c4b81935d7b4dc7a51ea \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1870.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1870.cs new file mode 100644 index 0000000000..13d2ef1cf7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1870.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1870 : Skill + { + public const int SKILL_ID = 1870; + + public Skill1870() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1870Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 500000 }; + private static readonly int[] RequiredItemArray = { 33735 }; + private static readonly int[] RequiredMoneyArray = { 500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(24); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1870Stub() : base(1870) + { + cls = 8; + name = "剑鸣渊"; + nativename = "剑鸣渊"; + icon = "乱舞剑咒"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2906; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1870Stub() { } + + public override float GetMpcost(Skill skill) => 224f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 224)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (4 + skill.GetT0 ()); + skill.GetVictim ().SetValue (33674); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 6f; + public float GetTalent0(PlayerWrapper player) => (player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel ()) > + 40000 ? 4 : (player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel ()) / 10000; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1870.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1870.cs.meta new file mode 100644 index 0000000000..688de48dea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1870.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a7b5f95be481b4e5faab00f958cf7b55 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1907.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1907.cs new file mode 100644 index 0000000000..64ae9f0961 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1907.cs @@ -0,0 +1,126 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1907 : Skill + { + public const int SKILL_ID = 1907; + + public Skill1907() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1907Stub : SkillStub + { + + + public Skill1907Stub() : base(1907) + { + cls = 9; + name = "870403121"; + nativename = "870403121"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_八方剑影"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_八方剑影_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1907Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1907.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1907.cs.meta new file mode 100644 index 0000000000..f65594420b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill1907.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3f776ea13987a474ca95f7b5f5f22b26 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2225.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2225.cs new file mode 100644 index 0000000000..ff85f90c5f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2225.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2225 : Skill + { + public const int SKILL_ID = 2225; + + public Skill2225() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2225Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42113 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(563); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2225Stub() : base(2225) + { + cls = 9; + name = "至·昙花一现"; + nativename = "至·昙花一现"; + icon = "枯荣法"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_昙花一现"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "人物/技能/魅灵/昙花一现_花瓣.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1398, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2225Stub() { } + + public override float GetMpcost(Skill skill) => 563f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 26.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 563,3.0)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (15); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetPlantsuicide (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2225.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2225.cs.meta new file mode 100644 index 0000000000..caa43b245d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2225.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9b692cbf0e41d44b18790fca5b57be5a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2226.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2226.cs new file mode 100644 index 0000000000..368ecaded9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2226.cs @@ -0,0 +1,211 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2226 : Skill + { + public const int SKILL_ID = 2226; + + public Skill2226() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2226Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42114 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 900); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 900); + skill.SetPlus(8776); + skill.SetRatio(2.5f); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2226Stub() : base(2226) + { + cls = 9; + name = "至·再舞风云"; + nativename = "至·再舞风云"; + icon = "至·再舞风云"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 3; + rank = 22; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_再舞风云"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/再舞风云_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_再舞风云_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1729, 1); + pre_skills.Add(1727, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2226Stub() { } + + public override float GetMpcost(Skill skill) => 900f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.08f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 ()); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1622); + skill.GetVictim ().SetModifyspecskillpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => (player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel ()) * 0.00125; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2226.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2226.cs.meta new file mode 100644 index 0000000000..ce987c9181 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2226.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3f0e974dab6d14d1ca2075b607e0ca6c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2227.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2227.cs new file mode 100644 index 0000000000..476c503588 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2227.cs @@ -0,0 +1,211 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2227 : Skill + { + public const int SKILL_ID = 2227; + + public Skill2227() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2227Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42114 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 900); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 900); + skill.SetPlus(8776); + skill.SetRatio(2.5f); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2227Stub() : base(2227) + { + cls = 9; + name = "至·再舞风云"; + nativename = "至·再舞风云"; + icon = "至·再舞风云"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 3; + rank = 32; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_再舞风云"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/再舞风云_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_再舞风云_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1730, 1); + pre_skills.Add(1728, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2227Stub() { } + + public override float GetMpcost(Skill skill) => 900f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => (float)(3 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.08f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 ()); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1623); + skill.GetVictim ().SetModifyspecskillpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => (player.GetSoulpower () - player.GetLevel () * player.GetLevel () - 50 * player.GetLevel ()) * 0.00125; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2227.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2227.cs.meta new file mode 100644 index 0000000000..666901cb67 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2227.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7d533bcc7e81d48d4bf705e0d65e5c56 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2228.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2228.cs new file mode 100644 index 0000000000..2522eefe79 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2228.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2228 : Skill + { + public const int SKILL_ID = 2228; + + public Skill2228() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2228Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42111 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 225); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 225); + skill.SetPlus(6013); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2228Stub() : base(2228) + { + cls = 9; + name = "玄·青雾绕"; + nativename = "玄·青雾绕"; + icon = "碧云术仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_青雾雨"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_青雾雨_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1620, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2228Stub() { } + + public override float GetMpcost(Skill skill) => 225f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetAmount (6000); + skill.GetVictim ().SetValue (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetPoisionseed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetPuremagicattack () + 6100; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2228.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2228.cs.meta new file mode 100644 index 0000000000..d3a0f257a5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2228.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 76b8f9ea645284b0a9a88ca58bf11526 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2229.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2229.cs new file mode 100644 index 0000000000..850afb3acb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2229.cs @@ -0,0 +1,209 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2229 : Skill + { + public const int SKILL_ID = 2229; + + public Skill2229() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2229Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42112 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 225); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 225); + skill.SetPlus(6013); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2229Stub() : base(2229) + { + cls = 9; + name = "荒·青雾绕"; + nativename = "荒·青雾绕"; + icon = "碧云术魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1425; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魅灵_青雾雨"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_青雾雨_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(1621, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2229Stub() { } + + public override float GetMpcost(Skill skill) => 225f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => (float)(4 + 0.3 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetAmount (6000); + skill.GetVictim ().SetValue (skill.GetT0 () * + (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0))); + skill.GetVictim ().SetPoisionseed (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.15f); + skill.GetVictim ().SetReducewood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public int GetAttackspeed(Skill skill) => 8; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetPuremagicattack () + 4300; + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2229.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2229.cs.meta new file mode 100644 index 0000000000..92a31cd348 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2229.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 53a026d150e99491c89cb71c8f4da022 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2249.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2249.cs new file mode 100644 index 0000000000..4eb9f35805 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2249.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2249 : Skill + { + public const int SKILL_ID = 2249; + + public Skill2249() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2249Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42106 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2249Stub() : base(2249) + { + cls = 8; + name = "玄·混沌剑印"; + nativename = "玄·混沌剑印"; + icon = "玄·混沌剑印"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 25; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1121; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_剑印伤_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_剑印伤_飞行总.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_剑印伤_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1682, 1); + pre_skills.Add(1684, 1); + pre_skills.Add(1686, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2249Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurtphysicgold (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurtwoodwater (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurtfireearth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2249.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2249.cs.meta new file mode 100644 index 0000000000..0422534db3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2249.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd088075322a849a8a01474670975ce5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2250.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2250.cs new file mode 100644 index 0000000000..2d31cb9156 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2250.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2250 : Skill + { + public const int SKILL_ID = 2250; + + public Skill2250() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2250Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42107 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 70); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2250Stub() : base(2250) + { + cls = 8; + name = "荒·混沌剑印"; + nativename = "荒·混沌剑印"; + icon = "荒·混沌剑印"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 25; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1121; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_剑印伤_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_剑印伤_飞行总.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_剑印伤_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1683, 1); + pre_skills.Add(1685, 1); + pre_skills.Add(1687, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2250Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetInchurtphysicgold (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetInchurtwoodwater (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetInchurtfireearth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2250.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2250.cs.meta new file mode 100644 index 0000000000..926e2841ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2250.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e8099223a17fc46ccb61cfde1ea8e1e2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2251.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2251.cs new file mode 100644 index 0000000000..cab7764749 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2251.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2251 : Skill + { + public const int SKILL_ID = 2251; + + public Skill2251() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2251Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42110 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(63); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2251Stub() : base(2251) + { + cls = 8; + name = "至·破釜诀"; + nativename = "至·破釜诀"; + icon = "血牙剑气"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2902; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_血牙剑气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_血牙剑气_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_血牙剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1847, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2251Stub() { } + + public override float GetMpcost(Skill skill) => 163f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 163)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.4f); + skill.GetVictim ().SetSubdefencedegree2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.2f); + skill.GetVictim ().SetAddattackdegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 7; + public float GetHitrate(Skill skill) => 6f; + public float GetTalent0(PlayerWrapper player) => player.GetDefenddegree () > 50 ? player.GetDefenddegree () : 50; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2251.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2251.cs.meta new file mode 100644 index 0000000000..14d85ce371 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2251.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b15660587b5a045bc84abbab66338555 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2252.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2252.cs new file mode 100644 index 0000000000..6ff17af605 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2252.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2252 : Skill + { + public const int SKILL_ID = 2252; + + public Skill2252() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2252Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42108 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 330); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 330); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2252Stub() : base(2252) + { + cls = 8; + name = "玄·身外化身"; + nativename = "玄·身外化身"; + icon = "身外化身仙技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1139; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_身外化身二_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_身外化身二_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1694, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2252Stub() { } + + public override float GetMpcost(Skill skill) => 330f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetAbsorbdebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2252.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2252.cs.meta new file mode 100644 index 0000000000..da38427d67 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2252.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a0e65967a543f48a1aafba7f0021dd49 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2253.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2253.cs new file mode 100644 index 0000000000..f4b4d254e4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2253.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2253 : Skill + { + public const int SKILL_ID = 2253; + + public Skill2253() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2253Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42109 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 330); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 330); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2253Stub() : base(2253) + { + cls = 8; + name = "荒·身外化身"; + nativename = "荒·身外化身"; + icon = "身外化身魔技能"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 0; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1139; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_身外化身二_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_身外化身二_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1695, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2253Stub() { } + + public override float GetMpcost(Skill skill) => 330f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetAbsorbdebuff (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2253.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2253.cs.meta new file mode 100644 index 0000000000..984bfaa130 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2253.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 11b4d5069933a49998dda2a15a3d9811 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2440.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2440.cs new file mode 100644 index 0000000000..21a349c9a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2440.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2440 : Skill + { + public const int SKILL_ID = 2440; + + public Skill2440() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2440Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42281 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 756); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 756); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2440Stub() : base(2440) + { + cls = 9; + name = "玄·武神现世"; + nativename = "玄·武神现世"; + icon = "魔神蚩尤仙技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 3; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1653, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2440Stub() { } + + public override float GetMpcost(Skill skill) => 756f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetValue (42266); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2440.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2440.cs.meta new file mode 100644 index 0000000000..ef00bb9ff3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2440.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dc7064883385d43159576bdd46cbce07 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2441.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2441.cs new file mode 100644 index 0000000000..01360625ba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2441.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2441 : Skill + { + public const int SKILL_ID = 2441; + + public Skill2441() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2441Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42282 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 840); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 840); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2441Stub() : base(2441) + { + cls = 9; + name = "荒·武神现世"; + nativename = "荒·武神现世"; + icon = "魔神蚩尤魔技能"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 3; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1423; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(292); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(1657, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2441Stub() { } + + public override float GetMpcost(Skill skill) => 840f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetValue (42266); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15 + skill.GetLevel (); + public int GetAttackspeed(Skill skill) => 6; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2441.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2441.cs.meta new file mode 100644 index 0000000000..0bdb0fea77 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2441.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5419919954d0a43728ad345fd2ae622d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2442.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2442.cs new file mode 100644 index 0000000000..57190532c7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2442.cs @@ -0,0 +1,208 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2442 : Skill + { + public const int SKILL_ID = 2442; + + public Skill2442() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2442Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42260 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 75); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 75); + skill.SetPlus(1500); + skill.SetRatio(0.9f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2442Stub() : base(2442) + { + cls = 8; + name = "玄·碎石剑芒"; + nativename = "玄·碎石剑芒"; + icon = "碎石剑气仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1124; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_碎石剑气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_碎石剑气_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_碎石剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 2.3f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1698, 1); + pre_skills.Add(1670, 1); + pre_skills.Add(1676, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2442Stub() { } + + public override float GetMpcost(Skill skill) => 75f; + public override int GetExecutetime(Skill skill) => 733; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 21f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (1704); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1672); + skill.GetVictim ().SetBeattackattachstate6 (1); + skill.GetVictim ().SetProbability (1.0f * 65); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1710); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1678); + skill.GetVictim ().SetBeattackattachstate7 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2442.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2442.cs.meta new file mode 100644 index 0000000000..bc124bc72c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2442.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 469e6b8459ded40158cedd98c527b193 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2445.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2445.cs new file mode 100644 index 0000000000..a1c90ace9a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2445.cs @@ -0,0 +1,215 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2445 : Skill + { + public const int SKILL_ID = 2445; + + public Skill2445() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2445Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42261 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 75); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 733; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 75); + skill.SetPlus(1000); + skill.SetRatio(0.9f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2445Stub() : base(2445) + { + cls = 8; + name = "荒·碎石剑芒"; + nativename = "荒·碎石剑芒"; + icon = "碎石剑气魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1124; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_碎石剑气"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_碎石剑气_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_碎石剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 2.3f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1699, 1); + pre_skills.Add(1673, 1); + pre_skills.Add(1679, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2445Stub() { } + + public override float GetMpcost(Skill skill) => 75f; + public override int GetExecutetime(Skill skill) => 733; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 21f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (1705); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1675); + skill.GetVictim ().SetBeattackattachstate6 (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1711); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1681); + skill.GetVictim ().SetBeattackattachstate7 (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2445.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2445.cs.meta new file mode 100644 index 0000000000..6f062342c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2445.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fdc2e3b7de5fd410897b79005ad74d81 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2447.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2447.cs new file mode 100644 index 0000000000..7de1814f16 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2447.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2447 : Skill + { + public const int SKILL_ID = 2447; + + public Skill2447() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2447Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42262 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 70); + skill.SetPlus(1650); + skill.SetRatio(0.9f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2447Stub() : base(2447) + { + cls = 8; + name = "玄·破风剑芒"; + nativename = "玄·破风剑芒"; + icon = "破风剑气仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1125; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_破风剑气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/破风剑气_旋转剑气.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/破风剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1664, 1); + pre_skills.Add(1700, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2447Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 21f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 40); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetSubdefencedegree (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (2060); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + 0.8f * 15; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2447.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2447.cs.meta new file mode 100644 index 0000000000..998e37847d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2447.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a082cb0a65e514700aa89f300cfe9951 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2448.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2448.cs new file mode 100644 index 0000000000..d68e600be2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2448.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2448 : Skill + { + public const int SKILL_ID = 2448; + + public Skill2448() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2448Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42263 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 70); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 70); + skill.SetPlus(1650); + skill.SetRatio(0.9f); + skill.SetDamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2448Stub() : base(2448) + { + cls = 8; + name = "荒·破风剑芒"; + nativename = "荒·破风剑芒"; + icon = "破风剑气魔技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1125; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_破风剑气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/破风剑气_旋转剑气.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/破风剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1667, 1); + pre_skills.Add(1701, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2448Stub() { } + + public override float GetMpcost(Skill skill) => 70f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 21f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetSubdefencedegree (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (2060); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + 0.8f * 15; + public int GetAttackspeed(Skill skill) => 5; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2448.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2448.cs.meta new file mode 100644 index 0000000000..a1a9b7f398 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2448.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9b2df5de510974c289e834ad6d3d3db1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2449.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2449.cs new file mode 100644 index 0000000000..15ff528059 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2449.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2449 : Skill + { + public const int SKILL_ID = 2449; + + public Skill2449() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2449Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42264 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 80); + skill.SetPlus(3200); + skill.SetRatio(0.9f); + skill.SetGolddamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2449Stub() : base(2449) + { + cls = 8; + name = "玄·流光剑芒"; + nativename = "玄·流光剑芒"; + icon = "流光剑劲仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 7; + rank = 22; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1126; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_流光剑劲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_流光剑劲_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_流光剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1739, 1); + pre_skills.Add(1735, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2449Stub() { } + + public override float GetMpcost(Skill skill) => 80f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (1732); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1737); + skill.GetVictim ().SetBeattackattachstate8 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2449.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2449.cs.meta new file mode 100644 index 0000000000..cdb4c4966e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2449.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cb00fc312046249749bba4f3ae889394 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2450.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2450.cs new file mode 100644 index 0000000000..b2d1882f3a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2450.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2450 : Skill + { + public const int SKILL_ID = 2450; + + public Skill2450() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2450Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 42265 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 80); + skill.SetPlus(2600); + skill.SetRatio(0.9f); + skill.SetGolddamage(1.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2450Stub() : base(2450) + { + cls = 8; + name = "荒·流光剑芒"; + nativename = "荒·流光剑芒"; + icon = "流光剑劲仙技能"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 7; + rank = 32; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1126; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_流光剑劲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_流光剑劲_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_流光剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(1); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(1740, 1); + pre_skills.Add(1738, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2450Stub() { } + + public override float GetMpcost(Skill skill) => 80f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (1732); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (1737); + skill.GetVictim ().SetBeattackattachstate8 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 9; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2450.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2450.cs.meta new file mode 100644 index 0000000000..00bf1bf5d1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2450.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2dbe345dfafc747e692b74641d53e13f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2545.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2545.cs new file mode 100644 index 0000000000..e8ff9aad28 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2545.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2545 : Skill + { + public const int SKILL_ID = 2545; + + public Skill2545() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2545Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 29, 49, 69, 89 }; + private static readonly int[] RequiredSpArray = { 1000, 10738, 33370, 81600, 698280 }; + private static readonly int[] RequiredMoneyArray = { 110, 1090, 2980, 51980, 1091980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 201; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(14.4f + 4.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 601; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(14.4f + 4.5f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2545Stub() : base(2545) + { + cls = 10; + name = "胧"; + nativename = "胧"; + icon = "胧夜影"; + max_level = 5; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1001; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2寸力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2545Stub() { } + + public override float GetMpcost(Skill skill) => (float)(14.4 + 4.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 601; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (16000 + 3000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetValue (0.2f + 0.04f * skill.GetLevel ()); + skill.GetVictim ().SetShadowform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2545.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2545.cs.meta new file mode 100644 index 0000000000..1cb68d94c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2545.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e8f54c125a58d4ce0ad4ae9e75121154 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2547.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2547.cs new file mode 100644 index 0000000000..94e5bcd570 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2547.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2547 : Skill + { + public const int SKILL_ID = 2547; + + public Skill2547() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2547Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 7980, 11520, 15810, 21040, 27375 }; + private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-5.4f + 9 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1002; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-5.4f + 9 * skill.GetLevel())); + skill.SetPlus(3.7f * skill.GetLevel() * skill.GetLevel() + 49.8f * skill.GetLevel() + 61); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2547Stub() : base(2547) + { + cls = 10; + name = "无式"; + nativename = "无式"; + icon = "无式"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1002; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_无式_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_无式_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2547Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-5.4 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1002; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.25f * 5.5f; + public float GetHitrate(Skill skill) => 1 + skill.GetLevel () * 0.08f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2547.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2547.cs.meta new file mode 100644 index 0000000000..95316a432f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2547.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0b1fe86e07a3a46feb274ff54816d685 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2548.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2548.cs new file mode 100644 index 0000000000..27de969bdc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2548.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2548 : Skill + { + public const int SKILL_ID = 2548; + + public Skill2548() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2548Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 4, 9, 14, 19, 24, 29, 34, 39, 44, 49 }; + private static readonly int[] RequiredSpArray = { 200, 1000, 2400, 4600, 7392, 10738, 14878, 19926, 25992, 33370 }; + private static readonly int[] RequiredMoneyArray = { 20, 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-1.8f + 9 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-1.8f + 9 * skill.GetLevel())); + skill.SetPlus(6.4f * skill.GetLevel() * skill.GetLevel() + 95.6f * skill.GetLevel() + 59.1f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2548Stub() : base(2548) + { + cls = 10; + name = "夜枭"; + nativename = "夜枭"; + icon = "夜枭"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1003; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_夜枭_击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜枭_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2547, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2548Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-1.8 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 1000 : 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (10); + skill.GetVictim ().SetValue (2599); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.25f * 5.5f; + public float GetHitrate(Skill skill) => 1.1f + skill.GetLevel () * 0.08f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2548.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2548.cs.meta new file mode 100644 index 0000000000..21cf708dbb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2548.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2e7f2a008df2648ffb8494ff93696882 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2549.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2549.cs new file mode 100644 index 0000000000..3b5e0e3ee5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2549.cs @@ -0,0 +1,209 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2549 : Skill + { + public const int SKILL_ID = 2549; + + public Skill2549() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2549Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 13, 18, 23, 28, 33, 38, 43, 48, 53, 58 }; + private static readonly int[] RequiredSpArray = { 2100, 4100, 6790, 10028, 14007, 18860, 24640, 31752, 40334, 50716 }; + private static readonly int[] RequiredMoneyArray = { 220, 400, 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(14.4f + 9 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 934; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(14.4f + 9 * skill.GetLevel())); + skill.SetPlus(6.8f * skill.GetLevel() * skill.GetLevel() + 126 * skill.GetLevel() + 299); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2549Stub() : base(2549) + { + cls = 10; + name = "双合"; + nativename = "双合"; + icon = "双合"; + max_level = 10; + type = 1; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1004; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_双合_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_双合_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2548, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2549Stub() { } + + public override float GetMpcost(Skill skill) => (float)(14.4 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 934; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * ((skill.GetPlayer ().GetHp () + 0.1f) / (skill.GetPlayer ().GetMaxhp () + 0.1f)) > + ((skill.GetT0 () + 0.1f) / (skill.GetT2 () + 0.1f)) ? 0 : 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (0.15f * + (skill.GetT1 () + 6.8f * skill.GetLevel () * skill.GetLevel () + 126 * skill.GetLevel () + 299)); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (skill.GetTarget ().GetValid () == + 1 ? (((skill.GetTarget ().GetHp () + 0.1f) / (skill.GetTarget ().GetMaxhp () + 0.1f)) > + ((skill.GetT0 () + 0.1f) / (skill.GetT2 () + 0.1f)) ? 1 : 0) : 0); + skill.GetVictim ().SetValue (2615); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.2f * 5.5f; + public float GetHitrate(Skill skill) => 1.4f + skill.GetLevel () * 0.08f; + public float GetTalent0(PlayerWrapper player) => player.GetHp (); + public float GetTalent1(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2549.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2549.cs.meta new file mode 100644 index 0000000000..0124e0a3e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2549.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6ade1187b886241908f1a4d891c57a02 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2550.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2550.cs new file mode 100644 index 0000000000..c8872835b9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2550.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2550 : Skill + { + public const int SKILL_ID = 2550; + + public Skill2550() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2550Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 60, 63, 66, 69, 72, 75, 78, 81, 84, 87 }; + private static readonly int[] RequiredSpArray = { 55440, 63270, 71820, 81600, 99840, 146300, 209380, 295240, 411520, 567490 }; + private static readonly int[] RequiredMoneyArray = { 4980, 10980, 22980, 51980, 111980, 171980, 291980, 451980, 691980, 931980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(85.5f + 4.5f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2550Stub() : base(2550) + { + cls = 10; + name = "月食"; + nativename = "月食"; + icon = "月食"; + max_level = 10; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1010; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2寸力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2560, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2550Stub() { } + + public override float GetMpcost(Skill skill) => (float)(85.5 + 4.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 150000 - 6000 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (21 + skill.GetLevel ()); + skill.GetVictim ().SetInvisible (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2550.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2550.cs.meta new file mode 100644 index 0000000000..eb00fd6fbc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2550.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3cc61d92cfea5472283410079738f75a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2551.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2551.cs new file mode 100644 index 0000000000..159b25b45d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2551.cs @@ -0,0 +1,291 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2551 : Skill + { + public const int SKILL_ID = 2551; + + public Skill2551() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2551Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 53, 57, 61, 65, 69, 73, 77, 81, 85, 89 }; + private static readonly int[] RequiredSpArray = { 40334, 48447, 57997, 68750, 81600, 113950, 186390, 295240, 458250, 698280 }; + private static readonly int[] RequiredMoneyArray = { 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980, 1091980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetLvalue(skill.GetCharging()); + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.GetPlayer().SetDecmp(110.25f + 9 * skill.GetLevel()); + skill.SetPlus(5.6f * skill.GetLevel() * skill.GetLevel() + 245.5f * skill.GetLevel() + 2164.5f); + skill.SetRatio(1.95f + 0.195f * skill.GetLevel()); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(5.6f * skill.GetLevel() * skill.GetLevel() + 245.5f * skill.GetLevel() + 2164.5f); + skill.SetRatio(1.95f + 0.195f * skill.GetLevel()); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(5.6f * skill.GetLevel() * skill.GetLevel() + 245.5f * skill.GetLevel() + 2164.5f); + skill.SetRatio(1.95f + 0.195f * skill.GetLevel()); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(5.6f * skill.GetLevel() * skill.GetLevel() + 245.5f * skill.GetLevel() + 2164.5f); + skill.SetRatio(1.95f + 0.195f * skill.GetLevel()); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2551Stub() : base(2551) + { + cls = 10; + name = "狱龙牙"; + nativename = "狱龙牙"; + icon = "狱龙牙"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 3; + showorder = 1006; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_狱龙牙_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_狱龙牙_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2552, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2551Stub() { } + + public override float GetMpcost(Skill skill) => (float)(110.25 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetSection () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (skill.GetT1 () * 1.0f + 2000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6301); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetAppenddamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 4.45f * 5.5f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); + public float GetTalent1(PlayerWrapper player) => player.GetLvalue (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2551.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2551.cs.meta new file mode 100644 index 0000000000..c9160e7fcc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2551.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b28762d5714ae4d8493d39e23a2afaee \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2552.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2552.cs new file mode 100644 index 0000000000..853ebab274 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2552.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2552 : Skill + { + public const int SKILL_ID = 2552; + + public Skill2552() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2552Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 51, 55, 59, 63, 67, 71, 75, 79, 83, 87 }; + private static readonly int[] RequiredSpArray = { 36708, 44265, 53070, 63270, 75260, 92310, 146300, 235410, 369180, 567490 }; + private static readonly int[] RequiredMoneyArray = { 3180, 3580, 3980, 10980, 31980, 91980, 171980, 331980, 611980, 931980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 602; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(105.75f + 9 * skill.GetLevel()); + skill.SetPlus((skill.GetCharging() / 3000) *(5.8f * skill.GetLevel() * skill.GetLevel() + 247.5f * skill.GetLevel() + 2108.1f)); + skill.SetRatio((skill.GetCharging() / 3000) *(1.55f + 0.155f * skill.GetLevel())); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2552Stub() : base(2552) + { + cls = 10; + name = "傲斩"; + nativename = "傲斩"; + icon = "傲斩"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 3; + showorder = 1005; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_傲斩_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_傲斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2549, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2552Stub() { } + + public override float GetMpcost(Skill skill) => (float)(105.75 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 602; + public override int GetCoolingtime(Skill skill) => 25000 - 1000 * skill.GetLevel(); + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (2601 + 7000 * skill.GetT0 () / 3000); + skill.GetVictim ().SetWeapondisabled (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 2.3f + 0.05f * skill.GetLevel (); + public float GetTalent0(PlayerWrapper player) => player.GetCharging (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2552.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2552.cs.meta new file mode 100644 index 0000000000..50bf561020 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2552.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 20a47d7c6e658409393b7046b176eca7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2553.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2553.cs new file mode 100644 index 0000000000..4d13c4962d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2553.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2553 : Skill + { + public const int SKILL_ID = 2553; + + public Skill2553() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2553Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 17, 22, 27, 32, 37, 42, 47, 52, 57, 62 }; + private static readonly int[] RequiredSpArray = { 3700, 6272, 9300, 13112, 17845, 23400, 30222, 38488, 48447, 60320 }; + private static readonly int[] RequiredMoneyArray = { 360, 580, 910, 1360, 1810, 2280, 2780, 3280, 3780, 8980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(21.6f + 9 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 701; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(21.6f + 9 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2553Stub() : base(2553) + { + cls = 10; + name = "无情游"; + nativename = "无情游"; + icon = "无情游"; + max_level = 10; + type = 8; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1007; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_无情游_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/无情游_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2553Stub() { } + + public override float GetMpcost(Skill skill) => (float)(21.6 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 701; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2701); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20701); + skill.GetVictim ().SetRatio (100); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (2553); + skill.GetVictim ().SetDeathresetcd (1); + skill.GetVictim ().SetValue (0.3f * skill.GetT0 () + 3.5f * skill.GetLevel () * skill.GetLevel () + 71.5f * skill.GetLevel () + 205.8f); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + 0.9f * 5.5f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2553.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2553.cs.meta new file mode 100644 index 0000000000..f0de65074c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2553.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 76f9b3750785e4a859fd20d9b5f43f3a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2554.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2554.cs new file mode 100644 index 0000000000..96122122b1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2554.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2554 : Skill + { + public const int SKILL_ID = 2554; + + public Skill2554() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2554Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 33370, 40334, 48447, 57997, 68750, 81600, 113950, 186390, 295240, 458250 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(87.75f + 7.8f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(87.75f + 7.8f * skill.GetLevel())); + skill.SetPlus(5.2f * skill.GetLevel() * skill.GetLevel() + 218.7f * skill.GetLevel() + 1796.7f); + skill.SetRatio(0.65f + 0.065f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2554Stub() : base(2554) + { + cls = 10; + name = "邈云汉"; + nativename = "邈云汉"; + icon = "邈云汉"; + max_level = 10; + type = 1; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1011; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_邈云汉_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_邈云汉_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2553, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2554Stub() { } + + public override float GetMpcost(Skill skill) => (float)(87.75 + 7.8 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2001; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2616); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 2.25f * 5.5f; + public float GetHitrate(Skill skill) => 2.5f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2554.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2554.cs.meta new file mode 100644 index 0000000000..6f1a9b08da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2554.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 173a73fe5e8a14697b937a840f60e23f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2555.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2555.cs new file mode 100644 index 0000000000..edbe40537b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2555.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2555 : Skill + { + public const int SKILL_ID = 2555; + + public Skill2555() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2555Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 23, 28, 33, 38, 43, 48, 53, 58, 63, 68 }; + private static readonly int[] RequiredSpArray = { 6790, 10028, 14007, 18860, 24640, 31752, 40334, 50716, 63270, 78520 }; + private static readonly int[] RequiredMoneyArray = { 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880, 10980, 41980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(24.3f + 6.75f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 535; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(24.3f + 6.75f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2555Stub() : base(2555) + { + cls = 10; + name = "神照"; + nativename = "神照"; + icon = "神照"; + max_level = 10; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1020; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_神照_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/夜影_神照_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_神照_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2555Stub() { } + + public override float GetMpcost(Skill skill) => (float)(24.3 + 6.75 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 535; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetValue (13.1f * skill.GetLevel () * skill.GetLevel () + 295.6f * skill.GetLevel () + 894.4f); + skill.GetVictim ().SetDelayearthhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2555.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2555.cs.meta new file mode 100644 index 0000000000..5baecff2c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2555.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd1ba1aaa36374207b640e26b1576eba \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2556.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2556.cs new file mode 100644 index 0000000000..09c249fbf2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2556.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2556 : Skill + { + public const int SKILL_ID = 2556; + + public Skill2556() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2556Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 34, 39, 44, 49, 54, 59, 64, 69, 74, 79 }; + private static readonly int[] RequiredSpArray = { 14878, 19926, 25992, 33370, 42240, 53070, 66080, 81600, 129060, 235410 }; + private static readonly int[] RequiredMoneyArray = { 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980, 331980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(39.15f + 6.75f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 568; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(39.15f + 6.75f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2556Stub() : base(2556) + { + cls = 10; + name = "猎命"; + nativename = "猎命"; + icon = "猎命"; + max_level = 10; + type = 3; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1021; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_猎命_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/猎命_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2555, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2556Stub() { } + + public override float GetMpcost(Skill skill) => (float)(39.15 + 6.75 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 568; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8568); + skill.GetVictim ().SetRatio (6000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (skill.GetT0 () + 8.2f * skill.GetLevel () * skill.GetLevel () + 221.3f * skill.GetLevel () + 1007.7f); + skill.GetVictim ().SetHuntersoul (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2556.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2556.cs.meta new file mode 100644 index 0000000000..21956f3bb2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2556.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2528aaba0b54f4583b82d30c3fc6e65d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2557.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2557.cs new file mode 100644 index 0000000000..6ee2801d9d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2557.cs @@ -0,0 +1,293 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2557 : Skill + { + public const int SKILL_ID = 2557; + + public Skill2557() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2557Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 53070, 60320, 68750, 78520, 92310, 129060, 186390, 264000, 369180, 510180 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 68; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(151.2f + 8.1f * skill.GetLevel()); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1402; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(4.1f * skill.GetLevel() * skill.GetLevel() + 260.7f * skill.GetLevel() + 3423.6f); + skill.SetRatio(2 + 0.2f * skill.GetLevel()); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 735; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(4.1f * skill.GetLevel() * skill.GetLevel() + 260.7f * skill.GetLevel() + 3423.6f); + skill.SetRatio(2 + 0.2f * skill.GetLevel()); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 1368; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(4.1f * skill.GetLevel() * skill.GetLevel() + 260.7f * skill.GetLevel() + 3423.6f); + skill.SetRatio(2 + 0.2f * skill.GetLevel()); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 768; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(4.1f * skill.GetLevel() * skill.GetLevel() + 260.7f * skill.GetLevel() + 3423.6f); + skill.SetRatio(2 + 0.2f * skill.GetLevel()); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2557Stub() : base(2557) + { + cls = 10; + name = "定风波"; + nativename = "定风波"; + icon = "定风波"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1012; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_定风波_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/定风波_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2554, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2557Stub() { } + + public override float GetMpcost(Skill skill) => (float)(151.2 + 8.1 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (2300); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 2 ? 100 : 0)); + skill.GetVictim ().SetTime (2200); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 4 ? 100 : 0)); + skill.GetVictim ().SetTime (4801); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4306); + skill.GetVictim ().SetRatio (0.75f); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13f; + public float GetHitrate(Skill skill) => 2.5f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2557.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2557.cs.meta new file mode 100644 index 0000000000..54ba3472f8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2557.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e8c664739b89c44e0a9a30c95dfcfc7f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2558.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2558.cs new file mode 100644 index 0000000000..ce757d2969 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2558.cs @@ -0,0 +1,240 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2558 : Skill + { + public const int SKILL_ID = 2558; + + public Skill2558() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2558Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 61, 64, 67, 70, 73, 76, 79, 82, 85, 88 }; + private static readonly int[] RequiredSpArray = { 57997, 66080, 75260, 85000, 113950, 165200, 235410, 330460, 458250, 629680 }; + private static readonly int[] RequiredMoneyArray = { 6980, 12980, 31980, 71980, 131980, 211980, 331980, 531980, 771980, 1011980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(156.6f + 8.1f * skill.GetLevel()); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 501; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(3.6f * skill.GetLevel() * skill.GetLevel() + 231.1f * skill.GetLevel() + 3124.3f); + skill.SetRatio(0.95f + 0.095f * skill.GetLevel()); + skill.SetDamage(0.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 2035; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(3.6f * skill.GetLevel() * skill.GetLevel() + 231.1f * skill.GetLevel() + 3124.3f); + skill.SetRatio(0.95f + 0.095f * skill.GetLevel()); + skill.SetDamage(0.9f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2558Stub() : base(2558) + { + cls = 10; + name = "影狩"; + nativename = "影狩"; + icon = "影狩"; + max_level = 10; + type = 1; + apcost = 150; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1022; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_影狩_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_影狩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2556, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); +#endif + } + + ~Skill2558Stub() { } + + public override float GetMpcost(Skill skill) => (float)(156.6 + 8.1 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetAmount (1300); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetPullover2 (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 2 ? 100 : 0)); + skill.GetVictim ().SetTime (2834); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3.1f + skill.GetLevel () * 0.05f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2558.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2558.cs.meta new file mode 100644 index 0000000000..88901a839f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2558.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4cb20f04e0cc04f93bf1bc2a238e7740 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2559.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2559.cs new file mode 100644 index 0000000000..c258c9a3fc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2559.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2559 : Skill + { + public const int SKILL_ID = 2559; + + public Skill2559() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2559Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 34, 39, 44, 49, 54, 59, 64, 69, 74, 79 }; + private static readonly int[] RequiredSpArray = { 14878, 19926, 25992, 33370, 42240, 53070, 66080, 81600, 129060, 235410 }; + private static readonly int[] RequiredMoneyArray = { 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980, 331980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(39.15f + 6.75f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(39.15f + 6.75f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2559Stub() : base(2559) + { + cls = 10; + name = "刹那"; + nativename = "刹那"; + icon = "刹那"; + max_level = 10; + type = 8; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1008; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_刹那_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_刹那_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2553, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2559Stub() { } + + public override float GetMpcost(Skill skill) => (float)(39.15 + 6.75 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 45000 - 1500 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(15 + skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2050); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2559.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2559.cs.meta new file mode 100644 index 0000000000..32658f83bb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2559.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9ade6c45d3d92498389417e49d4fa37b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2560.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2560.cs new file mode 100644 index 0000000000..acb201d3b9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2560.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2560 : Skill + { + public const int SKILL_ID = 2560; + + public Skill2560() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2560Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 45, 49, 53, 57, 61, 65, 69, 73, 77, 81 }; + private static readonly int[] RequiredSpArray = { 27375, 33370, 40334, 48447, 57997, 68750, 81600, 113950, 186390, 295240 }; + private static readonly int[] RequiredMoneyArray = { 2580, 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(55.35f + 5.4f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1068; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(55.35f + 5.4f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2560Stub() : base(2560) + { + cls = 10; + name = "月饮"; + nativename = "月饮"; + icon = "月饮"; + max_level = 10; + type = 2; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1009; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2559, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2560Stub() { } + + public override float GetMpcost(Skill skill) => (float)(55.35 + 5.4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1068; + public override int GetCoolingtime(Skill skill) => 180000 - 6000 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (7068 + 600 * skill.GetLevel ()); + skill.GetVictim ().SetFreemove (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2859); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2560.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2560.cs.meta new file mode 100644 index 0000000000..86acbf6e26 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2560.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1391ff4a7dd374203a1a228682064907 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2561.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2561.cs new file mode 100644 index 0000000000..b1ae9b7f99 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2561.cs @@ -0,0 +1,165 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2561 : Skill + { + public const int SKILL_ID = 2561; + + public Skill2561() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2561Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 19926, 24640, 30222, 36708, 44265, 53070, 63270, 75260, 92310, 146300 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 401; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(210 + 24 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2201; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(210 + 24 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2561Stub() : base(2561) + { + cls = 10; + name = "月咏"; + nativename = "月咏"; + icon = "月咏"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1023; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2561Stub() { } + + public override float GetMpcost(Skill skill) => (float)(210 + 24 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 2201; + public override int GetCoolingtime(Skill skill) => 33000 - 3000 * skill.GetLevel(); + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (20 + 2 * skill.GetLevel ()); + skill.GetVictim ().SetCritdamagereduce (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.05f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetEnhanceskilldamage3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2561.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2561.cs.meta new file mode 100644 index 0000000000..7b3fe8a819 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2561.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f4dd5ce06f8cb40a2837607d86a2cc9f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2562.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2562.cs new file mode 100644 index 0000000000..3815c0a389 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2562.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2562 : Skill + { + public const int SKILL_ID = 2562; + + public Skill2562() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2562Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 235410 }; + private static readonly int[] RequiredItemArray = { 46080 }; + private static readonly int[] RequiredMoneyArray = { 331980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 71.1f); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 501; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 71.1f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2562Stub() : base(2562) + { + cls = 10; + name = "水月镜花"; + nativename = "水月镜花"; + icon = "水月镜花"; + max_level = 1; + type = 12; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1024; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_nobreak = 1; + effect = "夜影_水月镜花_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/水月镜花_飞行电弧.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2562Stub() { } + + public override float GetMpcost(Skill skill) => 71.1f; + public override int GetExecutetime(Skill skill) => 535; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; + public void ComboSkEndAction(Skill skill) + { + skill.GetPlayer().GetComboarg().SetValue(0, skill.GetPlayer().GetRand()); + } +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2562.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2562.cs.meta new file mode 100644 index 0000000000..517c95daea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2562.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fa35f322c8e2c426d9f7ecb0a1c3e8f7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2563.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2563.cs new file mode 100644 index 0000000000..b621bf96f1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2563.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2563 : Skill + { + public const int SKILL_ID = 2563; + + public Skill2563() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2563Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7392, 10738, 14878, 19926, 25992, 33370, 42240, 53070, 66080 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(31.5f + 11.25f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 502; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(31.5f + 11.25f * skill.GetLevel())); + skill.SetPlus(6.8f * skill.GetLevel() * skill.GetLevel() + 142.8f * skill.GetLevel() + 346.4f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2563Stub() : base(2563) + { + cls = 10; + name = "长风"; + nativename = "长风"; + icon = "长风"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1013; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_长风_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_长风_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 4; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2563Stub() { } + + public override float GetMpcost(Skill skill) => (float)(31.5 + 11.25 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 502; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 1000 : 6000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange() - 1); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3502); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.4f + 0.06f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2563.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2563.cs.meta new file mode 100644 index 0000000000..d9b1bdec0e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2563.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8b4a63d9805fb477a9ac7f873f24cfbe \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2564.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2564.cs new file mode 100644 index 0000000000..4fb3338296 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2564.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2564 : Skill + { + public const int SKILL_ID = 2564; + + public Skill2564() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2564Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7392, 10738, 14878, 19926, 25992, 33370, 42240, 53070, 66080 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(33.6f + 12 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 501; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(33.6f + 12 * skill.GetLevel())); + skill.SetPlus(7.2f * skill.GetLevel() * skill.GetLevel() + 151.7f * skill.GetLevel() + 368.1f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2564Stub() : base(2564) + { + cls = 10; + name = "九歌"; + nativename = "九歌"; + icon = "九歌"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1014; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2563; + combosk_interval = 6000; + effect = "夜影_九歌_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/定风波_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(2563, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2564Stub() { } + + public override float GetMpcost(Skill skill) => (float)(33.6 + 12 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 501; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 1000 : 6000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 90); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange() - 1); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-5); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.4f + 0.06f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2564.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2564.cs.meta new file mode 100644 index 0000000000..86acb58d19 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2564.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 894482fd92dc3433dbb53a374355032b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2565.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2565.cs new file mode 100644 index 0000000000..42cc7d3949 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2565.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2565 : Skill + { + public const int SKILL_ID = 2565; + + public Skill2565() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2565Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 10738, 14878, 19926, 25992, 33370, 42240, 53070, 66080, 81600, 129060 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(64.8f + 13.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(64.8f + 13.5f * skill.GetLevel())); + skill.SetPlus(8.5f * skill.GetLevel() * skill.GetLevel() + 212.5f * skill.GetLevel() + 823.9f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2565Stub() : base(2565) + { + cls = 10; + name = "应龙"; + nativename = "应龙"; + icon = "应龙"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1017; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2564; + combosk_interval = 6000; + effect = "夜影_应龙_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_应龙_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(2564, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2565Stub() { } + + public override float GetMpcost(Skill skill) => (float)(64.8 + 13.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => (float)(1.5 + 0.15 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.7f + 0.06f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2565.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2565.cs.meta new file mode 100644 index 0000000000..2ac26df52c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2565.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6389198d94c2246bfacbaee8559d7071 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2566.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2566.cs new file mode 100644 index 0000000000..94974d119a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2566.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2566 : Skill + { + public const int SKILL_ID = 2566; + + public Skill2566() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2566Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 42, 46, 50, 54, 58, 62, 66, 70, 74, 78 }; + private static readonly int[] RequiredSpArray = { 23400, 28786, 35000, 42240, 50716, 60320, 71820, 85000, 129060, 209380 }; + private static readonly int[] RequiredMoneyArray = { 2280, 2680, 3080, 3480, 3880, 8980, 22980, 71980, 151980, 291980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(68.4f + 7.2f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1101; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(68.4f + 7.2f * skill.GetLevel())); + skill.SetPlus(5.4f * skill.GetLevel() * skill.GetLevel() + 205.2f * skill.GetLevel() + 1465.2f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2566Stub() : base(2566) + { + cls = 10; + name = "列星"; + nativename = "列星"; + icon = "列星"; + max_level = 10; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1018; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2564; + combosk_interval = 6000; + effect = "夜影_列星_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/列星_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2564, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2566Stub() { } + + public override float GetMpcost(Skill skill) => (float)(68.4 + 7.2 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1101; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8101); + skill.GetVictim ().SetRatio (0.1f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.35f * 5.5f; + public float GetHitrate(Skill skill) => 2.4f + skill.GetLevel () * 0.06f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2566.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2566.cs.meta new file mode 100644 index 0000000000..4071a2ab91 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2566.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 69a4fd5ddec0549ecb25cfd2cab8ab56 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2567.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2567.cs new file mode 100644 index 0000000000..794d7317b9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2567.cs @@ -0,0 +1,263 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2567 : Skill + { + public const int SKILL_ID = 2567; + + public Skill2567() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2567Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 42, 46, 50, 54, 58, 62, 66, 70, 74, 78 }; + private static readonly int[] RequiredSpArray = { 23400, 28786, 35000, 42240, 50716, 60320, 71820, 85000, 129060, 209380 }; + private static readonly int[] RequiredMoneyArray = { 2280, 2680, 3080, 3480, 3880, 8980, 22980, 71980, 151980, 291980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(68.4f + 7.2f * skill.GetLevel()); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(5.6f * skill.GetLevel() * skill.GetLevel() + 213.6f * skill.GetLevel() + 1524); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 234; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(5.6f * skill.GetLevel() * skill.GetLevel() + 213.6f * skill.GetLevel() + 1524); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 468; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(5.6f * skill.GetLevel() * skill.GetLevel() + 213.6f * skill.GetLevel() + 1524); + skill.SetDamage(0.5f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2567Stub() : base(2567) + { + cls = 10; + name = "恨天"; + nativename = "恨天"; + icon = "恨天"; + max_level = 10; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1019; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2564; + combosk_interval = 6000; + effect = "夜影_恨天_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_恨天_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2564, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); +#endif + } + + ~Skill2567Stub() { } + + public override float GetMpcost(Skill skill) => (float)(68.4 + 7.2 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 3 ? 100 : 0)); + skill.GetVictim ().SetTime (2402); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1004); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.25f * 5.5f; + public float GetHitrate(Skill skill) => 2.4f + skill.GetLevel () * 0.06f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2567.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2567.cs.meta new file mode 100644 index 0000000000..79d81f393c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2567.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bc97907940ba24c9cb14bdc1a60718d3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2568.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2568.cs new file mode 100644 index 0000000000..49231ffbf4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2568.cs @@ -0,0 +1,215 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2568 : Skill + { + public const int SKILL_ID = 2568; + + public Skill2568() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2568Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 33370, 40334, 48447, 57997, 68750, 81600, 113950, 186390, 295240, 458250 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(87.75f + 7.8f * skill.GetLevel()); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 601; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(5.6f * skill.GetLevel() * skill.GetLevel() + 234.2f * skill.GetLevel() + 1924.8f); + skill.SetRatio(0.3f + 0.03f * skill.GetLevel()); + skill.SetDamage(0.4f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 868; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(5.6f * skill.GetLevel() * skill.GetLevel() + 234.2f * skill.GetLevel() + 1924.8f); + skill.SetRatio(0.3f + 0.03f * skill.GetLevel()); + skill.SetDamage(0.6f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2568Stub() : base(2568) + { + cls = 10; + name = "苍鸟"; + nativename = "苍鸟"; + icon = "苍鸟"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 7; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1015; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2563; + combosk_interval = 6000; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2563, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); +#endif + } + + ~Skill2568Stub() { } + + public override float GetMpcost(Skill skill) => (float)(87.75 + 7.8 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1469); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.7f * 5.5f; + public float GetHitrate(Skill skill) => 2.3f + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2568.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2568.cs.meta new file mode 100644 index 0000000000..0d70acbd28 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2568.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7e274b4c3424d4d3899a7730e51a09e4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2569.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2569.cs new file mode 100644 index 0000000000..6bf8a46316 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2569.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2569 : Skill + { + public const int SKILL_ID = 2569; + + public Skill2569() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2569Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 53070, 60320, 68750, 78520, 92310, 129060, 186390, 264000, 369180, 510180 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 201; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(134.4f + 7.2f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1401; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(134.4f + 7.2f * skill.GetLevel())); + skill.SetPlus(3.3f * skill.GetLevel() * skill.GetLevel() + 205.1f * skill.GetLevel() + 2694.2f); + skill.SetRatio(0.35f + 0.035f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2569Stub() : base(2569) + { + cls = 10; + name = "大荒"; + nativename = "大荒"; + icon = "大荒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1016; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2563; + combosk_interval = 6000; + effect = "夜影_大荒_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_大荒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2563, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2569Stub() { } + + public override float GetMpcost(Skill skill) => (float)(134.4 + 7.2 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1401; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 50 ? 100 : 0); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 50 ? 0 : 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4401); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 2.5f + 0.05f * skill.GetLevel (); + public float GetTalent0(PlayerWrapper player) => player.GetRand (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2569.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2569.cs.meta new file mode 100644 index 0000000000..78db50d9b1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2569.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3a15b856eb265472093464edf195ade8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2570.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2570.cs new file mode 100644 index 0000000000..0632b9af96 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2570.cs @@ -0,0 +1,161 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2570 : Skill + { + public const int SKILL_ID = 2570; + + public Skill2570() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2570Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 9, 29, 49, 69, 89 }; + private static readonly int[] RequiredSpArray = { 1000, 10738, 33370, 81600, 698280 }; + private static readonly int[] RequiredMoneyArray = { 110, 1090, 2980, 51980, 1091980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(1.5f + 30 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 535; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(1.5f + 30 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2570Stub() : base(2570) + { + cls = 11; + name = "胧"; + nativename = "胧"; + icon = "胧夜影"; + max_level = 5; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1001; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2570Stub() { } + + public override float GetMpcost(Skill skill) => (float)(1.5 + 30 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 535; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 20f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (16000 + 3000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.04f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0.6f * skill.GetLevel ()); + skill.GetVictim ().SetFairyform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2570.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2570.cs.meta new file mode 100644 index 0000000000..157a0bc44b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2570.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 692080c029b514fccb5b0c28765be44f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2571.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2571.cs new file mode 100644 index 0000000000..49e79f55e9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2571.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2571 : Skill + { + public const int SKILL_ID = 2571; + + public Skill2571() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2571Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 7980, 11520, 15810, 21040, 27375 }; + private static readonly int[] RequiredMoneyArray = { 0, 30, 130, 280, 480, 730, 1180, 1630, 2080, 2580 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1150; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-9 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 802; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-9 + 15 * skill.GetLevel())); + skill.SetPlus(5.3f * skill.GetLevel() * skill.GetLevel() + 71.1f * skill.GetLevel() + 38); + skill.SetRatio(0.6f + 0.06f * skill.GetLevel()); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage((skill.GetPlayer().GetForm() == 1 ? 1.2f : 0.9f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2571Stub() : base(2571) + { + cls = 11; + name = "朔光咏"; + nativename = "朔光咏"; + icon = "朔光咏"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1003; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_朔光咏_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/朔光咏_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/云起咏_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 7000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2571Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-9 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 802; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2571.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2571.cs.meta new file mode 100644 index 0000000000..2a4a9bb730 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2571.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6d277317552c24cb0b59f5e7956ec7b2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2572.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2572.cs new file mode 100644 index 0000000000..c3aaea72a6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2572.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2572 : Skill + { + public const int SKILL_ID = 2572; + + public Skill2572() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2572Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 17, 22, 27, 32, 37, 42, 47, 52, 57, 62 }; + private static readonly int[] RequiredSpArray = { 3700, 6272, 9300, 13112, 17845, 23400, 30222, 38488, 48447, 60320 }; + private static readonly int[] RequiredMoneyArray = { 360, 580, 910, 1360, 1810, 2280, 2780, 3280, 3780, 8980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(36 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(36 + 15 * skill.GetLevel())); + skill.SetPlus(9.7f * skill.GetLevel() * skill.GetLevel() + 196.1f * skill.GetLevel() + 564); + skill.SetRatio(0.85f + 0.085f * skill.GetLevel()); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage((skill.GetPlayer().GetForm() == 1 ? 1.2f : 0.9f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2572Stub() : base(2572) + { + cls = 11; + name = "云起咏"; + nativename = "云起咏"; + icon = "云起咏"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1004; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_云起咏_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/云起咏_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/云起咏_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2571, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2572Stub() { } + + public override float GetMpcost(Skill skill) => (float)(36 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11001); + skill.GetVictim ().SetRatio (skill.GetT0 () == 15 ? 0.4f : (skill.GetT0 () == 11 ? 0.37f : (skill.GetT0 () == 7 ? 0.33f : 0.3f))); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2572.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2572.cs.meta new file mode 100644 index 0000000000..7d1518921a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2572.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0200d28137ad34eee8e05e99834af72e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2573.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2573.cs new file mode 100644 index 0000000000..3f593ae64a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2573.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2573 : Skill + { + public const int SKILL_ID = 2573; + + public Skill2573() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2573Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 25, 30, 35, 40, 45, 50, 55, 60, 65, 70 }; + private static readonly int[] RequiredSpArray = { 7980, 11520, 15810, 21040, 27375, 35000, 44265, 55440, 68750, 85000 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 730, 1180, 1630, 2080, 2580, 3080, 3580, 4980, 14980, 71980 }; + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(90 + 22.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(90 + 22.5f * skill.GetLevel())); + skill.SetPlus(7.7f * skill.GetLevel() * skill.GetLevel() + 179.6f * skill.GetLevel() + 595.4f); + skill.SetRatio(0.85f + 0.085f * skill.GetLevel()); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2573Stub() : base(2573) + { + cls = 11; + name = "鸣音咏"; + nativename = "鸣音咏"; + icon = "鸣音咏"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 2; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 1005; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_鸣吟咏_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/鸣吟咏_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2572, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2573Stub() { } + + public override float GetMpcost(Skill skill) => (float)(90 + 22.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 + 0.4 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11001); + skill.GetVictim ().SetRatio (skill.GetT0 () == 11 ? 0.43f : 0.25f); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (7001); + skill.GetVictim ().SetRatio (skill.GetT0 () == 11 ? 0.22f : 0.14f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2573.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2573.cs.meta new file mode 100644 index 0000000000..df68611126 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2573.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 105894f6ed18a47d3b733f4214390b36 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2574.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2574.cs new file mode 100644 index 0000000000..36f308a09c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2574.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2574 : Skill + { + public const int SKILL_ID = 2574; + + public Skill2574() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2574Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 33, 38, 43, 48, 53, 58, 63, 68, 73, 78 }; + private static readonly int[] RequiredSpArray = { 14007, 18860, 24640, 31752, 40334, 50716, 63270, 78520, 113950, 209380 }; + private static readonly int[] RequiredMoneyArray = { 1450, 1900, 2380, 2880, 3380, 3880, 10980, 41980, 131980, 291980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(126 + 22.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1002; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(126 + 22.5f * skill.GetLevel())); + skill.SetPlus(7.3f * skill.GetLevel() * skill.GetLevel() + 194.4f * skill.GetLevel() + 859.5f); + skill.SetRatio(0.85f + 0.085f * skill.GetLevel()); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2574Stub() : base(2574) + { + cls = 11; + name = "望月咏"; + nativename = "望月咏"; + icon = "望月咏"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 2; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1006; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_望月咏_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/望月咏_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(2573, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2574Stub() { } + + public override float GetMpcost(Skill skill) => (float)(126 + 22.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1002; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => (float)(1.5 + 0.15 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(14 + 0.6 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(12 + 0.6 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2574.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2574.cs.meta new file mode 100644 index 0000000000..a4f01128c6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2574.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e8ffc9cf53315443dac194b9160dfc34 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2575.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2575.cs new file mode 100644 index 0000000000..bffa0671b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2575.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2575 : Skill + { + public const int SKILL_ID = 2575; + + public Skill2575() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2575Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 44, 48, 52, 56, 60, 64, 68, 72, 76, 80 }; + private static readonly int[] RequiredSpArray = { 25992, 31752, 38488, 46336, 55440, 66080, 78520, 99840, 165200, 264000 }; + private static readonly int[] RequiredMoneyArray = { 2480, 2880, 3280, 3680, 4980, 12980, 41980, 111980, 211980, 371980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(180 + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 801; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(180 + 18 * skill.GetLevel())); + skill.SetPlus(6.2f * skill.GetLevel() * skill.GetLevel() + 242 * skill.GetLevel() + 1803.1f); + skill.SetRatio(1.1f + 0.11f * skill.GetLevel()); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2575Stub() : base(2575) + { + cls = 11; + name = "雷霆万钧"; + nativename = "雷霆万钧"; + icon = "雷霆万钧"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 2; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1009; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_雷霆万钧_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/雷霆万钧_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(2574, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2575Stub() { } + + public override float GetMpcost(Skill skill) => (float)(180 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 801; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => (float)(5 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (25); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (0.2f * skill.GetT0 () + 6.2f * skill.GetLevel () * skill.GetLevel () + 242 * skill.GetLevel () + 1803.1f); + skill.GetVictim ().SetInternalinjury (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 22.5f + 1.4f * skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2575.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2575.cs.meta new file mode 100644 index 0000000000..f57f297c13 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2575.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8dfc488281fce435e925f98331a7c484 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2576.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2576.cs new file mode 100644 index 0000000000..6e47fc5dae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2576.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2576 : Skill + { + public const int SKILL_ID = 2576; + + public Skill2576() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2576Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 53, 56, 59, 62, 65, 68, 71, 74, 77, 80 }; + private static readonly int[] RequiredSpArray = { 40334, 46336, 53070, 60320, 68750, 78520, 92310, 129060, 186390, 264000 }; + private static readonly int[] RequiredMoneyArray = { 3380, 3680, 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(225 + 13.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1468; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(225 + 13.5f * skill.GetLevel())); + skill.SetPlus(3.3f * skill.GetLevel() * skill.GetLevel() + 196.5f * skill.GetLevel() + 2349.9f); + skill.SetRatio(0.85f + 0.085f * skill.GetLevel()); + skill.SetGolddamage((skill.GetPlayer().GetBalls() == 3 ? 1.2f : 1) * skill.GetMagicattack()); + skill.GetPlayer().SetAddball(5); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2576Stub() : base(2576) + { + cls = 11; + name = "冰极雷暴"; + nativename = "冰极雷暴"; + icon = "冰极雷暴"; + max_level = 10; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1010; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_冰极雷暴_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/月仙_冰极雷暴_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_冰极雷暴_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2575, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2576Stub() { } + + public override float GetMpcost(Skill skill) => (float)(225 + 13.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1468; + public override int GetCoolingtime(Skill skill) => 18000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2576.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2576.cs.meta new file mode 100644 index 0000000000..5939377fe1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2576.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 87022887a6b77470fa8d73da6c997c35 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2577.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2577.cs new file mode 100644 index 0000000000..ad530935cc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2577.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2577 : Skill + { + public const int SKILL_ID = 2577; + + public Skill2577() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2577Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 61, 64, 67, 70, 73, 76, 79, 82, 85, 88 }; + private static readonly int[] RequiredSpArray = { 57997, 66080, 75260, 85000, 113950, 165200, 235410, 330460, 458250, 629680 }; + private static readonly int[] RequiredMoneyArray = { 6980, 12980, 31980, 71980, 131980, 211980, 331980, 531980, 771980, 1011980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 401; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(313.2f + 16.2f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(313.2f + 16.2f * skill.GetLevel())); + skill.GetPlayer().SetAddball(5); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2577Stub() : base(2577) + { + cls = 11; + name = "崩雷祭祀"; + nativename = "崩雷祭祀"; + icon = "崩雷祭祀"; + max_level = 10; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1011; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙男_崩雷祭祀_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/莽月城图腾兽_普通击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2576, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2577Stub() { } + + public override float GetMpcost(Skill skill) => (float)(313.2 + 16.2 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (13001); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (45990); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2577.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2577.cs.meta new file mode 100644 index 0000000000..3d3c7a76bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2577.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 89516438c07ff4e62bbf180edd67c8ab \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2578.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2578.cs new file mode 100644 index 0000000000..40fd67ce54 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2578.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2578 : Skill + { + public const int SKILL_ID = 2578; + + public Skill2578() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2578Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 19926, 24640, 30222, 36708, 44265, 53070, 63270, 75260, 92310, 146300 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(105 + 12 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(105 + 12 * skill.GetLevel())); + skill.GetPlayer().SetAddball(5); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2578Stub() : base(2578) + { + cls = 11; + name = "蚀骨月毒"; + nativename = "蚀骨月毒"; + icon = "蚀骨月毒"; + max_level = 10; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1007; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_蚀骨月毒_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/蚀骨月毒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2574, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2578Stub() { } + + public override float GetMpcost(Skill skill) => (float)(105 + 12 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 45000 - 1500 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10001); + skill.GetVictim ().SetRatio (1000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (3000); + skill.GetVictim ().SetIntervalpalsy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2578.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2578.cs.meta new file mode 100644 index 0000000000..413ab86c79 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2578.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 60effaafc911849089b476b62920ece2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2579.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2579.cs new file mode 100644 index 0000000000..9ac559112f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2579.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2579 : Skill + { + public const int SKILL_ID = 2579; + + public Skill2579() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2579Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 4, 9, 14, 19, 24, 29, 34, 39, 44, 49 }; + private static readonly int[] RequiredSpArray = { 200, 1000, 2400, 4600, 7392, 10738, 14878, 19926, 25992, 33370 }; + private static readonly int[] RequiredMoneyArray = { 20, 110, 250, 440, 680, 1090, 1540, 1990, 2480, 2980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(-3 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(-3 + 15 * skill.GetLevel())); + skill.SetPlus(5.3f * skill.GetLevel() * skill.GetLevel() + 79.6f * skill.GetLevel() + 98.3f); + skill.SetRatio(0.6f + 0.06f * skill.GetLevel()); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage((skill.GetPlayer().GetForm() == 1 ? 1.2f : 0.9f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2579Stub() : base(2579) + { + cls = 11; + name = "月诗引"; + nativename = "月诗引"; + icon = "月诗引"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1014; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_月诗引_击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/月诗引_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月诗引_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 7000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2579Stub() { } + + public override float GetMpcost(Skill skill) => (float)(-3 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6001); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2579.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2579.cs.meta new file mode 100644 index 0000000000..ed1bc3fe0d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2579.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8ab378ee16fe848d59e4fc1d85e73dcc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2580.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2580.cs new file mode 100644 index 0000000000..402bf9e6a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2580.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2580 : Skill + { + public const int SKILL_ID = 2580; + + public Skill2580() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2580Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 13, 18, 23, 28, 33, 38, 43, 48, 53, 58 }; + private static readonly int[] RequiredSpArray = { 2100, 4100, 6790, 10028, 14007, 18860, 24640, 31752, 40334, 50716 }; + private static readonly int[] RequiredMoneyArray = { 220, 400, 630, 1000, 1450, 1900, 2380, 2880, 3380, 3880 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(24 + 15 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(24 + 15 * skill.GetLevel())); + skill.SetPlus(9.1f * skill.GetLevel() * skill.GetLevel() + 169.9f * skill.GetLevel() + 403.2f); + skill.SetRatio(0.85f + 0.085f * skill.GetLevel()); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage((skill.GetPlayer().GetForm() == 1 ? 1.2f : 0.9f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2580Stub() : base(2580) + { + cls = 11; + name = "冰轮引"; + nativename = "冰轮引"; + icon = "冰轮引"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 1; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1015; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = true; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_冰轮引_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/冰轮引_飞行02.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冰轮引_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2579, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2580Stub() { } + + public override float GetMpcost(Skill skill) => (float)(24 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT0 () == 3 ? 6000 : (skill.GetT0 () == 7 ? 5301 : (skill.GetT0 () == 11 ? 4700 : 4000))); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2580.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2580.cs.meta new file mode 100644 index 0000000000..18fc78b212 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2580.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 461d3d71438b9401bb1506665f665a76 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2581.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2581.cs new file mode 100644 index 0000000000..d42bccc710 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2581.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2581 : Skill + { + public const int SKILL_ID = 2581; + + public Skill2581() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2581Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 22, 27, 32, 37, 42, 47, 52, 57, 62, 67 }; + private static readonly int[] RequiredSpArray = { 6272, 9300, 13112, 17845, 23400, 30222, 38488, 48447, 60320, 75260 }; + private static readonly int[] RequiredMoneyArray = { 580, 910, 1360, 1810, 2280, 2780, 3280, 3780, 8980, 31980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(76.5f + 22.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(76.5f + 22.5f * skill.GetLevel())); + skill.SetPlus(7.7f * skill.GetLevel() * skill.GetLevel() + 170.4f * skill.GetLevel() + 490.5f); + skill.SetRatio(0.85f + 0.085f * skill.GetLevel()); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2581Stub() : base(2581) + { + cls = 11; + name = "月汐引"; + nativename = "月汐引"; + icon = "月汐引"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1016; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_月汐引_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月汐引_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2580, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2581Stub() { } + + public override float GetMpcost(Skill skill) => (float)(76.5 + 22.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => (float)(8 + 0.4 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 + 0.4 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetT0 () == 7 ? 11 : 9); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetAmount (1501); + skill.GetVictim ().SetValue (skill.GetT0 () == 7 ? 11 : 9); + skill.GetVictim ().SetRepel2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2581.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2581.cs.meta new file mode 100644 index 0000000000..bdf587b8cf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2581.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4ecb8d918ba924bc79073a4b2e581196 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2582.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2582.cs new file mode 100644 index 0000000000..6c5986c3f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2582.cs @@ -0,0 +1,263 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2582 : Skill + { + public const int SKILL_ID = 2582; + + public Skill2582() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2582Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 33, 38, 43, 48, 53, 58, 63, 68, 73, 78 }; + private static readonly int[] RequiredSpArray = { 14007, 18860, 24640, 31752, 40334, 50716, 63270, 78520, 113950, 209380 }; + private static readonly int[] RequiredMoneyArray = { 1450, 1900, 2380, 2880, 3380, 3880, 10980, 41980, 131980, 291980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 934; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(126 + 22.5f * skill.GetLevel()); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 568; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(7.4f * skill.GetLevel() * skill.GetLevel() + 195.9f * skill.GetLevel() + 866.1f); + skill.SetRatio(0.9f + 0.09f * skill.GetLevel()); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage(0.25f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 468; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(7.4f * skill.GetLevel() * skill.GetLevel() + 195.9f * skill.GetLevel() + 866.1f); + skill.SetRatio(0.9f + 0.09f * skill.GetLevel()); + skill.SetWaterdamage(0.25f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 535; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(7.4f * skill.GetLevel() * skill.GetLevel() + 195.9f * skill.GetLevel() + 866.1f); + skill.SetRatio(0.9f + 0.09f * skill.GetLevel()); + skill.SetWaterdamage(0.5f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2582Stub() : base(2582) + { + cls = 11; + name = "蜓水引"; + nativename = "蜓水引"; + icon = "蜓水引"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 4; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1017; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_蜓水引_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/蜓水引_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(2581, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); +#endif + } + + ~Skill2582Stub() { } + + public override float GetMpcost(Skill skill) => (float)(126 + 22.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => (float)(1.5 + 0.15 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => (float)(14 + 0.6 * skill.GetLevel()); + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(12 + 0.6 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 33 ? 100 : 0); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 33 ? 0 : 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetBefrozen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetRand (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2582.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2582.cs.meta new file mode 100644 index 0000000000..14ba2f1915 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2582.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 80648401a0e854bf38e568c13bbcfec2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2583.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2583.cs new file mode 100644 index 0000000000..53212b3a3c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2583.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2583 : Skill + { + public const int SKILL_ID = 2583; + + public Skill2583() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2583Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 44, 48, 52, 56, 60, 64, 68, 72, 76, 80 }; + private static readonly int[] RequiredSpArray = { 25992, 31752, 38488, 46336, 55440, 66080, 78520, 99840, 165200, 264000 }; + private static readonly int[] RequiredMoneyArray = { 2480, 2880, 3280, 3680, 4980, 12980, 41980, 111980, 211980, 371980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1334; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(180 + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1134; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(180 + 18 * skill.GetLevel())); + skill.SetPlus(5.9f * skill.GetLevel() * skill.GetLevel() + 229.5f * skill.GetLevel() + 1710.3f); + skill.SetRatio(0.85f + 0.085f * skill.GetLevel()); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2583Stub() : base(2583) + { + cls = 11; + name = "万类霜天"; + nativename = "万类霜天"; + icon = "万类霜天"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 4; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1018; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_万类霜天_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/万类霜天_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(2582, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2583Stub() { } + + public override float GetMpcost(Skill skill) => (float)(180 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1134; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => (float)(5 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 22.5f + 1.4f * skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2583.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2583.cs.meta new file mode 100644 index 0000000000..a837d2491a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2583.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c8d6150e29166446ab771ce2f512c63f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2584.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2584.cs new file mode 100644 index 0000000000..2db9bacaa3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2584.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2584 : Skill + { + public const int SKILL_ID = 2584; + + public Skill2584() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2584Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 53, 56, 59, 62, 65, 68, 71, 74, 77, 80 }; + private static readonly int[] RequiredSpArray = { 40334, 46336, 53070, 60320, 68750, 78520, 92310, 129060, 186390, 264000 }; + private static readonly int[] RequiredMoneyArray = { 3380, 3680, 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(225 + 13.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1468; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(225 + 13.5f * skill.GetLevel())); + skill.SetPlus(3.3f * skill.GetLevel() * skill.GetLevel() + 196.5f * skill.GetLevel() + 2349.9f); + skill.SetRatio(0.85f + 0.085f * skill.GetLevel()); + skill.SetWaterdamage((skill.GetPlayer().GetBalls() == 15 ? 1.2f : 1) * skill.GetMagicattack()); + skill.GetPlayer().SetAddball(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2584Stub() : base(2584) + { + cls = 11; + name = "雷极冰暴"; + nativename = "雷极冰暴"; + icon = "雷极冰暴"; + max_level = 10; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1019; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_雷极冰暴_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/月仙_雷极冰暴_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_雷极冰爆_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2583, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2584Stub() { } + + public override float GetMpcost(Skill skill) => (float)(225 + 13.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1468; + public override int GetCoolingtime(Skill skill) => 18000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2584.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2584.cs.meta new file mode 100644 index 0000000000..f79b474be3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2584.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd0affbce4d22404c9f3a86a003a3f83 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2585.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2585.cs new file mode 100644 index 0000000000..88d248779c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2585.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2585 : Skill + { + public const int SKILL_ID = 2585; + + public Skill2585() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2585Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 61, 64, 67, 70, 73, 76, 79, 82, 85, 88 }; + private static readonly int[] RequiredSpArray = { 57997, 66080, 75260, 85000, 113950, 165200, 235410, 330460, 458250, 629680 }; + private static readonly int[] RequiredMoneyArray = { 6980, 12980, 31980, 71980, 131980, 211980, 331980, 531980, 771980, 1011980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 401; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(313.2f + 16.2f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(313.2f + 16.2f * skill.GetLevel())); + skill.GetPlayer().SetAddball(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2585Stub() : base(2585) + { + cls = 11; + name = "涡漩祭祀"; + nativename = "涡漩祭祀"; + icon = "涡漩祭祀"; + max_level = 10; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1020; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙男_涡漩祭祀_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/莽月城王后_普攻2击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2584, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2585Stub() { } + + public override float GetMpcost(Skill skill) => (float)(313.2 + 16.2 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 45000 - 1500 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (13001); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (45989); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2585.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2585.cs.meta new file mode 100644 index 0000000000..544c661ef5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2585.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 526c7dca12ae442fba99181d0a701a0a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2586.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2586.cs new file mode 100644 index 0000000000..9bd20daf97 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2586.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2586 : Skill + { + public const int SKILL_ID = 2586; + + public Skill2586() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2586Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 39, 43, 47, 51, 55, 59, 63, 67, 71, 75 }; + private static readonly int[] RequiredSpArray = { 19926, 24640, 30222, 36708, 44265, 53070, 63270, 75260, 92310, 146300 }; + private static readonly int[] RequiredMoneyArray = { 1990, 2380, 2780, 3180, 3580, 3980, 10980, 31980, 91980, 171980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1534; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(262.5f + 30 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1268; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(262.5f + 30 * skill.GetLevel())); + skill.GetPlayer().SetAddball(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2586Stub() : base(2586) + { + cls = 11; + name = "广寒之护"; + nativename = "广寒之护"; + icon = "广寒之护"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 4; + rank = 4; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1022; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_广寒之护_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/广寒之护_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2596, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2586Stub() { } + + public override float GetMpcost(Skill skill) => (float)(262.5 + 30 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1268; + public override int GetCoolingtime(Skill skill) => 33000 - 3000 * skill.GetLevel(); + public float GetRadius(Skill skill) => (float)(10 + 0.6 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(8 + 0.6 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (10 + skill.GetLevel ()); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetAtkdamagereduce (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2586.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2586.cs.meta new file mode 100644 index 0000000000..c9c9c05388 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2586.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f934bcbf3e3654a1d8b5d1865472f0dc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2587.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2587.cs new file mode 100644 index 0000000000..2a407ad100 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2587.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2587 : Skill + { + public const int SKILL_ID = 2587; + + public Skill2587() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2587Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 53070, 60320, 68750, 78520, 92310, 129060, 186390, 264000, 369180, 510180 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(336 + 18 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1402; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(336 + 18 * skill.GetLevel())); + skill.SetPlus(0.5f *(5.5f * skill.GetLevel() * skill.GetLevel() + 347.4f * skill.GetLevel() + 4562.9f)); + skill.SetRatio(1.2f + 0.11f * skill.GetLevel()); + skill.SetGolddamage(skill.GetMagicattack()); + skill.SetDamage((skill.GetPlayer().GetBalls() == 15 ? 1 : 0) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2587Stub() : base(2587) + { + cls = 11; + name = "荡月涤魂"; + nativename = "荡月涤魂"; + icon = "荡月涤魂"; + max_level = 10; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1026; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_荡月涤魂_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_荡月涤魂_击中_地面子效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2587Stub() { } + + public override float GetMpcost(Skill skill) => (float)(336 + 18 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1402; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => (float)(5 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () == 3 ? 100 : 0); + skill.GetVictim ().SetTime (5402); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetBefrozen (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (skill.GetT0 () == 11 ? 1 : (skill.GetT0 () == 7 ? 2 : 10)); + skill.GetVictim ().SetValue (2625); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 22.5f + 1.4f * skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); + public float GetTalent1(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2587.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2587.cs.meta new file mode 100644 index 0000000000..9480d899bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2587.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f1391435b1db04fd49f17a8da865ae01 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2588.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2588.cs new file mode 100644 index 0000000000..8b9eee71af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2588.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2588 : Skill + { + public const int SKILL_ID = 2588; + + public Skill2588() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2588Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 33370, 40334, 48447, 57997, 68750, 81600, 113950, 186390, 295240, 458250 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 950; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(108 + 9.6f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 735; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(108 + 9.6f * skill.GetLevel())); + skill.SetPlus(2.9f * skill.GetLevel() * skill.GetLevel() + 122.4f * skill.GetLevel() + 1006.1f); + skill.SetRatio(0.45f + 0.045f * skill.GetLevel()); + skill.SetGolddamage((skill.GetPlayer().GetForm() == 1 ? 1.06f : 0.8f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2588Stub() : base(2588) + { + cls = 11; + name = "霜雷术"; + nativename = "霜雷术"; + icon = "霜雷术"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1012; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_霜雷术_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/月仙_霜雷术_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霜雷术_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2575, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2588Stub() { } + + public override float GetMpcost(Skill skill) => (float)(108 + 9.6 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 735; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 1000 : 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetAmount (0.5f * (2.9f * skill.GetLevel () * skill.GetLevel () + 122.4f * skill.GetLevel () + 1006.1f) + + 0.1f * skill.GetT0 ()); + skill.GetVictim ().SetValue (0.5f * (2.9f * skill.GetLevel () * skill.GetLevel () + 122.4f * skill.GetLevel () + 1006.1f) + + 0.1f * skill.GetT0 ()); + skill.GetVictim ().SetAddfrosteffect (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2588.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2588.cs.meta new file mode 100644 index 0000000000..5585ebf75a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2588.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 737314c6484ef4ee3852b340ba9a6fb1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2589.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2589.cs new file mode 100644 index 0000000000..4a006f0df2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2589.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2589 : Skill + { + public const int SKILL_ID = 2589; + + public Skill2589() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2589Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 49, 53, 57, 61, 65, 69, 73, 77, 81, 85 }; + private static readonly int[] RequiredSpArray = { 33370, 40334, 48447, 57997, 68750, 81600, 113950, 186390, 295240, 458250 }; + private static readonly int[] RequiredMoneyArray = { 2980, 3380, 3780, 6980, 14980, 51980, 131980, 251980, 451980, 771980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1850; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(162 + 14.4f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1601; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(162 + 14.4f * skill.GetLevel())); + skill.SetPlus(4.7f * skill.GetLevel() * skill.GetLevel() + 196 * skill.GetLevel() + 1611); + skill.SetRatio(1.45f + 0.145f * skill.GetLevel()); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2589Stub() : base(2589) + { + cls = 11; + name = "霜雷震"; + nativename = "霜雷震"; + icon = "霜雷震"; + max_level = 10; + type = 1; + apcost = 75; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1013; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_霜雷震_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/霜雷震_飞行01.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霜雷震_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2588, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2589Stub() { } + + public override float GetMpcost(Skill skill) => (float)(162 + 14.4 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1601; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetActivefrosteffect (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2589.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2589.cs.meta new file mode 100644 index 0000000000..f84a8fd07a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2589.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a544a99eac84346dbbe426b24f50b527 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2590.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2590.cs new file mode 100644 index 0000000000..6e34fbae55 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2590.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2590 : Skill + { + public const int SKILL_ID = 2590; + + public Skill2590() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2590Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 60, 63, 66, 69, 72, 75, 78, 81, 84, 87 }; + private static readonly int[] RequiredSpArray = { 55440, 63270, 71820, 81600, 99840, 146300, 209380, 295240, 411520, 567490 }; + private static readonly int[] RequiredMoneyArray = { 4980, 10980, 22980, 51980, 111980, 171980, 291980, 451980, 691980, 931980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(205.2f + 10.8f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 6001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(205.2f + 10.8f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2590Stub() : base(2590) + { + cls = 11; + name = "月神之体"; + nativename = "月神之体"; + icon = "月神之体"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 4; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1023; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2586, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2590Stub() { } + + public override float GetMpcost(Skill skill) => (float)(205.2 + 10.8 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 6001; + public override int GetCoolingtime(Skill skill) => 300000 - 12000 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.4f + 0.03f * skill.GetLevel ()); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetMoongod (1); + skill.GetVictim ().SetProbability (1.0f * 8); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2626); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2590.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2590.cs.meta new file mode 100644 index 0000000000..e0acee6dcf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2590.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 035347887b964453c8ae3c9e0419c970 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2591.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2591.cs new file mode 100644 index 0000000000..2c77b97e28 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2591.cs @@ -0,0 +1,272 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2591 : Skill + { + public const int SKILL_ID = 2591; + + public Skill2591() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2591Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 36, 41, 46, 51, 56, 61, 66, 71, 76, 81 }; + private static readonly int[] RequiredSpArray = { 16800, 22199, 28786, 36708, 46336, 57997, 71820, 92310, 165200, 295240 }; + private static readonly int[] RequiredMoneyArray = { 1720, 2180, 2680, 3180, 3680, 6980, 22980, 91980, 211980, 451980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1101; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(93 + 15 * skill.GetLevel()); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 801; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(8.7f * skill.GetLevel() * skill.GetLevel() + 242.7f * skill.GetLevel() + 1168.9f); + skill.SetRatio(1.25f + 0.125f * skill.GetLevel()); + skill.SetWaterdamage(0.05f * skill.GetMagicattack()); + skill.SetGolddamage(0.05f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 268; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(8.7f * skill.GetLevel() * skill.GetLevel() + 242.7f * skill.GetLevel() + 1168.9f); + skill.SetRatio(1.25f + 0.125f * skill.GetLevel()); + skill.SetWaterdamage(0.1f * skill.GetMagicattack()); + skill.SetGolddamage(0.1f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(8.7f * skill.GetLevel() * skill.GetLevel() + 242.7f * skill.GetLevel() + 1168.9f); + skill.SetRatio(1.25f + 0.125f * skill.GetLevel()); + skill.SetWaterdamage(0.15f * skill.GetMagicattack()); + skill.SetGolddamage(0.15f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 701; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(8.7f * skill.GetLevel() * skill.GetLevel() + 242.7f * skill.GetLevel() + 1168.9f); + skill.SetRatio(1.25f + 0.125f * skill.GetLevel()); + skill.SetWaterdamage(0.2f * skill.GetMagicattack()); + skill.SetGolddamage(0.2f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2591Stub() : base(2591) + { + cls = 11; + name = "月华乱舞"; + nativename = "月华乱舞"; + icon = "月华乱舞"; + max_level = 10; + type = 1; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1024; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_月华乱舞_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "人物/技能/月仙/月华乱舞2_施放落_飞行刀光子效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_月华乱舞_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 8000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2591Stub() { } + + public override float GetMpcost(Skill skill) => (float)(93 + 15 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 9000 : 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2591.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2591.cs.meta new file mode 100644 index 0000000000..ae3de67ccf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2591.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 59167dd87e4104c0292f0ec8f13de0d6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2592.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2592.cs new file mode 100644 index 0000000000..f844d23c29 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2592.cs @@ -0,0 +1,224 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2592 : Skill + { + public const int SKILL_ID = 2592; + + public Skill2592() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2592Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 53070, 60320, 68750, 78520, 92310, 129060, 186390, 264000, 369180, 510180 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1034; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1268; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(168 + 9 * skill.GetLevel()); + skill.SetPlus(4.4f * skill.GetLevel() * skill.GetLevel() + 277.1f * skill.GetLevel() + 3639.2f); + skill.SetRatio(0.75f + 0.075f * skill.GetLevel()); + skill.SetWaterdamage(0.22f * skill.GetMagicattack()); + skill.SetGolddamage(0.22f * skill.GetMagicattack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2592Stub() : base(2592) + { + cls = 11; + name = "晓月银光"; + nativename = "晓月银光"; + icon = "晓月银光"; + max_level = 10; + type = 1; + apcost = 150; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1025; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_晓月银光_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/晓月银光_飞行01.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/晓月银光_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2591, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill2592Stub() { } + + public override float GetMpcost(Skill skill) => (float)(168 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlowfly (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.01f); + skill.GetVictim ().SetAmount (15); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInchurt5 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2592.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2592.cs.meta new file mode 100644 index 0000000000..41928cb04e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2592.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f9f8e7fef1fd74d5a8beea223bb04600 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2593.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2593.cs new file mode 100644 index 0000000000..3acc93e490 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2593.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2593 : Skill + { + public const int SKILL_ID = 2593; + + public Skill2593() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2593Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 10738, 14878, 19926, 25992, 33370, 42240, 53070, 66080, 81600, 129060 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(21.6f + 4.5f * skill.GetLevel()); + skill.GetPlayer().SetFilpball(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2593Stub() : base(2593) + { + cls = 11; + name = "逆乱阴阳"; + nativename = "逆乱阴阳"; + icon = "逆乱阴阳"; + max_level = 10; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1002; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2593Stub() { } + + public override float GetMpcost(Skill skill) => (float)(21.6 + 4.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 95000 - 5000 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2593.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2593.cs.meta new file mode 100644 index 0000000000..5f17dac8c3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2593.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eb7e3682e70b2494cbdad8426379cd8b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2594.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2594.cs new file mode 100644 index 0000000000..45c7e0533d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2594.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2594 : Skill + { + public const int SKILL_ID = 2594; + + public Skill2594() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2594Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 79 }; + private static readonly int[] RequiredSpArray = { 235410 }; + private static readonly int[] RequiredItemArray = { 46079 }; + private static readonly int[] RequiredMoneyArray = { 331980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 267; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(23.7f); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 468; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(94.8f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2594Stub() : base(2594) + { + cls = 11; + name = "镜花水月"; + nativename = "镜花水月"; + icon = "镜花水月"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 2; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1027; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2594Stub() { } + + public override float GetMpcost(Skill skill) => 118.5f; + public override int GetExecutetime(Skill skill) => 468; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetValue (45731); + skill.GetVictim ().SetSummonpet2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2594.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2594.cs.meta new file mode 100644 index 0000000000..4a7d81a721 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2594.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1eaecb0008ca84ebe89640a4b6b924ab \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2595.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2595.cs new file mode 100644 index 0000000000..bfb95a7fc0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2595.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2595 : Skill + { + public const int SKILL_ID = 2595; + + public Skill2595() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2595Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 51, 54, 57, 60, 63, 66, 69, 72, 75, 78 }; + private static readonly int[] RequiredSpArray = { 36708, 42240, 48447, 55440, 63270, 71820, 81600, 99840, 146300, 209380 }; + private static readonly int[] RequiredMoneyArray = { 3180, 3480, 3780, 4980, 10980, 22980, 51980, 111980, 171980, 291980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 534; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(144 + 9 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 935; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(144 + 9 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2595Stub() : base(2595) + { + cls = 11; + name = "寒宫蟾步"; + nativename = "寒宫蟾步"; + icon = "寒宫蟾步"; + max_level = 10; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 5; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1008; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_寒宫缠步_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_寒宫缠步_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2578, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2595Stub() { } + + public override float GetMpcost(Skill skill) => (float)(144 + 9 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 935; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(16.5 + 0.9 * skill.GetLevel() + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12935); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (0.4f * skill.GetLevel () * skill.GetLevel () + 21.9f * skill.GetLevel () + 253.4f + 0.2f * skill.GetT0 ()); + skill.GetVictim ().SetMovepunish (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel () + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2595.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2595.cs.meta new file mode 100644 index 0000000000..b987115e00 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2595.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cb3691a8af74e40db956189fba050072 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2596.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2596.cs new file mode 100644 index 0000000000..c7c33ebf3b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2596.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2596 : Skill + { + public const int SKILL_ID = 2596; + + public Skill2596() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2596Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 19, 24, 29, 34, 39, 44, 49, 54, 59, 64 }; + private static readonly int[] RequiredSpArray = { 4600, 7392, 10738, 14878, 19926, 25992, 33370, 42240, 53070, 66080 }; + private static readonly int[] RequiredMoneyArray = { 440, 680, 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 201; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(21 + 7.5f * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(21 + 7.5f * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2596Stub() : base(2596) + { + cls = 11; + name = "婵娟勾弦"; + nativename = "婵娟勾弦"; + icon = "婵娟勾弦"; + max_level = 10; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 2; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1021; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2596Stub() { } + + public override float GetMpcost(Skill skill) => (float)(21 + 7.5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 301; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + 600 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (5000 + 600 * skill.GetLevel ()); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2596.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2596.cs.meta new file mode 100644 index 0000000000..f40d6a33db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2596.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 15b00669890b84429a272122744c6b75 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2599.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2599.cs new file mode 100644 index 0000000000..cc7a98a88d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2599.cs @@ -0,0 +1,121 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2599 : Skill + { + public const int SKILL_ID = 2599; + + public Skill2599() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2599Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2599Stub() : base(2599) + { + cls = 10; + name = "夜枭技能效果"; + nativename = "夜枭技能效果"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2599Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4001); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7001); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2547); + skill.GetVictim ().SetIncspecskilldamage (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7001); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2728); + skill.GetVictim ().SetIncspecskilldamage (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7001); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2729); + skill.GetVictim ().SetIncspecskilldamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2599.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2599.cs.meta new file mode 100644 index 0000000000..311e03c3b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2599.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 64d746b8c566145bf99b8c174dc282dd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2602.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2602.cs new file mode 100644 index 0000000000..91de274b98 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2602.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2602 : Skill + { + public const int SKILL_ID = 2602; + + public Skill2602() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2602Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(48.2f); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(192.6f); + skill.SetPlus(3308.6f); + skill.SetRatio(0.8f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2602Stub() : base(2602) + { + cls = 10; + name = "水月镜花·天火狂龙"; + nativename = "水月镜花·天火狂龙"; + icon = "天火狂龙"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "霸王献鼎"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/天火狂龙飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 3; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2602Stub() { } + + public override float GetMpcost(Skill skill) => 240.8f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 240.8,3308.6)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000 * skill.GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.75f); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 19.7f; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2602.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2602.cs.meta new file mode 100644 index 0000000000..991af18324 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2602.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cbf3ef0c13eb64f7c873c34122626bcd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2603.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2603.cs new file mode 100644 index 0000000000..6206a66ba7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2603.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2603 : Skill + { + public const int SKILL_ID = 2603; + + public Skill2603() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2603Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(51.6f); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(206.4f); + skill.SetPlus(7719.1f); + skill.SetRatio(4); + skill.SetWaterdamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2603Stub() : base(2603) + { + cls = 10; + name = "水月镜花·玄冰水龙"; + nativename = "水月镜花·玄冰水龙"; + icon = "玄冰水龙"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "玄冰水龙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/玄冰水龙击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 10000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 5.0f; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2603Stub() { } + + public override float GetMpcost(Skill skill) => 258f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 258, + 12, + 400, + 7719.1, + 95, + 26)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 95); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.45f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2603.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2603.cs.meta new file mode 100644 index 0000000000..cc57b85576 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2603.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 119c67c75e86e4f2ca239a7f73c82fc6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2604.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2604.cs new file mode 100644 index 0000000000..1d7183a5bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2604.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2604 : Skill + { + public const int SKILL_ID = 2604; + + public Skill2604() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2604Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(30); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(120); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2604Stub() : base(2604) + { + cls = 10; + name = "水月镜花·复仇之魂—镜像"; + nativename = "水月镜花·复仇之魂—镜像"; + icon = "反击之魂"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "夜影_水月远程_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_水月远程_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2604Stub() { } + + public override float GetMpcost(Skill skill) => 150f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 150)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (100); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.4f); + skill.GetVictim ().SetSoulbeatback (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); + public float GetTalent0(PlayerWrapper player) => player.GetSoulpower (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2604.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2604.cs.meta new file mode 100644 index 0000000000..0d33cab1e1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2604.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: de318fa72484f403aba5ab3958033970 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2605.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2605.cs new file mode 100644 index 0000000000..a2096a9d24 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2605.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2605 : Skill + { + public const int SKILL_ID = 2605; + + public Skill2605() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2605Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(31); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(124); + skill.SetPlus(4182.6f); + skill.SetRatio(0); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2605Stub() : base(2605) + { + cls = 10; + name = "水月镜花·妖煞击"; + nativename = "水月镜花·妖煞击"; + icon = "妖煞击"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "妖煞击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖煞击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 2; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2605Stub() { } + + public override float GetMpcost(Skill skill) => 155f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 155, + 4182.6, + 1400)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (1400); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2605.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2605.cs.meta new file mode 100644 index 0000000000..aab851b00b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2605.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: de334194a2a024ec098b597a3c4c4a1f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2606.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2606.cs new file mode 100644 index 0000000000..5ddfc8cbf4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2606.cs @@ -0,0 +1,164 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2606 : Skill + { + public const int SKILL_ID = 2606; + + public Skill2606() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2606Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2606Stub() : base(2606) + { + cls = 10; + name = "水月镜花·玄武附体"; + nativename = "水月镜花·玄武附体"; + icon = "玄武附体"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "玄武附体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2606Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 3.33f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2606.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2606.cs.meta new file mode 100644 index 0000000000..2c0813eac9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2606.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 88a18d7b6ee394cb494bd1a1892e4316 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2607.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2607.cs new file mode 100644 index 0000000000..b6a469b983 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2607.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2607 : Skill + { + public const int SKILL_ID = 2607; + + public Skill2607() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2607Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(48.2f); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(192.6f); + skill.SetPlus(2190.3f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2607Stub() : base(2607) + { + cls = 10; + name = "水月镜花·强冲刺杀"; + nativename = "水月镜花·强冲刺杀"; + icon = "致盲"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "刺客_强冲刺杀"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_强冲刺杀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2607Stub() { } + + public override float GetMpcost(Skill skill) => 240.8f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 240.8,2190.3)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 11.7f; + public float GetHitrate(Skill skill) => 3 + 0.05f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2607.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2607.cs.meta new file mode 100644 index 0000000000..9db13132d5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2607.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ea8a6a284a3e94398ac67672c1a17c8a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2608.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2608.cs new file mode 100644 index 0000000000..ebf8bf1682 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2608.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2608 : Skill + { + public const int SKILL_ID = 2608; + + public Skill2608() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2608Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(77.4f); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(309.6f); + skill.SetPlus(0); + skill.SetRatio(0); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2608Stub() : base(2608) + { + cls = 10; + name = "水月镜花·狂雷天鹰"; + nativename = "水月镜花·狂雷天鹰"; + icon = "狂雷天鹰"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "狂雷天鹰"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/狂雷天鹰飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狂雷天鹰击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2608Stub() { } + + public override float GetMpcost(Skill skill) => 387f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 387,8363.4)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetAmount (8363.4f); + skill.GetVictim ().SetEaglecurse (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 33f; + public float GetHitrate(Skill skill) => 2 + 0.1f * skill.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2608.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2608.cs.meta new file mode 100644 index 0000000000..7ac986b53a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2608.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 520e614bcca0945558515effaefe15f1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2609.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2609.cs new file mode 100644 index 0000000000..ff774783aa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2609.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2609 : Skill + { + public const int SKILL_ID = 2609; + + public Skill2609() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2609Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(45.9f); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(183.6f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2609Stub() : base(2609) + { + cls = 10; + name = "水月镜花·静心咒"; + nativename = "水月镜花·静心咒"; + icon = "静心符"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "静心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/静心咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2609Stub() { } + + public override float GetMpcost(Skill skill) => 229.5f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 229.5, + 714, + 70)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 7 + 35 * 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.7f + 714); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2609.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2609.cs.meta new file mode 100644 index 0000000000..8eccee89c7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2609.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 82ce1dc0d14d0436fad043bbdcf3204f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2610.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2610.cs new file mode 100644 index 0000000000..b55be1037b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2610.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2610 : Skill + { + public const int SKILL_ID = 2610; + + public Skill2610() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2610Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(60); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(240); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2610Stub() : base(2610) + { + cls = 10; + name = "水月镜花·身外化身"; + nativename = "水月镜花·身外化身"; + icon = "身外化身"; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "剑灵_身外化身"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_身外化身_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2610Stub() { } + + public override float GetMpcost(Skill skill) => 300f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, + 300, + 180 - 12 * 10, + 8)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 110; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetValue (8); + skill.GetVictim ().SetAbsorbdebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2610.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2610.cs.meta new file mode 100644 index 0000000000..b345442f75 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2610.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eec2fccbce8e24c4b99da67b20f350be \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2611.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2611.cs new file mode 100644 index 0000000000..090c745b43 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2611.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2611 : Skill + { + public const int SKILL_ID = 2611; + + public Skill2611() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2611Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(37.8f); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(151.2f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2611Stub() : base(2611) + { + cls = 10; + name = "水月镜花·落英缤纷"; + nativename = "水月镜花·落英缤纷"; + icon = "回风回柳"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "魅灵_回风拂柳"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_回风拂柳_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2611Stub() { } + + public override float GetMpcost(Skill skill) => 189f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (25); + skill.GetVictim ().SetAmount (9000); + skill.GetVictim ().SetValue (skill.GetT0 () * 0.3f + 714); + skill.GetVictim ().SetHpgenseed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2611.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2611.cs.meta new file mode 100644 index 0000000000..c0300784c6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2611.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7d22f132df7304366bef849b457f6bd0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2612.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2612.cs new file mode 100644 index 0000000000..7ac844c855 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2612.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2612 : Skill + { + public const int SKILL_ID = 2612; + + public Skill2612() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2612Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(130.5f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2612Stub() : base(2612) + { + cls = 10; + name = "水月镜花·月食"; + nativename = "水月镜花·月食"; + icon = "月食"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "2寸力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2612Stub() { } + + public override float GetMpcost(Skill skill) => 130.5f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 130.5)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (31); + skill.GetVictim ().SetInvisible (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2612.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2612.cs.meta new file mode 100644 index 0000000000..34af77d420 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2612.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aeb89888059d344819dd6e9c98b4f582 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2613.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2613.cs new file mode 100644 index 0000000000..4324e909e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2613.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2613 : Skill + { + public const int SKILL_ID = 2613; + + public Skill2613() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2613Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(47.5f); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(190.1f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2613Stub() : base(2613) + { + cls = 10; + name = "水月镜花·涡漩祭祀"; + nativename = "水月镜花·涡漩祭祀"; + icon = "涡漩祭祀"; + max_level = 1; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "月仙男_涡漩祭祀_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/莽月城王后_普攻2击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2613Stub() { } + + public override float GetMpcost(Skill skill) => 237.6f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25.5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 237.6)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (13001); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (45989); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2613.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2613.cs.meta new file mode 100644 index 0000000000..468758df82 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2613.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 78c10caa9d9ff4b0bac6bb8b74a31dc9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2614.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2614.cs new file mode 100644 index 0000000000..e52d24ed14 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2614.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2614 : Skill + { + public const int SKILL_ID = 2614; + + public Skill2614() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2614Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(46.4f); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(185.6f); + skill.SetPlus(3799); + skill.SetDamage((skill.GetTarget().GetCls() == 127 ? 3 : 1) * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2614Stub() : base(2614) + { + cls = 10; + name = "水月镜花·猎魔"; + nativename = "水月镜花·猎魔"; + icon = "气魄值提高"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2562; + combosk_interval = 45000; + is_inherent = true; + effect = "夜影_水月远程_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_水月远程_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2614Stub() { } + + public override float GetMpcost(Skill skill) => 232f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 3f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2614.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2614.cs.meta new file mode 100644 index 0000000000..0f987bacc5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2614.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b6a6e6f34494f410c86ddfed3a87e5b8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2615.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2615.cs new file mode 100644 index 0000000000..a8ec337efc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2615.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2615 : Skill + { + public const int SKILL_ID = 2615; + + public Skill2615() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2615Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + + + public Skill2615Stub() : base(2615) + { + cls = 10; + name = "双合技能效果"; + nativename = "双合技能效果"; + icon = "无式"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + + } + + ~Skill2615Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 100 : 0); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaleinchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6935); + skill.GetVictim ().SetRatio (50); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2547); + skill.GetVictim ().SetIncspecskillcrit (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6935); + skill.GetVictim ().SetRatio (50); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2728); + skill.GetVictim ().SetIncspecskillcrit (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6935); + skill.GetVictim ().SetRatio (50); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2729); + skill.GetVictim ().SetIncspecskillcrit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2615.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2615.cs.meta new file mode 100644 index 0000000000..24a40943bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2615.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4f5746f8acc144506b499109aaf45d27 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2616.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2616.cs new file mode 100644 index 0000000000..88547b6885 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2616.cs @@ -0,0 +1,147 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2616 : Skill + { + public const int SKILL_ID = 2616; + + public Skill2616() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2616Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + + + public Skill2616Stub() : base(2616) + { + cls = 10; + name = "邈云汉技能效果"; + nativename = "邈云汉技能效果"; + icon = "无式"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2寸力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + + } + + ~Skill2616Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2553); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2740); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2741); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2853); + skill.GetVictim ().SetAurabless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2616.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2616.cs.meta new file mode 100644 index 0000000000..9f87a06660 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2616.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3d15ae65708754ee4980b3649d6ee4c4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2617.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2617.cs new file mode 100644 index 0000000000..4156d48fee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2617.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2617 : Skill + { + public const int SKILL_ID = 2617; + + public Skill2617() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2617Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46332 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(303); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2617Stub() : base(2617) + { + cls = 11; + name = "真·胧"; + nativename = "真·胧"; + icon = "仙胧夜影"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1001; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2570, 5); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2617Stub() { } + + public override float GetMpcost(Skill skill) => 303f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (33000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetValue (3); + skill.GetVictim ().SetFairyform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2617.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2617.cs.meta new file mode 100644 index 0000000000..2b6601c0fd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2617.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 75e68f43524ad4b3c937ebf682ea023f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2618.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2618.cs new file mode 100644 index 0000000000..6957b05241 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2618.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2618 : Skill + { + public const int SKILL_ID = 2618; + + public Skill2618() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2618Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46333 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(303); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2618Stub() : base(2618) + { + cls = 11; + name = "狂·胧"; + nativename = "狂·胧"; + icon = "魔胧夜影"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1001; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2570, 5); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2618Stub() { } + + public override float GetMpcost(Skill skill) => 303f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 85000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetValue (3); + skill.GetVictim ().SetFairyform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2618.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2618.cs.meta new file mode 100644 index 0000000000..6203190548 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2618.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0af01bcf9edf74ce5ad0461b316b686d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2619.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2619.cs new file mode 100644 index 0000000000..adc01a1673 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2619.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2619 : Skill + { + public const int SKILL_ID = 2619; + + public Skill2619() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2619Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46334 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1150; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(38); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 802; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(154); + skill.SetPlus(3254); + skill.SetRatio(1.2f); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage((skill.GetPlayer().GetForm() == 1 ? 1.2f : 0.9f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2619Stub() : base(2619) + { + cls = 11; + name = "真·朔光咏"; + nativename = "真·朔光咏"; + icon = "仙朔光咏"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1003; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_朔光咏_击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/朔光咏_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/云起咏_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 7000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2571, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2619Stub() { } + + public override float GetMpcost(Skill skill) => 192f; + public override int GetExecutetime(Skill skill) => 802; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2619.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2619.cs.meta new file mode 100644 index 0000000000..8d0d516028 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2619.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 12e53e31f55ac4e00af12c56816d6673 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2673.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2673.cs new file mode 100644 index 0000000000..7b2786ce13 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2673.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2673 : Skill + { + public const int SKILL_ID = 2673; + + public Skill2673() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2673Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29 }; + private static readonly int[] RequiredSpArray = { 18, 000 }; + private static readonly int[] RequiredMoneyArray = { 23, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2673Stub() : base(2673) + { + cls = 10; + name = "真元爆发"; + nativename = "真元爆发"; + icon = "爆气1"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2111; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(291); + restrict_weapons.Add(23749); + restrict_weapons.Add(25333); + restrict_weapons.Add(44878); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2673Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2673.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2673.cs.meta new file mode 100644 index 0000000000..4bf3a456a4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2673.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a04b7952d657740f09a6ae48e4776891 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2674.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2674.cs new file mode 100644 index 0000000000..d9c845edd1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2674.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2674 : Skill + { + public const int SKILL_ID = 2674; + + public Skill2674() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2674Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 130, 000 }; + private static readonly int[] RequiredMoneyArray = { 180, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2674Stub() : base(2674) + { + cls = 10; + name = "高级真元爆发"; + nativename = "高级真元爆发"; + icon = "爆气2"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2112; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + restrict_weapons.Add(23749); + restrict_weapons.Add(25333); + restrict_weapons.Add(44878); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2674Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2674.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2674.cs.meta new file mode 100644 index 0000000000..b865fdc169 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2674.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 393e231e37f724eceb9d61665968c7b6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2675.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2675.cs new file mode 100644 index 0000000000..4e94c86736 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2675.cs @@ -0,0 +1,182 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2675 : Skill + { + public const int SKILL_ID = 2675; + + public Skill2675() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2675Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2675Stub() : base(2675) + { + cls = 10; + name = "仙元爆发"; + nativename = "仙元爆发"; + icon = "仙元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2113; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + restrict_weapons.Add(23749); + restrict_weapons.Add(25333); + restrict_weapons.Add(44878); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2675Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2675.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2675.cs.meta new file mode 100644 index 0000000000..1a5a881984 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2675.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 26a9ea5e059ca499d83600c30b888a31 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2676.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2676.cs new file mode 100644 index 0000000000..a6d20a68a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2676.cs @@ -0,0 +1,182 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2676 : Skill + { + public const int SKILL_ID = 2676; + + public Skill2676() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2676Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2676Stub() : base(2676) + { + cls = 10; + name = "魔元爆发"; + nativename = "魔元爆发"; + icon = "魔元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2114; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + restrict_weapons.Add(23749); + restrict_weapons.Add(25333); + restrict_weapons.Add(44878); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2676Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetValue (25); + skill.GetVictim ().SetIncsmite (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (5); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2676.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2676.cs.meta new file mode 100644 index 0000000000..2339b681cb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2676.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0f416f612b53a4861af0a0a6679bc22f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2687.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2687.cs new file mode 100644 index 0000000000..537790d450 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2687.cs @@ -0,0 +1,102 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2687 : Skill + { + public const int SKILL_ID = 2687; + + public Skill2687() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2687Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 10738, 14878, 19926, 25992, 33370, 42240, 53070, 66080, 81600, 129060 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill2687Stub() : base(2687) + { + cls = 10; + name = "胧刀精通"; + nativename = "胧刀精通"; + icon = "唐刀精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 2; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1101; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2687Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncscimitar (0.06f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2687.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2687.cs.meta new file mode 100644 index 0000000000..8c842caf74 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2687.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 03173aa778e5543a78c78097eca6cf28 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2688.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2688.cs new file mode 100644 index 0000000000..7a1a48aa46 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2688.cs @@ -0,0 +1,102 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2688 : Skill + { + public const int SKILL_ID = 2688; + + public Skill2688() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2688Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 53070, 60320, 68750, 78520, 92310, 129060, 186390, 264000, 369180, 510180 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + + public Skill2688Stub() : base(2688) + { + cls = 10; + name = "胧族血脉"; + nativename = "胧族血脉"; + icon = "远程减伤"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 6; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1102; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2688Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncfarnormaldmgreduce (0.3f + 0.05f * skill.GetLevel ()); + skill.GetPlayer ().SetIncfarskilldmgreduce (0.3f + 0.05f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2688.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2688.cs.meta new file mode 100644 index 0000000000..24993cc6d5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2688.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a8e92a00a3b984e8d82561c0a3b6c6a0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2726.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2726.cs new file mode 100644 index 0000000000..03bb341390 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2726.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2726 : Skill + { + public const int SKILL_ID = 2726; + + public Skill2726() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2726Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46277 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(303); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2726Stub() : base(2726) + { + cls = 10; + name = "真·胧"; + nativename = "真·胧"; + icon = "仙胧夜影"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1001; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2寸力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2545, 5); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2726Stub() { } + + public override float GetMpcost(Skill skill) => 303f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (33000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetValue (0.4f); + skill.GetVictim ().SetShadowform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2726.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2726.cs.meta new file mode 100644 index 0000000000..7ec0764020 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2726.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 90cfbf4b9d3ce4554b6a056b7e0007aa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2727.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2727.cs new file mode 100644 index 0000000000..6c2e907339 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2727.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2727 : Skill + { + public const int SKILL_ID = 2727; + + public Skill2727() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2727Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46278 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(303); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2727Stub() : base(2727) + { + cls = 10; + name = "狂·胧"; + nativename = "狂·胧"; + icon = "魔胧夜影"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1001; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2寸力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2545, 5); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2727Stub() { } + + public override float GetMpcost(Skill skill) => 303f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 85000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetValue (0.4f); + skill.GetVictim ().SetShadowform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2727.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2727.cs.meta new file mode 100644 index 0000000000..1e93a09dfc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2727.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: da7a1f4f63fe44483b59c30508c42f23 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2728.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2728.cs new file mode 100644 index 0000000000..a15515a7e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2728.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2728 : Skill + { + public const int SKILL_ID = 2728; + + public Skill2728() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2728Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46279 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 96); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1002; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 96); + skill.SetPlus(2312); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2728Stub() : base(2728) + { + cls = 10; + name = "真·无式"; + nativename = "真·无式"; + icon = "仙无式"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1002; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_无式_击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_无式_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2547, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2728Stub() { } + + public override float GetMpcost(Skill skill) => 96f; + public override int GetExecutetime(Skill skill) => 1002; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.25f * 5.5f; + public float GetHitrate(Skill skill) => 1.8f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2728.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2728.cs.meta new file mode 100644 index 0000000000..443e72daae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2728.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e47ee488365eb463f8800c7b5163c200 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2729.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2729.cs new file mode 100644 index 0000000000..f081e937da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2729.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2729 : Skill + { + public const int SKILL_ID = 2729; + + public Skill2729() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2729Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46280 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 96); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 96); + skill.SetPlus(2312); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2729Stub() : base(2729) + { + cls = 10; + name = "狂·无式"; + nativename = "狂·无式"; + icon = "魔无式"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1002; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_无式_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_无式_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2547, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2729Stub() { } + + public override float GetMpcost(Skill skill) => 96f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.25f * 5.5f; + public float GetHitrate(Skill skill) => 1.8f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2729.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2729.cs.meta new file mode 100644 index 0000000000..785f0e306f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2729.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b72babd76945f4daa908715132a3f2e8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2730.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2730.cs new file mode 100644 index 0000000000..0597440094 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2730.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2730 : Skill + { + public const int SKILL_ID = 2730; + + public Skill2730() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2730Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46281 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 93); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 93); + skill.SetPlus(3846); + skill.SetRatio(0.5f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2730Stub() : base(2730) + { + cls = 10; + name = "真·夜枭"; + nativename = "真·夜枭"; + icon = "仙夜枭"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1003; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_夜枭_击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜枭_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2548, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2730Stub() { } + + public override float GetMpcost(Skill skill) => 93f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 1000 : 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (10); + skill.GetVictim ().SetValue (2599); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.25f * 5.5f; + public float GetHitrate(Skill skill) => 1.9f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2730.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2730.cs.meta new file mode 100644 index 0000000000..d1ed34d937 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2730.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2852ecdff5d8848eb8331913ac5cd171 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2731.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2731.cs new file mode 100644 index 0000000000..f25168d48d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2731.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2731 : Skill + { + public const int SKILL_ID = 2731; + + public Skill2731() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2731Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46282 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 93); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 93); + skill.SetPlus(3846); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2731Stub() : base(2731) + { + cls = 10; + name = "狂·夜枭"; + nativename = "狂·夜枭"; + icon = "魔夜枭"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1003; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_夜枭_击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜枭_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2548, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2731Stub() { } + + public override float GetMpcost(Skill skill) => 93f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 1000 : 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (10); + skill.GetVictim ().SetValue (2847); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.25f * 5.5f; + public float GetHitrate(Skill skill) => 1.9f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2731.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2731.cs.meta new file mode 100644 index 0000000000..674e83a359 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2731.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1ae30db8eb3ee40d49c59eab0ede84a2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2732.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2732.cs new file mode 100644 index 0000000000..243a98d7f3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2732.cs @@ -0,0 +1,211 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2732 : Skill + { + public const int SKILL_ID = 2732; + + public Skill2732() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2732Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46283 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 117); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 934; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 117); + skill.SetPlus(4119); + skill.SetRatio(0.6f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2732Stub() : base(2732) + { + cls = 10; + name = "真·双合"; + nativename = "真·双合"; + icon = "仙双合"; + max_level = 1; + type = 1; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1004; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_双合_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_双合_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2549, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2732Stub() { } + + public override float GetMpcost(Skill skill) => 117f; + public override int GetExecutetime(Skill skill) => 934; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 0.15 * 4117)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * ((skill.GetPlayer ().GetHp () + 0.1f) / (skill.GetPlayer ().GetMaxhp () + 0.1f)) > + ((skill.GetT0 () + 0.1f) / (skill.GetT2 () + 0.1f)) ? 0 : 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (0.15f * + (skill.GetT1 () + 6.8f * skill.GetLevel () * skill.GetLevel () + 126 * skill.GetLevel () + 299)); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (skill.GetTarget ().GetValid () == + 1 ? (((skill.GetTarget ().GetHp () + 0.1f) / (skill.GetTarget ().GetMaxhp () + 0.1f)) > + ((skill.GetT0 () + 0.1f) / (skill.GetT2 () + 0.1f)) ? 1 : 0) : 0); + skill.GetVictim ().SetValue (2615); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.2f * 5.5f; + public float GetHitrate(Skill skill) => 2.2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2732.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2732.cs.meta new file mode 100644 index 0000000000..5b91f75f0f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2732.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ef41f270ec433435b93696e26948f62e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2733.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2733.cs new file mode 100644 index 0000000000..d795d8cd0c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2733.cs @@ -0,0 +1,210 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2733 : Skill + { + public const int SKILL_ID = 2733; + + public Skill2733() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2733Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46284 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 117); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 934; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 117); + skill.SetPlus(4119); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2733Stub() : base(2733) + { + cls = 10; + name = "狂·双合"; + nativename = "狂·双合"; + icon = "魔双合"; + max_level = 1; + type = 1; + apcost = 20; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1004; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_双合_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_双合_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2549, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2733Stub() { } + + public override float GetMpcost(Skill skill) => 117f; + public override int GetExecutetime(Skill skill) => 934; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 0.15 * 4119)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * ((skill.GetPlayer ().GetHp () + 0.1f) / (skill.GetPlayer ().GetMaxhp () + 0.1f)) > + ((skill.GetT0 () + 0.1f) / (skill.GetT2 () + 0.1f)) ? 0 : 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (0.15f * + (skill.GetT1 () + 6.8f * skill.GetLevel () * skill.GetLevel () + 126 * skill.GetLevel () + 299)); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (skill.GetTarget ().GetValid () == + 1 ? (((skill.GetTarget ().GetHp () + 0.1f) / (skill.GetTarget ().GetMaxhp () + 0.1f)) > + ((skill.GetT0 () + 0.1f) / (skill.GetT2 () + 0.1f)) ? 1 : 0) : 0); + skill.GetVictim ().SetValue (2848); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.2f * 5.5f; + public float GetHitrate(Skill skill) => 2.2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2733.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2733.cs.meta new file mode 100644 index 0000000000..3708be5103 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2733.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aef9a48e2bbf049afb41b6f702e06e8b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2734.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2734.cs new file mode 100644 index 0000000000..70b03d7e7f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2734.cs @@ -0,0 +1,165 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2734 : Skill + { + public const int SKILL_ID = 2734; + + public Skill2734() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2734Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46285 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(140); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2734Stub() : base(2734) + { + cls = 10; + name = "真·月食"; + nativename = "真·月食"; + icon = "仙月食"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1010; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2寸力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2550, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2734Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (31); + skill.GetVictim ().SetInvisible (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2734.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2734.cs.meta new file mode 100644 index 0000000000..81063e3585 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2734.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8948e6485beaf40f5a5a1621b5aae124 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2735.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2735.cs new file mode 100644 index 0000000000..a5246d1b92 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2735.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2735 : Skill + { + public const int SKILL_ID = 2735; + + public Skill2735() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2735Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46286 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(140); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2735Stub() : base(2735) + { + cls = 10; + name = "狂·月食"; + nativename = "狂·月食"; + icon = "魔月食"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1010; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "2寸力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2550, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2735Stub() { } + + public override float GetMpcost(Skill skill) => 140f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (31); + skill.GetVictim ().SetInvisible (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 2547); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2850); + skill.GetVictim ().SetAppendenchant (1); + skill.GetVictim ().SetProbability (1.0f * 2729); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2850); + skill.GetVictim ().SetAppendenchant (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2735.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2735.cs.meta new file mode 100644 index 0000000000..28bfc3783a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2735.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2c5ac92ad57e34fd098b94a8193817af \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2736.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2736.cs new file mode 100644 index 0000000000..da22d84761 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2736.cs @@ -0,0 +1,298 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2736 : Skill + { + public const int SKILL_ID = 2736; + + public Skill2736() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2736Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46287 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetLvalue(skill.GetCharging()); + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.GetPlayer().SetDecmp(215); + skill.SetPlus(8554); + skill.SetRatio(4); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(8554); + skill.SetRatio(4); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(8554); + skill.SetRatio(4); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(8554); + skill.SetRatio(4); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2736Stub() : base(2736) + { + cls = 10; + name = "真·狱龙牙"; + nativename = "真·狱龙牙"; + icon = "仙狱龙牙"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 3; + showorder = 1006; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_狱龙牙_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_狱龙牙_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2551, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2736Stub() { } + + public override float GetMpcost(Skill skill) => 215f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetSection () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (skill.GetT1 () * 1.0f + 2000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetSection () == 4 ? 100 : 0); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6301); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetAppenddamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 4.45f * 5.5f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); + public float GetTalent1(PlayerWrapper player) => player.GetLvalue (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2736.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2736.cs.meta new file mode 100644 index 0000000000..b100c92079 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2736.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 75040df0421a64ec38a529ea0ed2d7ae \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2737.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2737.cs new file mode 100644 index 0000000000..60159e81c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2737.cs @@ -0,0 +1,294 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2737 : Skill + { + public const int SKILL_ID = 2737; + + public Skill2737() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2737Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46288 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetLvalue(skill.GetCharging()); + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.GetPlayer().SetDecmp(215); + skill.SetPlus(8554); + skill.SetRatio(4); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(8554); + skill.SetRatio(4); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(8554); + skill.SetRatio(4); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(8554); + skill.SetRatio(4); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2737Stub() : base(2737) + { + cls = 10; + name = "狂·狱龙牙"; + nativename = "狂·狱龙牙"; + icon = "魔狱龙牙"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 3; + showorder = 1006; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_狱龙牙_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_狱龙牙_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2551, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2737Stub() { } + + public override float GetMpcost(Skill skill) => 215f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetSection () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (skill.GetT1 () * 1.43f + 2000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6301); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetAppenddamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 4.45f * 5.5f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); + public float GetTalent1(PlayerWrapper player) => player.GetLvalue (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2737.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2737.cs.meta new file mode 100644 index 0000000000..728a8d80a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2737.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a5180dc2da0f849fc98e0b8f9e94ac2d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2738.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2738.cs new file mode 100644 index 0000000000..5013b5bc24 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2738.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2738 : Skill + { + public const int SKILL_ID = 2738; + + public Skill2738() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2738Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46289 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 602; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.SetPlus((skill.GetCharging() / 3000) * 7634.0f); + skill.SetRatio((skill.GetCharging() / 3000) * 3.1f); + skill.SetDamage((skill.GetCharging() == 3000 ? 1.35f : 1) * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2738Stub() : base(2738) + { + cls = 10; + name = "真·傲斩"; + nativename = "真·傲斩"; + icon = "仙傲斩"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 3; + showorder = 1005; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_傲斩_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_傲斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2552, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2738Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 602; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (2601 + 7000 * skill.GetT0 () / 3000); + skill.GetVictim ().SetWeapondisabled (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 2.8f; + public float GetTalent0(PlayerWrapper player) => player.GetCharging (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2738.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2738.cs.meta new file mode 100644 index 0000000000..54451a4cce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2738.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4c7e0456e07584620b8d040e2a56a537 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2739.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2739.cs new file mode 100644 index 0000000000..a119b7fcf3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2739.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2739 : Skill + { + public const int SKILL_ID = 2739; + + public Skill2739() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2739Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46290 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 602; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(200); + skill.SetPlus((skill.GetCharging() / 2100) * 7634.0f); + skill.SetRatio((skill.GetCharging() / 2100) * 3.1f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2739Stub() : base(2739) + { + cls = 10; + name = "狂·傲斩"; + nativename = "狂·傲斩"; + icon = "魔傲斩"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 3; + showorder = 1005; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_傲斩_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_傲斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2552, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2739Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 602; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (2601 + 7000 * skill.GetT0 () / 2100); + skill.GetVictim ().SetWeapondisabled (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 2.8f; + public float GetTalent0(PlayerWrapper player) => player.GetCharging (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2739.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2739.cs.meta new file mode 100644 index 0000000000..7fa0096a8a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2739.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8813cc962f9824139bdbc454d88b6f73 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2740.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2740.cs new file mode 100644 index 0000000000..950b922834 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2740.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2740 : Skill + { + public const int SKILL_ID = 2740; + + public Skill2740() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2740Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46291 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 120); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 701; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 120); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2740Stub() : base(2740) + { + cls = 10; + name = "真·无情游"; + nativename = "真·无情游"; + icon = "仙无情游"; + max_level = 1; + type = 8; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1007; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_无情游_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/无情游_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2553, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2740Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 701; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2701); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20701); + skill.GetVictim ().SetRatio (100); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (2740); + skill.GetVictim ().SetDeathresetcd (1); + skill.GetVictim ().SetValue (0.3f * skill.GetT0 () + 2148); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30 + 0.9f * 5.5f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2740.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2740.cs.meta new file mode 100644 index 0000000000..3742477339 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2740.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0c1311f881ae74f3f95bce72db0cbfcf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2741.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2741.cs new file mode 100644 index 0000000000..acf28b603b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2741.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2741 : Skill + { + public const int SKILL_ID = 2741; + + public Skill2741() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2741Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46292 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 120); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 701; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 120); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2741Stub() : base(2741) + { + cls = 10; + name = "狂·无情游"; + nativename = "狂·无情游"; + icon = "魔无情游"; + max_level = 1; + type = 8; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1007; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_无情游_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/无情游_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2553, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2741Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 701; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3701); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20701); + skill.GetVictim ().SetRatio (100); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (2741); + skill.GetVictim ().SetDeathresetcd (1); + skill.GetVictim ().SetValue (0.3f * skill.GetT0 () + 2148); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + 0.9f * 5.5f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2741.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2741.cs.meta new file mode 100644 index 0000000000..ea127acd33 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2741.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a1a8da210c74747f48d09c470b11a051 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2742.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2742.cs new file mode 100644 index 0000000000..1aced0ffb7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2742.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2742 : Skill + { + public const int SKILL_ID = 2742; + + public Skill2742() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2742Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46293 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 174); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 174); + skill.SetPlus(6477); + skill.SetRatio(1.5f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2742Stub() : base(2742) + { + cls = 10; + name = "真·邈云汉"; + nativename = "真·邈云汉"; + icon = "仙邈云汉"; + max_level = 1; + type = 1; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1011; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_邈云汉_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_邈云汉_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2554, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2742Stub() { } + + public override float GetMpcost(Skill skill) => 174f; + public override int GetExecutetime(Skill skill) => 1700; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2616); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 2.25f * 5.5f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2742.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2742.cs.meta new file mode 100644 index 0000000000..c927031fc4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2742.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 86012d555c2cc4cc39c2a53d114c73b6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2743.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2743.cs new file mode 100644 index 0000000000..c30ad76250 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2743.cs @@ -0,0 +1,207 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2743 : Skill + { + public const int SKILL_ID = 2743; + + public Skill2743() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2743Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46294 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 174); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 174); + skill.SetPlus(6477); + skill.SetRatio(1.5f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2743Stub() : base(2743) + { + cls = 10; + name = "狂·邈云汉"; + nativename = "狂·邈云汉"; + icon = "魔邈云汉"; + max_level = 1; + type = 1; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1011; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_邈云汉_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_邈云汉_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2554, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2743Stub() { } + + public override float GetMpcost(Skill skill) => 174f; + public override int GetExecutetime(Skill skill) => 2001; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2849); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 2.25f * 5.5f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2743.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2743.cs.meta new file mode 100644 index 0000000000..61199e8c22 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2743.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bb4bd98c0d34343dea66ebae1c613931 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2744.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2744.cs new file mode 100644 index 0000000000..d44e42e939 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2744.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2744 : Skill + { + public const int SKILL_ID = 2744; + + public Skill2744() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2744Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46295 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 535; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2744Stub() : base(2744) + { + cls = 10; + name = "真·神照"; + nativename = "真·神照"; + icon = "仙神照"; + max_level = 1; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1020; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_神照_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/夜影_神照_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_神照_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2555, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2744Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 535; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetValue (10389); + skill.GetVictim ().SetDelayearthhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2744.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2744.cs.meta new file mode 100644 index 0000000000..17b9164acc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2744.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8935ec5ea114740cead547e75caca2d4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2745.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2745.cs new file mode 100644 index 0000000000..f301053887 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2745.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2745 : Skill + { + public const int SKILL_ID = 2745; + + public Skill2745() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2745Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46296 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 535; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2745Stub() : base(2745) + { + cls = 10; + name = "狂·神照"; + nativename = "狂·神照"; + icon = "魔神照"; + max_level = 1; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1020; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_神照_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/夜影_神照_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_神照_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2555, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2745Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 535; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetValue (8589); + skill.GetVictim ().SetDelayearthhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2745.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2745.cs.meta new file mode 100644 index 0000000000..3ecf10475f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2745.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 547e3150c944f4dacbb3c7be15aeb706 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2746.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2746.cs new file mode 100644 index 0000000000..ce3bc46446 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2746.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2746 : Skill + { + public const int SKILL_ID = 2746; + + public Skill2746() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2746Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46297 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 113); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 568; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 113); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2746Stub() : base(2746) + { + cls = 10; + name = "真·猎命"; + nativename = "真·猎命"; + icon = "仙猎命"; + max_level = 1; + type = 3; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1021; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_猎命_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/猎命_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2556, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2746Stub() { } + + public override float GetMpcost(Skill skill) => 113f; + public override int GetExecutetime(Skill skill) => 568; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7568); + skill.GetVictim ().SetRatio (6000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (skill.GetT0 () + 7267); + skill.GetVictim ().SetHuntersoul (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2746.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2746.cs.meta new file mode 100644 index 0000000000..4aa5a6fc04 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2746.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5ad68bc1f77714436a0b0f10b04c4193 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2747.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2747.cs new file mode 100644 index 0000000000..d69b15db5a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2747.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2747 : Skill + { + public const int SKILL_ID = 2747; + + public Skill2747() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2747Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46298 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 113); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 568; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 113); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2747Stub() : base(2747) + { + cls = 10; + name = "狂·猎命"; + nativename = "狂·猎命"; + icon = "魔猎命"; + max_level = 1; + type = 3; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1021; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_猎命_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/猎命_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2556, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2747Stub() { } + + public override float GetMpcost(Skill skill) => 113f; + public override int GetExecutetime(Skill skill) => 568; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8568); + skill.GetVictim ().SetRatio (7000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (skill.GetT0 () + 7267); + skill.GetVictim ().SetHuntersoul (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2747.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2747.cs.meta new file mode 100644 index 0000000000..7aea8e775a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2747.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 97967854b9bfc440f9384722c23c1b64 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2748.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2748.cs new file mode 100644 index 0000000000..3ce5f9cc2e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2748.cs @@ -0,0 +1,296 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2748 : Skill + { + public const int SKILL_ID = 2748; + + public Skill2748() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2748Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46299 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 68; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(241); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1402; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(9612); + skill.SetRatio(4); + skill.SetDamage(0.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 735; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(9612); + skill.SetRatio(4); + skill.SetDamage(0.2f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 1368; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(9612); + skill.SetRatio(4); + skill.SetDamage(0.2f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 768; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(9612); + skill.SetRatio(4); + skill.SetDamage(0.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2748Stub() : base(2748) + { + cls = 10; + name = "真·定风波"; + nativename = "真·定风波"; + icon = "仙定风波"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1012; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_定风波_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/定风波_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2557, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2748Stub() { } + + public override float GetMpcost(Skill skill) => 241f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (2300); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 2 ? 100 : 0)); + skill.GetVictim ().SetTime (2200); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 4 ? 100 : 0)); + skill.GetVictim ().SetTime (4801); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4306); + skill.GetVictim ().SetRatio (0.80f); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2748.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2748.cs.meta new file mode 100644 index 0000000000..3611c730a2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2748.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f1660e737b995491eb14a5be03624d64 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2749.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2749.cs new file mode 100644 index 0000000000..e9958147e8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2749.cs @@ -0,0 +1,296 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2749 : Skill + { + public const int SKILL_ID = 2749; + + public Skill2749() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2749Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46300 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 68; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(241); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1402; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(9612); + skill.SetRatio(4); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 735; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(9612); + skill.SetRatio(4); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 1368; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(9612); + skill.SetRatio(4); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 768; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(9612); + skill.SetRatio(4); + skill.SetDamage(0.25f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2749Stub() : base(2749) + { + cls = 10; + name = "狂·定风波"; + nativename = "狂·定风波"; + icon = "魔定风波"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1012; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_定风波_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/定风波_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2557, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2749Stub() { } + + public override float GetMpcost(Skill skill) => 241f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (2300); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 2 ? 100 : 0)); + skill.GetVictim ().SetTime (2200); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 4 ? 100 : 0)); + skill.GetVictim ().SetTime (4801); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 13f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2749.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2749.cs.meta new file mode 100644 index 0000000000..5b4f317cf2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2749.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 598496da61a9743a399c162c86a0ec75 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2750.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2750.cs new file mode 100644 index 0000000000..a998fc37fb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2750.cs @@ -0,0 +1,250 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2750 : Skill + { + public const int SKILL_ID = 2750; + + public Skill2750() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2750Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46301 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(241); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 501; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(8992); + skill.SetRatio(2); + skill.SetDamage(0.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 2035; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(8992); + skill.SetRatio(2); + skill.SetDamage(0.9f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2750Stub() : base(2750) + { + cls = 10; + name = "真·影狩"; + nativename = "真·影狩"; + icon = "仙影狩"; + max_level = 1; + type = 1; + apcost = 150; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1022; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_影狩_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_影狩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2558, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); +#endif + } + + ~Skill2750Stub() { } + + public override float GetMpcost(Skill skill) => 241f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetAmount (1300); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetPullover2 (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 2 ? 100 : 0)); + skill.GetVictim ().SetTime (2834); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 2 ? 50 : 0)); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3.6f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2750.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2750.cs.meta new file mode 100644 index 0000000000..489194fdd2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2750.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2901524b64b3c457fad15a22ee4e5466 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2751.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2751.cs new file mode 100644 index 0000000000..09492696ba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2751.cs @@ -0,0 +1,243 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2751 : Skill + { + public const int SKILL_ID = 2751; + + public Skill2751() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2751Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46302 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(241); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 501; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(8992); + skill.SetRatio(2); + skill.SetDamage(0.1f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 2035; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(8992); + skill.SetRatio(2); + skill.SetDamage(0.9f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2751Stub() : base(2751) + { + cls = 10; + name = "狂·影狩"; + nativename = "狂·影狩"; + icon = "魔影狩"; + max_level = 1; + type = 1; + apcost = 150; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1022; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_影狩_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_影狩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2558, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); +#endif + } + + ~Skill2751Stub() { } + + public override float GetMpcost(Skill skill) => 241f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 1 ? 100 : 0)); + skill.GetVictim ().SetAmount (1300); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetPullover2 (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 2 ? 100 : 0)); + skill.GetVictim ().SetTime (2834); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3.5f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2751.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2751.cs.meta new file mode 100644 index 0000000000..18a40417a1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2751.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ab884e479e66d4bcdb2827d5a07c40b5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2752.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2752.cs new file mode 100644 index 0000000000..5bad2d16cc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2752.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2752 : Skill + { + public const int SKILL_ID = 2752; + + public Skill2752() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2752Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46303 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 119); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 119); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2752Stub() : base(2752) + { + cls = 10; + name = "真·刹那"; + nativename = "真·刹那"; + icon = "仙刹那"; + max_level = 1; + type = 8; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1008; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_刹那_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_刹那_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2559, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2752Stub() { } + + public override float GetMpcost(Skill skill) => 119f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2752.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2752.cs.meta new file mode 100644 index 0000000000..5d46ed83fb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2752.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 122f62f82cc514151ad3decea774be86 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2753.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2753.cs new file mode 100644 index 0000000000..5f4887e094 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2753.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2753 : Skill + { + public const int SKILL_ID = 2753; + + public Skill2753() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2753Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46304 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 119); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 119); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2753Stub() : base(2753) + { + cls = 10; + name = "狂·刹那"; + nativename = "狂·刹那"; + icon = "魔刹那"; + max_level = 1; + type = 8; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1008; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_刹那_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_刹那_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2559, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2753Stub() { } + + public override float GetMpcost(Skill skill) => 119f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 28000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2753.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2753.cs.meta new file mode 100644 index 0000000000..3b721980eb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2753.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e756ce99c95854860bcedadd708e03db \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2754.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2754.cs new file mode 100644 index 0000000000..02a27e2859 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2754.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2754 : Skill + { + public const int SKILL_ID = 2754; + + public Skill2754() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2754Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46305 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 116); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1068; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 116); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2754Stub() : base(2754) + { + cls = 10; + name = "真·月饮"; + nativename = "真·月饮"; + icon = "仙月饮"; + max_level = 1; + type = 2; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1009; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2560, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2754Stub() { } + + public override float GetMpcost(Skill skill) => 116f; + public override int GetExecutetime(Skill skill) => 1068; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetFreemove (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2559); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2752); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2860); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2754.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2754.cs.meta new file mode 100644 index 0000000000..7366d5e2b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2754.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b0caa211dd1d24536850a5a5c299464a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2755.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2755.cs new file mode 100644 index 0000000000..825cc79c72 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2755.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2755 : Skill + { + public const int SKILL_ID = 2755; + + public Skill2755() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2755Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46306 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 116); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1068; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 116); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2755Stub() : base(2755) + { + cls = 10; + name = "狂·月饮"; + nativename = "狂·月饮"; + icon = "魔月饮"; + max_level = 1; + type = 2; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1009; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2560, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2755Stub() { } + + public override float GetMpcost(Skill skill) => 116f; + public override int GetExecutetime(Skill skill) => 1068; + public override int GetCoolingtime(Skill skill) => 120000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetFreemove (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2753); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2559); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2863); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2755.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2755.cs.meta new file mode 100644 index 0000000000..bb600dce4d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2755.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 921b8be7acdf74183948405962c4ce19 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2756.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2756.cs new file mode 100644 index 0000000000..94e5c7fe76 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2756.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2756 : Skill + { + public const int SKILL_ID = 2756; + + public Skill2756() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2756Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46307 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 401; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 483); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2201; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 483); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2756Stub() : base(2756) + { + cls = 10; + name = "真·月咏"; + nativename = "真·月咏"; + icon = "仙月咏"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1023; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2561, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2756Stub() { } + + public override float GetMpcost(Skill skill) => 483f; + public override int GetExecutetime(Skill skill) => 2201; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (45); + skill.GetVictim ().SetCritdamagereduce (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.15f); + skill.GetVictim ().SetEnhanceskilldamage3 (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2756.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2756.cs.meta new file mode 100644 index 0000000000..f7d5184347 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2756.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aacc437e44a71489ea119c5da906dc05 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2757.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2757.cs new file mode 100644 index 0000000000..d974808d09 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2757.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2757 : Skill + { + public const int SKILL_ID = 2757; + + public Skill2757() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2757Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46308 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 401; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 483); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2201; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 483); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2757Stub() : base(2757) + { + cls = 10; + name = "狂·月咏"; + nativename = "狂·月咏"; + icon = "魔月咏"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1023; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2561, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2757Stub() { } + + public override float GetMpcost(Skill skill) => 483f; + public override int GetExecutetime(Skill skill) => 2201; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (45); + skill.GetVictim ().SetCritdamagereduce (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.15f); + skill.GetVictim ().SetEnhanceskilldamage3 (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetAddattackdegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2757.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2757.cs.meta new file mode 100644 index 0000000000..610c848014 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2757.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3bd6b64e9c70d4a019e16691752f3f3e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2758.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2758.cs new file mode 100644 index 0000000000..fd0f10a0df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2758.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2758 : Skill + { + public const int SKILL_ID = 2758; + + public Skill2758() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2758Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46309 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 154); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 502; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 154); + skill.SetPlus(4270); + skill.SetRatio(0.5f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2758Stub() : base(2758) + { + cls = 10; + name = "真·长风"; + nativename = "真·长风"; + icon = "仙长风"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1013; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_长风_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_长风_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(2563, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2758Stub() { } + + public override float GetMpcost(Skill skill) => 154f; + public override int GetExecutetime(Skill skill) => 502; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 1000 : 6000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange() - 1); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 2f; + public void ComboSkEndAction(Skill skill) + { + skill.GetPlayer().SetComboid (2563); + } +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2758.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2758.cs.meta new file mode 100644 index 0000000000..de673934a7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2758.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6c7b89ee1f52c4d24ad9ddf9baebc5f4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2759.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2759.cs new file mode 100644 index 0000000000..b660e9dab5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2759.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2759 : Skill + { + public const int SKILL_ID = 2759; + + public Skill2759() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2759Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46310 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 154); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 502; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 154); + skill.SetPlus(4270); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2759Stub() : base(2759) + { + cls = 10; + name = "狂·长风"; + nativename = "狂·长风"; + icon = "魔长风"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1013; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_长风_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_长风_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(2563, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2759Stub() { } + + public override float GetMpcost(Skill skill) => 154f; + public override int GetExecutetime(Skill skill) => 502; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 1000 : 6000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange() - 1); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2759.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2759.cs.meta new file mode 100644 index 0000000000..f6b8337da5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2759.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1bd26564b1af74eb9ac264a2ccb0cfc1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2760.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2760.cs new file mode 100644 index 0000000000..de18dd2537 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2760.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2760 : Skill + { + public const int SKILL_ID = 2760; + + public Skill2760() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2760Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46311 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 160); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 501; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 160); + skill.SetPlus(4521); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2760Stub() : base(2760) + { + cls = 10; + name = "真·九歌"; + nativename = "真·九歌"; + icon = "仙九歌"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1014; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2563; + combosk_interval = 6000; + effect = "夜影_九歌_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/定风波_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(2564, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2760Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 501; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 1000 : 6000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 90); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange() - 1); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-5); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 2f; + public void ComboSkEndAction(Skill skill) + { + skill.GetPlayer().SetComboid (2564); + } +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2760.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2760.cs.meta new file mode 100644 index 0000000000..fd0a5b8b84 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2760.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4b5c861fff54a406588cc67b0fd9ccc4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2761.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2761.cs new file mode 100644 index 0000000000..feae2ccabc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2761.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2761 : Skill + { + public const int SKILL_ID = 2761; + + public Skill2761() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2761Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46312 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 160); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 501; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 160); + skill.SetPlus(4521); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2761Stub() : base(2761) + { + cls = 10; + name = "狂·九歌"; + nativename = "狂·九歌"; + icon = "魔九歌"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1014; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2563; + combosk_interval = 6000; + effect = "夜影_九歌_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/定风波_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(2564, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2761Stub() { } + + public override float GetMpcost(Skill skill) => 160f; + public override int GetExecutetime(Skill skill) => 501; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 1000 : 6000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 90); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange() - 1); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-15); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 2f; + public void ComboSkEndAction(Skill skill) + { + skill.GetPlayer().SetComboid (2564); + } +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2761.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2761.cs.meta new file mode 100644 index 0000000000..632de0892e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2761.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 712735aa2b3f6445ab1b82bc5e0fffcf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2762.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2762.cs new file mode 100644 index 0000000000..9675ed1bc1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2762.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2762 : Skill + { + public const int SKILL_ID = 2762; + + public Skill2762() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2762Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46313 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 207); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 207); + skill.SetPlus(7736); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2762Stub() : base(2762) + { + cls = 10; + name = "真·应龙"; + nativename = "真·应龙"; + icon = "仙应龙"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1017; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2564; + combosk_interval = 6000; + effect = "夜影_应龙_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_应龙_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(2565, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2762Stub() { } + + public override float GetMpcost(Skill skill) => 207f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 3f; + public float GetAttackdistance(Skill skill) => 12f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 2.3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2762.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2762.cs.meta new file mode 100644 index 0000000000..794ed57fe9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2762.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bb0026a242628450c9645bcb6576414b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2763.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2763.cs new file mode 100644 index 0000000000..0e13999b3e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2763.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2763 : Skill + { + public const int SKILL_ID = 2763; + + public Skill2763() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2763Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46314 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 207); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 207); + skill.SetPlus(5527); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2763Stub() : base(2763) + { + cls = 10; + name = "狂·应龙"; + nativename = "狂·应龙"; + icon = "魔应龙"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1017; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2564; + combosk_interval = 6000; + effect = "夜影_应龙_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_应龙_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(2565, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2763Stub() { } + + public override float GetMpcost(Skill skill) => 207f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 4f; + public float GetAttackdistance(Skill skill) => 12f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 2.3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2763.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2763.cs.meta new file mode 100644 index 0000000000..2f160f475f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2763.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e68cf41982d704c02ae7e22482af60ad \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2764.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2764.cs new file mode 100644 index 0000000000..9d7ebc5c61 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2764.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2764 : Skill + { + public const int SKILL_ID = 2764; + + public Skill2764() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2764Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46315 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 152); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1101; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 152); + skill.SetPlus(6704); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2764Stub() : base(2764) + { + cls = 10; + name = "真·列星"; + nativename = "真·列星"; + icon = "仙列星"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1018; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2564; + combosk_interval = 6000; + effect = "夜影_列星_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/列星_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2566, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2764Stub() { } + + public override float GetMpcost(Skill skill) => 152f; + public override int GetExecutetime(Skill skill) => 1101; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16101); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.35f * 5.5f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2764.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2764.cs.meta new file mode 100644 index 0000000000..f70a020bfa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2764.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 12adf030df0d34784bc475d2bc0a1b14 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2765.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2765.cs new file mode 100644 index 0000000000..0f1549d6e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2765.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2765 : Skill + { + public const int SKILL_ID = 2765; + + public Skill2765() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2765Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46316 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 152); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1101; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 152); + skill.SetPlus(6704); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2765Stub() : base(2765) + { + cls = 10; + name = "狂·列星"; + nativename = "狂·列星"; + icon = "魔列星"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1018; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2564; + combosk_interval = 6000; + effect = "夜影_列星_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/列星_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2566, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2765Stub() { } + + public override float GetMpcost(Skill skill) => 152f; + public override int GetExecutetime(Skill skill) => 1101; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8101); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.35f * 5.5f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2765.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2765.cs.meta new file mode 100644 index 0000000000..ddb1f82db0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2765.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3193eb346be254ddcafde7f6c5b3a22a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2766.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2766.cs new file mode 100644 index 0000000000..8f1d1050b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2766.cs @@ -0,0 +1,266 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2766 : Skill + { + public const int SKILL_ID = 2766; + + public Skill2766() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2766Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46317 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(159); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(6870); + skill.SetDamage(0.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 234; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(6870); + skill.SetDamage(0.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 468; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(6870); + skill.SetDamage(0.4f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2766Stub() : base(2766) + { + cls = 10; + name = "真·恨天"; + nativename = "真·恨天"; + icon = "仙恨天"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1019; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2564; + combosk_interval = 6000; + effect = "夜影_恨天_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_恨天_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2567, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); +#endif + } + + ~Skill2766Stub() { } + + public override float GetMpcost(Skill skill) => 159f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 3 ? 100 : 0)); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1004); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.25f * 5.5f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2766.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2766.cs.meta new file mode 100644 index 0000000000..05b613ec5d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2766.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2eab1c2ac407c4aae8751ded4ef437d6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2767.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2767.cs new file mode 100644 index 0000000000..2fe14e92e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2767.cs @@ -0,0 +1,266 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2767 : Skill + { + public const int SKILL_ID = 2767; + + public Skill2767() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2767Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46318 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(159); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(6870); + skill.SetDamage(0.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 234; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(6870); + skill.SetDamage(0.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 468; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(6870); + skill.SetDamage(0.4f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2767Stub() : base(2767) + { + cls = 10; + name = "狂·恨天"; + nativename = "狂·恨天"; + icon = "魔恨天"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1019; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2564; + combosk_interval = 6000; + effect = "夜影_恨天_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_恨天_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2567, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); +#endif + } + + ~Skill2767Stub() { } + + public override float GetMpcost(Skill skill) => 159f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetSection () == 3 ? 100 : 0)); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1004); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.25f * 5.5f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2767.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2767.cs.meta new file mode 100644 index 0000000000..78c73deba3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2767.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8b3cba0f21fd540a8a63d46835de44c6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2768.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2768.cs new file mode 100644 index 0000000000..a57f3551b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2768.cs @@ -0,0 +1,218 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2768 : Skill + { + public const int SKILL_ID = 2768; + + public Skill2768() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2768Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46319 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(174); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 601; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(6906); + skill.SetRatio(1); + skill.SetDamage(0.4f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 868; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(6906); + skill.SetRatio(1); + skill.SetDamage(0.6f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2768Stub() : base(2768) + { + cls = 10; + name = "真·苍鸟"; + nativename = "真·苍鸟"; + icon = "仙苍鸟"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 7; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1015; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2563; + combosk_interval = 6000; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2568, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); +#endif + } + + ~Skill2768Stub() { } + + public override float GetMpcost(Skill skill) => 174f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1469); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.7f * 5.5f; + public float GetHitrate(Skill skill) => 2.8f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2768.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2768.cs.meta new file mode 100644 index 0000000000..0f2585b26e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2768.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3abd9f4029d3e4583a270897f3bb33ff \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2769.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2769.cs new file mode 100644 index 0000000000..ba53d784b4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2769.cs @@ -0,0 +1,218 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2769 : Skill + { + public const int SKILL_ID = 2769; + + public Skill2769() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2769Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46320 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 67; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(174); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 601; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(6906); + skill.SetRatio(1); + skill.SetDamage(0.4f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 868; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(6906); + skill.SetRatio(1); + skill.SetDamage(0.6f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2769Stub() : base(2769) + { + cls = 10; + name = "狂·苍鸟"; + nativename = "狂·苍鸟"; + icon = "魔苍鸟"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 7; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1015; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2563; + combosk_interval = 6000; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2568, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); +#endif + } + + ~Skill2769Stub() { } + + public override float GetMpcost(Skill skill) => 174f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 27000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1469); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.7f * 5.5f; + public float GetHitrate(Skill skill) => 2.8f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2769.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2769.cs.meta new file mode 100644 index 0000000000..d9888e0618 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2769.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0d30cca3ccd0044b69cf2f489f198ad6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2770.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2770.cs new file mode 100644 index 0000000000..041988235b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2770.cs @@ -0,0 +1,212 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2770 : Skill + { + public const int SKILL_ID = 2770; + + public Skill2770() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2770Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46321 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 201; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 215); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1401; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 215); + skill.SetPlus(6967); + skill.SetRatio(0.7f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2770Stub() : base(2770) + { + cls = 10; + name = "真·大荒"; + nativename = "真·大荒"; + icon = "仙大荒"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1016; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2563; + combosk_interval = 6000; + effect = "夜影_大荒_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_大荒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2569, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2770Stub() { } + + public override float GetMpcost(Skill skill) => 215f; + public override int GetExecutetime(Skill skill) => 1401; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 50 ? 100 : 0); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 50 ? 0 : 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (10); + skill.GetVictim ().SetValue (2851); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 3f; + public float GetTalent0(PlayerWrapper player) => player.GetRand (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2770.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2770.cs.meta new file mode 100644 index 0000000000..f32eb41177 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2770.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6f2703a7720894c19a871120b09c6ef2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2771.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2771.cs new file mode 100644 index 0000000000..7afc5607e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2771.cs @@ -0,0 +1,212 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2771 : Skill + { + public const int SKILL_ID = 2771; + + public Skill2771() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2771Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46322 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 201; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 215); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1401; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 215); + skill.SetPlus(6967); + skill.SetRatio(0.7f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2771Stub() : base(2771) + { + cls = 10; + name = "狂·大荒"; + nativename = "狂·大荒"; + icon = "魔大荒"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1016; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2563; + combosk_interval = 6000; + effect = "夜影_大荒_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/夜影_大荒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2569, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2771Stub() { } + + public override float GetMpcost(Skill skill) => 215f; + public override int GetExecutetime(Skill skill) => 1401; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 50 ? 100 : 0); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 50 ? 0 : 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (10); + skill.GetVictim ().SetValue (2852); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 3f; + public float GetTalent0(PlayerWrapper player) => player.GetRand (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2771.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2771.cs.meta new file mode 100644 index 0000000000..e9d20abff9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2771.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f4fcf096c297045da8b41b64e9fd8d4e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2772.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2772.cs new file mode 100644 index 0000000000..e3fdf8ef6a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2772.cs @@ -0,0 +1,172 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2772 : Skill + { + public const int SKILL_ID = 2772; + + public Skill2772() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2772Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46327 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(134); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2772Stub() : base(2772) + { + cls = 10; + name = "啸月"; + nativename = "啸月"; + icon = "啸月"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1001; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_啸月_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/啸月_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2772Stub() { } + + public override float GetMpcost(Skill skill) => 134f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetMaxhp () == + skill.GetT0 ()? (skill.GetPlayer ().GetMaxmp () == skill.GetT1 ()? 100 : 0) : 0); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (141); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMaxhp (); + public float GetTalent1(PlayerWrapper player) => player.GetMaxmp (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2772.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2772.cs.meta new file mode 100644 index 0000000000..5d9c6d9d3f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2772.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ec147e129566c446792a8068b2e2479f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2773.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2773.cs new file mode 100644 index 0000000000..5787c6879a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2773.cs @@ -0,0 +1,164 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2773 : Skill + { + public const int SKILL_ID = 2773; + + public Skill2773() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2773Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46328 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(24); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2773Stub() : base(2773) + { + cls = 10; + name = "影噬"; + nativename = "影噬"; + icon = "影噬"; + max_level = 1; + type = 3; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1020; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_影噬_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2773Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (60000); + skill.GetVictim ().SetCooldownpunish (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2773.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2773.cs.meta new file mode 100644 index 0000000000..9dfebacc43 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2773.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6100f0b36bc3d4c8487df4056e607938 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2774.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2774.cs new file mode 100644 index 0000000000..c084fc0d4f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2774.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2774 : Skill + { + public const int SKILL_ID = 2774; + + public Skill2774() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2774Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46329 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(267); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2774Stub() : base(2774) + { + cls = 10; + name = "影遁"; + nativename = "影遁"; + icon = "影遁"; + max_level = 1; + type = 2; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1001; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_影遁_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/影遁_击中01.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2774Stub() { } + + public override float GetMpcost(Skill skill) => 267f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetForbidbeselected (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible7 (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (48); + skill.GetVictim ().SetBeastieform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetSealed2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2774.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2774.cs.meta new file mode 100644 index 0000000000..533b851d7c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2774.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c31ac01fb942b43c7b87363176259eaf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2775.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2775.cs new file mode 100644 index 0000000000..9b70475542 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2775.cs @@ -0,0 +1,287 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2775 : Skill + { + public const int SKILL_ID = 2775; + + public Skill2775() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2775Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 46330 }; + private static readonly int[] RequiredMoneyArray = { 4000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.GetPlayer().SetDecmp(223); + skill.SetPlus(11087); + skill.SetRatio(2.6f); + skill.SetDamage(0.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 1050; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(11087); + skill.SetRatio(2.6f); + skill.SetDamage(0.2f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(11087); + skill.SetRatio(2.6f); + skill.SetDamage(0.2f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 850; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(11087); + skill.SetRatio(2.6f); + skill.SetDamage(0.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2775Stub() : base(2775) + { + cls = 10; + name = "影飞绝"; + nativename = "影飞绝"; + icon = "影飞绝"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1002; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_影飞绝_击中01"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/影飞绝_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2775Stub() { } + + public override float GetMpcost(Skill skill) => 223f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetSection () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (skill.GetSection ()); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (46409 + skill.GetSection ()); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.25f * 5.5f; + public float GetHitrate(Skill skill) => 1.8f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2775.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2775.cs.meta new file mode 100644 index 0000000000..562f01393a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2775.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: deacaa5ea0a684c09a62943c54ea3bc0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2776.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2776.cs new file mode 100644 index 0000000000..9ab6b58792 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2776.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2776 : Skill + { + public const int SKILL_ID = 2776; + + public Skill2776() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2776Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 46331 }; + private static readonly int[] RequiredMoneyArray = { 4000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(267); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2776Stub() : base(2776) + { + cls = 10; + name = "贪狼刃"; + nativename = "贪狼刃"; + icon = "贪狼刃"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1001; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_贪狼刃_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "人物/技能/夜影/贪狼刃.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2776Stub() { } + + public override float GetMpcost(Skill skill) => 267f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetGenhpap (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetInccritdamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2776.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2776.cs.meta new file mode 100644 index 0000000000..981df6b0d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2776.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eecb150c918684813b5846248eb7d909 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2821.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2821.cs new file mode 100644 index 0000000000..b91c4192d1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2821.cs @@ -0,0 +1,287 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2821 : Skill + { + public const int SKILL_ID = 2821; + + public Skill2821() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2821Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 46330 }; + private static readonly int[] RequiredMoneyArray = { 4000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.GetPlayer().SetDecmp(223); + skill.SetPlus(11087); + skill.SetRatio(2.6f); + skill.SetDamage(0.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 1050; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(11087); + skill.SetRatio(2.6f); + skill.SetDamage(0.2f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(11087); + skill.SetRatio(2.6f); + skill.SetDamage(0.2f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 850; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(11087); + skill.SetRatio(2.6f); + skill.SetDamage(0.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2821Stub() : base(2821) + { + cls = 10; + name = "影飞绝"; + nativename = "影飞绝"; + icon = "影飞绝"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1002; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_影飞绝_击中01"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/影飞绝_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2821Stub() { } + + public override float GetMpcost(Skill skill) => 223f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetSection () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetPalsy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (skill.GetSection ()); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (46409 + skill.GetSection ()); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 1.25f * 5.5f; + public float GetHitrate(Skill skill) => 1.8f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2821.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2821.cs.meta new file mode 100644 index 0000000000..e37f2efecc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2821.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 93135340817b24c86a471c43a06f1908 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2822.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2822.cs new file mode 100644 index 0000000000..6d68d38fe7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2822.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2822 : Skill + { + public const int SKILL_ID = 2822; + + public Skill2822() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2822Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 46331 }; + private static readonly int[] RequiredMoneyArray = { 4000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(267); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2822Stub() : base(2822) + { + cls = 10; + name = "贪狼刃"; + nativename = "贪狼刃"; + icon = "贪狼刃"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1001; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "夜影_贪狼刃_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "人物/技能/夜影/贪狼刃.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44878); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2822Stub() { } + + public override float GetMpcost(Skill skill) => 267f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetGenhpap (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetInccritdamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2822.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2822.cs.meta new file mode 100644 index 0000000000..8f7e3bde65 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2822.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 03954599f42c04e019fb887f790d20d9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2825.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2825.cs new file mode 100644 index 0000000000..281d18d2fa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2825.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2825 : Skill + { + public const int SKILL_ID = 2825; + + public Skill2825() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2825Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46323 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill2825Stub() : base(2825) + { + cls = 10; + name = "真·胧刀精通"; + nativename = "真·胧刀精通"; + icon = "仙唐刀精通"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 2; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1101; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2687, 10); + + } + + ~Skill2825Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncscimitar (0.3f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2825.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2825.cs.meta new file mode 100644 index 0000000000..b2ff43f7ea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2825.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3c0aed6460fa441fa8a4d17a09bcd318 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2826.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2826.cs new file mode 100644 index 0000000000..cdc4966925 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2826.cs @@ -0,0 +1,106 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2826 : Skill + { + public const int SKILL_ID = 2826; + + public Skill2826() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2826Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46324 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill2826Stub() : base(2826) + { + cls = 10; + name = "狂·胧刀精通"; + nativename = "狂·胧刀精通"; + icon = "魔唐刀精通"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 2; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1101; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44878); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2687, 10); + + } + + ~Skill2826Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncscimitar (0.15f); + skill.GetPlayer ().SetInccrit (2); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2826.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2826.cs.meta new file mode 100644 index 0000000000..7ed95509aa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2826.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cffc00345572f4d549bd5d81016da65b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2827.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2827.cs new file mode 100644 index 0000000000..9518e34bae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2827.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2827 : Skill + { + public const int SKILL_ID = 2827; + + public Skill2827() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2827Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46325 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + + public Skill2827Stub() : base(2827) + { + cls = 10; + name = "真·胧族血脉"; + nativename = "真·胧族血脉"; + icon = "仙远程减伤"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 21; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1102; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2688, 10); + + } + + ~Skill2827Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncfarnormaldmgreduce (0.08f); + skill.GetPlayer ().SetIncfarskilldmgreduce (0.08f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2827.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2827.cs.meta new file mode 100644 index 0000000000..036d58dbbc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2827.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: adf2da2591d604754a21539cf4cc76c6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2828.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2828.cs new file mode 100644 index 0000000000..38cca8e9f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2828.cs @@ -0,0 +1,106 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2828 : Skill + { + public const int SKILL_ID = 2828; + + public Skill2828() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2828Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46326 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + + public Skill2828Stub() : base(2828) + { + cls = 10; + name = "狂·胧族血脉"; + nativename = "狂·胧族血脉"; + icon = "魔远程减伤"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 31; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1102; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2688, 10); + + } + + ~Skill2828Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncfarnormaldmgreduce (0.05f); + skill.GetPlayer ().SetIncfarskilldmgreduce (0.05f); + skill.GetPlayer ().SetInccrit (1); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2828.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2828.cs.meta new file mode 100644 index 0000000000..b73427cd08 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2828.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 45d81e993259e404582feb5e7ae91569 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2835.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2835.cs new file mode 100644 index 0000000000..ee4866f418 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2835.cs @@ -0,0 +1,106 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2835 : Skill + { + public const int SKILL_ID = 2835; + + public Skill2835() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2835Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2835Stub() : base(2835) + { + cls = 10; + name = "影飞绝技能效果"; + nativename = "影飞绝技能效果"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2835Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (2267); + skill.GetVictim ().SetPlantsuicide (1); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2547); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2835.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2835.cs.meta new file mode 100644 index 0000000000..74213bd3b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2835.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f19239dd90fe1423eaa36f9a7330d7d4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2847.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2847.cs new file mode 100644 index 0000000000..faaa39a125 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2847.cs @@ -0,0 +1,115 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2847 : Skill + { + public const int SKILL_ID = 2847; + + public Skill2847() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2847Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2847Stub() : base(2847) + { + cls = 10; + name = "狂·夜枭技能效果"; + nativename = "狂·夜枭技能效果"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2847Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4001); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7001); + skill.GetVictim ().SetRatio (0.45f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2729); + skill.GetVictim ().SetIncspecskilldamage (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7001); + skill.GetVictim ().SetRatio (0.45f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2547); + skill.GetVictim ().SetIncspecskilldamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2847.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2847.cs.meta new file mode 100644 index 0000000000..46de077c95 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2847.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a9f567c82aeea41db8106b0ff8089a64 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2848.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2848.cs new file mode 100644 index 0000000000..92c5b39599 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2848.cs @@ -0,0 +1,112 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2848 : Skill + { + public const int SKILL_ID = 2848; + + public Skill2848() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2848Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + + + public Skill2848Stub() : base(2848) + { + cls = 10; + name = "狂·双合技能效果"; + nativename = "狂·双合技能效果"; + icon = "无式"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + + } + + ~Skill2848Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 100 : 0); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleinchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6935); + skill.GetVictim ().SetRatio (50); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2547); + skill.GetVictim ().SetIncspecskillcrit (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6935); + skill.GetVictim ().SetRatio (50); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2729); + skill.GetVictim ().SetIncspecskillcrit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2848.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2848.cs.meta new file mode 100644 index 0000000000..f5b62f3e56 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2848.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cefc98780d26444de91a456851baedec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2849.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2849.cs new file mode 100644 index 0000000000..11a57666d1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2849.cs @@ -0,0 +1,142 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2849 : Skill + { + public const int SKILL_ID = 2849; + + public Skill2849() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2849Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + + + public Skill2849Stub() : base(2849) + { + cls = 10; + name = "狂·邈云汉技能效果"; + nativename = "狂·邈云汉技能效果"; + icon = "无式"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2寸力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + + } + + ~Skill2849Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2553); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2741); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2854); + skill.GetVictim ().SetAurabless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2849.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2849.cs.meta new file mode 100644 index 0000000000..dc7378c736 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2849.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bf724724ce0af4182a7afac89d1dc8c4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2850.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2850.cs new file mode 100644 index 0000000000..9e9957797f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2850.cs @@ -0,0 +1,102 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2850 : Skill + { + public const int SKILL_ID = 2850; + + public Skill2850() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2850Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2850Stub() : base(2850) + { + cls = 10; + name = "狂·月食技能效果"; + nativename = "狂·月食技能效果"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2850Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2850.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2850.cs.meta new file mode 100644 index 0000000000..50269bd94e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2850.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5d0ebc62091a64f60a67df8ccc39687b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2851.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2851.cs new file mode 100644 index 0000000000..cdd639a799 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2851.cs @@ -0,0 +1,107 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2851 : Skill + { + public const int SKILL_ID = 2851; + + public Skill2851() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2851Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2851Stub() : base(2851) + { + cls = 10; + name = "真·大荒技能效果"; + nativename = "真·大荒技能效果"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2851Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4001); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetIncdamagedodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2851.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2851.cs.meta new file mode 100644 index 0000000000..a4d6131153 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2851.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b9cf48b86ab2d446a9abe6ef3a039987 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2852.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2852.cs new file mode 100644 index 0000000000..dda381e1ea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2852.cs @@ -0,0 +1,107 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2852 : Skill + { + public const int SKILL_ID = 2852; + + public Skill2852() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2852Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2852Stub() : base(2852) + { + cls = 10; + name = "狂·大荒技能效果"; + nativename = "狂·大荒技能效果"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2852Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4001); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetIncdebuffdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2852.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2852.cs.meta new file mode 100644 index 0000000000..76c8e15ba9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2852.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3055dd5c88cce48ecb1e8d8ef7500927 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2853.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2853.cs new file mode 100644 index 0000000000..d4bb5e4dc1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2853.cs @@ -0,0 +1,148 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2853 : Skill + { + public const int SKILL_ID = 2853; + + public Skill2853() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2853Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + + + public Skill2853Stub() : base(2853) + { + cls = 10; + name = "邈云汉技能效果2"; + nativename = "邈云汉技能效果2"; + icon = "无式"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2寸力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + + } + + ~Skill2853Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7701); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2553); + skill.GetVictim ().SetCooldownaward (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7701); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2740); + skill.GetVictim ().SetCooldownaward (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7701); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2741); + skill.GetVictim ().SetCooldownaward (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7701); + skill.GetVictim ().SetValue (35); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2853.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2853.cs.meta new file mode 100644 index 0000000000..7d62c2c452 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2853.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4229335be26bf425ca2b178781670ed5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2854.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2854.cs new file mode 100644 index 0000000000..d633ff2363 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2854.cs @@ -0,0 +1,142 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2854 : Skill + { + public const int SKILL_ID = 2854; + + public Skill2854() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2854Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0, 5, 10, 15, 20, 25, 30, 35, 40, 45 }; + private static readonly int[] RequiredSpArray = { 0, 300, 1200, 2800, 5200, 8400, 12800, 18600, 26300, 36500 }; + + + public Skill2854Stub() : base(2854) + { + cls = 10; + name = "狂·邈云汉技能效果2"; + nativename = "狂·邈云汉技能效果2"; + icon = "无式"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "2寸力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + + } + + ~Skill2854Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(skill.GetPlayer().GetRange()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7701); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2553); + skill.GetVictim ().SetCooldownaward (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7701); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2741); + skill.GetVictim ().SetCooldownaward (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7701); + skill.GetVictim ().SetValue (40); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetPlayer ().GetRange () + 5; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2854.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2854.cs.meta new file mode 100644 index 0000000000..4d40c4e8b4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2854.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b28a28b178db64491bfef5e4f0d2f32b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2855.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2855.cs new file mode 100644 index 0000000000..297b8593a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2855.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2855 : Skill + { + public const int SKILL_ID = 2855; + + public Skill2855() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2855Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2855Stub() : base(2855) + { + cls = 10; + name = "2758-真长风技能效果"; + nativename = "2758-真长风技能效果"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + combosk_preskill = 2758; + combosk_interval = 6000; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2855Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2855.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2855.cs.meta new file mode 100644 index 0000000000..3286b58f18 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2855.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3c71f8cd83be446f9bfb30f42cd3398b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2856.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2856.cs new file mode 100644 index 0000000000..51eba08a68 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2856.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2856 : Skill + { + public const int SKILL_ID = 2856; + + public Skill2856() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2856Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2856Stub() : base(2856) + { + cls = 10; + name = "2759-狂长风技能效果"; + nativename = "2759-狂长风技能效果"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + combosk_preskill = 2759; + combosk_interval = 6000; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2856Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2856.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2856.cs.meta new file mode 100644 index 0000000000..a7014cf05a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2856.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5d7abdf06c915495c8cd6dbb9d224817 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2857.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2857.cs new file mode 100644 index 0000000000..941fe29668 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2857.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2857 : Skill + { + public const int SKILL_ID = 2857; + + public Skill2857() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2857Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2857Stub() : base(2857) + { + cls = 10; + name = "2760-真九歌技能效果"; + nativename = "2760-真九歌技能效果"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + combosk_preskill = 2760; + combosk_interval = 6000; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2857Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2857.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2857.cs.meta new file mode 100644 index 0000000000..6e17e06f2a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2857.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5e3e59e40fd26422591ba5371bc35c84 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2858.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2858.cs new file mode 100644 index 0000000000..7a0f9212a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2858.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2858 : Skill + { + public const int SKILL_ID = 2858; + + public Skill2858() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2858Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2858Stub() : base(2858) + { + cls = 10; + name = "2761-狂九歌技能效果"; + nativename = "2761-狂九歌技能效果"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + combosk_preskill = 2761; + combosk_interval = 6000; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2858Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2858.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2858.cs.meta new file mode 100644 index 0000000000..fd8252b924 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2858.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b5360aa02f62d4fa384fcf8fc28fec9b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2859.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2859.cs new file mode 100644 index 0000000000..c6a5d165d4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2859.cs @@ -0,0 +1,120 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2859 : Skill + { + public const int SKILL_ID = 2859; + + public Skill2859() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2859Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2859Stub() : base(2859) + { + cls = 10; + name = "月饮技能效果"; + nativename = "月饮技能效果"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2859Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2559); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2752); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (2753); + skill.GetVictim ().SetSkillcooldown (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (2862); + skill.GetVictim ().SetAurabless (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2859.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2859.cs.meta new file mode 100644 index 0000000000..296f548834 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2859.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f9d3aba97cf4c46afa5990c3ad1e8345 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2860.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2860.cs new file mode 100644 index 0000000000..e77283c0c7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2860.cs @@ -0,0 +1,117 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2860 : Skill + { + public const int SKILL_ID = 2860; + + public Skill2860() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2860Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2860Stub() : base(2860) + { + cls = 10; + name = "真月饮技能效果"; + nativename = "真月饮技能效果"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2860Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2559); + skill.GetVictim ().SetCooldownaward (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2752); + skill.GetVictim ().SetCooldownaward (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetRatio (4); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (1082); + skill.GetVictim ().SetAppenddamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2860.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2860.cs.meta new file mode 100644 index 0000000000..c7593e8249 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2860.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 05e4f255dde884738b39a4af251e3131 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2862.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2862.cs new file mode 100644 index 0000000000..3806d84767 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2862.cs @@ -0,0 +1,117 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2862 : Skill + { + public const int SKILL_ID = 2862; + + public Skill2862() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2862Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2862Stub() : base(2862) + { + cls = 10; + name = "月饮技能效果2"; + nativename = "月饮技能效果2"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2862Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2559); + skill.GetVictim ().SetCooldownaward (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2752); + skill.GetVictim ().SetCooldownaward (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2753); + skill.GetVictim ().SetCooldownaward (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2862.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2862.cs.meta new file mode 100644 index 0000000000..31ec136751 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2862.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4169efa7f38824ea39bffdf8f3b38024 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2863.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2863.cs new file mode 100644 index 0000000000..8470ac68ea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2863.cs @@ -0,0 +1,111 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2863 : Skill + { + public const int SKILL_ID = 2863; + + public Skill2863() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2863Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2863Stub() : base(2863) + { + cls = 10; + name = "狂月饮技能效果"; + nativename = "狂月饮技能效果"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2863Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2559); + skill.GetVictim ().SetCooldownaward (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2753); + skill.GetVictim ().SetCooldownaward (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2863.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2863.cs.meta new file mode 100644 index 0000000000..fec2d5766b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs5/skill2863.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 14986a022a71d41178a0e139c3ed06fb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6.meta new file mode 100644 index 0000000000..e9e8906cf2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6f6baeec39fcf4860baf00632623d86e +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/SkillStubs6.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/SkillStubs6.cs new file mode 100644 index 0000000000..e7b0e7fa22 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/SkillStubs6.cs @@ -0,0 +1,525 @@ +using BrewMonster.Scripts.Skills; +using UnityEngine; + +namespace BrewMonster +{ + public static partial class SkillStubs + { + // Skill stub declarations + public static Skill20Stub __stub_Skill20Stub = new Skill20Stub(); + public static Skill21Stub __stub_Skill21Stub = new Skill21Stub(); + public static Skill22Stub __stub_Skill22Stub = new Skill22Stub(); + public static Skill23Stub __stub_Skill23Stub = new Skill23Stub(); + public static Skill24Stub __stub_Skill24Stub = new Skill24Stub(); + public static Skill25Stub __stub_Skill25Stub = new Skill25Stub(); + public static Skill26Stub __stub_Skill26Stub = new Skill26Stub(); + public static Skill27Stub __stub_Skill27Stub = new Skill27Stub(); + public static Skill28Stub __stub_Skill28Stub = new Skill28Stub(); + public static Skill29Stub __stub_Skill29Stub = new Skill29Stub(); + public static Skill30Stub __stub_Skill30Stub = new Skill30Stub(); + public static Skill31Stub __stub_Skill31Stub = new Skill31Stub(); + public static Skill32Stub __stub_Skill32Stub = new Skill32Stub(); + public static Skill33Stub __stub_Skill33Stub = new Skill33Stub(); + public static Skill34Stub __stub_Skill34Stub = new Skill34Stub(); + public static Skill35Stub __stub_Skill35Stub = new Skill35Stub(); + public static Skill36Stub __stub_Skill36Stub = new Skill36Stub(); + public static Skill37Stub __stub_Skill37Stub = new Skill37Stub(); + public static Skill38Stub __stub_Skill38Stub = new Skill38Stub(); + public static Skill39Stub __stub_Skill39Stub = new Skill39Stub(); + public static Skill40Stub __stub_Skill40Stub = new Skill40Stub(); + public static Skill41Stub __stub_Skill41Stub = new Skill41Stub(); + public static Skill42Stub __stub_Skill42Stub = new Skill42Stub(); + public static Skill43Stub __stub_Skill43Stub = new Skill43Stub(); + public static Skill44Stub __stub_Skill44Stub = new Skill44Stub(); + public static Skill45Stub __stub_Skill45Stub = new Skill45Stub(); + public static Skill46Stub __stub_Skill46Stub = new Skill46Stub(); + public static Skill47Stub __stub_Skill47Stub = new Skill47Stub(); + public static Skill48Stub __stub_Skill48Stub = new Skill48Stub(); + public static Skill49Stub __stub_Skill49Stub = new Skill49Stub(); + public static Skill50Stub __stub_Skill50Stub = new Skill50Stub(); + public static Skill51Stub __stub_Skill51Stub = new Skill51Stub(); + public static Skill52Stub __stub_Skill52Stub = new Skill52Stub(); + public static Skill147Stub __stub_Skill147Stub = new Skill147Stub(); + public static Skill148Stub __stub_Skill148Stub = new Skill148Stub(); + public static Skill168Stub __stub_Skill168Stub = new Skill168Stub(); + public static Skill169Stub __stub_Skill169Stub = new Skill169Stub(); + public static Skill170Stub __stub_Skill170Stub = new Skill170Stub(); + public static Skill171Stub __stub_Skill171Stub = new Skill171Stub(); + public static Skill172Stub __stub_Skill172Stub = new Skill172Stub(); + public static Skill173Stub __stub_Skill173Stub = new Skill173Stub(); + public static Skill174Stub __stub_Skill174Stub = new Skill174Stub(); + public static Skill175Stub __stub_Skill175Stub = new Skill175Stub(); + public static Skill259Stub __stub_Skill259Stub = new Skill259Stub(); + public static Skill260Stub __stub_Skill260Stub = new Skill260Stub(); + public static Skill261Stub __stub_Skill261Stub = new Skill261Stub(); + public static Skill262Stub __stub_Skill262Stub = new Skill262Stub(); + public static Skill263Stub __stub_Skill263Stub = new Skill263Stub(); + public static Skill264Stub __stub_Skill264Stub = new Skill264Stub(); + public static Skill265Stub __stub_Skill265Stub = new Skill265Stub(); + public static Skill266Stub __stub_Skill266Stub = new Skill266Stub(); + public static Skill267Stub __stub_Skill267Stub = new Skill267Stub(); + public static Skill268Stub __stub_Skill268Stub = new Skill268Stub(); + public static Skill269Stub __stub_Skill269Stub = new Skill269Stub(); + public static Skill270Stub __stub_Skill270Stub = new Skill270Stub(); + public static Skill271Stub __stub_Skill271Stub = new Skill271Stub(); + public static Skill272Stub __stub_Skill272Stub = new Skill272Stub(); + public static Skill273Stub __stub_Skill273Stub = new Skill273Stub(); + public static Skill275Stub __stub_Skill275Stub = new Skill275Stub(); + public static Skill276Stub __stub_Skill276Stub = new Skill276Stub(); + public static Skill277Stub __stub_Skill277Stub = new Skill277Stub(); + public static Skill278Stub __stub_Skill278Stub = new Skill278Stub(); + public static Skill279Stub __stub_Skill279Stub = new Skill279Stub(); + public static Skill280Stub __stub_Skill280Stub = new Skill280Stub(); + public static Skill281Stub __stub_Skill281Stub = new Skill281Stub(); + public static Skill282Stub __stub_Skill282Stub = new Skill282Stub(); + public static Skill283Stub __stub_Skill283Stub = new Skill283Stub(); + public static Skill284Stub __stub_Skill284Stub = new Skill284Stub(); + public static Skill285Stub __stub_Skill285Stub = new Skill285Stub(); + public static Skill286Stub __stub_Skill286Stub = new Skill286Stub(); + public static Skill287Stub __stub_Skill287Stub = new Skill287Stub(); + public static Skill288Stub __stub_Skill288Stub = new Skill288Stub(); + public static Skill289Stub __stub_Skill289Stub = new Skill289Stub(); + public static Skill290Stub __stub_Skill290Stub = new Skill290Stub(); + public static Skill291Stub __stub_Skill291Stub = new Skill291Stub(); + public static Skill292Stub __stub_Skill292Stub = new Skill292Stub(); + public static Skill293Stub __stub_Skill293Stub = new Skill293Stub(); + public static Skill294Stub __stub_Skill294Stub = new Skill294Stub(); + public static Skill295Stub __stub_Skill295Stub = new Skill295Stub(); + public static Skill296Stub __stub_Skill296Stub = new Skill296Stub(); + public static Skill297Stub __stub_Skill297Stub = new Skill297Stub(); + public static Skill298Stub __stub_Skill298Stub = new Skill298Stub(); + public static Skill331Stub __stub_Skill331Stub = new Skill331Stub(); + public static Skill332Stub __stub_Skill332Stub = new Skill332Stub(); + public static Skill333Stub __stub_Skill333Stub = new Skill333Stub(); + public static Skill334Stub __stub_Skill334Stub = new Skill334Stub(); + public static Skill335Stub __stub_Skill335Stub = new Skill335Stub(); + public static Skill336Stub __stub_Skill336Stub = new Skill336Stub(); + public static Skill337Stub __stub_Skill337Stub = new Skill337Stub(); + public static Skill338Stub __stub_Skill338Stub = new Skill338Stub(); + public static Skill339Stub __stub_Skill339Stub = new Skill339Stub(); + public static Skill340Stub __stub_Skill340Stub = new Skill340Stub(); + public static Skill341Stub __stub_Skill341Stub = new Skill341Stub(); + public static Skill342Stub __stub_Skill342Stub = new Skill342Stub(); + public static Skill343Stub __stub_Skill343Stub = new Skill343Stub(); + public static Skill344Stub __stub_Skill344Stub = new Skill344Stub(); + public static Skill345Stub __stub_Skill345Stub = new Skill345Stub(); + public static Skill346Stub __stub_Skill346Stub = new Skill346Stub(); + public static Skill347Stub __stub_Skill347Stub = new Skill347Stub(); + public static Skill348Stub __stub_Skill348Stub = new Skill348Stub(); + public static Skill349Stub __stub_Skill349Stub = new Skill349Stub(); + public static Skill350Stub __stub_Skill350Stub = new Skill350Stub(); + public static Skill351Stub __stub_Skill351Stub = new Skill351Stub(); + public static Skill352Stub __stub_Skill352Stub = new Skill352Stub(); + public static Skill353Stub __stub_Skill353Stub = new Skill353Stub(); + public static Skill354Stub __stub_Skill354Stub = new Skill354Stub(); + public static Skill355Stub __stub_Skill355Stub = new Skill355Stub(); + public static Skill356Stub __stub_Skill356Stub = new Skill356Stub(); + public static Skill357Stub __stub_Skill357Stub = new Skill357Stub(); + public static Skill358Stub __stub_Skill358Stub = new Skill358Stub(); + public static Skill359Stub __stub_Skill359Stub = new Skill359Stub(); + public static Skill682Stub __stub_Skill682Stub = new Skill682Stub(); + public static Skill683Stub __stub_Skill683Stub = new Skill683Stub(); + public static Skill684Stub __stub_Skill684Stub = new Skill684Stub(); + public static Skill685Stub __stub_Skill685Stub = new Skill685Stub(); + public static Skill686Stub __stub_Skill686Stub = new Skill686Stub(); + public static Skill687Stub __stub_Skill687Stub = new Skill687Stub(); + public static Skill688Stub __stub_Skill688Stub = new Skill688Stub(); + public static Skill689Stub __stub_Skill689Stub = new Skill689Stub(); + public static Skill691Stub __stub_Skill691Stub = new Skill691Stub(); + public static Skill692Stub __stub_Skill692Stub = new Skill692Stub(); + public static Skill693Stub __stub_Skill693Stub = new Skill693Stub(); + public static Skill694Stub __stub_Skill694Stub = new Skill694Stub(); + public static Skill695Stub __stub_Skill695Stub = new Skill695Stub(); + public static Skill696Stub __stub_Skill696Stub = new Skill696Stub(); + public static Skill697Stub __stub_Skill697Stub = new Skill697Stub(); + public static Skill698Stub __stub_Skill698Stub = new Skill698Stub(); + public static Skill699Stub __stub_Skill699Stub = new Skill699Stub(); + public static Skill700Stub __stub_Skill700Stub = new Skill700Stub(); + public static Skill701Stub __stub_Skill701Stub = new Skill701Stub(); + public static Skill702Stub __stub_Skill702Stub = new Skill702Stub(); + public static Skill703Stub __stub_Skill703Stub = new Skill703Stub(); + public static Skill704Stub __stub_Skill704Stub = new Skill704Stub(); + public static Skill705Stub __stub_Skill705Stub = new Skill705Stub(); + public static Skill706Stub __stub_Skill706Stub = new Skill706Stub(); + public static Skill707Stub __stub_Skill707Stub = new Skill707Stub(); + public static Skill708Stub __stub_Skill708Stub = new Skill708Stub(); + public static Skill709Stub __stub_Skill709Stub = new Skill709Stub(); + public static Skill710Stub __stub_Skill710Stub = new Skill710Stub(); + public static Skill711Stub __stub_Skill711Stub = new Skill711Stub(); + public static Skill712Stub __stub_Skill712Stub = new Skill712Stub(); + public static Skill713Stub __stub_Skill713Stub = new Skill713Stub(); + public static Skill714Stub __stub_Skill714Stub = new Skill714Stub(); + public static Skill715Stub __stub_Skill715Stub = new Skill715Stub(); + public static Skill716Stub __stub_Skill716Stub = new Skill716Stub(); + public static Skill717Stub __stub_Skill717Stub = new Skill717Stub(); + public static Skill718Stub __stub_Skill718Stub = new Skill718Stub(); + public static Skill719Stub __stub_Skill719Stub = new Skill719Stub(); + public static Skill720Stub __stub_Skill720Stub = new Skill720Stub(); + public static Skill721Stub __stub_Skill721Stub = new Skill721Stub(); + public static Skill722Stub __stub_Skill722Stub = new Skill722Stub(); + public static Skill723Stub __stub_Skill723Stub = new Skill723Stub(); + public static Skill724Stub __stub_Skill724Stub = new Skill724Stub(); + public static Skill725Stub __stub_Skill725Stub = new Skill725Stub(); + public static Skill726Stub __stub_Skill726Stub = new Skill726Stub(); + public static Skill727Stub __stub_Skill727Stub = new Skill727Stub(); + public static Skill728Stub __stub_Skill728Stub = new Skill728Stub(); + public static Skill729Stub __stub_Skill729Stub = new Skill729Stub(); + public static Skill730Stub __stub_Skill730Stub = new Skill730Stub(); + public static Skill731Stub __stub_Skill731Stub = new Skill731Stub(); + public static Skill732Stub __stub_Skill732Stub = new Skill732Stub(); + public static Skill733Stub __stub_Skill733Stub = new Skill733Stub(); + public static Skill734Stub __stub_Skill734Stub = new Skill734Stub(); + public static Skill735Stub __stub_Skill735Stub = new Skill735Stub(); + public static Skill736Stub __stub_Skill736Stub = new Skill736Stub(); + public static Skill737Stub __stub_Skill737Stub = new Skill737Stub(); + public static Skill738Stub __stub_Skill738Stub = new Skill738Stub(); + public static Skill739Stub __stub_Skill739Stub = new Skill739Stub(); + public static Skill740Stub __stub_Skill740Stub = new Skill740Stub(); + public static Skill741Stub __stub_Skill741Stub = new Skill741Stub(); + public static Skill742Stub __stub_Skill742Stub = new Skill742Stub(); + public static Skill743Stub __stub_Skill743Stub = new Skill743Stub(); + public static Skill744Stub __stub_Skill744Stub = new Skill744Stub(); + public static Skill745Stub __stub_Skill745Stub = new Skill745Stub(); + public static Skill746Stub __stub_Skill746Stub = new Skill746Stub(); + public static Skill747Stub __stub_Skill747Stub = new Skill747Stub(); + public static Skill748Stub __stub_Skill748Stub = new Skill748Stub(); + public static Skill749Stub __stub_Skill749Stub = new Skill749Stub(); + public static Skill750Stub __stub_Skill750Stub = new Skill750Stub(); + public static Skill2620Stub __stub_Skill2620Stub = new Skill2620Stub(); + public static Skill2621Stub __stub_Skill2621Stub = new Skill2621Stub(); + public static Skill2622Stub __stub_Skill2622Stub = new Skill2622Stub(); + public static Skill2623Stub __stub_Skill2623Stub = new Skill2623Stub(); + public static Skill2624Stub __stub_Skill2624Stub = new Skill2624Stub(); + public static Skill2625Stub __stub_Skill2625Stub = new Skill2625Stub(); + public static Skill2626Stub __stub_Skill2626Stub = new Skill2626Stub(); + public static Skill2627Stub __stub_Skill2627Stub = new Skill2627Stub(); + public static Skill2628Stub __stub_Skill2628Stub = new Skill2628Stub(); + public static Skill2629Stub __stub_Skill2629Stub = new Skill2629Stub(); + public static Skill2630Stub __stub_Skill2630Stub = new Skill2630Stub(); + public static Skill2631Stub __stub_Skill2631Stub = new Skill2631Stub(); + public static Skill2677Stub __stub_Skill2677Stub = new Skill2677Stub(); + public static Skill2678Stub __stub_Skill2678Stub = new Skill2678Stub(); + public static Skill2679Stub __stub_Skill2679Stub = new Skill2679Stub(); + public static Skill2680Stub __stub_Skill2680Stub = new Skill2680Stub(); + public static Skill2689Stub __stub_Skill2689Stub = new Skill2689Stub(); + public static Skill2690Stub __stub_Skill2690Stub = new Skill2690Stub(); + public static Skill2691Stub __stub_Skill2691Stub = new Skill2691Stub(); + public static Skill2777Stub __stub_Skill2777Stub = new Skill2777Stub(); + public static Skill2778Stub __stub_Skill2778Stub = new Skill2778Stub(); + public static Skill2779Stub __stub_Skill2779Stub = new Skill2779Stub(); + public static Skill2780Stub __stub_Skill2780Stub = new Skill2780Stub(); + public static Skill2781Stub __stub_Skill2781Stub = new Skill2781Stub(); + public static Skill2782Stub __stub_Skill2782Stub = new Skill2782Stub(); + public static Skill2783Stub __stub_Skill2783Stub = new Skill2783Stub(); + public static Skill2784Stub __stub_Skill2784Stub = new Skill2784Stub(); + public static Skill2785Stub __stub_Skill2785Stub = new Skill2785Stub(); + public static Skill2786Stub __stub_Skill2786Stub = new Skill2786Stub(); + public static Skill2787Stub __stub_Skill2787Stub = new Skill2787Stub(); + public static Skill2788Stub __stub_Skill2788Stub = new Skill2788Stub(); + public static Skill2789Stub __stub_Skill2789Stub = new Skill2789Stub(); + public static Skill2790Stub __stub_Skill2790Stub = new Skill2790Stub(); + public static Skill2791Stub __stub_Skill2791Stub = new Skill2791Stub(); + public static Skill2792Stub __stub_Skill2792Stub = new Skill2792Stub(); + public static Skill2793Stub __stub_Skill2793Stub = new Skill2793Stub(); + public static Skill2794Stub __stub_Skill2794Stub = new Skill2794Stub(); + public static Skill2795Stub __stub_Skill2795Stub = new Skill2795Stub(); + public static Skill2796Stub __stub_Skill2796Stub = new Skill2796Stub(); + public static Skill2797Stub __stub_Skill2797Stub = new Skill2797Stub(); + public static Skill2798Stub __stub_Skill2798Stub = new Skill2798Stub(); + public static Skill2799Stub __stub_Skill2799Stub = new Skill2799Stub(); + public static Skill2800Stub __stub_Skill2800Stub = new Skill2800Stub(); + public static Skill2801Stub __stub_Skill2801Stub = new Skill2801Stub(); + public static Skill2802Stub __stub_Skill2802Stub = new Skill2802Stub(); + public static Skill2803Stub __stub_Skill2803Stub = new Skill2803Stub(); + public static Skill2804Stub __stub_Skill2804Stub = new Skill2804Stub(); + public static Skill2805Stub __stub_Skill2805Stub = new Skill2805Stub(); + public static Skill2806Stub __stub_Skill2806Stub = new Skill2806Stub(); + public static Skill2807Stub __stub_Skill2807Stub = new Skill2807Stub(); + public static Skill2808Stub __stub_Skill2808Stub = new Skill2808Stub(); + public static Skill2809Stub __stub_Skill2809Stub = new Skill2809Stub(); + public static Skill2810Stub __stub_Skill2810Stub = new Skill2810Stub(); + public static Skill2811Stub __stub_Skill2811Stub = new Skill2811Stub(); + public static Skill2812Stub __stub_Skill2812Stub = new Skill2812Stub(); + public static Skill2813Stub __stub_Skill2813Stub = new Skill2813Stub(); + public static Skill2814Stub __stub_Skill2814Stub = new Skill2814Stub(); + public static Skill2815Stub __stub_Skill2815Stub = new Skill2815Stub(); + public static Skill2816Stub __stub_Skill2816Stub = new Skill2816Stub(); + public static Skill2817Stub __stub_Skill2817Stub = new Skill2817Stub(); + public static Skill2818Stub __stub_Skill2818Stub = new Skill2818Stub(); + public static Skill2819Stub __stub_Skill2819Stub = new Skill2819Stub(); + public static Skill2820Stub __stub_Skill2820Stub = new Skill2820Stub(); + public static Skill2823Stub __stub_Skill2823Stub = new Skill2823Stub(); + public static Skill2824Stub __stub_Skill2824Stub = new Skill2824Stub(); + public static Skill2829Stub __stub_Skill2829Stub = new Skill2829Stub(); + public static Skill2830Stub __stub_Skill2830Stub = new Skill2830Stub(); + public static Skill2831Stub __stub_Skill2831Stub = new Skill2831Stub(); + public static Skill2832Stub __stub_Skill2832Stub = new Skill2832Stub(); + public static Skill2833Stub __stub_Skill2833Stub = new Skill2833Stub(); + public static Skill2834Stub __stub_Skill2834Stub = new Skill2834Stub(); + public static Skill2841Stub __stub_Skill2841Stub = new Skill2841Stub(); + public static Skill2842Stub __stub_Skill2842Stub = new Skill2842Stub(); + public static Skill2843Stub __stub_Skill2843Stub = new Skill2843Stub(); + public static Skill2844Stub __stub_Skill2844Stub = new Skill2844Stub(); + public static Skill2845Stub __stub_Skill2845Stub = new Skill2845Stub(); + public static Skill2846Stub __stub_Skill2846Stub = new Skill2846Stub(); + +#if SKILL_SERVER + public static Skill20 __stub_Skill20 = new Skill20(); + public static Skill21 __stub_Skill21 = new Skill21(); + public static Skill22 __stub_Skill22 = new Skill22(); + public static Skill23 __stub_Skill23 = new Skill23(); + public static Skill24 __stub_Skill24 = new Skill24(); + public static Skill25 __stub_Skill25 = new Skill25(); + public static Skill26 __stub_Skill26 = new Skill26(); + public static Skill27 __stub_Skill27 = new Skill27(); + public static Skill28 __stub_Skill28 = new Skill28(); + public static Skill29 __stub_Skill29 = new Skill29(); + public static Skill30 __stub_Skill30 = new Skill30(); + public static Skill31 __stub_Skill31 = new Skill31(); + public static Skill32 __stub_Skill32 = new Skill32(); + public static Skill33 __stub_Skill33 = new Skill33(); + public static Skill34 __stub_Skill34 = new Skill34(); + public static Skill35 __stub_Skill35 = new Skill35(); + public static Skill36 __stub_Skill36 = new Skill36(); + public static Skill37 __stub_Skill37 = new Skill37(); + public static Skill38 __stub_Skill38 = new Skill38(); + public static Skill39 __stub_Skill39 = new Skill39(); + public static Skill40 __stub_Skill40 = new Skill40(); + public static Skill41 __stub_Skill41 = new Skill41(); + public static Skill42 __stub_Skill42 = new Skill42(); + public static Skill43 __stub_Skill43 = new Skill43(); + public static Skill44 __stub_Skill44 = new Skill44(); + public static Skill45 __stub_Skill45 = new Skill45(); + public static Skill46 __stub_Skill46 = new Skill46(); + public static Skill47 __stub_Skill47 = new Skill47(); + public static Skill48 __stub_Skill48 = new Skill48(); + public static Skill49 __stub_Skill49 = new Skill49(); + public static Skill50 __stub_Skill50 = new Skill50(); + public static Skill51 __stub_Skill51 = new Skill51(); + public static Skill52 __stub_Skill52 = new Skill52(); + public static Skill147 __stub_Skill147 = new Skill147(); + public static Skill148 __stub_Skill148 = new Skill148(); + public static Skill168 __stub_Skill168 = new Skill168(); + public static Skill169 __stub_Skill169 = new Skill169(); + public static Skill170 __stub_Skill170 = new Skill170(); + public static Skill171 __stub_Skill171 = new Skill171(); + public static Skill172 __stub_Skill172 = new Skill172(); + public static Skill173 __stub_Skill173 = new Skill173(); + public static Skill174 __stub_Skill174 = new Skill174(); + public static Skill175 __stub_Skill175 = new Skill175(); + public static Skill259 __stub_Skill259 = new Skill259(); + public static Skill260 __stub_Skill260 = new Skill260(); + public static Skill261 __stub_Skill261 = new Skill261(); + public static Skill262 __stub_Skill262 = new Skill262(); + public static Skill263 __stub_Skill263 = new Skill263(); + public static Skill264 __stub_Skill264 = new Skill264(); + public static Skill265 __stub_Skill265 = new Skill265(); + public static Skill266 __stub_Skill266 = new Skill266(); + public static Skill267 __stub_Skill267 = new Skill267(); + public static Skill268 __stub_Skill268 = new Skill268(); + public static Skill269 __stub_Skill269 = new Skill269(); + public static Skill270 __stub_Skill270 = new Skill270(); + public static Skill271 __stub_Skill271 = new Skill271(); + public static Skill272 __stub_Skill272 = new Skill272(); + public static Skill273 __stub_Skill273 = new Skill273(); + public static Skill275 __stub_Skill275 = new Skill275(); + public static Skill276 __stub_Skill276 = new Skill276(); + public static Skill277 __stub_Skill277 = new Skill277(); + public static Skill278 __stub_Skill278 = new Skill278(); + public static Skill279 __stub_Skill279 = new Skill279(); + public static Skill280 __stub_Skill280 = new Skill280(); + public static Skill281 __stub_Skill281 = new Skill281(); + public static Skill282 __stub_Skill282 = new Skill282(); + public static Skill283 __stub_Skill283 = new Skill283(); + public static Skill284 __stub_Skill284 = new Skill284(); + public static Skill285 __stub_Skill285 = new Skill285(); + public static Skill286 __stub_Skill286 = new Skill286(); + public static Skill287 __stub_Skill287 = new Skill287(); + public static Skill288 __stub_Skill288 = new Skill288(); + public static Skill289 __stub_Skill289 = new Skill289(); + public static Skill290 __stub_Skill290 = new Skill290(); + public static Skill291 __stub_Skill291 = new Skill291(); + public static Skill292 __stub_Skill292 = new Skill292(); + public static Skill293 __stub_Skill293 = new Skill293(); + public static Skill294 __stub_Skill294 = new Skill294(); + public static Skill295 __stub_Skill295 = new Skill295(); + public static Skill296 __stub_Skill296 = new Skill296(); + public static Skill297 __stub_Skill297 = new Skill297(); + public static Skill298 __stub_Skill298 = new Skill298(); + public static Skill331 __stub_Skill331 = new Skill331(); + public static Skill332 __stub_Skill332 = new Skill332(); + public static Skill333 __stub_Skill333 = new Skill333(); + public static Skill334 __stub_Skill334 = new Skill334(); + public static Skill335 __stub_Skill335 = new Skill335(); + public static Skill336 __stub_Skill336 = new Skill336(); + public static Skill337 __stub_Skill337 = new Skill337(); + public static Skill338 __stub_Skill338 = new Skill338(); + public static Skill339 __stub_Skill339 = new Skill339(); + public static Skill340 __stub_Skill340 = new Skill340(); + public static Skill341 __stub_Skill341 = new Skill341(); + public static Skill342 __stub_Skill342 = new Skill342(); + public static Skill343 __stub_Skill343 = new Skill343(); + public static Skill344 __stub_Skill344 = new Skill344(); + public static Skill345 __stub_Skill345 = new Skill345(); + public static Skill346 __stub_Skill346 = new Skill346(); + public static Skill347 __stub_Skill347 = new Skill347(); + public static Skill348 __stub_Skill348 = new Skill348(); + public static Skill349 __stub_Skill349 = new Skill349(); + public static Skill350 __stub_Skill350 = new Skill350(); + public static Skill351 __stub_Skill351 = new Skill351(); + public static Skill352 __stub_Skill352 = new Skill352(); + public static Skill353 __stub_Skill353 = new Skill353(); + public static Skill354 __stub_Skill354 = new Skill354(); + public static Skill355 __stub_Skill355 = new Skill355(); + public static Skill356 __stub_Skill356 = new Skill356(); + public static Skill357 __stub_Skill357 = new Skill357(); + public static Skill358 __stub_Skill358 = new Skill358(); + public static Skill359 __stub_Skill359 = new Skill359(); + public static Skill682 __stub_Skill682 = new Skill682(); + public static Skill683 __stub_Skill683 = new Skill683(); + public static Skill684 __stub_Skill684 = new Skill684(); + public static Skill685 __stub_Skill685 = new Skill685(); + public static Skill686 __stub_Skill686 = new Skill686(); + public static Skill687 __stub_Skill687 = new Skill687(); + public static Skill688 __stub_Skill688 = new Skill688(); + public static Skill689 __stub_Skill689 = new Skill689(); + public static Skill691 __stub_Skill691 = new Skill691(); + public static Skill692 __stub_Skill692 = new Skill692(); + public static Skill693 __stub_Skill693 = new Skill693(); + public static Skill694 __stub_Skill694 = new Skill694(); + public static Skill695 __stub_Skill695 = new Skill695(); + public static Skill696 __stub_Skill696 = new Skill696(); + public static Skill697 __stub_Skill697 = new Skill697(); + public static Skill698 __stub_Skill698 = new Skill698(); + public static Skill699 __stub_Skill699 = new Skill699(); + public static Skill700 __stub_Skill700 = new Skill700(); + public static Skill701 __stub_Skill701 = new Skill701(); + public static Skill702 __stub_Skill702 = new Skill702(); + public static Skill703 __stub_Skill703 = new Skill703(); + public static Skill704 __stub_Skill704 = new Skill704(); + public static Skill705 __stub_Skill705 = new Skill705(); + public static Skill706 __stub_Skill706 = new Skill706(); + public static Skill707 __stub_Skill707 = new Skill707(); + public static Skill708 __stub_Skill708 = new Skill708(); + public static Skill709 __stub_Skill709 = new Skill709(); + public static Skill710 __stub_Skill710 = new Skill710(); + public static Skill711 __stub_Skill711 = new Skill711(); + public static Skill712 __stub_Skill712 = new Skill712(); + public static Skill713 __stub_Skill713 = new Skill713(); + public static Skill714 __stub_Skill714 = new Skill714(); + public static Skill715 __stub_Skill715 = new Skill715(); + public static Skill716 __stub_Skill716 = new Skill716(); + public static Skill717 __stub_Skill717 = new Skill717(); + public static Skill718 __stub_Skill718 = new Skill718(); + public static Skill719 __stub_Skill719 = new Skill719(); + public static Skill720 __stub_Skill720 = new Skill720(); + public static Skill721 __stub_Skill721 = new Skill721(); + public static Skill722 __stub_Skill722 = new Skill722(); + public static Skill723 __stub_Skill723 = new Skill723(); + public static Skill724 __stub_Skill724 = new Skill724(); + public static Skill725 __stub_Skill725 = new Skill725(); + public static Skill726 __stub_Skill726 = new Skill726(); + public static Skill727 __stub_Skill727 = new Skill727(); + public static Skill728 __stub_Skill728 = new Skill728(); + public static Skill729 __stub_Skill729 = new Skill729(); + public static Skill730 __stub_Skill730 = new Skill730(); + public static Skill731 __stub_Skill731 = new Skill731(); + public static Skill732 __stub_Skill732 = new Skill732(); + public static Skill733 __stub_Skill733 = new Skill733(); + public static Skill734 __stub_Skill734 = new Skill734(); + public static Skill735 __stub_Skill735 = new Skill735(); + public static Skill736 __stub_Skill736 = new Skill736(); + public static Skill737 __stub_Skill737 = new Skill737(); + public static Skill738 __stub_Skill738 = new Skill738(); + public static Skill739 __stub_Skill739 = new Skill739(); + public static Skill740 __stub_Skill740 = new Skill740(); + public static Skill741 __stub_Skill741 = new Skill741(); + public static Skill742 __stub_Skill742 = new Skill742(); + public static Skill743 __stub_Skill743 = new Skill743(); + public static Skill744 __stub_Skill744 = new Skill744(); + public static Skill745 __stub_Skill745 = new Skill745(); + public static Skill746 __stub_Skill746 = new Skill746(); + public static Skill747 __stub_Skill747 = new Skill747(); + public static Skill748 __stub_Skill748 = new Skill748(); + public static Skill749 __stub_Skill749 = new Skill749(); + public static Skill750 __stub_Skill750 = new Skill750(); + public static Skill2620 __stub_Skill2620 = new Skill2620(); + public static Skill2621 __stub_Skill2621 = new Skill2621(); + public static Skill2622 __stub_Skill2622 = new Skill2622(); + public static Skill2623 __stub_Skill2623 = new Skill2623(); + public static Skill2624 __stub_Skill2624 = new Skill2624(); + public static Skill2625 __stub_Skill2625 = new Skill2625(); + public static Skill2626 __stub_Skill2626 = new Skill2626(); + public static Skill2627 __stub_Skill2627 = new Skill2627(); + public static Skill2628 __stub_Skill2628 = new Skill2628(); + public static Skill2629 __stub_Skill2629 = new Skill2629(); + public static Skill2630 __stub_Skill2630 = new Skill2630(); + public static Skill2631 __stub_Skill2631 = new Skill2631(); + public static Skill2677 __stub_Skill2677 = new Skill2677(); + public static Skill2678 __stub_Skill2678 = new Skill2678(); + public static Skill2679 __stub_Skill2679 = new Skill2679(); + public static Skill2680 __stub_Skill2680 = new Skill2680(); + public static Skill2689 __stub_Skill2689 = new Skill2689(); + public static Skill2690 __stub_Skill2690 = new Skill2690(); + public static Skill2691 __stub_Skill2691 = new Skill2691(); + public static Skill2777 __stub_Skill2777 = new Skill2777(); + public static Skill2778 __stub_Skill2778 = new Skill2778(); + public static Skill2779 __stub_Skill2779 = new Skill2779(); + public static Skill2780 __stub_Skill2780 = new Skill2780(); + public static Skill2781 __stub_Skill2781 = new Skill2781(); + public static Skill2782 __stub_Skill2782 = new Skill2782(); + public static Skill2783 __stub_Skill2783 = new Skill2783(); + public static Skill2784 __stub_Skill2784 = new Skill2784(); + public static Skill2785 __stub_Skill2785 = new Skill2785(); + public static Skill2786 __stub_Skill2786 = new Skill2786(); + public static Skill2787 __stub_Skill2787 = new Skill2787(); + public static Skill2788 __stub_Skill2788 = new Skill2788(); + public static Skill2789 __stub_Skill2789 = new Skill2789(); + public static Skill2790 __stub_Skill2790 = new Skill2790(); + public static Skill2791 __stub_Skill2791 = new Skill2791(); + public static Skill2792 __stub_Skill2792 = new Skill2792(); + public static Skill2793 __stub_Skill2793 = new Skill2793(); + public static Skill2794 __stub_Skill2794 = new Skill2794(); + public static Skill2795 __stub_Skill2795 = new Skill2795(); + public static Skill2796 __stub_Skill2796 = new Skill2796(); + public static Skill2797 __stub_Skill2797 = new Skill2797(); + public static Skill2798 __stub_Skill2798 = new Skill2798(); + public static Skill2799 __stub_Skill2799 = new Skill2799(); + public static Skill2800 __stub_Skill2800 = new Skill2800(); + public static Skill2801 __stub_Skill2801 = new Skill2801(); + public static Skill2802 __stub_Skill2802 = new Skill2802(); + public static Skill2803 __stub_Skill2803 = new Skill2803(); + public static Skill2804 __stub_Skill2804 = new Skill2804(); + public static Skill2805 __stub_Skill2805 = new Skill2805(); + public static Skill2806 __stub_Skill2806 = new Skill2806(); + public static Skill2807 __stub_Skill2807 = new Skill2807(); + public static Skill2808 __stub_Skill2808 = new Skill2808(); + public static Skill2809 __stub_Skill2809 = new Skill2809(); + public static Skill2810 __stub_Skill2810 = new Skill2810(); + public static Skill2811 __stub_Skill2811 = new Skill2811(); + public static Skill2812 __stub_Skill2812 = new Skill2812(); + public static Skill2813 __stub_Skill2813 = new Skill2813(); + public static Skill2814 __stub_Skill2814 = new Skill2814(); + public static Skill2815 __stub_Skill2815 = new Skill2815(); + public static Skill2816 __stub_Skill2816 = new Skill2816(); + public static Skill2817 __stub_Skill2817 = new Skill2817(); + public static Skill2818 __stub_Skill2818 = new Skill2818(); + public static Skill2819 __stub_Skill2819 = new Skill2819(); + public static Skill2820 __stub_Skill2820 = new Skill2820(); + public static Skill2823 __stub_Skill2823 = new Skill2823(); + public static Skill2824 __stub_Skill2824 = new Skill2824(); + public static Skill2829 __stub_Skill2829 = new Skill2829(); + public static Skill2830 __stub_Skill2830 = new Skill2830(); + public static Skill2831 __stub_Skill2831 = new Skill2831(); + public static Skill2832 __stub_Skill2832 = new Skill2832(); + public static Skill2833 __stub_Skill2833 = new Skill2833(); + public static Skill2834 __stub_Skill2834 = new Skill2834(); + public static Skill2841 __stub_Skill2841 = new Skill2841(); + public static Skill2842 __stub_Skill2842 = new Skill2842(); + public static Skill2843 __stub_Skill2843 = new Skill2843(); + public static Skill2844 __stub_Skill2844 = new Skill2844(); + public static Skill2845 __stub_Skill2845 = new Skill2845(); + public static Skill2846 __stub_Skill2846 = new Skill2846(); +#endif + } +} diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/SkillStubs6.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/SkillStubs6.cs.meta new file mode 100644 index 0000000000..8ac6e28186 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/SkillStubs6.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: edcddcf7730e54714acdfe31165307c6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill147.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill147.cs new file mode 100644 index 0000000000..346071c269 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill147.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill147 : Skill + { + public const int SKILL_ID = 147; + + public Skill147() : base(SKILL_ID) + { + } + } +#endif + + public class Skill147Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(1); + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill147Stub() : base(147) + { + cls = 127; + name = "自爆"; + nativename = "自爆"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill147Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill147.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill147.cs.meta new file mode 100644 index 0000000000..1d5d897d07 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill147.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c088fc4daf9764a7ca290837956aa695 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill148.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill148.cs new file mode 100644 index 0000000000..64ec4e3174 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill148.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill148 : Skill + { + public const int SKILL_ID = 148; + + public Skill148() : base(SKILL_ID) + { + } + } +#endif + + public class Skill148Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill148Stub() : base(148) + { + cls = 127; + name = "卫兵闪电"; + nativename = "卫兵闪电"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物闪电术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/闪电飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill148Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill148.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill148.cs.meta new file mode 100644 index 0000000000..4f9926681c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill148.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fbced20643939445e9cb9f2ce809d6af \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill168.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill168.cs new file mode 100644 index 0000000000..3b7f1ea90a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill168.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill168 : Skill + { + public const int SKILL_ID = 168; + + public Skill168() : base(SKILL_ID) + { + } + } +#endif + + public class Skill168Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.4f); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill168Stub() : base(168) + { + cls = 127; + name = "怪物群体霹雳术"; + nativename = "怪物群体霹雳术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体霹雳术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/头顶一道霹雳.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill168Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill168.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill168.cs.meta new file mode 100644 index 0000000000..43aba58353 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill168.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 16bf44401230446f4ab9cce9e7bda0aa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill169.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill169.cs new file mode 100644 index 0000000000..222012267b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill169.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill169 : Skill + { + public const int SKILL_ID = 169; + + public Skill169() : base(SKILL_ID) + { + } + } +#endif + + public class Skill169Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill169Stub() : base(169) + { + cls = 127; + name = "怪物群体毒咒术"; + nativename = "怪物群体毒咒术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill169Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage ()); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill169.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill169.cs.meta new file mode 100644 index 0000000000..2a7a6df993 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill169.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 681866f70114f43bcb8326325234c47c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill170.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill170.cs new file mode 100644 index 0000000000..d789e46180 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill170.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill170 : Skill + { + public const int SKILL_ID = 170; + + public Skill170() : base(SKILL_ID) + { + } + } +#endif + + public class Skill170Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.4f); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill170Stub() : base(170) + { + cls = 127; + name = "怪物群体冰球术"; + nativename = "怪物群体冰球术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体冰球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill170Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill170.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill170.cs.meta new file mode 100644 index 0000000000..83fc864183 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill170.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 08641a977eb4b44e79a149d37d66e6f7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill171.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill171.cs new file mode 100644 index 0000000000..c97ba176bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill171.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill171 : Skill + { + public const int SKILL_ID = 171; + + public Skill171() : base(SKILL_ID) + { + } + } +#endif + + public class Skill171Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.4f); + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill171Stub() : base(171) + { + cls = 127; + name = "怪物群体火球术"; + nativename = "怪物群体火球术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神火符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神火符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/神火符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 1077936128; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill171Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill171.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill171.cs.meta new file mode 100644 index 0000000000..22c6640966 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill171.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0c848856b34f64c7c8dcc1508260f5a5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill172.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill172.cs new file mode 100644 index 0000000000..6de0ec1ba1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill172.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill172 : Skill + { + public const int SKILL_ID = 172; + + public Skill172() : base(SKILL_ID) + { + } + } +#endif + + public class Skill172Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.4f); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill172Stub() : base(172) + { + cls = 127; + name = "怪物群体落石术"; + nativename = "怪物群体落石术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体落石术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/石头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/落下巨石被击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)3; + m_TargetMode = (GfxTargetMode)2; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill172Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill172.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill172.cs.meta new file mode 100644 index 0000000000..4db6723488 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill172.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7c0d253f560a8414d8268680b0a69b0a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill173.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill173.cs new file mode 100644 index 0000000000..0683598376 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill173.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill173 : Skill + { + public const int SKILL_ID = 173; + + public Skill173() : base(SKILL_ID) + { + } + } +#endif + + public class Skill173Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill173Stub() : base(173) + { + cls = 127; + name = "怪物群体催眠术"; + nativename = "怪物群体催眠术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体催眠术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/怪物催眠飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/催眠击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill173Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill173.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill173.cs.meta new file mode 100644 index 0000000000..dc38282ebf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill173.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7758adbabdeac4f48b362bd567852851 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill174.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill174.cs new file mode 100644 index 0000000000..3192a8887d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill174.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill174 : Skill + { + public const int SKILL_ID = 174; + + public Skill174() : base(SKILL_ID) + { + } + } +#endif + + public class Skill174Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill174Stub() : base(174) + { + cls = 127; + name = "怪物群体击晕术"; + nativename = "怪物群体击晕术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "狮子吼"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狮子吼击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill174Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill174.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill174.cs.meta new file mode 100644 index 0000000000..09f3c09f6f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill174.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d7b4af0e66ece422389301573578189b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill175.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill175.cs new file mode 100644 index 0000000000..dc2880a4f0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill175.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill175 : Skill + { + public const int SKILL_ID = 175; + + public Skill175() : base(SKILL_ID) + { + } + } +#endif + + public class Skill175Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill175Stub() : base(175) + { + cls = 127; + name = "怪物群体定身术"; + nativename = "怪物群体定身术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体定身术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/怪物定身飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/定身击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill175Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill175.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill175.cs.meta new file mode 100644 index 0000000000..e532f97fb1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill175.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 206cf5d36a0ed47cd92ebb82b94124e0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill20.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill20.cs new file mode 100644 index 0000000000..6e4e9539de --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill20.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill20 : Skill + { + public const int SKILL_ID = 20; + + public Skill20() : base(SKILL_ID) + { + } + } +#endif + + public class Skill20Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill20Stub() : base(20) + { + cls = 127; + name = "吸血术"; + nativename = "吸血术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill20Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicattack () * 2); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill20.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill20.cs.meta new file mode 100644 index 0000000000..de20d9bca4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill20.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1b8d650629ad34320963ed9ee2ecb816 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill21.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill21.cs new file mode 100644 index 0000000000..dfe01a9274 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill21.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill21 : Skill + { + public const int SKILL_ID = 21; + + public Skill21() : base(SKILL_ID) + { + } + } +#endif + + public class Skill21Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill21Stub() : base(21) + { + cls = 127; + name = "霹雳术"; + nativename = "霹雳术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物霹雳术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/头顶一道霹雳.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill21Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill21.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill21.cs.meta new file mode 100644 index 0000000000..905714d132 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill21.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 53ef47e6c229641cbaae08612846bd8a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill22.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill22.cs new file mode 100644 index 0000000000..f12c40a949 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill22.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill22 : Skill + { + public const int SKILL_ID = 22; + + public Skill22() : base(SKILL_ID) + { + } + } +#endif + + public class Skill22Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill22Stub() : base(22) + { + cls = 127; + name = "风球术"; + nativename = "风球术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物风球术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/风球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill22Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill22.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill22.cs.meta new file mode 100644 index 0000000000..6e60d1039b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill22.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3c66dc85a874249aba037355f0c6e322 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill23.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill23.cs new file mode 100644 index 0000000000..bb8c9e5923 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill23.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill23 : Skill + { + public const int SKILL_ID = 23; + + public Skill23() : base(SKILL_ID) + { + } + } +#endif + + public class Skill23Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill23Stub() : base(23) + { + cls = 127; + name = "闪电术"; + nativename = "闪电术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物闪电术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/闪电飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill23Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill23.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill23.cs.meta new file mode 100644 index 0000000000..2b33570b3c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill23.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 29a6900a9274b46dfbe6e591c37b37d4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill24.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill24.cs new file mode 100644 index 0000000000..313699160f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill24.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill24 : Skill + { + public const int SKILL_ID = 24; + + public Skill24() : base(SKILL_ID) + { + } + } +#endif + + public class Skill24Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill24Stub() : base(24) + { + cls = 127; + name = "喷蚁酸"; + nativename = "喷蚁酸"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物喷蚁酸"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill24Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill24.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill24.cs.meta new file mode 100644 index 0000000000..fba31f0359 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill24.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d5bd5b31c7e0b470dbe48d60e1717266 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill25.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill25.cs new file mode 100644 index 0000000000..ea404fa82b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill25.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill25 : Skill + { + public const int SKILL_ID = 25; + + public Skill25() : base(SKILL_ID) + { + } + } +#endif + + public class Skill25Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill25Stub() : base(25) + { + cls = 127; + name = "施毒术"; + nativename = "施毒术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物施毒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill25Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage ()); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill25.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill25.cs.meta new file mode 100644 index 0000000000..da11163101 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill25.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a79176bfbd35e4baa835cbf0d766e966 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill259.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill259.cs new file mode 100644 index 0000000000..e23fcac62d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill259.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill259 : Skill + { + public const int SKILL_ID = 259; + + public Skill259() : base(SKILL_ID) + { + } + } +#endif + + public class Skill259Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill259Stub() : base(259) + { + cls = 127; + name = "高级怪物冰魔法攻击"; + nativename = "高级怪物冰魔法攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "高级怪物冰魔法攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰魔法飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill259Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill259.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill259.cs.meta new file mode 100644 index 0000000000..2ea4de9f2f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill259.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9080d567bebb34eec97113782bdf8859 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill26.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill26.cs new file mode 100644 index 0000000000..3b697f5689 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill26.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill26 : Skill + { + public const int SKILL_ID = 26; + + public Skill26() : base(SKILL_ID) + { + } + } +#endif + + public class Skill26Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill26Stub() : base(26) + { + cls = 127; + name = "毒咒术"; + nativename = "毒咒术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill26Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage () * 1.2f); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill26.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill26.cs.meta new file mode 100644 index 0000000000..bd15c1fe50 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill26.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 89739f7ee58b74085adf324e93dfc490 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill260.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill260.cs new file mode 100644 index 0000000000..9054eb962c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill260.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill260 : Skill + { + public const int SKILL_ID = 260; + + public Skill260() : base(SKILL_ID) + { + } + } +#endif + + public class Skill260Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill260Stub() : base(260) + { + cls = 127; + name = "高级怪物水魔法攻击"; + nativename = "高级怪物水魔法攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "高级怪物水魔法攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/水魔法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill260Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill260.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill260.cs.meta new file mode 100644 index 0000000000..3071d3a5d2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill260.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1c394b794f27842249d3e920584a6764 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill261.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill261.cs new file mode 100644 index 0000000000..3776fed3ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill261.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill261 : Skill + { + public const int SKILL_ID = 261; + + public Skill261() : base(SKILL_ID) + { + } + } +#endif + + public class Skill261Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill261Stub() : base(261) + { + cls = 127; + name = "高级怪物火魔法攻击"; + nativename = "高级怪物火魔法攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "高级怪物火魔法攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/火魔法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill261Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill261.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill261.cs.meta new file mode 100644 index 0000000000..7327767634 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill261.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e489f462015b249a59d4db55110f5ded \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill262.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill262.cs new file mode 100644 index 0000000000..13f5ecbb91 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill262.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill262 : Skill + { + public const int SKILL_ID = 262; + + public Skill262() : base(SKILL_ID) + { + } + } +#endif + + public class Skill262Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill262Stub() : base(262) + { + cls = 127; + name = "高级怪物毒魔法攻击"; + nativename = "高级怪物毒魔法攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "高级怪物毒魔法攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill262Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill262.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill262.cs.meta new file mode 100644 index 0000000000..0881506ce1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill262.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8e9399a85db2b48d0923c2156e2c1eff \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2620.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2620.cs new file mode 100644 index 0000000000..31294c67ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2620.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2620 : Skill + { + public const int SKILL_ID = 2620; + + public Skill2620() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2620Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46335 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1150; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(38); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(154); + skill.SetPlus(4454); + skill.SetRatio(1.2f); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage((skill.GetPlayer().GetForm() == 1 ? 1.2f : 0.9f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2620Stub() : base(2620) + { + cls = 11; + name = "狂·朔光咏"; + nativename = "狂·朔光咏"; + icon = "魔朔光咏"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1003; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_朔光咏_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/朔光咏_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/云起咏_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 7000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2571, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2620Stub() { } + + public override float GetMpcost(Skill skill) => 192f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2620.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2620.cs.meta new file mode 100644 index 0000000000..6d2e09ff6d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2620.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 47ad27aa109a44474ba2bba7e8fd3a15 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2621.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2621.cs new file mode 100644 index 0000000000..d2e848a562 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2621.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2621 : Skill + { + public const int SKILL_ID = 2621; + + public Skill2621() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2621Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46336 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(44); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(178); + skill.SetPlus(5887); + skill.SetRatio(1.7f); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage((skill.GetPlayer().GetForm() == 1 ? 1.2f : 0.9f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2621Stub() : base(2621) + { + cls = 11; + name = "真·云起咏"; + nativename = "真·云起咏"; + icon = "仙云起咏"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1004; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_云起咏_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/云起咏_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/云起咏_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2572, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2621Stub() { } + + public override float GetMpcost(Skill skill) => 222f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11001); + skill.GetVictim ().SetRatio (skill.GetT0 () == 15 ? 0.4f : (skill.GetT0 () == 11 ? 0.37f : (skill.GetT0 () == 7 ? 0.33f : 0.3f))); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2621.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2621.cs.meta new file mode 100644 index 0000000000..cb01b0ed85 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2621.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 15cdb6fc57ff34a6dbea047368c70a9d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2622.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2622.cs new file mode 100644 index 0000000000..30d2c99e10 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2622.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2622 : Skill + { + public const int SKILL_ID = 2622; + + public Skill2622() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2622Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46337 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(44); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(178); + skill.SetPlus(5887); + skill.SetRatio(1.7f); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage((skill.GetPlayer().GetForm() == 1 ? 1.2f : 0.9f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2622Stub() : base(2622) + { + cls = 11; + name = "狂·云起咏"; + nativename = "狂·云起咏"; + icon = "魔云起咏"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1004; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_云起咏_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/云起咏_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/云起咏_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2572, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2622Stub() { } + + public override float GetMpcost(Skill skill) => 222f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11001); + skill.GetVictim ().SetRatio (skill.GetT0 () == 15 ? 0.45f : (skill.GetT0 () == 11 ? 0.37f : (skill.GetT0 () == 7 ? 0.33f : 0.3f))); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2622.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2622.cs.meta new file mode 100644 index 0000000000..6ebe3b4d24 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2622.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4358f881aa3e94d6eb3eb3dd4a6456ff \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2623.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2623.cs new file mode 100644 index 0000000000..134de72fc0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2623.cs @@ -0,0 +1,209 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2623 : Skill + { + public const int SKILL_ID = 2623; + + public Skill2623() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2623Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46338 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(71); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(284); + skill.SetPlus(5184); + skill.SetRatio(1.7f); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2623Stub() : base(2623) + { + cls = 11; + name = "真·鸣音咏"; + nativename = "真·鸣音咏"; + icon = "仙鸣音咏"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1005; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_鸣吟咏_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/鸣吟咏_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2573, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2623Stub() { } + + public override float GetMpcost(Skill skill) => 355f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 9f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11001); + skill.GetVictim ().SetRatio (skill.GetT0 () == 11 ? 0.54f : 0.25f); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (7001); + skill.GetVictim ().SetRatio (skill.GetT0 () == 11 ? 0.25f : 0.14f); + skill.GetVictim ().SetSlowpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT1 () * 0.15f + 5184); + skill.GetVictim ().SetThunder (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); + public float GetTalent1(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2623.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2623.cs.meta new file mode 100644 index 0000000000..c3e61ddce6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2623.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b12ee23af74c5499ab1173ed7a64710c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2624.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2624.cs new file mode 100644 index 0000000000..41f0ea2ce0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2624.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2624 : Skill + { + public const int SKILL_ID = 2624; + + public Skill2624() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2624Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46339 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(71); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(284); + skill.SetPlus(5184); + skill.SetRatio(1.7f); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2624Stub() : base(2624) + { + cls = 11; + name = "狂·鸣音咏"; + nativename = "狂·鸣音咏"; + icon = "魔鸣音咏"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + clslimit = 0; + time_type = 0; + showorder = 1005; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_鸣吟咏_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/鸣吟咏_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2573, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2624Stub() { } + + public override float GetMpcost(Skill skill) => 355f; + public override int GetExecutetime(Skill skill) => 1001; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11001); + skill.GetVictim ().SetRatio (skill.GetT0 () == 11 ? 0.54f : 0.25f); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (7001); + skill.GetVictim ().SetRatio (skill.GetT0 () == 11 ? 0.25f : 0.14f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2624.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2624.cs.meta new file mode 100644 index 0000000000..86b29f7015 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2624.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 771a6eb375b8d4ab4b0e93b0494a05c9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2625.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2625.cs new file mode 100644 index 0000000000..677b7768f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2625.cs @@ -0,0 +1,108 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2625 : Skill + { + public const int SKILL_ID = 2625; + + public Skill2625() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2625Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2625Stub() : base(2625) + { + cls = 11; + name = "荡月涤魂技能效果"; + nativename = "荡月涤魂技能效果"; + icon = "朔光咏"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + + } + + ~Skill2625Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 802; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 100 : 0); + skill.GetVictim ().SetTime (7401); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 100 : 0); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetScaleinchp (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (21401); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetEnhanceskilldamage3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2625.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2625.cs.meta new file mode 100644 index 0000000000..415ec015b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2625.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 42d694e218a4e458894dc7ffa1043b1c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2626.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2626.cs new file mode 100644 index 0000000000..4efec62a2d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2626.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2626 : Skill + { + public const int SKILL_ID = 2626; + + public Skill2626() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2626Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2626Stub() : base(2626) + { + cls = 11; + name = "月神之体技能效果"; + nativename = "月神之体技能效果"; + icon = "朔光咏"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + + } + + ~Skill2626Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 802; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetScaleinchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2626.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2626.cs.meta new file mode 100644 index 0000000000..d0c836ddff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2626.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dcb69ed01f1c5471bb5941321491fa51 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2627.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2627.cs new file mode 100644 index 0000000000..d58e1ed1e8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2627.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2627 : Skill + { + public const int SKILL_ID = 2627; + + public Skill2627() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2627Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46390 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(skill.GetSection() + 1); + skill.GetPlayer().SetDecmp(320); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2627Stub() : base(2627) + { + cls = 11; + name = "祭月礼"; + nativename = "祭月礼"; + icon = "祭月礼"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 2; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill2627Stub() { } + + public override float GetMpcost(Skill skill) => 320f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetMaxhp () == + skill.GetT0 ()? (skill.GetPlayer ().GetMaxmp () == skill.GetT1 ()? -1 : 5) : 5); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () == + skill.GetT0 ()? (skill.GetPlayer ().GetMaxmp () == skill.GetT1 ()? -1 : 5) : 5); + skill.GetVictim ().SetIncphysicalmagicaldefense (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMaxhp (); + public float GetTalent1(PlayerWrapper player) => player.GetMaxmp (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2627.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2627.cs.meta new file mode 100644 index 0000000000..3dbeb76026 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2627.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1166aa21d98194f73811dd80875339ae \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2628.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2628.cs new file mode 100644 index 0000000000..5ce23d8f41 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2628.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2628 : Skill + { + public const int SKILL_ID = 2628; + + public Skill2628() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2628Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46391 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(320); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2628Stub() : base(2628) + { + cls = 11; + name = "彩云障月"; + nativename = "彩云障月"; + icon = "彩云障月"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_彩云障月_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/彩云障月_飞行_效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_彩云障月_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2628Stub() { } + + public override float GetMpcost(Skill skill) => 320f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (61000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAnticlearbuf (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35 + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2628.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2628.cs.meta new file mode 100644 index 0000000000..49c749c508 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2628.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 322082bae86ec4b1e81a11234339ec45 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2629.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2629.cs new file mode 100644 index 0000000000..4e88f07229 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2629.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2629 : Skill + { + public const int SKILL_ID = 2629; + + public Skill2629() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2629Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46392 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(400); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2629Stub() : base(2629) + { + cls = 11; + name = "神镰伐桂"; + nativename = "神镰伐桂"; + icon = "神镰伐桂"; + max_level = 1; + type = 2; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 8; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_神镰伐桂_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "人物/技能/月仙/神镰伐桂.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2629Stub() { } + + public override float GetMpcost(Skill skill) => 400f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetIncenchantrange (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2629.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2629.cs.meta new file mode 100644 index 0000000000..2d4ae07d27 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2629.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c217740432e9e40139cfad9e358f2325 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill263.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill263.cs new file mode 100644 index 0000000000..7048da459f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill263.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill263 : Skill + { + public const int SKILL_ID = 263; + + public Skill263() : base(SKILL_ID) + { + } + } +#endif + + public class Skill263Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill263Stub() : base(263) + { + cls = 127; + name = "高级怪物土魔法攻击"; + nativename = "高级怪物土魔法攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "高级怪物土魔法攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/土魔法飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill263Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill263.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill263.cs.meta new file mode 100644 index 0000000000..cf959198ea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill263.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 44e050661681f4ae79fedd5cc71d52df \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2630.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2630.cs new file mode 100644 index 0000000000..38beec374a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2630.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2630 : Skill + { + public const int SKILL_ID = 2630; + + public Skill2630() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2630Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 46393 }; + private static readonly int[] RequiredMoneyArray = { 4000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(83); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(333); + skill.SetPlus(9455); + skill.SetRatio(2.4f); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2630Stub() : base(2630) + { + cls = 11; + name = "落月击"; + nativename = "落月击"; + icon = "落月击"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_落月击_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/落月击_飞行_模型坐标旋转.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_落月击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2630Stub() { } + + public override float GetMpcost(Skill skill) => 416f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT0 () == 15 ? 16000 : (skill.GetT0 () > 10 ? 13000 : (skill.GetT0 () > 5 ? 10000 : 7000))); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetReducegold3 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT0 () == 15 ? 7000 : (skill.GetT0 () > 10 ? 10000 : (skill.GetT0 () > 5 ? 13000 : 16000))); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetReducewater3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2630.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2630.cs.meta new file mode 100644 index 0000000000..4f426e309b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2630.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 895457d08368b448cbce2758c6ac4c4f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2631.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2631.cs new file mode 100644 index 0000000000..394ea30e51 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2631.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2631 : Skill + { + public const int SKILL_ID = 2631; + + public Skill2631() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2631Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 46393 }; + private static readonly int[] RequiredMoneyArray = { 4000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(83); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(333); + skill.SetPlus(9455); + skill.SetRatio(2.4f); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2631Stub() : base(2631) + { + cls = 11; + name = "落月击"; + nativename = "落月击"; + icon = "落月击"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_落月击_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/落月击_飞行_模型坐标旋转.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_落月击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2631Stub() { } + + public override float GetMpcost(Skill skill) => 416f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT0 () == 15 ? 16000 : (skill.GetT0 () > 10 ? 13000 : (skill.GetT0 () > 5 ? 10000 : 7000))); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetReducegold3 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT0 () == 15 ? 7000 : (skill.GetT0 () > 10 ? 10000 : (skill.GetT0 () > 5 ? 13000 : 16000))); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetReducewater3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2631.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2631.cs.meta new file mode 100644 index 0000000000..e4010e8315 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2631.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c1e64f9d4854d4321a17a61455af1f6c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill264.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill264.cs new file mode 100644 index 0000000000..8d2a73058a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill264.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill264 : Skill + { + public const int SKILL_ID = 264; + + public Skill264() : base(SKILL_ID) + { + } + } +#endif + + public class Skill264Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill264Stub() : base(264) + { + cls = 127; + name = "巨型沙虫攻击"; + nativename = "巨型沙虫攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨型沙虫攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill264Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill264.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill264.cs.meta new file mode 100644 index 0000000000..de325d8428 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill264.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4184c8ebdea6f45cf8ada66adde09e79 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill265.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill265.cs new file mode 100644 index 0000000000..2d11e9cd8f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill265.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill265 : Skill + { + public const int SKILL_ID = 265; + + public Skill265() : base(SKILL_ID) + { + } + } +#endif + + public class Skill265Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill265Stub() : base(265) + { + cls = 127; + name = "土殇"; + nativename = "土殇"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "土殇"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/土殇击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill265Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill265.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill265.cs.meta new file mode 100644 index 0000000000..82838f4c65 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill265.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2d8094292487b4921bfe342eb45922fb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill266.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill266.cs new file mode 100644 index 0000000000..835856a582 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill266.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill266 : Skill + { + public const int SKILL_ID = 266; + + public Skill266() : base(SKILL_ID) + { + } + } +#endif + + public class Skill266Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill266Stub() : base(266) + { + cls = 127; + name = "怪物无头将军攻击"; + nativename = "怪物无头将军攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物无头将军攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/无头将军飞光效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/爆炸效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill266Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill266.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill266.cs.meta new file mode 100644 index 0000000000..b6d84b9e54 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill266.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6c1109e86f4814e89987d04d4917b8d4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill267.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill267.cs new file mode 100644 index 0000000000..d91e14d835 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill267.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill267 : Skill + { + public const int SKILL_ID = 267; + + public Skill267() : base(SKILL_ID) + { + } + } +#endif + + public class Skill267Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill267Stub() : base(267) + { + cls = 127; + name = "炎索"; + nativename = "炎索"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "炎索"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/炎索击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill267Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill267.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill267.cs.meta new file mode 100644 index 0000000000..09e35ba767 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill267.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b5d398fcae7494f5db1bbefcd6c79b74 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2677.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2677.cs new file mode 100644 index 0000000000..0b0a0649b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2677.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2677 : Skill + { + public const int SKILL_ID = 2677; + + public Skill2677() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2677Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29 }; + private static readonly int[] RequiredSpArray = { 18, 000 }; + private static readonly int[] RequiredMoneyArray = { 23, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2677Stub() : base(2677) + { + cls = 11; + name = "真元爆发"; + nativename = "真元爆发"; + icon = "爆气1"; + max_level = 1; + type = 2; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 3; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2211; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(23749); + restrict_weapons.Add(25333); + restrict_weapons.Add(44878); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2677Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2677.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2677.cs.meta new file mode 100644 index 0000000000..5f9befb3fe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2677.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0ab00f1ed3d1645fe8ddccca2acfc297 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2678.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2678.cs new file mode 100644 index 0000000000..7b4750ec58 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2678.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2678 : Skill + { + public const int SKILL_ID = 2678; + + public Skill2678() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2678Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59 }; + private static readonly int[] RequiredSpArray = { 130, 000 }; + private static readonly int[] RequiredMoneyArray = { 180, 000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2678Stub() : base(2678) + { + cls = 11; + name = "高级真元爆发"; + nativename = "高级真元爆发"; + icon = "爆气2"; + max_level = 1; + type = 2; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2212; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(1); + restrict_weapons.Add(5); + restrict_weapons.Add(9); + restrict_weapons.Add(13); + restrict_weapons.Add(182); + restrict_weapons.Add(291); + restrict_weapons.Add(292); + restrict_weapons.Add(0); + restrict_weapons.Add(23749); + restrict_weapons.Add(25333); + restrict_weapons.Add(44878); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2678Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetPowerup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (4); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2678.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2678.cs.meta new file mode 100644 index 0000000000..15847b4e31 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2678.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 960a693f8734341c7b06a3a24a944cf8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2679.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2679.cs new file mode 100644 index 0000000000..0c6661a82a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2679.cs @@ -0,0 +1,182 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2679 : Skill + { + public const int SKILL_ID = 2679; + + public Skill2679() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2679Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2679Stub() : base(2679) + { + cls = 11; + name = "仙元爆发"; + nativename = "仙元爆发"; + icon = "仙元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2213; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + restrict_weapons.Add(23749); + restrict_weapons.Add(25333); + restrict_weapons.Add(44878); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2679Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (7); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2679.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2679.cs.meta new file mode 100644 index 0000000000..ade9cd27cf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2679.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 27add6dccea634b7783e7fe095c1fb42 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill268.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill268.cs new file mode 100644 index 0000000000..871d18a112 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill268.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill268 : Skill + { + public const int SKILL_ID = 268; + + public Skill268() : base(SKILL_ID) + { + } + } +#endif + + public class Skill268Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill268Stub() : base(268) + { + cls = 127; + name = "怪物掷石"; + nativename = "怪物掷石"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物掷石"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/石头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/石头击碎.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill268Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill268.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill268.cs.meta new file mode 100644 index 0000000000..d822be8b92 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill268.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e30254859729542b190cee0a0f5b047f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2680.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2680.cs new file mode 100644 index 0000000000..b3b5492a06 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2680.cs @@ -0,0 +1,182 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2680 : Skill + { + public const int SKILL_ID = 2680; + + public Skill2680() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2680Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2680Stub() : base(2680) + { + cls = 11; + name = "魔元爆发"; + nativename = "魔元爆发"; + icon = "魔元爆发"; + max_level = 1; + type = 2; + apcost = 300; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 2214; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(0); + restrict_weapons.Add(1); + restrict_weapons.Add(182); + restrict_weapons.Add(5); + restrict_weapons.Add(292); + restrict_weapons.Add(9); + restrict_weapons.Add(291); + restrict_weapons.Add(13); + restrict_weapons.Add(23749); + restrict_weapons.Add(25333); + restrict_weapons.Add(44878); + restrict_weapons.Add(44879); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2680Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetFastpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (7); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2680.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2680.cs.meta new file mode 100644 index 0000000000..1690dbaa19 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2680.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cc9a7341f35744ce4be60a2c357b8998 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2689.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2689.cs new file mode 100644 index 0000000000..1fe12678e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2689.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2689 : Skill + { + public const int SKILL_ID = 2689; + + public Skill2689() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2689Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 10738, 14878, 19926, 25992, 33370, 42240, 53070, 66080, 81600, 129060 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill2689Stub() : base(2689) + { + cls = 11; + name = "水精通"; + nativename = "水精通"; + icon = "水精通新"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1101; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2689Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncwater (0.02f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2689.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2689.cs.meta new file mode 100644 index 0000000000..c1e4024592 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2689.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f0a7db6674858400d9f7088ad528bc2e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill269.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill269.cs new file mode 100644 index 0000000000..bf25e9970b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill269.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill269 : Skill + { + public const int SKILL_ID = 269; + + public Skill269() : base(SKILL_ID) + { + } + } +#endif + + public class Skill269Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill269Stub() : base(269) + { + cls = 127; + name = "飞行怨灵射手技能"; + nativename = "飞行怨灵射手技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "飞行怨灵射手技能"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/魔法弓箭飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill269Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill269.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill269.cs.meta new file mode 100644 index 0000000000..f7e83ddb93 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill269.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f37fccdfdd1124a0891945512c3d8ac3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2690.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2690.cs new file mode 100644 index 0000000000..76ca3c090b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2690.cs @@ -0,0 +1,101 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2690 : Skill + { + public const int SKILL_ID = 2690; + + public Skill2690() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2690Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 29, 34, 39, 44, 49, 54, 59, 64, 69, 74 }; + private static readonly int[] RequiredSpArray = { 10738, 14878, 19926, 25992, 33370, 42240, 53070, 66080, 81600, 129060 }; + private static readonly int[] RequiredMoneyArray = { 1090, 1540, 1990, 2480, 2980, 3480, 3980, 12980, 51980, 151980 }; + + + public Skill2690Stub() : base(2690) + { + cls = 11; + name = "金精通"; + nativename = "金精通"; + icon = "金精通"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 3; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1102; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2690Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncgold (0.02f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2690.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2690.cs.meta new file mode 100644 index 0000000000..770fc57628 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2690.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8ca76d42321164a3b8ae1c53dc96ddf9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2691.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2691.cs new file mode 100644 index 0000000000..45d258127f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2691.cs @@ -0,0 +1,102 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2691 : Skill + { + public const int SKILL_ID = 2691; + + public Skill2691() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2691Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 59, 62, 65, 68, 71, 74, 77, 80, 83, 86 }; + private static readonly int[] RequiredSpArray = { 53070, 60320, 68750, 78520, 92310, 129060, 186390, 264000, 369180, 510180 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + + public Skill2691Stub() : base(2691) + { + cls = 11; + name = "胧族血脉"; + nativename = "胧族血脉"; + icon = "技能减伤"; + max_level = 10; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 6; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1103; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); + + } + + ~Skill2691Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncnearnormaldmgreduce (0.1f + 0.05f * skill.GetLevel ()); + skill.GetPlayer ().SetIncnearskilldmgreduce (0.03f + 0.02f * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2691.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2691.cs.meta new file mode 100644 index 0000000000..136f687f2c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2691.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5057f2d2ef3624279986e2d2bc844d81 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill27.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill27.cs new file mode 100644 index 0000000000..15ede4953d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill27.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill27 : Skill + { + public const int SKILL_ID = 27; + + public Skill27() : base(SKILL_ID) + { + } + } +#endif + + public class Skill27Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill27Stub() : base(27) + { + cls = 127; + name = "冰锥术"; + nativename = "冰锥术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物冰锥术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰锥飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.5f, 1.5f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill27Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill27.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill27.cs.meta new file mode 100644 index 0000000000..a28527b38e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill27.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6b29bdf76e9a74dfb9b6f6625684c25e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill270.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill270.cs new file mode 100644 index 0000000000..58b866d71c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill270.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill270 : Skill + { + public const int SKILL_ID = 270; + + public Skill270() : base(SKILL_ID) + { + } + } +#endif + + public class Skill270Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.4f); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill270Stub() : base(270) + { + cls = 127; + name = "黑暗怨灵兽技能"; + nativename = "黑暗怨灵兽技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "黑暗怨灵兽技能"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/黑暗骷髅头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/黑暗怨灵兽技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill270Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill270.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill270.cs.meta new file mode 100644 index 0000000000..b3a53d5dc8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill270.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 34afd4aa194d14d0f986113a6ecad735 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill271.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill271.cs new file mode 100644 index 0000000000..55ffda9bbf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill271.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill271 : Skill + { + public const int SKILL_ID = 271; + + public Skill271() : base(SKILL_ID) + { + } + } +#endif + + public class Skill271Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill271Stub() : base(271) + { + cls = 127; + name = "黑无常技能"; + nativename = "黑无常技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "黑无常技能"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/黑无常技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/黑无常技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill271Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill271.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill271.cs.meta new file mode 100644 index 0000000000..67c8830731 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill271.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 07f822ef1c81549c6ad2c2372f736b88 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill272.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill272.cs new file mode 100644 index 0000000000..94b851fbba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill272.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill272 : Skill + { + public const int SKILL_ID = 272; + + public Skill272() : base(SKILL_ID) + { + } + } +#endif + + public class Skill272Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill272Stub() : base(272) + { + cls = 127; + name = "白无常技能"; + nativename = "白无常技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "白无常技能"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/白无常技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/白无常技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill272Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill272.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill272.cs.meta new file mode 100644 index 0000000000..3da36106e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill272.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 011a55e25b1544ff7b2a3c2ff4861091 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill273.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill273.cs new file mode 100644 index 0000000000..1ff7894ba3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill273.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill273 : Skill + { + public const int SKILL_ID = 273; + + public Skill273() : base(SKILL_ID) + { + } + } +#endif + + public class Skill273Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill273Stub() : base(273) + { + cls = 127; + name = "九子鬼母技能"; + nativename = "九子鬼母技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "九子鬼母技能"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/骷髅头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/九子鬼母技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = true; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill273Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill273.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill273.cs.meta new file mode 100644 index 0000000000..d58b2782be --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill273.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ccd5831399b334e20b3cd792ee1aee3b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill275.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill275.cs new file mode 100644 index 0000000000..4adc7ba88a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill275.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill275 : Skill + { + public const int SKILL_ID = 275; + + public Skill275() : base(SKILL_ID) + { + } + } +#endif + + public class Skill275Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.5f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill275Stub() : base(275) + { + cls = 127; + name = "新怪之近身攻击"; + nativename = "新怪之近身攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨型沙虫攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill275Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill275.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill275.cs.meta new file mode 100644 index 0000000000..00e92bbb04 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill275.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 613754f90f6de469188290b1508d1f51 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill276.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill276.cs new file mode 100644 index 0000000000..eefc9bbc5d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill276.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill276 : Skill + { + public const int SKILL_ID = 276; + + public Skill276() : base(SKILL_ID) + { + } + } +#endif + + public class Skill276Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.4f); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill276Stub() : base(276) + { + cls = 127; + name = "新怪之群体电球"; + nativename = "新怪之群体电球"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物风球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/风球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill276Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill276.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill276.cs.meta new file mode 100644 index 0000000000..a1ad1c7c94 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill276.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 65ed6c9e9cf65493189ff93853ab0733 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill277.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill277.cs new file mode 100644 index 0000000000..5b59d76623 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill277.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill277 : Skill + { + public const int SKILL_ID = 277; + + public Skill277() : base(SKILL_ID) + { + } + } +#endif + + public class Skill277Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.4f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill277Stub() : base(277) + { + cls = 127; + name = "新怪之群体攻击"; + nativename = "新怪之群体攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "旋刃"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/旋刃释放.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/旋刃击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill277Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill277.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill277.cs.meta new file mode 100644 index 0000000000..b1f98ab903 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill277.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 319d3d3520bbc475fa6306b3f18ecfe9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2777.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2777.cs new file mode 100644 index 0000000000..7fb4b616dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2777.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2777 : Skill + { + public const int SKILL_ID = 2777; + + public Skill2777() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2777Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46340 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1002; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(321); + skill.SetPlus(5400); + skill.SetRatio(1.7f); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2777Stub() : base(2777) + { + cls = 11; + name = "真·望月咏"; + nativename = "真·望月咏"; + icon = "仙望月咏"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1006; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_望月咏_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/望月咏_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(2574, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2777Stub() { } + + public override float GetMpcost(Skill skill) => 401f; + public override int GetExecutetime(Skill skill) => 1002; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 4f; + public float GetAttackdistance(Skill skill) => 20f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 18f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT0 () * 0.15f + 5400); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2777.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2777.cs.meta new file mode 100644 index 0000000000..7400316073 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2777.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 80f77fb60f3c744c9b134eb8cbfffe62 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2778.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2778.cs new file mode 100644 index 0000000000..2af0420a01 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2778.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2778 : Skill + { + public const int SKILL_ID = 2778; + + public Skill2778() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2778Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46341 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1002; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(321); + skill.SetPlus(5400); + skill.SetRatio(1.7f); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2778Stub() : base(2778) + { + cls = 11; + name = "狂·望月咏"; + nativename = "狂·望月咏"; + icon = "魔望月咏"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1006; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_望月咏_击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/望月咏_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(2574, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2778Stub() { } + + public override float GetMpcost(Skill skill) => 401f; + public override int GetExecutetime(Skill skill) => 1002; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 4f; + public float GetAttackdistance(Skill skill) => 20f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 18f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2778.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2778.cs.meta new file mode 100644 index 0000000000..e71f1dc2e5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2778.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b0715f221a236422fb94097a1bfae72b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2779.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2779.cs new file mode 100644 index 0000000000..ffeb3a5f35 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2779.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2779 : Skill + { + public const int SKILL_ID = 2779; + + public Skill2779() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2779Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46342 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(83); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 801; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(331); + skill.SetPlus(7190); + skill.SetRatio(2.2f); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2779Stub() : base(2779) + { + cls = 11; + name = "真·雷霆万钧"; + nativename = "真·雷霆万钧"; + icon = "仙雷霆万钧"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1009; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_雷霆万钧_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/雷霆万钧_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(2575, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2779Stub() { } + + public override float GetMpcost(Skill skill) => 414f; + public override int GetExecutetime(Skill skill) => 801; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (25); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (0.25f * skill.GetT0 () + 10390); + skill.GetVictim ().SetInternalinjury (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38 + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2779.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2779.cs.meta new file mode 100644 index 0000000000..41125f40da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2779.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c46408ada020049faacbd816c65a7337 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill278.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill278.cs new file mode 100644 index 0000000000..c6dd659c24 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill278.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill278 : Skill + { + public const int SKILL_ID = 278; + + public Skill278() : base(SKILL_ID) + { + } + } +#endif + + public class Skill278Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill278Stub() : base(278) + { + cls = 127; + name = "新怪之金防群降"; + nativename = "新怪之金防群降"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill278Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetReducegold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill278.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill278.cs.meta new file mode 100644 index 0000000000..c4485d1e6f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill278.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 205c491c4132b4fd2b8031a25efdeffd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2780.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2780.cs new file mode 100644 index 0000000000..c2688f8248 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2780.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2780 : Skill + { + public const int SKILL_ID = 2780; + + public Skill2780() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2780Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46343 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(83); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 801; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(331); + skill.SetPlus(7190); + skill.SetRatio(2.2f); + skill.GetPlayer().SetAddball(5); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2780Stub() : base(2780) + { + cls = 11; + name = "狂·雷霆万钧"; + nativename = "狂·雷霆万钧"; + icon = "魔雷霆万钧"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1009; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_雷霆万钧_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/雷霆万钧_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(2575, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2780Stub() { } + + public override float GetMpcost(Skill skill) => 414f; + public override int GetExecutetime(Skill skill) => 801; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (25); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (0.25f * skill.GetT0 () + 7190); + skill.GetVictim ().SetInternalinjury (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38 + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2780.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2780.cs.meta new file mode 100644 index 0000000000..9f6f4a9508 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2780.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b4cf1f482b4ff4a56ac6333b1bc1cbbb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2781.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2781.cs new file mode 100644 index 0000000000..3e10a390df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2781.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2781 : Skill + { + public const int SKILL_ID = 2781; + + public Skill2781() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2781Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46344 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(86); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(345); + skill.SetPlus(6910); + skill.SetRatio(1.7f); + skill.SetGolddamage((skill.GetPlayer().GetBalls() == 3 ? 1.35f : 1) * skill.GetMagicattack()); + skill.GetPlayer().SetAddball(5); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2781Stub() : base(2781) + { + cls = 11; + name = "真·冰极雷暴"; + nativename = "真·冰极雷暴"; + icon = "仙冰极雷暴"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1010; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_冰极雷暴_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/月仙_冰极雷暴_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_冰极雷暴_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2576, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2781Stub() { } + + public override float GetMpcost(Skill skill) => 431f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 18000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2781.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2781.cs.meta new file mode 100644 index 0000000000..0b796cc228 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2781.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6d2102f8aff26483f98506abc9361855 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2782.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2782.cs new file mode 100644 index 0000000000..5239200b12 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2782.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2782 : Skill + { + public const int SKILL_ID = 2782; + + public Skill2782() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2782Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46345 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(86); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(345); + skill.SetPlus(6910); + skill.SetRatio(1.7f); + skill.SetGolddamage((skill.GetPlayer().GetBalls() == 3 ? 1.25f : 1) * skill.GetMagicattack()); + skill.GetPlayer().SetAddball(5); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2782Stub() : base(2782) + { + cls = 11; + name = "狂·冰极雷暴"; + nativename = "狂·冰极雷暴"; + icon = "魔冰极雷暴"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1010; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_冰极雷暴_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/月仙_冰极雷暴_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_冰极雷暴_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2576, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2782Stub() { } + + public override float GetMpcost(Skill skill) => 431f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 18000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetAmount (6910); + skill.GetVictim ().SetThunder (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2782.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2782.cs.meta new file mode 100644 index 0000000000..4c69f6ecba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2782.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 33e919d08773b4801b1e4b7dca7b0b9d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2783.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2783.cs new file mode 100644 index 0000000000..11fb33256f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2783.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2783 : Skill + { + public const int SKILL_ID = 2783; + + public Skill2783() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2783Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46346 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(107); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(428); + skill.GetPlayer().SetAddball(5); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2783Stub() : base(2783) + { + cls = 11; + name = "真·崩雷祭祀"; + nativename = "真·崩雷祭祀"; + icon = "仙崩雷祭祀"; + max_level = 1; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1011; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙男_崩雷祭祀_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/莽月城图腾兽_普通击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2577, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2783Stub() { } + + public override float GetMpcost(Skill skill) => 535f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 27000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (13001); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (46452); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2783.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2783.cs.meta new file mode 100644 index 0000000000..ff66fe0963 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2783.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 99a188544ae1f4f4a81277783dcffb7a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2784.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2784.cs new file mode 100644 index 0000000000..0a0d7a288d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2784.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2784 : Skill + { + public const int SKILL_ID = 2784; + + public Skill2784() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2784Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46347 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(107); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(428); + skill.GetPlayer().SetAddball(5); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2784Stub() : base(2784) + { + cls = 11; + name = "狂·崩雷祭祀"; + nativename = "狂·崩雷祭祀"; + icon = "魔崩雷祭祀"; + max_level = 1; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1011; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙男_崩雷祭祀_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/莽月城图腾兽_普通击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2577, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2784Stub() { } + + public override float GetMpcost(Skill skill) => 535f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (13001); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (46453); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2784.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2784.cs.meta new file mode 100644 index 0000000000..47bdfb154f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2784.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c8670e35800214bc1b57dafe86e10ce4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2785.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2785.cs new file mode 100644 index 0000000000..46903082d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2785.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2785 : Skill + { + public const int SKILL_ID = 2785; + + public Skill2785() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2785Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46348 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(55); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(221); + skill.GetPlayer().SetAddball(5); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2785Stub() : base(2785) + { + cls = 11; + name = "真·蚀骨月毒"; + nativename = "真·蚀骨月毒"; + icon = "仙蚀骨月毒"; + max_level = 1; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1007; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_蚀骨月毒_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/蚀骨月毒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2578, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2785Stub() { } + + public override float GetMpcost(Skill skill) => 276f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10001); + skill.GetVictim ().SetRatio (1000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (3000); + skill.GetVictim ().SetIntervalpalsy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2785.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2785.cs.meta new file mode 100644 index 0000000000..a083f48f3c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2785.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 323a2620f5c7448689dcdb995113f23f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2786.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2786.cs new file mode 100644 index 0000000000..e0d81342bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2786.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2786 : Skill + { + public const int SKILL_ID = 2786; + + public Skill2786() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2786Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46349 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(55); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(221); + skill.GetPlayer().SetAddball(5); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2786Stub() : base(2786) + { + cls = 11; + name = "狂·蚀骨月毒"; + nativename = "狂·蚀骨月毒"; + icon = "魔蚀骨月毒"; + max_level = 1; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1007; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_蚀骨月毒_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/蚀骨月毒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2578, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2786Stub() { } + + public override float GetMpcost(Skill skill) => 276f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 27000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10001); + skill.GetVictim ().SetRatio (1000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (3000); + skill.GetVictim ().SetIntervalpalsy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2786.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2786.cs.meta new file mode 100644 index 0000000000..51bbc69d78 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2786.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9ada781ab98be4f2081ec8a42dbfaea6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2787.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2787.cs new file mode 100644 index 0000000000..37422fac16 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2787.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2787 : Skill + { + public const int SKILL_ID = 2787; + + public Skill2787() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2787Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46350 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 750; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(160); + skill.SetPlus(3580); + skill.SetRatio(1.2f); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage((skill.GetPlayer().GetForm() == 1 ? 1.2f : 0.9f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2787Stub() : base(2787) + { + cls = 11; + name = "真·月诗引"; + nativename = "真·月诗引"; + icon = "仙月诗引"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1014; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_月诗引_击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/月诗引_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月诗引_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 7000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2579, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2787Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6001); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2787.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2787.cs.meta new file mode 100644 index 0000000000..365f170fac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2787.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 14dc12a4b1ae44cd78ec546bc96463e1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2788.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2788.cs new file mode 100644 index 0000000000..3d19fa053e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2788.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2788 : Skill + { + public const int SKILL_ID = 2788; + + public Skill2788() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2788Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46351 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(40); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(160); + skill.SetPlus(3580); + skill.SetRatio(1.2f); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage((skill.GetPlayer().GetForm() == 1 ? 1.2f : 0.9f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2788Stub() : base(2788) + { + cls = 11; + name = "狂·月诗引"; + nativename = "狂·月诗引"; + icon = "魔月诗引"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1014; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_月诗引_击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/月诗引_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月诗引_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 7000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2579, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2788Stub() { } + + public override float GetMpcost(Skill skill) => 200f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7001); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2788.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2788.cs.meta new file mode 100644 index 0000000000..0049c39b71 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2788.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 323b537ff8f4e47fd83297da1012ee1f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2789.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2789.cs new file mode 100644 index 0000000000..7ad0fb0c02 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2789.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2789 : Skill + { + public const int SKILL_ID = 2789; + + public Skill2789() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2789Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46352 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(42); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(169); + skill.SetPlus(5555); + skill.SetRatio(1.7f); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage((skill.GetPlayer().GetForm() == 1 ? 1.2f : 0.9f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2789Stub() : base(2789) + { + cls = 11; + name = "真·冰轮引"; + nativename = "真·冰轮引"; + icon = "仙冰轮引"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1015; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = true; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_冰轮引_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/冰轮引_飞行02.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冰轮引_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2580, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2789Stub() { } + + public override float GetMpcost(Skill skill) => 211f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT0 () == 3 ? 6000 : (skill.GetT0 () == 7 ? 5301 : (skill.GetT0 () == 11 ? 4700 : 4000))); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2789.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2789.cs.meta new file mode 100644 index 0000000000..5dabf1c94a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2789.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 38db700c552cd4ad5855279ac1a00e0b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill279.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill279.cs new file mode 100644 index 0000000000..b7fd26b559 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill279.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill279 : Skill + { + public const int SKILL_ID = 279; + + public Skill279() : base(SKILL_ID) + { + } + } +#endif + + public class Skill279Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill279Stub() : base(279) + { + cls = 127; + name = "新怪之木防群降"; + nativename = "新怪之木防群降"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill279Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetReducewood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill279.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill279.cs.meta new file mode 100644 index 0000000000..ccd4413fc7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill279.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 46f15d7cb082f4d63b37fbde54e91b51 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2790.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2790.cs new file mode 100644 index 0000000000..9095de569a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2790.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2790 : Skill + { + public const int SKILL_ID = 2790; + + public Skill2790() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2790Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46353 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(42); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(169); + skill.SetPlus(5555); + skill.SetRatio(1.7f); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage((skill.GetPlayer().GetForm() == 1 ? 1.2f : 0.9f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2790Stub() : base(2790) + { + cls = 11; + name = "狂·冰轮引"; + nativename = "狂·冰轮引"; + icon = "魔冰轮引"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1015; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = true; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_冰轮引_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/冰轮引_飞行02.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冰轮引_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2580, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2790Stub() { } + + public override float GetMpcost(Skill skill) => 211f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetT0 () == 3 ? 6000 : (skill.GetT0 () == 7 ? 5600 : (skill.GetT0 () == 11 ? 5300 : 5000))); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2790.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2790.cs.meta new file mode 100644 index 0000000000..ab799bc3b9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2790.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3ae25b7c8b34e4fddbc3a94102b19acd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2791.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2791.cs new file mode 100644 index 0000000000..7ae24da3cf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2791.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2791 : Skill + { + public const int SKILL_ID = 2791; + + public Skill2791() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2791Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46354 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(69); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(278); + skill.SetPlus(4860); + skill.SetRatio(1.7f); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2791Stub() : base(2791) + { + cls = 11; + name = "真·月汐引"; + nativename = "真·月汐引"; + icon = "仙月汐引"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1016; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_月汐引_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月汐引_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2581, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2791Stub() { } + + public override float GetMpcost(Skill skill) => 347f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 9f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetT0 () == 7 ? 12 : 10); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetAmount (1501); + skill.GetVictim ().SetValue (skill.GetT0 () == 7 ? 12 : 10); + skill.GetVictim ().SetRepel2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2791.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2791.cs.meta new file mode 100644 index 0000000000..2b048f6395 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2791.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9f1a3546f08944313b383a28882d6ddb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2792.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2792.cs new file mode 100644 index 0000000000..42734f3a6b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2792.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2792 : Skill + { + public const int SKILL_ID = 2792; + + public Skill2792() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2792Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46355 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(69); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(278); + skill.SetPlus(4860); + skill.SetRatio(1.7f); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2792Stub() : base(2792) + { + cls = 11; + name = "狂·月汐引"; + nativename = "狂·月汐引"; + icon = "魔月汐引"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1016; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_月汐引_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月汐引_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2581, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2792Stub() { } + + public override float GetMpcost(Skill skill) => 347f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 9f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetT0 () == 7 ? 12 : 10); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (0); + skill.GetVictim ().SetAmount (1501); + skill.GetVictim ().SetValue (skill.GetT0 () == 7 ? 12 : 10); + skill.GetVictim ().SetRepel2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2792.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2792.cs.meta new file mode 100644 index 0000000000..ec1bbe17a5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2792.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f7703a28579b74beba8ea0e004a5dd7e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2793.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2793.cs new file mode 100644 index 0000000000..13cad43747 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2793.cs @@ -0,0 +1,266 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2793 : Skill + { + public const int SKILL_ID = 2793; + + public Skill2793() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2793Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46356 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 934; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(401); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 568; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(5442); + skill.SetRatio(1.8f); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage(0.25f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 468; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(5442); + skill.SetRatio(1.8f); + skill.SetWaterdamage(0.25f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 535; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(5442); + skill.SetRatio(1.8f); + skill.SetWaterdamage(0.5f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2793Stub() : base(2793) + { + cls = 11; + name = "真·蜓水引"; + nativename = "真·蜓水引"; + icon = "仙蜓水引"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1017; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_蜓水引_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/蜓水引_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(2582, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); +#endif + } + + ~Skill2793Stub() { } + + public override float GetMpcost(Skill skill) => 401f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 9000; + public float GetRadius(Skill skill) => 4f; + public float GetAttackdistance(Skill skill) => 20f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 18f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 33 ? 100 : 0); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 33 ? 0 : 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetBefrozen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetRand (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2793.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2793.cs.meta new file mode 100644 index 0000000000..26343a96e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2793.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1ca0725cdbe7a4715add1598257f7f2a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2794.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2794.cs new file mode 100644 index 0000000000..728e244487 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2794.cs @@ -0,0 +1,266 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2794 : Skill + { + public const int SKILL_ID = 2794; + + public Skill2794() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2794Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46357 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 934; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(401); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 568; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(5442); + skill.SetRatio(1.8f); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage(0.25f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 468; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(5442); + skill.SetRatio(1.8f); + skill.SetWaterdamage(0.25f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 535; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(5442); + skill.SetRatio(1.8f); + skill.SetWaterdamage(0.5f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2794Stub() : base(2794) + { + cls = 11; + name = "狂·蜓水引"; + nativename = "狂·蜓水引"; + icon = "魔蜓水引"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1017; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_蜓水引_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/蜓水引_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(2582, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); +#endif + } + + ~Skill2794Stub() { } + + public override float GetMpcost(Skill skill) => 401f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 20f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 18f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 33 ? 100 : 0); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 33 ? 0 : 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetBefrozen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetRand (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2794.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2794.cs.meta new file mode 100644 index 0000000000..32314045ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2794.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 746b132c0b05e423db3ca927067a32fd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2795.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2795.cs new file mode 100644 index 0000000000..c8ef3921c6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2795.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2795 : Skill + { + public const int SKILL_ID = 2795; + + public Skill2795() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2795Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46358 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1334; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(83); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1134; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(331); + skill.SetPlus(6820); + skill.SetRatio(1.7f); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2795Stub() : base(2795) + { + cls = 11; + name = "真·万类霜天"; + nativename = "真·万类霜天"; + icon = "仙万类霜天"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1018; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_万类霜天_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/万类霜天_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(2583, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2795Stub() { } + + public override float GetMpcost(Skill skill) => 414f; + public override int GetExecutetime(Skill skill) => 1134; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38 + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2795.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2795.cs.meta new file mode 100644 index 0000000000..43ee9affdc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2795.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cab15a1fdd6f3458a970ecef08247e67 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2796.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2796.cs new file mode 100644 index 0000000000..d7f093245f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2796.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2796 : Skill + { + public const int SKILL_ID = 2796; + + public Skill2796() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2796Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46359 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1334; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(83); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1134; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(331); + skill.SetPlus(6820); + skill.SetRatio(1.7f); + skill.GetPlayer().SetAddball(1); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2796Stub() : base(2796) + { + cls = 11; + name = "狂·万类霜天"; + nativename = "狂·万类霜天"; + icon = "魔万类霜天"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 15; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1018; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_万类霜天_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/万类霜天_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(2583, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2796Stub() { } + + public override float GetMpcost(Skill skill) => 414f; + public override int GetExecutetime(Skill skill) => 1134; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 70); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38 + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2796.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2796.cs.meta new file mode 100644 index 0000000000..39871bfca5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2796.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8d57befa7bde040bdaaf467f5cb3eec2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2797.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2797.cs new file mode 100644 index 0000000000..506e9888e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2797.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2797 : Skill + { + public const int SKILL_ID = 2797; + + public Skill2797() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2797Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46360 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(86); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1468; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(345); + skill.SetPlus(6910); + skill.SetRatio(1.7f); + skill.SetWaterdamage((skill.GetPlayer().GetBalls() == 15 ? 1.35f : 1) * skill.GetMagicattack()); + skill.GetPlayer().SetAddball(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2797Stub() : base(2797) + { + cls = 11; + name = "真·雷极冰暴"; + nativename = "真·雷极冰暴"; + icon = "仙雷极冰暴"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1019; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_雷极冰暴_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/月仙_雷极冰暴_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_雷极冰爆_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2584, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2797Stub() { } + + public override float GetMpcost(Skill skill) => 431f; + public override int GetExecutetime(Skill skill) => 1468; + public override int GetCoolingtime(Skill skill) => 18000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2797.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2797.cs.meta new file mode 100644 index 0000000000..216f1e780a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2797.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5e124015606d244cb8b4c6d183e5f6cf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2798.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2798.cs new file mode 100644 index 0000000000..e978242974 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2798.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2798 : Skill + { + public const int SKILL_ID = 2798; + + public Skill2798() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2798Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46361 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(86); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1468; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(345); + skill.SetPlus(6910); + skill.SetRatio(1.7f); + skill.SetWaterdamage((skill.GetPlayer().GetBalls() == 15 ? 1.25f : 1) * skill.GetMagicattack()); + skill.GetPlayer().SetAddball(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2798Stub() : base(2798) + { + cls = 11; + name = "狂·雷极冰暴"; + nativename = "狂·雷极冰暴"; + icon = "魔雷极冰暴"; + max_level = 1; + type = 1; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1019; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_雷极冰暴_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/月仙_雷极冰暴_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_雷极冰爆_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2584, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2798Stub() { } + + public override float GetMpcost(Skill skill) => 431f; + public override int GetExecutetime(Skill skill) => 1468; + public override int GetCoolingtime(Skill skill) => 18000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2798.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2798.cs.meta new file mode 100644 index 0000000000..9bbdf795ec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2798.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3e2793dbce3cb4206ba8b7025800ce77 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2799.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2799.cs new file mode 100644 index 0000000000..844dc114ab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2799.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2799 : Skill + { + public const int SKILL_ID = 2799; + + public Skill2799() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2799Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46362 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(107); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(428); + skill.GetPlayer().SetAddball(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2799Stub() : base(2799) + { + cls = 11; + name = "真·涡漩祭祀"; + nativename = "真·涡漩祭祀"; + icon = "仙涡漩祭祀"; + max_level = 1; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1020; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙男_涡漩祭祀_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/莽月城王后_普攻2击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2585, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2799Stub() { } + + public override float GetMpcost(Skill skill) => 535f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (13001); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (46454); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2799.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2799.cs.meta new file mode 100644 index 0000000000..52944d49be --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2799.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f100012ffe67c47d18184cbee8d060ec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill28.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill28.cs new file mode 100644 index 0000000000..ff43c32b47 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill28.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill28 : Skill + { + public const int SKILL_ID = 28; + + public Skill28() : base(SKILL_ID) + { + } + } +#endif + + public class Skill28Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill28Stub() : base(28) + { + cls = 127; + name = "水漩涡"; + nativename = "水漩涡"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物水漩涡"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/脚下涌起水柱.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill28Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill28.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill28.cs.meta new file mode 100644 index 0000000000..5c50a500ad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill28.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b26ea91103db94f7292bbac3e7cdafb9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill280.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill280.cs new file mode 100644 index 0000000000..b6ef705a67 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill280.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill280 : Skill + { + public const int SKILL_ID = 280; + + public Skill280() : base(SKILL_ID) + { + } + } +#endif + + public class Skill280Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill280Stub() : base(280) + { + cls = 127; + name = "新怪之水防群降"; + nativename = "新怪之水防群降"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill280Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetReducewater (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill280.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill280.cs.meta new file mode 100644 index 0000000000..d4404c3eb2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill280.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0a4744f273e8c44c28ead0b7fe750bf6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2800.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2800.cs new file mode 100644 index 0000000000..e0dcb92196 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2800.cs @@ -0,0 +1,205 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2800 : Skill + { + public const int SKILL_ID = 2800; + + public Skill2800() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2800Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46363 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(107); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(428); + skill.GetPlayer().SetAddball(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2800Stub() : base(2800) + { + cls = 11; + name = "狂·涡漩祭祀"; + nativename = "狂·涡漩祭祀"; + icon = "魔涡漩祭祀"; + max_level = 1; + type = 3; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1020; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙男_涡漩祭祀_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/莽月城王后_普攻2击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2585, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2800Stub() { } + + public override float GetMpcost(Skill skill) => 535f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 45000 - 1500 * skill.GetLevel(); + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (13001); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (46455); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2800.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2800.cs.meta new file mode 100644 index 0000000000..70b56b207e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2800.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cc1f875e0528744cd8757d05c28eb8ac \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2801.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2801.cs new file mode 100644 index 0000000000..1657d01e55 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2801.cs @@ -0,0 +1,204 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2801 : Skill + { + public const int SKILL_ID = 2801; + + public Skill2801() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2801Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46364 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1534; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(127); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1268; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(508); + skill.GetPlayer().SetAddball(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2801Stub() : base(2801) + { + cls = 11; + name = "真·广寒之护"; + nativename = "真·广寒之护"; + icon = "仙广寒之护"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1022; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_广寒之护_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/广寒之护_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2586, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2801Stub() { } + + public override float GetMpcost(Skill skill) => 635f; + public override int GetExecutetime(Skill skill) => 1268; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 14f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (22); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetAtkdamagereduce (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2801.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2801.cs.meta new file mode 100644 index 0000000000..571ec8258e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2801.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cb6466a2a1704419abf9f9c15e7ac2f5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2802.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2802.cs new file mode 100644 index 0000000000..af0229dedf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2802.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2802 : Skill + { + public const int SKILL_ID = 2802; + + public Skill2802() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2802Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46365 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1534; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(127); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1268; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(508); + skill.GetPlayer().SetAddball(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2802Stub() : base(2802) + { + cls = 11; + name = "狂·广寒之护"; + nativename = "狂·广寒之护"; + icon = "魔广寒之护"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 20; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1022; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_广寒之护_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/广寒之护_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(2586, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2802Stub() { } + + public override float GetMpcost(Skill skill) => 635f; + public override int GetExecutetime(Skill skill) => 1268; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 16f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 14f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (22); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetAtkdamagereduce (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetAdddefencedegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2802.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2802.cs.meta new file mode 100644 index 0000000000..7d9c6fe095 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2802.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a79705c730c5b43fbacff89227a5d177 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2803.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2803.cs new file mode 100644 index 0000000000..2ac10d5576 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2803.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2803 : Skill + { + public const int SKILL_ID = 2803; + + public Skill2803() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2803Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46366 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(119); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1402; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(475); + skill.SetPlus(5694); + skill.SetRatio(2.3f); + skill.SetGolddamage(skill.GetMagicattack()); + skill.SetDamage((skill.GetPlayer().GetBalls() == 15 ? 1 : 0) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2803Stub() : base(2803) + { + cls = 11; + name = "锟芥·锟斤拷锟铰涤伙拷"; + nativename = "锟芥·锟斤拷锟铰涤伙拷"; + icon = "锟缴碉拷锟铰涤伙拷"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1026; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_nobreak = 1; + effect = "锟斤拷锟斤拷_锟斤拷锟铰涤伙拷_锟斤拷锟斤拷"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(2587, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2803Stub() { } + + public override float GetMpcost(Skill skill) => 594f; + public override int GetExecutetime(Skill skill) => 1402; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () == 3 ? 100 : 0); + skill.GetVictim ().SetTime (5402); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetBefrozen (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (skill.GetT0 () == 11 ? 1 : (skill.GetT0 () == 7 ? 2 : 10)); + skill.GetVictim ().SetValue (2625); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38 + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); + public float GetTalent1(PlayerWrapper player) => player.GetMagicattack (); + public void ComboSkEndAction(Skill skill) + { + skill.GetPlayer().GetComboarg().SetValue(0, skill.GetPlayer().GetRand()); + } +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2803.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2803.cs.meta new file mode 100644 index 0000000000..964cee9ccf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2803.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 25f4549c736f34dde8926e7b801e4f9a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2804.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2804.cs new file mode 100644 index 0000000000..d507b2f178 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2804.cs @@ -0,0 +1,216 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2804 : Skill + { + public const int SKILL_ID = 2804; + + public Skill2804() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2804Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46367 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(119); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1402; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(475); + skill.SetPlus(5694); + skill.SetRatio(2.3f); + skill.SetGolddamage(skill.GetMagicattack()); + skill.SetDamage((skill.GetPlayer().GetBalls() == 15 ? 1 : 0) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2804Stub() : base(2804) + { + cls = 11; + name = "狂·荡月涤魂"; + nativename = "狂·荡月涤魂"; + icon = "魔荡月涤魂"; + max_level = 1; + type = 1; + apcost = 200; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1026; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_nobreak = 1; + effect = "月仙_荡月涤魂_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_荡月涤魂_击中_地面子效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(2587, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2804Stub() { } + + public override float GetMpcost(Skill skill) => 594f; + public override int GetExecutetime(Skill skill) => 1402; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () == 3 ? 100 : 0); + skill.GetVictim ().SetTime (5402); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetBefrozen (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (skill.GetT0 () == 11 ? 1 : (skill.GetT0 () == 7 ? 2 : 10)); + skill.GetVictim ().SetValue (2625); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38 + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); + public float GetTalent1(PlayerWrapper player) => player.GetMagicattack (); + public void ComboSkEndAction(Skill skill) + { + skill.GetPlayer().GetComboarg().SetValue(0, skill.GetPlayer().GetRand()); + } +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2804.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2804.cs.meta new file mode 100644 index 0000000000..087e8698b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2804.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d64aa69e2c0414f27b5e2698de334f6c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2805.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2805.cs new file mode 100644 index 0000000000..a2a837f724 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2805.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2805 : Skill + { + public const int SKILL_ID = 2805; + + public Skill2805() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2805Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46368 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 950; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(44); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 735; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(177); + skill.SetPlus(3166); + skill.SetRatio(0.9f); + skill.SetGolddamage((skill.GetPlayer().GetForm() == 1 ? 1.06f : 0.8f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2805Stub() : base(2805) + { + cls = 11; + name = "真·霜雷术"; + nativename = "真·霜雷术"; + icon = "仙霜雷术"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1012; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_霜雷术_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/月仙_霜雷术_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霜雷术_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2588, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2805Stub() { } + + public override float GetMpcost(Skill skill) => 221f; + public override int GetExecutetime(Skill skill) => 735; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 1000 : 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetAmount (1979 + 0.125f * skill.GetT0 ()); + skill.GetVictim ().SetValue (1979 + 0.125f * skill.GetT0 ()); + skill.GetVictim ().SetAddfrosteffect (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2805.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2805.cs.meta new file mode 100644 index 0000000000..e54ea143d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2805.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e9289fd6c8cf04889855a1f6dae27981 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2806.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2806.cs new file mode 100644 index 0000000000..c3b0fe14df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2806.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2806 : Skill + { + public const int SKILL_ID = 2806; + + public Skill2806() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2806Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46369 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 950; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(44); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 735; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(177); + skill.SetPlus(3166); + skill.SetRatio(0.9f); + skill.SetGolddamage((skill.GetPlayer().GetForm() == 1 ? 1.06f : 0.8f) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2806Stub() : base(2806) + { + cls = 11; + name = "狂·霜雷术"; + nativename = "狂·霜雷术"; + icon = "魔霜雷术"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 10; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1012; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_霜雷术_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/月仙_霜雷术_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霜雷术_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2588, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2806Stub() { } + + public override float GetMpcost(Skill skill) => 221f; + public override int GetExecutetime(Skill skill) => 735; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 1000 : 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetAmount (1979 + 0.125f * skill.GetT0 ()); + skill.GetVictim ().SetValue (1979 + 0.125f * skill.GetT0 ()); + skill.GetVictim ().SetAddfrosteffect (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2806.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2806.cs.meta new file mode 100644 index 0000000000..fa075bd17f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2806.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e3c6f776700fc48c99ff060635b40606 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2807.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2807.cs new file mode 100644 index 0000000000..ab59999a07 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2807.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2807 : Skill + { + public const int SKILL_ID = 2807; + + public Skill2807() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2807Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46370 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1850; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(66); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1601; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(265); + skill.SetPlus(11391); + skill.SetRatio(2.9f); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2807Stub() : base(2807) + { + cls = 11; + name = "真·霜雷震"; + nativename = "真·霜雷震"; + icon = "仙霜雷震"; + max_level = 1; + type = 1; + apcost = 75; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1013; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_霜雷震_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/霜雷震_飞行01.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霜雷震_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2589, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2807Stub() { } + + public override float GetMpcost(Skill skill) => 331f; + public override int GetExecutetime(Skill skill) => 1601; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetActivefrosteffect (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2807.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2807.cs.meta new file mode 100644 index 0000000000..45d31e32df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2807.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 64b418faae1244510b7d6bc2be3b8890 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2808.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2808.cs new file mode 100644 index 0000000000..fd446f07e9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2808.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2808 : Skill + { + public const int SKILL_ID = 2808; + + public Skill2808() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2808Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46371 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(66); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1601; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(265); + skill.SetPlus(6591); + skill.SetRatio(2.9f); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2808Stub() : base(2808) + { + cls = 11; + name = "狂·霜雷震"; + nativename = "狂·霜雷震"; + icon = "魔霜雷震"; + max_level = 1; + type = 1; + apcost = 75; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1013; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_霜雷震_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/霜雷震_飞行01.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霜雷震_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2589, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2808Stub() { } + + public override float GetMpcost(Skill skill) => 331f; + public override int GetExecutetime(Skill skill) => 1601; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetActivefrosteffect (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2808.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2808.cs.meta new file mode 100644 index 0000000000..a535532c20 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2808.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e17a2c3e69b744630b0370f0565b3227 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2809.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2809.cs new file mode 100644 index 0000000000..78bbf064f2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2809.cs @@ -0,0 +1,172 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2809 : Skill + { + public const int SKILL_ID = 2809; + + public Skill2809() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2809Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46372 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(71); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 6001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(285); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2809Stub() : base(2809) + { + cls = 11; + name = "真·月神之体"; + nativename = "真·月神之体"; + icon = "仙月神之体"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 4; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1023; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2590, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2809Stub() { } + + public override float GetMpcost(Skill skill) => 356f; + public override int GetExecutetime(Skill skill) => 6001; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetMoongod (1); + skill.GetVictim ().SetProbability (1.0f * 8); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2843); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2809.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2809.cs.meta new file mode 100644 index 0000000000..07332e68df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2809.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f876dad120ed74ac9a9b772d92df9ed6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill281.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill281.cs new file mode 100644 index 0000000000..6732e0b5ad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill281.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill281 : Skill + { + public const int SKILL_ID = 281; + + public Skill281() : base(SKILL_ID) + { + } + } +#endif + + public class Skill281Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill281Stub() : base(281) + { + cls = 127; + name = "新怪之火防群降"; + nativename = "新怪之火防群降"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill281Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetReducefire (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill281.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill281.cs.meta new file mode 100644 index 0000000000..db422c2c80 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill281.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d52d4993269054f69a0899531c83f04a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2810.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2810.cs new file mode 100644 index 0000000000..96cb56cad6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2810.cs @@ -0,0 +1,172 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2810 : Skill + { + public const int SKILL_ID = 2810; + + public Skill2810() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2810Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46373 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(71); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 6001; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(285); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2810Stub() : base(2810) + { + cls = 11; + name = "狂·月神之体"; + nativename = "狂·月神之体"; + icon = "魔月神之体"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 30; + attr = 4; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1023; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2590, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2810Stub() { } + + public override float GetMpcost(Skill skill) => 356f; + public override int GetExecutetime(Skill skill) => 6001; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.75f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetMoongod (1); + skill.GetVictim ().SetProbability (1.0f * 8); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (2844); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2810.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2810.cs.meta new file mode 100644 index 0000000000..6cf88d9673 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2810.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ae594477738e24afd9d81cd7d82f7648 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2811.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2811.cs new file mode 100644 index 0000000000..c47e6d07cc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2811.cs @@ -0,0 +1,285 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2811 : Skill + { + public const int SKILL_ID = 2811; + + public Skill2811() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2811Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46374 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1101; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(276); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 801; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(7239); + skill.SetRatio(2.5f); + skill.SetWaterdamage(0.05f * skill.GetMagicattack()); + skill.SetGolddamage(0.05f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 268; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(7239); + skill.SetRatio(2.5f); + skill.SetWaterdamage(0.1f * skill.GetMagicattack()); + skill.SetGolddamage(0.1f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(7239); + skill.SetRatio(2.5f); + skill.SetWaterdamage(0.15f * skill.GetMagicattack()); + skill.SetGolddamage(0.15f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 701; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(7239); + skill.SetRatio(2.5f); + skill.SetWaterdamage(0.2f * skill.GetMagicattack()); + skill.SetGolddamage(0.2f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2811Stub() : base(2811) + { + cls = 11; + name = "真·月华乱舞"; + nativename = "真·月华乱舞"; + icon = "仙月华乱舞"; + max_level = 1; + type = 1; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1024; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_月华乱舞_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "人物/技能/月仙/月华乱舞2_施放落_飞行刀光子效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_月华乱舞_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 8000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2591, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2811Stub() { } + + public override float GetMpcost(Skill skill) => 276f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 6000 : 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetSection () == 1 ? 25 : 0); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2811.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2811.cs.meta new file mode 100644 index 0000000000..ea51e66263 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2811.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e2e06f5eb24c147728f390ce7014a7d9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2812.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2812.cs new file mode 100644 index 0000000000..7a5f500f7a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2812.cs @@ -0,0 +1,285 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2812 : Skill + { + public const int SKILL_ID = 2812; + + public Skill2812() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2812Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46375 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1101; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(276); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 801; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(1); + skill.SetPlus(7239); + skill.SetRatio(2.5f); + skill.SetWaterdamage(0.05f * skill.GetMagicattack()); + skill.SetGolddamage(0.05f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 268; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(2); + skill.SetPlus(7239); + skill.SetRatio(2.5f); + skill.SetWaterdamage(0.1f * skill.GetMagicattack()); + skill.SetGolddamage(0.1f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State5 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(3); + skill.SetPlus(7239); + skill.SetRatio(2.5f); + skill.SetWaterdamage(0.15f * skill.GetMagicattack()); + skill.SetGolddamage(0.15f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State6 : SkillStub.State + { + public int GetTime(Skill skill) => 701; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetSection(4); + skill.SetPlus(7239); + skill.SetRatio(2.5f); + skill.SetWaterdamage(0.2f * skill.GetMagicattack()); + skill.SetGolddamage(0.2f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State7 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2812Stub() : base(2812) + { + cls = 11; + name = "狂·月华乱舞"; + nativename = "狂·月华乱舞"; + icon = "魔月华乱舞"; + max_level = 1; + type = 1; + apcost = 50; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1024; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + is_movingcast = true; + effect = "月仙_月华乱舞_击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "人物/技能/月仙/月华乱舞2_施放落_飞行刀光子效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_月华乱舞_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 8000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2591, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); + statestub.Add(new State5()); + statestub.Add(new State6()); + statestub.Add(new State7()); +#endif + } + + ~Skill2812Stub() { } + + public override float GetMpcost(Skill skill) => 276f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => skill.GetPlayer().GetForm() == 1 ? 6000 : 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetSection () == 4 ? 25 : 0); + skill.GetVictim ().SetValue (0.1f * skill.GetT0 () + 724); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2812.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2812.cs.meta new file mode 100644 index 0000000000..fe55980a3c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2812.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8f6eefda4c0954e9bba9de232aa9aab7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2813.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2813.cs new file mode 100644 index 0000000000..1dafd1cece --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2813.cs @@ -0,0 +1,234 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2813 : Skill + { + public const int SKILL_ID = 2813; + + public Skill2813() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2813Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46376 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1034; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1268; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(297); + skill.SetPlus(8855); + skill.SetRatio(1.5f); + skill.SetWaterdamage(0.22f * skill.GetMagicattack()); + skill.SetGolddamage(0.22f * skill.GetMagicattack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2813Stub() : base(2813) + { + cls = 11; + name = "真·晓月银光"; + nativename = "真·晓月银光"; + icon = "仙晓月银光"; + max_level = 1; + type = 1; + apcost = 150; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 21; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1025; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_晓月银光_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/晓月银光_飞行01.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/晓月银光_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2592, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill2813Stub() { } + + public override float GetMpcost(Skill skill) => 297f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlowfly (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.01f); + skill.GetVictim ().SetAmount (15); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInchurt5 (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (5); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2813.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2813.cs.meta new file mode 100644 index 0000000000..d7db8c4c5a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2813.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ca29025320eeb4dd28f54b7e61d9cc7d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2814.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2814.cs new file mode 100644 index 0000000000..ab871c4652 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2814.cs @@ -0,0 +1,234 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2814 : Skill + { + public const int SKILL_ID = 2814; + + public Skill2814() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2814Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46377 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1034; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(2); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 1268; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(297); + skill.SetPlus(8855); + skill.SetRatio(1.5f); + skill.SetWaterdamage(0.22f * skill.GetMagicattack()); + skill.SetGolddamage(0.22f * skill.GetMagicattack()); + skill.GetPlayer().SetCombat(1); + skill.GetPlayer().SetPerform(0); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State4 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2814Stub() : base(2814) + { + cls = 11; + name = "狂·晓月银光"; + nativename = "狂·晓月银光"; + icon = "魔晓月银光"; + max_level = 1; + type = 1; + apcost = 150; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 31; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 2; + showorder = 1025; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_晓月银光_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/晓月银光_飞行01.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/晓月银光_击中01.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2592, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); + statestub.Add(new State4()); +#endif + } + + ~Skill2814Stub() { } + + public override float GetMpcost(Skill skill) => 297f; + public override int GetExecutetime(Skill skill) => -1; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlowfly (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.01f); + skill.GetVictim ().SetAmount (15); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetInchurt5 (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.03f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2814.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2814.cs.meta new file mode 100644 index 0000000000..a02466a4b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2814.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 345e7907ff4c740cbaa5e1b7b7e091ab \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2815.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2815.cs new file mode 100644 index 0000000000..e0ce644dc4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2815.cs @@ -0,0 +1,123 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2815 : Skill + { + public const int SKILL_ID = 2815; + + public Skill2815() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2815Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46378 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetFilpball(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2815Stub() : base(2815) + { + cls = 11; + name = "真·逆乱阴阳"; + nativename = "真·逆乱阴阳"; + icon = "仙逆乱阴阳"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1002; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2593, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2815Stub() { } + + public override float GetMpcost(Skill skill) => 80f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2815.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2815.cs.meta new file mode 100644 index 0000000000..f55d69fbad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2815.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0eaa7fbb1159e4a8b904c730c1d7a1ce \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2816.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2816.cs new file mode 100644 index 0000000000..a99b53c0dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2816.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2816 : Skill + { + public const int SKILL_ID = 2816; + + public Skill2816() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2816Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46379 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetFilpball(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2816Stub() : base(2816) + { + cls = 11; + name = "狂·逆乱阴阳"; + nativename = "狂·逆乱阴阳"; + icon = "魔逆乱阴阳"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1002; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2593, 10); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2816Stub() { } + + public override float GetMpcost(Skill skill) => 80f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2816.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2816.cs.meta new file mode 100644 index 0000000000..a7db1b8274 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2816.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a99a79c8025d9486181df4fc4bfe580d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2817.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2817.cs new file mode 100644 index 0000000000..15b384f026 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2817.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2817 : Skill + { + public const int SKILL_ID = 2817; + + public Skill2817() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2817Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46380 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 534; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(55); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 935; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(221); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2817Stub() : base(2817) + { + cls = 11; + name = "真·寒宫蟾步"; + nativename = "真·寒宫蟾步"; + icon = "仙寒宫蟾步"; + max_level = 1; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1008; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_寒宫缠步_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_寒宫缠步_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2595, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2817Stub() { } + + public override float GetMpcost(Skill skill) => 276f; + public override int GetExecutetime(Skill skill) => 935; + public override int GetCoolingtime(Skill skill) => 57000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12935); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (624 + 0.2f * skill.GetT0 ()); + skill.GetVictim ().SetMovepunish (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2817.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2817.cs.meta new file mode 100644 index 0000000000..a0b71ef3f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2817.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a7514694e06f649cf9b0605de80b338d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2818.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2818.cs new file mode 100644 index 0000000000..fc80a8e6d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2818.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2818 : Skill + { + public const int SKILL_ID = 2818; + + public Skill2818() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2818Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46381 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 534; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(55); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 935; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(221); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2818Stub() : base(2818) + { + cls = 11; + name = "狂·寒宫蟾步"; + nativename = "狂·寒宫蟾步"; + icon = "魔寒宫蟾步"; + max_level = 1; + type = 3; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1008; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_寒宫缠步_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_寒宫缠步_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2595, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2818Stub() { } + + public override float GetMpcost(Skill skill) => 276f; + public override int GetExecutetime(Skill skill) => 935; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (624 + 0.2f * skill.GetT0 ()); + skill.GetVictim ().SetMovepunish (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36.5f + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2818.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2818.cs.meta new file mode 100644 index 0000000000..af23f23134 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2818.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5f1b2209fa1b24be1a734e1d062373a7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2819.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2819.cs new file mode 100644 index 0000000000..d961b8aaee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2819.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2819 : Skill + { + public const int SKILL_ID = 2819; + + public Skill2819() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2819Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46382 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 201; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(24); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2819Stub() : base(2819) + { + cls = 11; + name = "真·婵娟勾弦"; + nativename = "真·婵娟勾弦"; + icon = "仙婵娟勾弦"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 20; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1021; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2596, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2819Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 301; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (13000); + skill.GetVictim ().SetRatio (0.55f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (13000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2819.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2819.cs.meta new file mode 100644 index 0000000000..41e5748861 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2819.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8ba1120e85e4e4bd8b79426a093e1508 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill282.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill282.cs new file mode 100644 index 0000000000..90ee56960c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill282.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill282 : Skill + { + public const int SKILL_ID = 282; + + public Skill282() : base(SKILL_ID) + { + } + } +#endif + + public class Skill282Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill282Stub() : base(282) + { + cls = 127; + name = "新怪之土防群降"; + nativename = "新怪之土防群降"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill282Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetReducesoil (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill282.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill282.cs.meta new file mode 100644 index 0000000000..4ba6b2c80e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill282.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 385e540ad36424e568277dcc095d83ad \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2820.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2820.cs new file mode 100644 index 0000000000..344f986f45 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2820.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2820 : Skill + { + public const int SKILL_ID = 2820; + + public Skill2820() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2820Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 89 }; + private static readonly int[] RequiredSpArray = { 1000000 }; + private static readonly int[] RequiredItemArray = { 46383 }; + private static readonly int[] RequiredMoneyArray = { 1000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 201; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(24); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 301; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(96); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2820Stub() : base(2820) + { + cls = 11; + name = "狂·婵娟勾弦"; + nativename = "狂·婵娟勾弦"; + icon = "魔婵娟勾弦"; + max_level = 1; + type = 2; + apcost = 30; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 30; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1021; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(2596, 10); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2820Stub() { } + + public override float GetMpcost(Skill skill) => 120f; + public override int GetExecutetime(Skill skill) => 301; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetRatio (0.65f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2820.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2820.cs.meta new file mode 100644 index 0000000000..cd154b87ab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2820.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9ad982b28f8c54a1e9398156b14b81f9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2823.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2823.cs new file mode 100644 index 0000000000..03a84056cc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2823.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2823 : Skill + { + public const int SKILL_ID = 2823; + + public Skill2823() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2823Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 100 }; + private static readonly int[] RequiredSpArray = { 4000000 }; + private static readonly int[] RequiredItemArray = { 46394 }; + private static readonly int[] RequiredMoneyArray = { 4000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(594); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2823Stub() : base(2823) + { + cls = 11; + name = "玉嫦息"; + nativename = "玉嫦息"; + icon = "玉嫦息"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 22; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1003; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_玉嫦息_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "人物/技能/月仙/玉嫦息.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2823Stub() { } + + public override float GetMpcost(Skill skill) => 594f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (400); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2823.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2823.cs.meta new file mode 100644 index 0000000000..ad85c1f1e9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2823.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d3abc2f7b052e4cd09d9593751ad370e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2824.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2824.cs new file mode 100644 index 0000000000..b2bad71eae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2824.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2824 : Skill + { + public const int SKILL_ID = 2824; + + public Skill2824() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2824Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46394 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(594); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2824Stub() : base(2824) + { + cls = 11; + name = "玉嫦息"; + nativename = "玉嫦息"; + icon = "玉嫦息"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 32; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1003; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "月仙_玉嫦息_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "人物/技能/月仙/玉嫦息.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 5; +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2824Stub() { } + + public override float GetMpcost(Skill skill) => 594f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (400); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25 + skill.GetLevel (); + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2824.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2824.cs.meta new file mode 100644 index 0000000000..2e634a1d83 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2824.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 60d69b411833f45f2b7ae5cbe4c8b580 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2829.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2829.cs new file mode 100644 index 0000000000..cd7f72b187 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2829.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2829 : Skill + { + public const int SKILL_ID = 2829; + + public Skill2829() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2829Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46384 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill2829Stub() : base(2829) + { + cls = 11; + name = "真·水精通"; + nativename = "真·水精通"; + icon = "仙水精通新"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1101; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2689, 10); + + } + + ~Skill2829Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncwater (0.25f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2829.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2829.cs.meta new file mode 100644 index 0000000000..3eda7523da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2829.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d9b575fa6936d41738da16a1844b47a6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill283.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill283.cs new file mode 100644 index 0000000000..e5e409a7ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill283.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill283 : Skill + { + public const int SKILL_ID = 283; + + public Skill283() : base(SKILL_ID) + { + } + } +#endif + + public class Skill283Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill283Stub() : base(283) + { + cls = 127; + name = "新怪之群沉默"; + nativename = "新怪之群沉默"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill283Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill283.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill283.cs.meta new file mode 100644 index 0000000000..50da3a6b56 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill283.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 10d0172bfa7cc41e8a88fc9f3ad5157c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2830.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2830.cs new file mode 100644 index 0000000000..bb27d41929 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2830.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2830 : Skill + { + public const int SKILL_ID = 2830; + + public Skill2830() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2830Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46385 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill2830Stub() : base(2830) + { + cls = 11; + name = "狂·水精通"; + nativename = "狂·水精通"; + icon = "魔水精通新"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1101; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2689, 10); + + } + + ~Skill2830Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncwater (0.2f); + skill.GetPlayer ().SetInccrit (1); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2830.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2830.cs.meta new file mode 100644 index 0000000000..83377cda8f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2830.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8581ee3b8064347808c8c8e6e7215764 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2831.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2831.cs new file mode 100644 index 0000000000..146433eb9e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2831.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2831 : Skill + { + public const int SKILL_ID = 2831; + + public Skill2831() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2831Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46386 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill2831Stub() : base(2831) + { + cls = 11; + name = "真·金精通"; + nativename = "真·金精通"; + icon = "金精通1"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 20; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1102; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2690, 10); + + } + + ~Skill2831Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncgold (0.25f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2831.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2831.cs.meta new file mode 100644 index 0000000000..7208640c24 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2831.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bc6b84f020306484a8e0090e0b1d72f2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2832.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2832.cs new file mode 100644 index 0000000000..81de428585 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2832.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2832 : Skill + { + public const int SKILL_ID = 2832; + + public Skill2832() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2832Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 92 }; + private static readonly int[] RequiredSpArray = { 1500000 }; + private static readonly int[] RequiredItemArray = { 46387 }; + private static readonly int[] RequiredMoneyArray = { 1500000 }; + + + public Skill2832Stub() : base(2832) + { + cls = 11; + name = "狂·金精通"; + nativename = "狂·金精通"; + icon = "金精通2"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 30; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1102; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2690, 10); + + } + + ~Skill2832Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncgold (0.2f); + skill.GetPlayer ().SetInccrit (1); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2832.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2832.cs.meta new file mode 100644 index 0000000000..953f8421da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2832.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d855a256e459c46df93a30e1872ef850 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2833.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2833.cs new file mode 100644 index 0000000000..02e9ab6890 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2833.cs @@ -0,0 +1,105 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2833 : Skill + { + public const int SKILL_ID = 2833; + + public Skill2833() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2833Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46388 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + + public Skill2833Stub() : base(2833) + { + cls = 11; + name = "真·胧族血脉"; + nativename = "真·胧族血脉"; + icon = "仙技能减伤"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 21; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1103; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2691, 10); + + } + + ~Skill2833Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncnearnormaldmgreduce (0.08f); + skill.GetPlayer ().SetIncnearskilldmgreduce (0.03f); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2833.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2833.cs.meta new file mode 100644 index 0000000000..05829c202e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2833.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 283e51a7afbe74b96adb63f4d540a00f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2834.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2834.cs new file mode 100644 index 0000000000..59994b4d05 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2834.cs @@ -0,0 +1,106 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2834 : Skill + { + public const int SKILL_ID = 2834; + + public Skill2834() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2834Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 99 }; + private static readonly int[] RequiredSpArray = { 2000000 }; + private static readonly int[] RequiredItemArray = { 46389 }; + private static readonly int[] RequiredMoneyArray = { 2000000 }; + + + public Skill2834Stub() : base(2834) + { + cls = 11; + name = "狂·胧族血脉"; + nativename = "狂·胧族血脉"; + icon = "魔技能减伤"; + max_level = 1; + type = 5; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 31; + eventflag = 1; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1103; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(2691, 10); + + } + + ~Skill2834Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncnearnormaldmgreduce (0.05f); + skill.GetPlayer ().SetIncnearskilldmgreduce (0.02f); + skill.GetPlayer ().SetInccrit (1); + return true; + } + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2834.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2834.cs.meta new file mode 100644 index 0000000000..196d8fe969 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2834.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 56651722449534bd1bf02876ae777708 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill284.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill284.cs new file mode 100644 index 0000000000..158267a43c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill284.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill284 : Skill + { + public const int SKILL_ID = 284; + + public Skill284() : base(SKILL_ID) + { + } + } +#endif + + public class Skill284Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill284Stub() : base(284) + { + cls = 127; + name = "新怪之物防巨增"; + nativename = "新怪之物防巨增"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "易髓经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/易髓经.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill284Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill284.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill284.cs.meta new file mode 100644 index 0000000000..94b2aefcf7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill284.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2d722a1ab61414a2bb2dce140eca3440 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2841.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2841.cs new file mode 100644 index 0000000000..6cfefb85d0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2841.cs @@ -0,0 +1,108 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2841 : Skill + { + public const int SKILL_ID = 2841; + + public Skill2841() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2841Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2841Stub() : base(2841) + { + cls = 11; + name = "仙荡月涤魂技能效果"; + nativename = "仙荡月涤魂技能效果"; + icon = "朔光咏"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + + } + + ~Skill2841Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 802; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 100 : 0); + skill.GetVictim ().SetTime (7401); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 100 : 0); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetScaleinchp (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (21401); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetEnhanceskilldamage3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2841.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2841.cs.meta new file mode 100644 index 0000000000..d0ffcb1b20 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2841.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 05362d864524742ea934c0e33e385e94 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2842.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2842.cs new file mode 100644 index 0000000000..a030c6f160 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2842.cs @@ -0,0 +1,108 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2842 : Skill + { + public const int SKILL_ID = 2842; + + public Skill2842() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2842Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2842Stub() : base(2842) + { + cls = 11; + name = "魔荡月涤魂技能效果"; + nativename = "魔荡月涤魂技能效果"; + icon = "朔光咏"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + + } + + ~Skill2842Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 802; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 100 : 0); + skill.GetVictim ().SetTime (7401); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 100 : 0); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetScaleinchp (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (21401); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetEnhanceskilldamage3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2842.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2842.cs.meta new file mode 100644 index 0000000000..299e4c78b5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2842.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 976a3ee5f5e70467b848b235c9b786d1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2843.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2843.cs new file mode 100644 index 0000000000..fa373cba46 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2843.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2843 : Skill + { + public const int SKILL_ID = 2843; + + public Skill2843() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2843Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2843Stub() : base(2843) + { + cls = 11; + name = "仙月神之体技能效果"; + nativename = "仙月神之体技能效果"; + icon = "朔光咏"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + + } + + ~Skill2843Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 802; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetScaleinchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2843.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2843.cs.meta new file mode 100644 index 0000000000..f52d96f624 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2843.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 083164fb8d4a34ceeab58435e11a0ea6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2844.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2844.cs new file mode 100644 index 0000000000..1c723ca753 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2844.cs @@ -0,0 +1,104 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2844 : Skill + { + public const int SKILL_ID = 2844; + + public Skill2844() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2844Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + + public Skill2844Stub() : base(2844) + { + cls = 11; + name = "魔月神之体技能效果"; + nativename = "魔月神之体技能效果"; + icon = "朔光咏"; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + + } + + ~Skill2844Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 802; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetScaleinchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2844.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2844.cs.meta new file mode 100644 index 0000000000..24a17d5953 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2844.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8c60134f2acb942dbb8df43331c6e1cc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2845.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2845.cs new file mode 100644 index 0000000000..7cbde61afd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2845.cs @@ -0,0 +1,209 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2845 : Skill + { + public const int SKILL_ID = 2845; + + public Skill2845() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2845Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3467; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(119); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1402; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(475); + skill.SetPlus(5694); + skill.SetRatio(2.3f); + skill.SetGolddamage(0.5f * skill.GetMagicattack()); + skill.SetDamage((skill.GetPlayer().GetBalls() == 15 ? 1 : 0) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2845Stub() : base(2845) + { + cls = 11; + name = "真·荡月涤魂"; + nativename = "真·荡月涤魂"; + icon = "仙荡月涤魂"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1026; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2803; + combosk_interval = 30000; + is_inherent = true; + effect = "月仙_荡月涤魂_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_荡月涤魂_击中_地面子效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2845Stub() { } + + public override float GetMpcost(Skill skill) => 594f; + public override int GetExecutetime(Skill skill) => 1402; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () == 3 ? 100 : 0); + skill.GetVictim ().SetTime (5402); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetBefrozen (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (skill.GetT0 () == 11 ? 1 : (skill.GetT0 () == 7 ? 2 : 10)); + skill.GetVictim ().SetValue (2625); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38 + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); + public float GetTalent1(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2845.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2845.cs.meta new file mode 100644 index 0000000000..4c3db5cf84 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2845.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 06ee584f234bf4bbf92bf299baca0f79 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2846.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2846.cs new file mode 100644 index 0000000000..6635e5953b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2846.cs @@ -0,0 +1,209 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2846 : Skill + { + public const int SKILL_ID = 2846; + + public Skill2846() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2846Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 3980, 8980, 14980, 41980, 91980, 151980, 251980, 371980, 611980, 851980 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(119); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1402; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(475); + skill.SetPlus(5694); + skill.SetRatio(2.3f); + skill.SetGolddamage(0.5f * skill.GetMagicattack()); + skill.SetDamage((skill.GetPlayer().GetBalls() == 15 ? 1 : 0) * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2846Stub() : base(2846) + { + cls = 11; + name = "狂·荡月涤魂"; + nativename = "狂·荡月涤魂"; + icon = "魔荡月涤魂"; + max_level = 1; + type = 1; + apcost = 100; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 6; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 1026; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + combosk_preskill = 2804; + combosk_interval = 30000; + is_inherent = true; + effect = "月仙_荡月涤魂_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/月仙_荡月涤魂_击中_地面子效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + restrict_weapons.Add(44879); + restrict_weapons.Add(0); + range = new Range(); + range.type = 3; +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2846Stub() { } + + public override float GetMpcost(Skill skill) => 594f; + public override int GetExecutetime(Skill skill) => 1402; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(27 + skill.GetPlayer().GetPrayrangeplus()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () == 3 ? 100 : 0); + skill.GetVictim ().SetTime (5402); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetBefrozen (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (100); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (skill.GetT0 () == 11 ? 1 : (skill.GetT0 () == 7 ? 2 : 10)); + skill.GetVictim ().SetValue (2625); + skill.GetVictim ().SetAurabless2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 38 + skill.GetPlayer ().GetPrayrangeplus (); + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetBalls (); + public float GetTalent1(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2846.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2846.cs.meta new file mode 100644 index 0000000000..e046de7564 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill2846.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 14354f9cf062543ed8efe157e42beb0b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill285.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill285.cs new file mode 100644 index 0000000000..63ed92ac7a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill285.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill285 : Skill + { + public const int SKILL_ID = 285; + + public Skill285() : base(SKILL_ID) + { + } + } +#endif + + public class Skill285Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill285Stub() : base(285) + { + cls = 127; + name = "新怪之法防巨增"; + nativename = "新怪之法防巨增"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "易筋经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/易筋经.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill285Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill285.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill285.cs.meta new file mode 100644 index 0000000000..3b780584fa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill285.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 556b4d2041b474d3490186fb50b026fe \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill286.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill286.cs new file mode 100644 index 0000000000..2623583d33 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill286.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill286 : Skill + { + public const int SKILL_ID = 286; + + public Skill286() : base(SKILL_ID) + { + } + } +#endif + + public class Skill286Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.4f); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill286Stub() : base(286) + { + cls = 127; + name = "新怪之群体吸血"; + nativename = "新怪之群体吸血"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill286Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicattack () * 4); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill286.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill286.cs.meta new file mode 100644 index 0000000000..2998e64d23 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill286.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 40ead2f63835742bba2f61959c9d39d8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill287.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill287.cs new file mode 100644 index 0000000000..96ec7750d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill287.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill287 : Skill + { + public const int SKILL_ID = 287; + + public Skill287() : base(SKILL_ID) + { + } + } +#endif + + public class Skill287Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill287Stub() : base(287) + { + cls = 127; + name = "新怪之群体吸魔"; + nativename = "新怪之群体吸魔"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物生命吸取"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/生命飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill287Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage () * 0.5f); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill287.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill287.cs.meta new file mode 100644 index 0000000000..7fa56fe8a4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill287.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2fbf668f736be42189f810978c2eee48 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill288.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill288.cs new file mode 100644 index 0000000000..50f08559df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill288.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill288 : Skill + { + public const int SKILL_ID = 288; + + public Skill288() : base(SKILL_ID) + { + } + } +#endif + + public class Skill288Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.5f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill288Stub() : base(288) + { + cls = 127; + name = "新怪之致死打击"; + nativename = "新怪之致死打击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨型沙虫攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill288Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill288.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill288.cs.meta new file mode 100644 index 0000000000..4d6cfc36b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill288.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2db34d50447c44be6bf43e39d9a7de94 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill289.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill289.cs new file mode 100644 index 0000000000..5d64c173be --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill289.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill289 : Skill + { + public const int SKILL_ID = 289; + + public Skill289() : base(SKILL_ID) + { + } + } +#endif + + public class Skill289Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill289Stub() : base(289) + { + cls = 127; + name = "新怪之群降生命上限"; + nativename = "新怪之群降生命上限"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五色符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五色符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五色符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.5f, 0.5f, 0.5f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.5f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill289Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill289.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill289.cs.meta new file mode 100644 index 0000000000..6ccac0324f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill289.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2e51565dd71634702940e9639c25c98b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill29.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill29.cs new file mode 100644 index 0000000000..b1581e63ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill29.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill29 : Skill + { + public const int SKILL_ID = 29; + + public Skill29() : base(SKILL_ID) + { + } + } +#endif + + public class Skill29Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill29Stub() : base(29) + { + cls = 127; + name = "冰球术"; + nativename = "冰球术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物冰球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill29Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill29.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill29.cs.meta new file mode 100644 index 0000000000..7cf8761fb2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill29.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7dd9e98b072dc4cafb9ed0e50a97a011 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill290.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill290.cs new file mode 100644 index 0000000000..113e7bde8b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill290.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill290 : Skill + { + public const int SKILL_ID = 290; + + public Skill290() : base(SKILL_ID) + { + } + } +#endif + + public class Skill290Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill290Stub() : base(290) + { + cls = 127; + name = "新怪之群降攻速"; + nativename = "新怪之群降攻速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽咒盲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽咒盲飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽咒盲击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 30; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.5f, 1.5f, 1.5f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.2f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill290Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill290.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill290.cs.meta new file mode 100644 index 0000000000..4672652d5a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill290.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e07eaaab16a7d4686964a83ca7b35e64 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill291.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill291.cs new file mode 100644 index 0000000000..dc870bcc16 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill291.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill291 : Skill + { + public const int SKILL_ID = 291; + + public Skill291() : base(SKILL_ID) + { + } + } +#endif + + public class Skill291Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill291Stub() : base(291) + { + cls = 127; + name = "新怪之群降吟唱"; + nativename = "新怪之群降吟唱"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽咒钝"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽咒钝飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽咒钝击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 30; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.2f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill291Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (16000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill291.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill291.cs.meta new file mode 100644 index 0000000000..32e2a0a110 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill291.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0b06885121c94437ab6019d203f696eb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill292.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill292.cs new file mode 100644 index 0000000000..e101b3b947 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill292.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill292 : Skill + { + public const int SKILL_ID = 292; + + public Skill292() : base(SKILL_ID) + { + } + } +#endif + + public class Skill292Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill292Stub() : base(292) + { + cls = 127; + name = "新怪之群体电链"; + nativename = "新怪之群体电链"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物闪电术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/闪电飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill292Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage () * 1.5f); + skill.GetVictim ().SetThunder (1); + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill292.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill292.cs.meta new file mode 100644 index 0000000000..2541f1e4e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill292.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1800b47a17b2d46998a743df3fce9ecd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill293.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill293.cs new file mode 100644 index 0000000000..f628136385 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill293.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill293 : Skill + { + public const int SKILL_ID = 293; + + public Skill293() : base(SKILL_ID) + { + } + } +#endif + + public class Skill293Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.2f); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill293Stub() : base(293) + { + cls = 127; + name = "新怪之冰雹"; + nativename = "新怪之冰雹"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "冰雹"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/冰雹飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill293Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill293.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill293.cs.meta new file mode 100644 index 0000000000..7ef3a9c51e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill293.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f450da64a5c5641f2843b5818b733f04 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill294.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill294.cs new file mode 100644 index 0000000000..feb5be67a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill294.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill294 : Skill + { + public const int SKILL_ID = 294; + + public Skill294() : base(SKILL_ID) + { + } + } +#endif + + public class Skill294Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.2f); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill294Stub() : base(294) + { + cls = 127; + name = "新怪之水煞"; + nativename = "新怪之水煞"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "水煞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/水煞击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 10000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill294Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill294.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill294.cs.meta new file mode 100644 index 0000000000..0036a33593 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill294.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4c13a62e763b24be7b7711fe18011621 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill295.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill295.cs new file mode 100644 index 0000000000..e6a6c8c480 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill295.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill295 : Skill + { + public const int SKILL_ID = 295; + + public Skill295() : base(SKILL_ID) + { + } + } +#endif + + public class Skill295Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.5f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill295Stub() : base(295) + { + cls = 127; + name = "新怪之飞天神斧"; + nativename = "新怪之飞天神斧"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "飞天神斧"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/飞天神斧飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/飞天神斧击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill295Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (2.5f); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill295.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill295.cs.meta new file mode 100644 index 0000000000..b6c00a75a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill295.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7d32139356b7b4ef09b8417d22271a43 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill296.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill296.cs new file mode 100644 index 0000000000..c70105f84c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill296.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill296 : Skill + { + public const int SKILL_ID = 296; + + public Skill296() : base(SKILL_ID) + { + } + } +#endif + + public class Skill296Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.5f); + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill296Stub() : base(296) + { + cls = 127; + name = "新怪之群体双炎弹"; + nativename = "新怪之群体双炎弹"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物无头将军攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/无头将军飞光效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/爆炸效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill296Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetReducefire (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill296.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill296.cs.meta new file mode 100644 index 0000000000..ab6df8f010 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill296.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7050e3a9bf40a4b5397b5ac4bed861bd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill297.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill297.cs new file mode 100644 index 0000000000..586574aa86 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill297.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill297 : Skill + { + public const int SKILL_ID = 297; + + public Skill297() : base(SKILL_ID) + { + } + } +#endif + + public class Skill297Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.5f); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill297Stub() : base(297) + { + cls = 127; + name = "新怪之群体三冰弹"; + nativename = "新怪之群体三冰弹"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物冰锥术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰锥飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.5f, 1.5f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill297Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetReducewater (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill297.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill297.cs.meta new file mode 100644 index 0000000000..95132df0b7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill297.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8e9b9dac8936341739fdad02fcc5589e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill298.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill298.cs new file mode 100644 index 0000000000..839d1c3d7d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill298.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill298 : Skill + { + public const int SKILL_ID = 298; + + public Skill298() : base(SKILL_ID) + { + } + } +#endif + + public class Skill298Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.6f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill298Stub() : base(298) + { + cls = 127; + name = "新怪之群体破甲"; + nativename = "新怪之群体破甲"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "尖牙之矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/尖牙之矢-飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/尖牙之矢-击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill298Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill298.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill298.cs.meta new file mode 100644 index 0000000000..3314ccd650 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill298.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ad54f9520898d44d193a6e32c97bcf3f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill30.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill30.cs new file mode 100644 index 0000000000..c96b1acfe4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill30.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill30 : Skill + { + public const int SKILL_ID = 30; + + public Skill30() : base(SKILL_ID) + { + } + } +#endif + + public class Skill30Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill30Stub() : base(30) + { + cls = 127; + name = "火球术"; + nativename = "火球术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物火球术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/带尾焰的火球.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/爆炸效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill30Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill30.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill30.cs.meta new file mode 100644 index 0000000000..46dfe25348 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill30.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 70930b2536bb4452b86c8ee2ff1ee5c9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill31.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill31.cs new file mode 100644 index 0000000000..f6da5fb656 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill31.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill31 : Skill + { + public const int SKILL_ID = 31; + + public Skill31() : base(SKILL_ID) + { + } + } +#endif + + public class Skill31Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill31Stub() : base(31) + { + cls = 127; + name = "喷火术"; + nativename = "喷火术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物喷火术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/燃烧.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill31Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage ()); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill31.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill31.cs.meta new file mode 100644 index 0000000000..b7b9341e31 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill31.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5ddb4d117b5464e369c2e4fb011b77ed \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill32.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill32.cs new file mode 100644 index 0000000000..44792021b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill32.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill32 : Skill + { + public const int SKILL_ID = 32; + + public Skill32() : base(SKILL_ID) + { + } + } +#endif + + public class Skill32Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill32Stub() : base(32) + { + cls = 127; + name = "落石术"; + nativename = "落石术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物掷石"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/石头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/石头击碎.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill32Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill32.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill32.cs.meta new file mode 100644 index 0000000000..f50f5c0005 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill32.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cfedb68d71eb749f08e55144da298cfd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill33.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill33.cs new file mode 100644 index 0000000000..ceaec22cba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill33.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill33 : Skill + { + public const int SKILL_ID = 33; + + public Skill33() : base(SKILL_ID) + { + } + } +#endif + + public class Skill33Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill33Stub() : base(33) + { + cls = 127; + name = "催眠术"; + nativename = "催眠术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体催眠术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/怪物催眠飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/催眠击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill33Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill33.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill33.cs.meta new file mode 100644 index 0000000000..afcc539461 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill33.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 31bde8613576742dfa2ffb196392443f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill331.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill331.cs new file mode 100644 index 0000000000..1e422cc57c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill331.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill331 : Skill + { + public const int SKILL_ID = 331; + + public Skill331() : base(SKILL_ID) + { + } + } +#endif + + public class Skill331Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.5f); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill331Stub() : base(331) + { + cls = 127; + name = "怪物贪靡技能攻击"; + nativename = "怪物贪靡技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物贪靡技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/贪靡技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill331Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetWooddamage () * 2); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill331.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill331.cs.meta new file mode 100644 index 0000000000..05c67fc8dc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill331.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 19676f9d7085f4f51ab9708d10894793 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill332.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill332.cs new file mode 100644 index 0000000000..26b46e5cda --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill332.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill332 : Skill + { + public const int SKILL_ID = 332; + + public Skill332() : base(SKILL_ID) + { + } + } +#endif + + public class Skill332Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.5f); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill332Stub() : base(332) + { + cls = 127; + name = "怪物冥雷技能攻击"; + nativename = "怪物冥雷技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物冥雷技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冥雷技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill332Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetGolddamage () * 2); + skill.GetVictim ().SetThunder (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill332.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill332.cs.meta new file mode 100644 index 0000000000..53125f291e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill332.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ed365d4b0135b4b07a2d2a4f0f0b244a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill333.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill333.cs new file mode 100644 index 0000000000..bd5c471dfb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill333.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill333 : Skill + { + public const int SKILL_ID = 333; + + public Skill333() : base(SKILL_ID) + { + } + } +#endif + + public class Skill333Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.4f); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill333Stub() : base(333) + { + cls = 127; + name = "怪物人马技能攻击"; + nativename = "怪物人马技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物人马技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/人马技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill333Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (skill.GetDamage ()); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill333.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill333.cs.meta new file mode 100644 index 0000000000..35420824a5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill333.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 637b9cdd0f2df4b51a35ab1f300a0f1c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill334.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill334.cs new file mode 100644 index 0000000000..341ba45722 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill334.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill334 : Skill + { + public const int SKILL_ID = 334; + + public Skill334() : base(SKILL_ID) + { + } + } +#endif + + public class Skill334Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill334Stub() : base(334) + { + cls = 127; + name = "怪物广目天将技能攻击"; + nativename = "怪物广目天将技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物广目天将技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/广目天将技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/广目天将技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill334Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill334.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill334.cs.meta new file mode 100644 index 0000000000..eb8cfcbf0a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill334.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0913bb6f49ef54979ac4e32e27cb4f6d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill335.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill335.cs new file mode 100644 index 0000000000..5853c9feb4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill335.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill335 : Skill + { + public const int SKILL_ID = 335; + + public Skill335() : base(SKILL_ID) + { + } + } +#endif + + public class Skill335Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.2f); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill335Stub() : base(335) + { + cls = 127; + name = "怪物金灵圣母技能攻击"; + nativename = "怪物金灵圣母技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物金灵圣母技能攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/金灵圣母闪电.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/金灵圣母闪电击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill335Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill335.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill335.cs.meta new file mode 100644 index 0000000000..282d59108c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill335.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bbdba435f858b41a8b5b3e10fb14f23a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill336.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill336.cs new file mode 100644 index 0000000000..837e2bc354 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill336.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill336 : Skill + { + public const int SKILL_ID = 336; + + public Skill336() : base(SKILL_ID) + { + } + } +#endif + + public class Skill336Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill336Stub() : base(336) + { + cls = 127; + name = "怪物锤力天王技能攻击"; + nativename = "怪物锤力天王技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物锤力天王技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/锤力天王技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill336Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-20); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill336.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill336.cs.meta new file mode 100644 index 0000000000..f63f6de250 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill336.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a61f26ff4014945038e41d3222e04a3a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill337.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill337.cs new file mode 100644 index 0000000000..e73cf10c33 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill337.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill337 : Skill + { + public const int SKILL_ID = 337; + + public Skill337() : base(SKILL_ID) + { + } + } +#endif + + public class Skill337Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill337Stub() : base(337) + { + cls = 127; + name = "怪物暗翼技能攻击"; + nativename = "怪物暗翼技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物暗翼技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/暗翼技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/暗翼技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill337Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetDecmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill337.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill337.cs.meta new file mode 100644 index 0000000000..b5139b684e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill337.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c171aa07b248344bf9e5dbaf06e49e5b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill338.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill338.cs new file mode 100644 index 0000000000..a25f5e5652 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill338.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill338 : Skill + { + public const int SKILL_ID = 338; + + public Skill338() : base(SKILL_ID) + { + } + } +#endif + + public class Skill338Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill338Stub() : base(338) + { + cls = 127; + name = "怪物迟缓技能攻击"; + nativename = "怪物迟缓技能攻击"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物迟缓技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/迟缓技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill338Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill338.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill338.cs.meta new file mode 100644 index 0000000000..8ae784b338 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill338.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 45b06388b291f48a2ae7b8b77a120673 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill339.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill339.cs new file mode 100644 index 0000000000..e338dfde18 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill339.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill339 : Skill + { + public const int SKILL_ID = 339; + + public Skill339() : base(SKILL_ID) + { + } + } +#endif + + public class Skill339Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill339Stub() : base(339) + { + cls = 127; + name = "怪物金魔法攻击"; + nativename = "怪物金魔法攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物金魔法攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/金魔法飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/金魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill339Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill339.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill339.cs.meta new file mode 100644 index 0000000000..c562991f40 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill339.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0b874c3f302874198a0079542cdd1a2a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill34.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill34.cs new file mode 100644 index 0000000000..18973e2845 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill34.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill34 : Skill + { + public const int SKILL_ID = 34; + + public Skill34() : base(SKILL_ID) + { + } + } +#endif + + public class Skill34Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill34Stub() : base(34) + { + cls = 127; + name = "移动减速"; + nativename = "移动减速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill34Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill34.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill34.cs.meta new file mode 100644 index 0000000000..4c4a286824 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill34.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e63119c763e8141b991e0947cf8627b0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill340.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill340.cs new file mode 100644 index 0000000000..b442274458 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill340.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill340 : Skill + { + public const int SKILL_ID = 340; + + public Skill340() : base(SKILL_ID) + { + } + } +#endif + + public class Skill340Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill340Stub() : base(340) + { + cls = 127; + name = "怪物光翼技能攻击"; + nativename = "怪物光翼技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物光翼技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/光翼技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/光翼技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill340Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill340.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill340.cs.meta new file mode 100644 index 0000000000..31289c0ca8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill340.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dc4a640832ade4646bda3ca3c5581a4c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill341.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill341.cs new file mode 100644 index 0000000000..a65b87f673 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill341.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill341 : Skill + { + public const int SKILL_ID = 341; + + public Skill341() : base(SKILL_ID) + { + } + } +#endif + + public class Skill341Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill341Stub() : base(341) + { + cls = 127; + name = "怪物聚魂兽技能攻击"; + nativename = "怪物聚魂兽技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物聚魂兽技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/聚魂兽技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/聚魂兽技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill341Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill341.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill341.cs.meta new file mode 100644 index 0000000000..b93ae8780f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill341.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 896f4d2d9b1194fb8b92da9fcc49161c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill342.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill342.cs new file mode 100644 index 0000000000..8b59a9919d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill342.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill342 : Skill + { + public const int SKILL_ID = 342; + + public Skill342() : base(SKILL_ID) + { + } + } +#endif + + public class Skill342Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill342Stub() : base(342) + { + cls = 127; + name = "怪物大嘴兽技能攻击"; + nativename = "怪物大嘴兽技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物大嘴兽技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/大嘴兽技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill342Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill342.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill342.cs.meta new file mode 100644 index 0000000000..5a4d388fbe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill342.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9feec09b40238406fb66685ed69265ed \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill343.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill343.cs new file mode 100644 index 0000000000..2508b9abb5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill343.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill343 : Skill + { + public const int SKILL_ID = 343; + + public Skill343() : base(SKILL_ID) + { + } + } +#endif + + public class Skill343Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill343Stub() : base(343) + { + cls = 127; + name = "怪物蛮力士技能攻击"; + nativename = "怪物蛮力士技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物蛮力士技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/技能/蛮力士冲击波.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill343Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill343.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill343.cs.meta new file mode 100644 index 0000000000..a5fd2bc9b5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill343.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ef0c11c1060994843993a8e6f52ca7dc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill344.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill344.cs new file mode 100644 index 0000000000..a448260ff3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill344.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill344 : Skill + { + public const int SKILL_ID = 344; + + public Skill344() : base(SKILL_ID) + { + } + } +#endif + + public class Skill344Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 25; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.5f); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill344Stub() : base(344) + { + cls = 127; + name = "怪物刀臂魔技能攻击"; + nativename = "怪物刀臂魔技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物刀臂魔技能攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/刀臂魔技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/刀臂魔技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill344Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill344.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill344.cs.meta new file mode 100644 index 0000000000..58147f8b43 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill344.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fb2f55683d37c42bba9c2182027d1bd1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill345.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill345.cs new file mode 100644 index 0000000000..1f02126888 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill345.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill345 : Skill + { + public const int SKILL_ID = 345; + + public Skill345() : base(SKILL_ID) + { + } + } +#endif + + public class Skill345Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill345Stub() : base(345) + { + cls = 127; + name = "怪物女王技能攻击"; + nativename = "怪物女王技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物女王技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/女王技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill345Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.15f); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill345.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill345.cs.meta new file mode 100644 index 0000000000..eeb974404b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill345.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9683c352c441e4c008738d169c8f2fce \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill346.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill346.cs new file mode 100644 index 0000000000..6766c0a800 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill346.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill346 : Skill + { + public const int SKILL_ID = 346; + + public Skill346() : base(SKILL_ID) + { + } + } +#endif + + public class Skill346Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill346Stub() : base(346) + { + cls = 127; + name = "怪物霹雳冥煞技能攻击"; + nativename = "怪物霹雳冥煞技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物霹雳冥煞技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/霹雳冥煞闪电.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/霹雳冥煞闪电击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill346Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill346.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill346.cs.meta new file mode 100644 index 0000000000..b608623c12 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill346.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a754b370a628140808da2155cbfedde0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill347.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill347.cs new file mode 100644 index 0000000000..0dd693202b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill347.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill347 : Skill + { + public const int SKILL_ID = 347; + + public Skill347() : base(SKILL_ID) + { + } + } +#endif + + public class Skill347Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill347Stub() : base(347) + { + cls = 127; + name = "怪物紫灵圣母技能攻击"; + nativename = "怪物紫灵圣母技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物紫灵圣母技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/紫灵圣母闪电.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/紫灵圣母闪电击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill347Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill347.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill347.cs.meta new file mode 100644 index 0000000000..b85a5bfa16 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill347.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: abcfc89966ddf4e91a9137613bf09da6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill348.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill348.cs new file mode 100644 index 0000000000..be9bfa1a94 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill348.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill348 : Skill + { + public const int SKILL_ID = 348; + + public Skill348() : base(SKILL_ID) + { + } + } +#endif + + public class Skill348Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.4f); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill348Stub() : base(348) + { + cls = 127; + name = "怪物震谷技能攻击"; + nativename = "怪物震谷技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物震谷技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/震谷技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill348Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (skill.GetEarthdamage ()); + skill.GetVictim ().SetFallen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill348.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill348.cs.meta new file mode 100644 index 0000000000..f553d22a8e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill348.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7321d63361c74458d916570a7d2eae52 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill349.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill349.cs new file mode 100644 index 0000000000..340eb46b85 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill349.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill349 : Skill + { + public const int SKILL_ID = 349; + + public Skill349() : base(SKILL_ID) + { + } + } +#endif + + public class Skill349Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.5f); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill349Stub() : base(349) + { + cls = 127; + name = "怪物朝天法王技能攻击"; + nativename = "怪物朝天法王技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物朝天法王技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/朝天法王技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill349Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetWaterdamage () * 2); + skill.GetVictim ().SetFlood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill349.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill349.cs.meta new file mode 100644 index 0000000000..a8eceee54e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill349.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cdb7015ffb2ae477ab6c70ee174ea1c0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill35.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill35.cs new file mode 100644 index 0000000000..f80aea71ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill35.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill35 : Skill + { + public const int SKILL_ID = 35; + + public Skill35() : base(SKILL_ID) + { + } + } +#endif + + public class Skill35Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill35Stub() : base(35) + { + cls = 127; + name = "攻击减速"; + nativename = "攻击减速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill35Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill35.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill35.cs.meta new file mode 100644 index 0000000000..1860249f14 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill35.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 30f3579a8e9f044f2a41e905499fd032 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill350.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill350.cs new file mode 100644 index 0000000000..3ec6282207 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill350.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill350 : Skill + { + public const int SKILL_ID = 350; + + public Skill350() : base(SKILL_ID) + { + } + } +#endif + + public class Skill350Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill350Stub() : base(350) + { + cls = 127; + name = "怪物无头涅灵技能攻击"; + nativename = "怪物无头涅灵技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物无头涅灵技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/无头涅灵技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill350Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.15f); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill350.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill350.cs.meta new file mode 100644 index 0000000000..b0f6582851 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill350.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f0289ab1ac60943ca8f5db92f52eed0a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill351.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill351.cs new file mode 100644 index 0000000000..f0c804ba63 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill351.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill351 : Skill + { + public const int SKILL_ID = 351; + + public Skill351() : base(SKILL_ID) + { + } + } +#endif + + public class Skill351Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill351Stub() : base(351) + { + cls = 127; + name = "怪物沦技能攻击"; + nativename = "怪物沦技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物沦技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/沦技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/沦技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill351Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.15f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill351.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill351.cs.meta new file mode 100644 index 0000000000..b6a1893b44 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill351.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fe4b4eeefb6ad43d89c14a1f55c63923 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill352.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill352.cs new file mode 100644 index 0000000000..7e47d82297 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill352.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill352 : Skill + { + public const int SKILL_ID = 352; + + public Skill352() : base(SKILL_ID) + { + } + } +#endif + + public class Skill352Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill352Stub() : base(352) + { + cls = 127; + name = "怪物盗墓魂技能攻击"; + nativename = "怪物盗墓魂技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物盗墓魂技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/黑无常技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill352Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetScaledecmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill352.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill352.cs.meta new file mode 100644 index 0000000000..e98038b5ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill352.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6b5ff3fe103ed473797a96f3c1e73f3e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill353.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill353.cs new file mode 100644 index 0000000000..7cc212602b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill353.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill353 : Skill + { + public const int SKILL_ID = 353; + + public Skill353() : base(SKILL_ID) + { + } + } +#endif + + public class Skill353Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill353Stub() : base(353) + { + cls = 127; + name = "怪物护甲使技能攻击"; + nativename = "怪物护甲使技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物护刑使技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/护刑使技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill353Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetReducegold (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill353.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill353.cs.meta new file mode 100644 index 0000000000..63bcf9ac19 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill353.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aa66dc4134203434e8342adb5056b881 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill354.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill354.cs new file mode 100644 index 0000000000..62c5188dc8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill354.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill354 : Skill + { + public const int SKILL_ID = 354; + + public Skill354() : base(SKILL_ID) + { + } + } +#endif + + public class Skill354Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill354Stub() : base(354) + { + cls = 127; + name = "怪物护剑使技能攻击"; + nativename = "怪物护剑使技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物护甲使技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/护甲使技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill354Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetReducefire (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill354.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill354.cs.meta new file mode 100644 index 0000000000..2984f4b63f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill354.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f60f0d535f0714b3bacc7480319cf385 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill355.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill355.cs new file mode 100644 index 0000000000..8d01e5b904 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill355.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill355 : Skill + { + public const int SKILL_ID = 355; + + public Skill355() : base(SKILL_ID) + { + } + } +#endif + + public class Skill355Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill355Stub() : base(355) + { + cls = 127; + name = "怪物护刑使技能攻击"; + nativename = "怪物护刑使技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物护剑使技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/护剑使技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill355Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetReducewater (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill355.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill355.cs.meta new file mode 100644 index 0000000000..701186c912 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill355.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4e137e0a0742e49718c9d60c94ee6e43 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill356.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill356.cs new file mode 100644 index 0000000000..d8fba425e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill356.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill356 : Skill + { + public const int SKILL_ID = 356; + + public Skill356() : base(SKILL_ID) + { + } + } +#endif + + public class Skill356Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.5f); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill356Stub() : base(356) + { + cls = 127; + name = "怪物炼狱君主技能攻击"; + nativename = "怪物炼狱君主技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物炼狱君主技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/炼狱君主技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill356Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill356.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill356.cs.meta new file mode 100644 index 0000000000..a70ca62013 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill356.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7feceed94de0645ff99def9d3f5879fc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill357.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill357.cs new file mode 100644 index 0000000000..1ca495aaf8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill357.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill357 : Skill + { + public const int SKILL_ID = 357; + + public Skill357() : base(SKILL_ID) + { + } + } +#endif + + public class Skill357Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill357Stub() : base(357) + { + cls = 127; + name = "怪物人面桃花技能攻击"; + nativename = "怪物人面桃花技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物人面桃花技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/人面桃花技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/人面桃花技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill357Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (3000); + skill.GetVictim ().SetMagicleak (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill357.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill357.cs.meta new file mode 100644 index 0000000000..b07b5d22f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill357.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bcd74a615d97f4bbe8ba016ca6df5836 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill358.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill358.cs new file mode 100644 index 0000000000..4a7963661a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill358.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill358 : Skill + { + public const int SKILL_ID = 358; + + public Skill358() : base(SKILL_ID) + { + } + } +#endif + + public class Skill358Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill358Stub() : base(358) + { + cls = 127; + name = "怪物飘渺仙子技能攻击"; + nativename = "怪物飘渺仙子技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物飘渺仙子技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/飘渺仙子技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/飘渺仙子技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill358Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill358.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill358.cs.meta new file mode 100644 index 0000000000..d33e4e475d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill358.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4ff18f39a2e8049518abea68adc71ae4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill359.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill359.cs new file mode 100644 index 0000000000..838f1cd967 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill359.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill359 : Skill + { + public const int SKILL_ID = 359; + + public Skill359() : base(SKILL_ID) + { + } + } +#endif + + public class Skill359Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill359Stub() : base(359) + { + cls = 127; + name = "怪物踏雷技能攻击"; + nativename = "怪物踏雷技能攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物踏雷技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/踏雷技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill359Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetReducegold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill359.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill359.cs.meta new file mode 100644 index 0000000000..25c740a1cb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill359.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cebfa5865df1e4df9ba6107da59ee9f6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill36.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill36.cs new file mode 100644 index 0000000000..a6c69cb34e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill36.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill36 : Skill + { + public const int SKILL_ID = 36; + + public Skill36() : base(SKILL_ID) + { + } + } +#endif + + public class Skill36Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill36Stub() : base(36) + { + cls = 127; + name = "媚惑术"; + nativename = "媚惑术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill36Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill36.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill36.cs.meta new file mode 100644 index 0000000000..fa303a6644 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill36.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 91da3f7ac72344db8b5d572f02de98ba \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill37.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill37.cs new file mode 100644 index 0000000000..a250a9a21d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill37.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill37 : Skill + { + public const int SKILL_ID = 37; + + public Skill37() : base(SKILL_ID) + { + } + } +#endif + + public class Skill37Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill37Stub() : base(37) + { + cls = 127; + name = "击晕术"; + nativename = "击晕术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "狮子吼"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狮子吼击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill37Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (3500); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill37.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill37.cs.meta new file mode 100644 index 0000000000..234ae70301 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill37.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e9c76a25fbc18428c9bfe5311c72eb0f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill38.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill38.cs new file mode 100644 index 0000000000..6cde882c6d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill38.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill38 : Skill + { + public const int SKILL_ID = 38; + + public Skill38() : base(SKILL_ID) + { + } + } +#endif + + public class Skill38Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill38Stub() : base(38) + { + cls = 127; + name = "定身术"; + nativename = "定身术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体定身术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/怪物定身飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/定身击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill38Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill38.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill38.cs.meta new file mode 100644 index 0000000000..64e8684db2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill38.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 59fcccb54932d49768c34ed02c95eaae \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill39.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill39.cs new file mode 100644 index 0000000000..eb915927e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill39.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill39 : Skill + { + public const int SKILL_ID = 39; + + public Skill39() : base(SKILL_ID) + { + } + } +#endif + + public class Skill39Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill39Stub() : base(39) + { + cls = 127; + name = "衰老术"; + nativename = "衰老术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill39Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill39.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill39.cs.meta new file mode 100644 index 0000000000..2f795f8148 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill39.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 44cd71c9945544439ab395dedf865437 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill40.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill40.cs new file mode 100644 index 0000000000..2737f62e3a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill40.cs @@ -0,0 +1,176 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill40 : Skill + { + public const int SKILL_ID = 40; + + public Skill40() : base(SKILL_ID) + { + } + } +#endif + + public class Skill40Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 750; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill40Stub() : base(40) + { + cls = 127; + name = "逃命"; + nativename = "逃命"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill40Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 750; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill40.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill40.cs.meta new file mode 100644 index 0000000000..b458395791 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill40.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e67c1364490c74667924b9392edf6d0f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill41.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill41.cs new file mode 100644 index 0000000000..acc13a88e4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill41.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill41 : Skill + { + public const int SKILL_ID = 41; + + public Skill41() : base(SKILL_ID) + { + } + } +#endif + + public class Skill41Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill41Stub() : base(41) + { + cls = 127; + name = "愤怒"; + nativename = "愤怒"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill41Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill41.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill41.cs.meta new file mode 100644 index 0000000000..19f1137cd3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill41.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7d9d9b94900444e0888e090f154b20a7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill42.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill42.cs new file mode 100644 index 0000000000..eb63d502c6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill42.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill42 : Skill + { + public const int SKILL_ID = 42; + + public Skill42() : base(SKILL_ID) + { + } + } +#endif + + public class Skill42Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill42Stub() : base(42) + { + cls = 127; + name = "坚忍"; + nativename = "坚忍"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill42Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill42.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill42.cs.meta new file mode 100644 index 0000000000..7950dbd021 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill42.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6ed218cca5ed744469bf2f39e7b322e9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill43.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill43.cs new file mode 100644 index 0000000000..f6573be8ed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill43.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill43 : Skill + { + public const int SKILL_ID = 43; + + public Skill43() : base(SKILL_ID) + { + } + } +#endif + + public class Skill43Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill43Stub() : base(43) + { + cls = 127; + name = "疯狂"; + nativename = "疯狂"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill43Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetFastattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill43.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill43.cs.meta new file mode 100644 index 0000000000..d76b5d28c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill43.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f8993465e8b5446a89828c485dcaa435 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill44.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill44.cs new file mode 100644 index 0000000000..86724ffe15 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill44.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill44 : Skill + { + public const int SKILL_ID = 44; + + public Skill44() : base(SKILL_ID) + { + } + } +#endif + + public class Skill44Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill44Stub() : base(44) + { + cls = 127; + name = "治疗术"; + nativename = "治疗术"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill44Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 3); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill44.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill44.cs.meta new file mode 100644 index 0000000000..21d6582023 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill44.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 54d08c8e48c534e449479146d1d3c12a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill45.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill45.cs new file mode 100644 index 0000000000..8a9b4f28b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill45.cs @@ -0,0 +1,176 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill45 : Skill + { + public const int SKILL_ID = 45; + + public Skill45() : base(SKILL_ID) + { + } + } +#endif + + public class Skill45Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill45Stub() : base(45) + { + cls = 127; + name = "生育术"; + nativename = "生育术"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill45Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill45.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill45.cs.meta new file mode 100644 index 0000000000..e67f004c6a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill45.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b0a7a01053790476787dd62408f463fb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill46.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill46.cs new file mode 100644 index 0000000000..3971ab7ec8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill46.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill46 : Skill + { + public const int SKILL_ID = 46; + + public Skill46() : base(SKILL_ID) + { + } + } +#endif + + public class Skill46Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill46Stub() : base(46) + { + cls = 127; + name = "魔力燃烧"; + nativename = "魔力燃烧"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物生命吸取"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/生命飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill46Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage () * 1); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill46.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill46.cs.meta new file mode 100644 index 0000000000..aaf0601c9d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill46.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2bd71f29857a8494c90c757ad78b2911 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill47.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill47.cs new file mode 100644 index 0000000000..71e7fc07d2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill47.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill47 : Skill + { + public const int SKILL_ID = 47; + + public Skill47() : base(SKILL_ID) + { + } + } +#endif + + public class Skill47Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill47Stub() : base(47) + { + cls = 127; + name = "反震术"; + nativename = "反震术"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "荆棘符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/荆棘符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill47Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetRetort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill47.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill47.cs.meta new file mode 100644 index 0000000000..91e044f8b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill47.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 75ecc5f54005b43ae9da7090f285c0d9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill48.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill48.cs new file mode 100644 index 0000000000..b67c2c3a31 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill48.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill48 : Skill + { + public const int SKILL_ID = 48; + + public Skill48() : base(SKILL_ID) + { + } + } +#endif + + public class Skill48Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill48Stub() : base(48) + { + cls = 127; + name = "放血术"; + nativename = "放血术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "流星锤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/流星锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill48Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage ()); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill48.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill48.cs.meta new file mode 100644 index 0000000000..29362e9f4c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill48.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dbd1c1b353794439a884f1a9580c8c44 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill49.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill49.cs new file mode 100644 index 0000000000..9aa2f0284a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill49.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill49 : Skill + { + public const int SKILL_ID = 49; + + public Skill49() : base(SKILL_ID) + { + } + } +#endif + + public class Skill49Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill49Stub() : base(49) + { + cls = 127; + name = "生命吸取"; + nativename = "生命吸取"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill49Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicattack () * 2); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill49.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill49.cs.meta new file mode 100644 index 0000000000..d48691e066 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill49.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3ba76dd30db364772b3ffed0b02fc228 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill50.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill50.cs new file mode 100644 index 0000000000..11d64b8f2a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill50.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill50 : Skill + { + public const int SKILL_ID = 50; + + public Skill50() : base(SKILL_ID) + { + } + } +#endif + + public class Skill50Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill50Stub() : base(50) + { + cls = 127; + name = "毒蛊术"; + nativename = "毒蛊术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill50Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage ()); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage () * 0.5f); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill50.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill50.cs.meta new file mode 100644 index 0000000000..1679f5fe88 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill50.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f3bff9358e90b4b56a6ed3f2e341c2a5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill51.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill51.cs new file mode 100644 index 0000000000..bfcd3b5be0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill51.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill51 : Skill + { + public const int SKILL_ID = 51; + + public Skill51() : base(SKILL_ID) + { + } + } +#endif + + public class Skill51Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill51Stub() : base(51) + { + cls = 127; + name = "封印术"; + nativename = "封印术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill51Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (5500); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill51.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill51.cs.meta new file mode 100644 index 0000000000..0b9c7474bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill51.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c7675b5fda1e147f8b4508756d5cf2ca \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill52.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill52.cs new file mode 100644 index 0000000000..96260d5f3b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill52.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill52 : Skill + { + public const int SKILL_ID = 52; + + public Skill52() : base(SKILL_ID) + { + } + } +#endif + + public class Skill52Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill52Stub() : base(52) + { + cls = 127; + name = "麻痹术"; + nativename = "麻痹术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物击晕术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/火星四射.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill52Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (4500); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (4500); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill52.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill52.cs.meta new file mode 100644 index 0000000000..bfbaa1ce92 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill52.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a1de1edd4d49f4e68853289b8ffbed13 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill682.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill682.cs new file mode 100644 index 0000000000..ea53d5c40d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill682.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill682 : Skill + { + public const int SKILL_ID = 682; + + public Skill682() : base(SKILL_ID) + { + } + } +#endif + + public class Skill682Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 0; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill682Stub() : base(682) + { + cls = 127; + name = "魔愤怒"; + nativename = "魔愤怒"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill682Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill682.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill682.cs.meta new file mode 100644 index 0000000000..dc6e15f1a1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill682.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0e61d4efb7e4e43869eb3f07e55fa319 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill683.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill683.cs new file mode 100644 index 0000000000..33eba05c08 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill683.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill683 : Skill + { + public const int SKILL_ID = 683; + + public Skill683() : base(SKILL_ID) + { + } + } +#endif + + public class Skill683Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill683Stub() : base(683) + { + cls = 127; + name = "攻城车攻击"; + nativename = "攻城车攻击"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物掷石"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/石头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/石头击碎.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill683Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public int GetAttackspeed(Skill skill) => 40; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill683.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill683.cs.meta new file mode 100644 index 0000000000..2e32acea7e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill683.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9d8bd4f36f6cd457ca9ae45b792f7b3b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill684.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill684.cs new file mode 100644 index 0000000000..24ab9c1252 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill684.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill684 : Skill + { + public const int SKILL_ID = 684; + + public Skill684() : base(SKILL_ID) + { + } + } +#endif + + public class Skill684Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill684Stub() : base(684) + { + cls = 127; + name = "箭塔攻击"; + nativename = "箭塔攻击"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "连射"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/连射飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/连射击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill684Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetVictim ().GetLevel () * 0.5f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill684.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill684.cs.meta new file mode 100644 index 0000000000..e6d8cf3431 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill684.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 483a3db2e7cd0437d9068b51144b7381 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill685.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill685.cs new file mode 100644 index 0000000000..0baa7a68a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill685.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill685 : Skill + { + public const int SKILL_ID = 685; + + public Skill685() : base(SKILL_ID) + { + } + } +#endif + + public class Skill685Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill685Stub() : base(685) + { + cls = 127; + name = "无敌箭塔攻击"; + nativename = "无敌箭塔攻击"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "致命矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/致命矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/致命矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill685Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 55f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 45f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetScaledechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 40; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill685.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill685.cs.meta new file mode 100644 index 0000000000..51a9282bc3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill685.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c3411973888b44d2f8f17faf246bdcaf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill686.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill686.cs new file mode 100644 index 0000000000..2597802a54 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill686.cs @@ -0,0 +1,182 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill686 : Skill + { + public const int SKILL_ID = 686; + + public Skill686() : base(SKILL_ID) + { + } + } +#endif + + public class Skill686Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill686Stub() : base(686) + { + cls = 127; + name = "打断术"; + nativename = "打断术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物击晕术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/火星四射.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill686Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 90); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill686.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill686.cs.meta new file mode 100644 index 0000000000..a74c47dc15 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill686.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8de7638cf3ba84a729c680bcbbcdae59 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill687.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill687.cs new file mode 100644 index 0000000000..499827b4e1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill687.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill687 : Skill + { + public const int SKILL_ID = 687; + + public Skill687() : base(SKILL_ID) + { + } + } +#endif + + public class Skill687Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 5000, 10000, 15000, 20000, 25000 }; + private static readonly int[] RequiredItemArray = { 11691, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.25f + 0.15f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill687Stub() : base(687) + { + cls = 127; + name = "猛击"; + nativename = "猛击"; + icon = "宠物猛击"; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9001; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "虎击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虎击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill687Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill687.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill687.cs.meta new file mode 100644 index 0000000000..20fb016082 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill687.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: edf5c6e6f44f1447582aa1b1e66daf1d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill688.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill688.cs new file mode 100644 index 0000000000..6236da87d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill688.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill688 : Skill + { + public const int SKILL_ID = 688; + + public Skill688() : base(SKILL_ID) + { + } + } +#endif + + public class Skill688Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill688Stub() : base(688) + { + cls = 127; + name = "定身箭塔攻击"; + nativename = "定身箭塔攻击"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物冰锥术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰锥飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.5f, 1.5f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill688Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 5000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetVictim ().GetLevel () * 0.5f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill688.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill688.cs.meta new file mode 100644 index 0000000000..64f80a806b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill688.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 10691c39cacd64cfcb1cbfc1ea14f46f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill689.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill689.cs new file mode 100644 index 0000000000..1b91fa44b1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill689.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill689 : Skill + { + public const int SKILL_ID = 689; + + public Skill689() : base(SKILL_ID) + { + } + } +#endif + + public class Skill689Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill689Stub() : base(689) + { + cls = 127; + name = "爆裂箭塔攻击"; + nativename = "爆裂箭塔攻击"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "箭塔攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/土魔法飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill689Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetVictim ().GetLevel () * 0.5f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill689.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill689.cs.meta new file mode 100644 index 0000000000..f04290e10d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill689.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3bcc88725232243dd983cf5649c6298e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill691.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill691.cs new file mode 100644 index 0000000000..e7490d4d3e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill691.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill691 : Skill + { + public const int SKILL_ID = 691; + + public Skill691() : base(SKILL_ID) + { + } + } +#endif + + public class Skill691Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill691Stub() : base(691) + { + cls = 127; + name = "2级城战BOSS1技能"; + nativename = "2级城战BOSS1技能"; + icon = ""; + max_level = 5; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "城战boss升级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "程序联入/角色升级人类.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌波微步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill691Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 450; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage ()); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill691.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill691.cs.meta new file mode 100644 index 0000000000..70aba7d98c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill691.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ebf2f209b54ca4d59a17dabd14eaefe5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill692.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill692.cs new file mode 100644 index 0000000000..cf9b4899d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill692.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill692 : Skill + { + public const int SKILL_ID = 692; + + public Skill692() : base(SKILL_ID) + { + } + } +#endif + + public class Skill692Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 150; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill692Stub() : base(692) + { + cls = 127; + name = "2级城战BOSS2近身群晕"; + nativename = "2级城战BOSS2近身群晕"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "城战boss近身击晕"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "人物/技能/武侠/狮子吼施放1.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill692Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + 1000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage ()); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill692.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill692.cs.meta new file mode 100644 index 0000000000..2251be0e70 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill692.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c41e5086eb9014f23b80ee9edd8c4e6c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill693.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill693.cs new file mode 100644 index 0000000000..1dbbe71660 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill693.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill693 : Skill + { + public const int SKILL_ID = 693; + + public Skill693() : base(SKILL_ID) + { + } + } +#endif + + public class Skill693Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.25f + 0.25f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill693Stub() : base(693) + { + cls = 127; + name = "2级城战BOSS近身物攻"; + nativename = "2级城战BOSS近身物攻"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物炼狱君主技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/炼狱君主技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill693Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 400; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 16f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill693.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill693.cs.meta new file mode 100644 index 0000000000..cd0775b10e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill693.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 03fd4cbafcaa146ee845a5f96e4df9c5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill694.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill694.cs new file mode 100644 index 0000000000..d6277a9e34 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill694.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill694 : Skill + { + public const int SKILL_ID = 694; + + public Skill694() : base(SKILL_ID) + { + } + } +#endif + + public class Skill694Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill694Stub() : base(694) + { + cls = 127; + name = "2级城战BOSS给玩家加血"; + nativename = "2级城战BOSS给玩家加血"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "静心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/静心咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill694Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (900 + 600 * skill.GetLevel ()); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill694.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill694.cs.meta new file mode 100644 index 0000000000..767bd6307b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill694.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9f55c32aba0dd489bb97afc6bfbd982b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill695.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill695.cs new file mode 100644 index 0000000000..c0ee2e49a7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill695.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill695 : Skill + { + public const int SKILL_ID = 695; + + public Skill695() : base(SKILL_ID) + { + } + } +#endif + + public class Skill695Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill695Stub() : base(695) + { + cls = 127; + name = "2级城战BOSS给玩家加魔"; + nativename = "2级城战BOSS给玩家加魔"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "灵助符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/灵助符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill695Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (900 + 600 * skill.GetLevel ()); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill695.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill695.cs.meta new file mode 100644 index 0000000000..25c965255a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill695.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f1e7c3aeed82a43df9d7b4140ba859e2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill696.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill696.cs new file mode 100644 index 0000000000..df6e20837f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill696.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill696 : Skill + { + public const int SKILL_ID = 696; + + public Skill696() : base(SKILL_ID) + { + } + } +#endif + + public class Skill696Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill696Stub() : base(696) + { + cls = 127; + name = "2级城战BOSS给玩家加元气"; + nativename = "2级城战BOSS给玩家加元气"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill696Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill696.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill696.cs.meta new file mode 100644 index 0000000000..e5463ebfee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill696.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 689b08343a04f44209bbe8f7e59652ed \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill697.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill697.cs new file mode 100644 index 0000000000..7559491360 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill697.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill697 : Skill + { + public const int SKILL_ID = 697; + + public Skill697() : base(SKILL_ID) + { + } + } +#endif + + public class Skill697Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.5f * skill.GetLevel()); + skill.SetDamage(skill.GetMagicattack()); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill697Stub() : base(697) + { + cls = 127; + name = "2级城战BOSS超强群攻"; + nativename = "2级城战BOSS超强群攻"; + icon = ""; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "黑暗怨灵兽技能"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/黑暗骷髅头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/黑暗怨灵兽技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill697Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 50f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (15000); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill697.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill697.cs.meta new file mode 100644 index 0000000000..5b51e4609f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill697.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 10128d29d2edc4c489c6b9912b0cd180 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill698.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill698.cs new file mode 100644 index 0000000000..9770869736 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill698.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill698 : Skill + { + public const int SKILL_ID = 698; + + public Skill698() : base(SKILL_ID) + { + } + } +#endif + + public class Skill698Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.5f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.SetWooddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill698Stub() : base(698) + { + cls = 127; + name = "2级城战BOSS扇形普攻"; + nativename = "2级城战BOSS扇形普攻"; + icon = ""; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剧毒蛊"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剧毒蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剧毒蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill698Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 55f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => 45f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill698.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill698.cs.meta new file mode 100644 index 0000000000..430dcf89ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill698.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9b291378f79134644b9282ab110521e2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill699.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill699.cs new file mode 100644 index 0000000000..68fca64ec0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill699.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill699 : Skill + { + public const int SKILL_ID = 699; + + public Skill699() : base(SKILL_ID) + { + } + } +#endif + + public class Skill699Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill699Stub() : base(699) + { + cls = 127; + name = "2级城战BOSS瞬发无敌"; + nativename = "2级城战BOSS瞬发无敌"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill699Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 400; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + 2000 * skill.GetLevel ()); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill699.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill699.cs.meta new file mode 100644 index 0000000000..ad2428bd37 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill699.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 15ce1e310200c4aef8bdb169c88d69f6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill700.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill700.cs new file mode 100644 index 0000000000..d1a740614b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill700.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill700 : Skill + { + public const int SKILL_ID = 700; + + public Skill700() : base(SKILL_ID) + { + } + } +#endif + + public class Skill700Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill700Stub() : base(700) + { + cls = 127; + name = "2级城战BOSS单体大伤"; + nativename = "2级城战BOSS单体大伤"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "霸王龙飞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/霸王龙飞击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill700Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetInchurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.25f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetScaledechp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill700.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill700.cs.meta new file mode 100644 index 0000000000..8b047e6624 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill700.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2177d03904dc243a4a13f8f222ecc8c0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill701.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill701.cs new file mode 100644 index 0000000000..d4a0314b26 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill701.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill701 : Skill + { + public const int SKILL_ID = 701; + + public Skill701() : base(SKILL_ID) + { + } + } +#endif + + public class Skill701Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill701Stub() : base(701) + { + cls = 127; + name = "2级城战BOSS自身加攻"; + nativename = "2级城战BOSS自身加攻"; + icon = ""; + max_level = 5; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill701Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill701.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill701.cs.meta new file mode 100644 index 0000000000..afdb7bf8ba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill701.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 98c326daca2a1471294664ecb78423d6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill702.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill702.cs new file mode 100644 index 0000000000..ccb1f680c2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill702.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill702 : Skill + { + public const int SKILL_ID = 702; + + public Skill702() : base(SKILL_ID) + { + } + } +#endif + + public class Skill702Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill702Stub() : base(702) + { + cls = 127; + name = "2级城战BOSS自身加吟唱"; + nativename = "2级城战BOSS自身加吟唱"; + icon = ""; + max_level = 5; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill702Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 400; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill702.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill702.cs.meta new file mode 100644 index 0000000000..3d66272f90 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill702.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d28d15f5ca3e1482bae288347ed58311 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill703.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill703.cs new file mode 100644 index 0000000000..89652b8512 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill703.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill703 : Skill + { + public const int SKILL_ID = 703; + + public Skill703() : base(SKILL_ID) + { + } + } +#endif + + public class Skill703Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill703Stub() : base(703) + { + cls = 127; + name = "2级城战BOSS扔炸弹"; + nativename = "2级城战BOSS扔炸弹"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "箭塔攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/土魔法飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill703Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.67f); + skill.GetVictim ().SetSlowpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage () * (0.75f + 0.25f * skill.GetLevel ())); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill703.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill703.cs.meta new file mode 100644 index 0000000000..808a741aeb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill703.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 81c835e5cb8954989bb1f4a8a3f29a53 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill704.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill704.cs new file mode 100644 index 0000000000..3a073f6c16 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill704.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill704 : Skill + { + public const int SKILL_ID = 704; + + public Skill704() : base(SKILL_ID) + { + } + } +#endif + + public class Skill704Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill704Stub() : base(704) + { + cls = 127; + name = "2级城战BOSS全体晕"; + nativename = "2级城战BOSS全体晕"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "城战boss全体击晕"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神火符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/通用技能击中绿.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)3; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill704Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 90); + skill.GetVictim ().SetTime (2500 + 500 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill704.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill704.cs.meta new file mode 100644 index 0000000000..18c5e7dd0f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill704.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 52f3702261625498c8becdd8af0d5e57 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill705.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill705.cs new file mode 100644 index 0000000000..0d3ab5cd1f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill705.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill705 : Skill + { + public const int SKILL_ID = 705; + + public Skill705() : base(SKILL_ID) + { + } + } +#endif + + public class Skill705Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill705Stub() : base(705) + { + cls = 127; + name = "2级城战BOSS跟班金技能"; + nativename = "2级城战BOSS跟班金技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "碎灵咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/碎灵咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill705Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill705.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill705.cs.meta new file mode 100644 index 0000000000..689c78e1e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill705.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4a34544b0b07a4c3f9b32254a18848db \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill706.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill706.cs new file mode 100644 index 0000000000..be578f9b44 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill706.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill706 : Skill + { + public const int SKILL_ID = 706; + + public Skill706() : base(SKILL_ID) + { + } + } +#endif + + public class Skill706Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill706Stub() : base(706) + { + cls = 127; + name = "2级城战BOSS跟班木技能"; + nativename = "2级城战BOSS跟班木技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物生命吸取"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/生命飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill706Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetScaledecmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill706.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill706.cs.meta new file mode 100644 index 0000000000..0df6460601 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill706.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2e42d6a184e3746bdb3ac147835c0f95 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill707.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill707.cs new file mode 100644 index 0000000000..3efce29c78 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill707.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill707 : Skill + { + public const int SKILL_ID = 707; + + public Skill707() : base(SKILL_ID) + { + } + } +#endif + + public class Skill707Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 9000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill707Stub() : base(707) + { + cls = 127; + name = "2级城战BOSS跟班水技能"; + nativename = "2级城战BOSS跟班水技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "涌泉"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/飞行/涌泉中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill707Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage ()); + skill.GetVictim ().SetFlood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill707.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill707.cs.meta new file mode 100644 index 0000000000..761e1e1158 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill707.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 91631b7f79f4a4a818f3ce1a9dc05daf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill708.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill708.cs new file mode 100644 index 0000000000..901d3e02c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill708.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill708 : Skill + { + public const int SKILL_ID = 708; + + public Skill708() : base(SKILL_ID) + { + } + } +#endif + + public class Skill708Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill708Stub() : base(708) + { + cls = 127; + name = "2级城战BOSS跟班火技能"; + nativename = "2级城战BOSS跟班火技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill708Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetScaledechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill708.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill708.cs.meta new file mode 100644 index 0000000000..b11b8ba1c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill708.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8935d35bb23ac4187be4f4a70e864563 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill709.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill709.cs new file mode 100644 index 0000000000..fc6a71739c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill709.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill709 : Skill + { + public const int SKILL_ID = 709; + + public Skill709() : base(SKILL_ID) + { + } + } +#endif + + public class Skill709Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill709Stub() : base(709) + { + cls = 127; + name = "2级城战BOSS跟班土技能"; + nativename = "2级城战BOSS跟班土技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨型沙虫攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill709Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill709.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill709.cs.meta new file mode 100644 index 0000000000..bdaeb3b94a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill709.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 26439e8e64f90414199d3896b1e73d67 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill710.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill710.cs new file mode 100644 index 0000000000..5f51562395 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill710.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill710 : Skill + { + public const int SKILL_ID = 710; + + public Skill710() : base(SKILL_ID) + { + } + } +#endif + + public class Skill710Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 5000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill710Stub() : base(710) + { + cls = 127; + name = "2级城战BOSS跟班物技能"; + nativename = "2级城战BOSS跟班物技能"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "醍醐灌顶"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/醍醐灌顶击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill710Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill710.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill710.cs.meta new file mode 100644 index 0000000000..07ee345fd5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill710.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 81c5b7864e9d34cf98ab748377961db6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill711.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill711.cs new file mode 100644 index 0000000000..6fc8e3b7dc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill711.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill711 : Skill + { + public const int SKILL_ID = 711; + + public Skill711() : base(SKILL_ID) + { + } + } +#endif + + public class Skill711Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill711Stub() : base(711) + { + cls = 127; + name = "物品技能-石化药剂"; + nativename = "物品技能-石化药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill711Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + 4000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + 4000 * skill.GetLevel ()); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill711.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill711.cs.meta new file mode 100644 index 0000000000..f2ee8afc00 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill711.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ce43660c73f2b4c4cb19e692878c3b60 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill712.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill712.cs new file mode 100644 index 0000000000..38da3b60da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill712.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill712 : Skill + { + public const int SKILL_ID = 712; + + public Skill712() : base(SKILL_ID) + { + } + } +#endif + + public class Skill712Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill712Stub() : base(712) + { + cls = 127; + name = "物品技能-无敌药剂"; + nativename = "物品技能-无敌药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill712Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000 + 2000 * skill.GetLevel ()); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill712.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill712.cs.meta new file mode 100644 index 0000000000..9783e59b87 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill712.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3513540e5ba304437b3d2c963dd1e4b4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill713.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill713.cs new file mode 100644 index 0000000000..7cd3f6774d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill713.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill713 : Skill + { + public const int SKILL_ID = 713; + + public Skill713() : base(SKILL_ID) + { + } + } +#endif + + public class Skill713Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill713Stub() : base(713) + { + cls = 127; + name = "物品技能-加速药剂"; + nativename = "物品技能-加速药剂"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill713Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.1f + 0.3f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill713.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill713.cs.meta new file mode 100644 index 0000000000..64d2ea2918 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill713.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 492cb7663c4fe4833abf4a8f2b233493 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill714.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill714.cs new file mode 100644 index 0000000000..a6eb4a6d4d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill714.cs @@ -0,0 +1,147 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill714 : Skill + { + public const int SKILL_ID = 714; + + public Skill714() : base(SKILL_ID) + { + } + } +#endif + + public class Skill714Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill714Stub() : base(714) + { + cls = 127; + name = "物品技能-自由行动药剂"; + nativename = "物品技能-自由行动药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神鹰之翼"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神鹰之翼击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill714Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (4000 + 4000 * skill.GetLevel ()); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill714.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill714.cs.meta new file mode 100644 index 0000000000..442874b7bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill714.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b0cdfe7a6264b43fe95cd50f36ff3881 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill715.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill715.cs new file mode 100644 index 0000000000..4b33aac87a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill715.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill715 : Skill + { + public const int SKILL_ID = 715; + + public Skill715() : base(SKILL_ID) + { + } + } +#endif + + public class Skill715Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill715Stub() : base(715) + { + cls = 127; + name = "物品技能-自由加速药剂"; + nativename = "物品技能-自由加速药剂"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "凌波微步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌波微步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill715Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetFreemove (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill715.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill715.cs.meta new file mode 100644 index 0000000000..e9fbe43bcf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill715.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 242f7a29e1eb64955b14208e7ee3441c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill716.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill716.cs new file mode 100644 index 0000000000..3d1d6f3e45 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill716.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill716 : Skill + { + public const int SKILL_ID = 716; + + public Skill716() : base(SKILL_ID) + { + } + } +#endif + + public class Skill716Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill716Stub() : base(716) + { + cls = 127; + name = "物品技能-加速吟唱药剂"; + nativename = "物品技能-加速吟唱药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "润泽"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/润泽.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill716Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.15f + 0.15f * skill.GetLevel ()); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill716.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill716.cs.meta new file mode 100644 index 0000000000..4bf208047b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill716.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0f966572ad3404f03a04263f2bf1ea6e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill717.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill717.cs new file mode 100644 index 0000000000..63d91fa767 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill717.cs @@ -0,0 +1,148 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill717 : Skill + { + public const int SKILL_ID = 717; + + public Skill717() : base(SKILL_ID) + { + } + } +#endif + + public class Skill717Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill717Stub() : base(717) + { + cls = 127; + name = "物品技能-元气增加药剂"; + nativename = "物品技能-元气增加药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill717Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50 * skill.GetLevel ()); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill717.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill717.cs.meta new file mode 100644 index 0000000000..062791cf94 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill717.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3c43008f1535a4656b6c31b4c434d06b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill718.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill718.cs new file mode 100644 index 0000000000..6f5d21e4dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill718.cs @@ -0,0 +1,148 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill718 : Skill + { + public const int SKILL_ID = 718; + + public Skill718() : base(SKILL_ID) + { + } + } +#endif + + public class Skill718Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill718Stub() : base(718) + { + cls = 127; + name = "物品技能-幸运回血药剂"; + nativename = "物品技能-幸运回血药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "金刚经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/金刚经击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill718Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (20 * skill.GetRand () * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill718.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill718.cs.meta new file mode 100644 index 0000000000..ad4c157a9c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill718.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ee006902c84ad49de8a47725b9705fe3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill719.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill719.cs new file mode 100644 index 0000000000..81754f798d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill719.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill719 : Skill + { + public const int SKILL_ID = 719; + + public Skill719() : base(SKILL_ID) + { + } + } +#endif + + public class Skill719Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill719Stub() : base(719) + { + cls = 127; + name = "物品技能-持续回魔药剂"; + nativename = "物品技能-持续回魔药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "灵助符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/灵助符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill719Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (3000 * skill.GetLevel ()); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill719.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill719.cs.meta new file mode 100644 index 0000000000..a07c354f3d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill719.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f23f9d77036a44d59bacd8db12f3d37f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill720.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill720.cs new file mode 100644 index 0000000000..d706303444 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill720.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill720 : Skill + { + public const int SKILL_ID = 720; + + public Skill720() : base(SKILL_ID) + { + } + } +#endif + + public class Skill720Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill720Stub() : base(720) + { + cls = 127; + name = "物品技能-回生药剂"; + nativename = "物品技能-回生药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "海纳百川"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/海纳百川击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill720Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.15f + 0.15f * skill.GetLevel ()); + skill.GetVictim ().SetScaleinchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.15f + 0.15f * skill.GetLevel ()); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill720.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill720.cs.meta new file mode 100644 index 0000000000..2c7fb8551a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill720.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9ceac9d8318e649a291e5aed1d6a7456 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill721.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill721.cs new file mode 100644 index 0000000000..9ec1821148 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill721.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill721 : Skill + { + public const int SKILL_ID = 721; + + public Skill721() : base(SKILL_ID) + { + } + } +#endif + + public class Skill721Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill721Stub() : base(721) + { + cls = 127; + name = "物品技能-物抗药剂"; + nativename = "物品技能-物抗药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "坚甲符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/坚甲符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill721Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (2 * skill.GetLevel ()); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill721.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill721.cs.meta new file mode 100644 index 0000000000..c2d3ad651f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill721.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bc412709a18b547319ed2251c77ab5a0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill722.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill722.cs new file mode 100644 index 0000000000..d535ba4652 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill722.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill722 : Skill + { + public const int SKILL_ID = 722; + + public Skill722() : base(SKILL_ID) + { + } + } +#endif + + public class Skill722Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill722Stub() : base(722) + { + cls = 127; + name = "物品技能-法抗药剂"; + nativename = "物品技能-法抗药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "聚神符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/聚神符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill722Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (2 * skill.GetLevel ()); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill722.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill722.cs.meta new file mode 100644 index 0000000000..0b9a1889cd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill722.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 463dcac4d250942dc9deb11d1066d9b1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill723.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill723.cs new file mode 100644 index 0000000000..fdd72fd0d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill723.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill723 : Skill + { + public const int SKILL_ID = 723; + + public Skill723() : base(SKILL_ID) + { + } + } +#endif + + public class Skill723Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill723Stub() : base(723) + { + cls = 127; + name = "物品技能-物法双抗药剂"; + nativename = "物品技能-物法双抗药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神兵利器"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神兵利器击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill723Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (2 * skill.GetLevel ()); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (2 * skill.GetLevel ()); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetIncresist2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill723.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill723.cs.meta new file mode 100644 index 0000000000..6cc5d45eca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill723.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a30ebb7943c144d5c94e40d987ce2575 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill724.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill724.cs new file mode 100644 index 0000000000..ff457e9085 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill724.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill724 : Skill + { + public const int SKILL_ID = 724; + + public Skill724() : base(SKILL_ID) + { + } + } +#endif + + public class Skill724Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill724Stub() : base(724) + { + cls = 127; + name = "物品技能-减伤药剂"; + nativename = "物品技能-减伤药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill724Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + 4000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill724.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill724.cs.meta new file mode 100644 index 0000000000..b8b3f38079 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill724.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 19622f833251e45508a75288c6ba1499 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill725.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill725.cs new file mode 100644 index 0000000000..eb846c8c13 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill725.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill725 : Skill + { + public const int SKILL_ID = 725; + + public Skill725() : base(SKILL_ID) + { + } + } +#endif + + public class Skill725Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill725Stub() : base(725) + { + cls = 127; + name = "物品技能-狂暴药剂"; + nativename = "物品技能-狂暴药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill725Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.1f + 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetInchurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.05f + 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.05f + 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill725.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill725.cs.meta new file mode 100644 index 0000000000..64593b4de9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill725.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 34a897a698b9c43dab784f85966b95d5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill726.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill726.cs new file mode 100644 index 0000000000..0c74ee402c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill726.cs @@ -0,0 +1,147 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill726 : Skill + { + public const int SKILL_ID = 726; + + public Skill726() : base(SKILL_ID) + { + } + } +#endif + + public class Skill726Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill726Stub() : base(726) + { + cls = 127; + name = "物品技能-净化药剂"; + nativename = "物品技能-净化药剂"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "玄净咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/玄净咒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill726Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill726.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill726.cs.meta new file mode 100644 index 0000000000..d441a28b25 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill726.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4cc550c9a78464418956f622c9939209 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill727.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill727.cs new file mode 100644 index 0000000000..e5fe7b5469 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill727.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill727 : Skill + { + public const int SKILL_ID = 727; + + public Skill727() : base(SKILL_ID) + { + } + } +#endif + + public class Skill727Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill727Stub() : base(727) + { + cls = 127; + name = "物品技能-吸收伤害药剂"; + nativename = "物品技能-吸收伤害药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙守符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙守符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill727Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetAmount (1000 * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetWingshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill727.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill727.cs.meta new file mode 100644 index 0000000000..a35a3a95fe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill727.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 285165d5826bb46e78efd7eeaf79e411 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill728.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill728.cs new file mode 100644 index 0000000000..211e760d2f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill728.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill728 : Skill + { + public const int SKILL_ID = 728; + + public Skill728() : base(SKILL_ID) + { + } + } +#endif + + public class Skill728Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill728Stub() : base(728) + { + cls = 127; + name = "物品技能-持续回血药剂"; + nativename = "物品技能-持续回血药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "天地无级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/天地无级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill728Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (2000 * skill.GetLevel ()); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill728.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill728.cs.meta new file mode 100644 index 0000000000..be71a4c165 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill728.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4d97b43987eca424ab03502bcb891740 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill729.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill729.cs new file mode 100644 index 0000000000..e62434cb61 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill729.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill729 : Skill + { + public const int SKILL_ID = 729; + + public Skill729() : base(SKILL_ID) + { + } + } +#endif + + public class Skill729Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill729Stub() : base(729) + { + cls = 127; + name = "物品技能-提升命中药剂"; + nativename = "物品技能-提升命中药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "润泽"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/润泽.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill729Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetIncaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill729.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill729.cs.meta new file mode 100644 index 0000000000..99ac2b6ffd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill729.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ef2a10d698f83498082f3e44ac44010f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill730.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill730.cs new file mode 100644 index 0000000000..a0cf3c0c03 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill730.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill730 : Skill + { + public const int SKILL_ID = 730; + + public Skill730() : base(SKILL_ID) + { + } + } +#endif + + public class Skill730Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill730Stub() : base(730) + { + cls = 127; + name = "物品技能-加速回血药剂"; + nativename = "物品技能-加速回血药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "避水诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill730Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetValue (100 * skill.GetLevel ()); + skill.GetVictim ().SetFasthpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill730.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill730.cs.meta new file mode 100644 index 0000000000..777c006fb2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill730.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 469d75b9ad2774c0a95aef7b519c5660 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill731.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill731.cs new file mode 100644 index 0000000000..2421690109 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill731.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill731 : Skill + { + public const int SKILL_ID = 731; + + public Skill731() : base(SKILL_ID) + { + } + } +#endif + + public class Skill731Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill731Stub() : base(731) + { + cls = 127; + name = "物品技能-加速回魔药剂"; + nativename = "物品技能-加速回魔药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "极度乾坤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/极度乾坤击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 7000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill731Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetValue (100 * skill.GetLevel ()); + skill.GetVictim ().SetFastmpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill731.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill731.cs.meta new file mode 100644 index 0000000000..9378b6b331 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill731.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e46a1cd536b0540f8abffa7688451d82 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill732.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill732.cs new file mode 100644 index 0000000000..5591a80748 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill732.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill732 : Skill + { + public const int SKILL_ID = 732; + + public Skill732() : base(SKILL_ID) + { + } + } +#endif + + public class Skill732Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill732Stub() : base(732) + { + cls = 127; + name = "物品技能-加速双回药剂"; + nativename = "物品技能-加速双回药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物击晕术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/火星四射.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill732Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetValue (100 * skill.GetLevel ()); + skill.GetVictim ().SetFastmpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetValue (100 * skill.GetLevel ()); + skill.GetVictim ().SetFasthpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill732.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill732.cs.meta new file mode 100644 index 0000000000..0a766d1339 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill732.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fba01eb92d2fd4665ba6e78f1adfcac9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill733.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill733.cs new file mode 100644 index 0000000000..f8a3819763 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill733.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill733 : Skill + { + public const int SKILL_ID = 733; + + public Skill733() : base(SKILL_ID) + { + } + } +#endif + + public class Skill733Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill733Stub() : base(733) + { + cls = 127; + name = "物品技能-金防提升药剂"; + nativename = "物品技能-金防提升药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill733Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (3 * skill.GetLevel ()); + skill.GetVictim ().SetEnhancegold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill733.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill733.cs.meta new file mode 100644 index 0000000000..0c65997459 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill733.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 768e630a5b3e24dd7bd2769af29fb542 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill734.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill734.cs new file mode 100644 index 0000000000..cb93daabec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill734.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill734 : Skill + { + public const int SKILL_ID = 734; + + public Skill734() : base(SKILL_ID) + { + } + } +#endif + + public class Skill734Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill734Stub() : base(734) + { + cls = 127; + name = "物品技能-木防提升药剂"; + nativename = "物品技能-木防提升药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill734Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (3 * skill.GetLevel ()); + skill.GetVictim ().SetEnhancewood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill734.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill734.cs.meta new file mode 100644 index 0000000000..793819c23d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill734.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2c8cbfca4f55d4b088987713e58af631 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill735.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill735.cs new file mode 100644 index 0000000000..aac40445cd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill735.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill735 : Skill + { + public const int SKILL_ID = 735; + + public Skill735() : base(SKILL_ID) + { + } + } +#endif + + public class Skill735Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill735Stub() : base(735) + { + cls = 127; + name = "物品技能-水防提升药剂"; + nativename = "物品技能-水防提升药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill735Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (3 * skill.GetLevel ()); + skill.GetVictim ().SetEnhancewater (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill735.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill735.cs.meta new file mode 100644 index 0000000000..bfa08d066b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill735.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 033af7064ba284f3095178f027732671 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill736.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill736.cs new file mode 100644 index 0000000000..b251b6bc4d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill736.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill736 : Skill + { + public const int SKILL_ID = 736; + + public Skill736() : base(SKILL_ID) + { + } + } +#endif + + public class Skill736Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill736Stub() : base(736) + { + cls = 127; + name = "物品技能-火防提升药剂"; + nativename = "物品技能-火防提升药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill736Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (3 * skill.GetLevel ()); + skill.GetVictim ().SetEnhancefire (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill736.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill736.cs.meta new file mode 100644 index 0000000000..d106b52a3c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill736.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d53c81e1a7c9348bc88ffee36d23cc59 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill737.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill737.cs new file mode 100644 index 0000000000..fb7bc4a6ed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill737.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill737 : Skill + { + public const int SKILL_ID = 737; + + public Skill737() : base(SKILL_ID) + { + } + } +#endif + + public class Skill737Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill737Stub() : base(737) + { + cls = 127; + name = "物品技能-土防提升药剂"; + nativename = "物品技能-土防提升药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill737Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (3 * skill.GetLevel ()); + skill.GetVictim ().SetEnhancesoil (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill737.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill737.cs.meta new file mode 100644 index 0000000000..90f15630ed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill737.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cdfda380c59f14daeb82de14f7e9018c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill738.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill738.cs new file mode 100644 index 0000000000..740ef7adc6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill738.cs @@ -0,0 +1,120 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill738 : Skill + { + public const int SKILL_ID = 738; + + public Skill738() : base(SKILL_ID) + { + } + } +#endif + + public class Skill738Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill738Stub() : base(738) + { + cls = 127; + name = "物品技能-火攻附加药剂"; + nativename = "物品技能-火攻附加药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill738Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (119000); + skill.GetVictim ().SetRatio (0.4f * skill.GetLevel ()); + skill.GetVictim ().SetFireblade (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill738.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill738.cs.meta new file mode 100644 index 0000000000..a0325281aa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill738.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 26ee7a268d9044a6e8abb406f2ef044c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill739.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill739.cs new file mode 100644 index 0000000000..835e29c8de --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill739.cs @@ -0,0 +1,120 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill739 : Skill + { + public const int SKILL_ID = 739; + + public Skill739() : base(SKILL_ID) + { + } + } +#endif + + public class Skill739Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill739Stub() : base(739) + { + cls = 127; + name = "物品技能-水攻附加药剂"; + nativename = "物品技能-水攻附加药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill739Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (119000); + skill.GetVictim ().SetRatio (0.4f * skill.GetLevel ()); + skill.GetVictim ().SetIceblade (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill739.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill739.cs.meta new file mode 100644 index 0000000000..a7c38b33a1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill739.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 578dc6b1cb0ac428baf666b2b68f070b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill740.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill740.cs new file mode 100644 index 0000000000..26d646c83f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill740.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill740 : Skill + { + public const int SKILL_ID = 740; + + public Skill740() : base(SKILL_ID) + { + } + } +#endif + + public class Skill740Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill740Stub() : base(740) + { + cls = 127; + name = "物品技能-木攻附加药剂"; + nativename = "物品技能-木攻附加药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖缠击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖缠击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill740Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (119000); + skill.GetVictim ().SetRatio (0.4f * skill.GetLevel ()); + skill.GetVictim ().SetToxicblade (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill740.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill740.cs.meta new file mode 100644 index 0000000000..a35d89064d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill740.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eb8b2286728bf4d02a3f45cc31be28b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill741.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill741.cs new file mode 100644 index 0000000000..184e58fae5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill741.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill741 : Skill + { + public const int SKILL_ID = 741; + + public Skill741() : base(SKILL_ID) + { + } + } +#endif + + public class Skill741Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill741Stub() : base(741) + { + cls = 127; + name = "物品技能-易筋丸"; + nativename = "物品技能-易筋丸"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "易筋经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/易筋经.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill741Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetAmount (1.5f); + skill.GetVictim ().SetYijin (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill741.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill741.cs.meta new file mode 100644 index 0000000000..f622a7bc78 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill741.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cad91e74057a44902b2f1bb6fc455379 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill742.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill742.cs new file mode 100644 index 0000000000..c83d709189 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill742.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill742 : Skill + { + public const int SKILL_ID = 742; + + public Skill742() : base(SKILL_ID) + { + } + } +#endif + + public class Skill742Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill742Stub() : base(742) + { + cls = 127; + name = "物品技能-易髓丸"; + nativename = "物品技能-易髓丸"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "易髓经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/易髓经.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill742Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetAmount (1.5f); + skill.GetVictim ().SetXisui (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill742.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill742.cs.meta new file mode 100644 index 0000000000..eb956967b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill742.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 90fb9c387da1349298ecdff4999b4e7c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill743.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill743.cs new file mode 100644 index 0000000000..d3eac5896e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill743.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill743 : Skill + { + public const int SKILL_ID = 743; + + public Skill743() : base(SKILL_ID) + { + } + } +#endif + + public class Skill743Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill743Stub() : base(743) + { + cls = 127; + name = "物品技能-康乃馨环绕"; + nativename = "物品技能-康乃馨环绕"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill743Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetFlower1 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill743.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill743.cs.meta new file mode 100644 index 0000000000..e29af6f629 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill743.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ea5edff47ea024614888f26ec174f316 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill744.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill744.cs new file mode 100644 index 0000000000..2bee474649 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill744.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill744 : Skill + { + public const int SKILL_ID = 744; + + public Skill744() : base(SKILL_ID) + { + } + } +#endif + + public class Skill744Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill744Stub() : base(744) + { + cls = 127; + name = "物品技能-百合环绕"; + nativename = "物品技能-百合环绕"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill744Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetFlower2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill744.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill744.cs.meta new file mode 100644 index 0000000000..d022a16b39 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill744.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a5668ead9d30c413eb2a46f35cad2172 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill745.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill745.cs new file mode 100644 index 0000000000..66205bca8e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill745.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill745 : Skill + { + public const int SKILL_ID = 745; + + public Skill745() : base(SKILL_ID) + { + } + } +#endif + + public class Skill745Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill745Stub() : base(745) + { + cls = 127; + name = "物品技能-菊花环绕"; + nativename = "物品技能-菊花环绕"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill745Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetFlower3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill745.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill745.cs.meta new file mode 100644 index 0000000000..595ffa9700 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill745.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 71bce67e58ff84b6abdbfedd456ffbf2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill746.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill746.cs new file mode 100644 index 0000000000..f48356bb0a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill746.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill746 : Skill + { + public const int SKILL_ID = 746; + + public Skill746() : base(SKILL_ID) + { + } + } +#endif + + public class Skill746Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill746Stub() : base(746) + { + cls = 127; + name = "物品技能-玫瑰环绕"; + nativename = "物品技能-玫瑰环绕"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill746Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetFlower4 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill746.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill746.cs.meta new file mode 100644 index 0000000000..be2c27369f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill746.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7e94632d19a5c411689c438d93972cb2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill747.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill747.cs new file mode 100644 index 0000000000..6cd5fc5dca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill747.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill747 : Skill + { + public const int SKILL_ID = 747; + + public Skill747() : base(SKILL_ID) + { + } + } +#endif + + public class Skill747Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 5000, 10000, 15000, 20000, 25000 }; + private static readonly int[] RequiredItemArray = { 11692, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.2f + skill.GetLevel() * 0.1f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill747Stub() : base(747) + { + cls = 127; + name = "撕咬"; + nativename = "撕咬"; + icon = "宠物撕咬"; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9002; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "流星锤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/流星锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill747Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetDamage ()); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill747.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill747.cs.meta new file mode 100644 index 0000000000..4d6036202a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill747.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7013369e462944e30baff51e7e9eabb4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill748.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill748.cs new file mode 100644 index 0000000000..0964d716b4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill748.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill748 : Skill + { + public const int SKILL_ID = 748; + + public Skill748() : base(SKILL_ID) + { + } + } +#endif + + public class Skill748Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 5000, 10000, 15000, 20000, 25000 }; + private static readonly int[] RequiredItemArray = { 11693, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.1f * skill.GetLevel()); + skill.SetFiredamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill748Stub() : base(748) + { + cls = 127; + name = "炎球"; + nativename = "炎球"; + icon = "宠物炎球"; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9003; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill748Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill748.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill748.cs.meta new file mode 100644 index 0000000000..85ceb6ff78 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill748.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d8c9955bd78984882b7be839d324b7e2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill749.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill749.cs new file mode 100644 index 0000000000..aea2aa3002 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill749.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill749 : Skill + { + public const int SKILL_ID = 749; + + public Skill749() : base(SKILL_ID) + { + } + } +#endif + + public class Skill749Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 5000, 10000, 15000, 20000, 25000 }; + private static readonly int[] RequiredItemArray = { 11694, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.1f * skill.GetLevel()); + skill.SetWaterdamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill749Stub() : base(749) + { + cls = 127; + name = "冰刺"; + nativename = "冰刺"; + icon = "宠物冰刺"; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9004; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "避水诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill749Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill749.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill749.cs.meta new file mode 100644 index 0000000000..fb840bab81 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill749.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 378ca8a7037ef49748f99e93f9e41d6f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill750.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill750.cs new file mode 100644 index 0000000000..fa3bbc61d0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill750.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill750 : Skill + { + public const int SKILL_ID = 750; + + public Skill750() : base(SKILL_ID) + { + } + } +#endif + + public class Skill750Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 5000, 10000, 15000, 20000, 25000 }; + private static readonly int[] RequiredItemArray = { 11695, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.1f * skill.GetLevel()); + skill.SetWooddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill750Stub() : base(750) + { + cls = 127; + name = "毒雾"; + nativename = "毒雾"; + icon = "宠物毒雾"; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9005; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill750Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill750.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill750.cs.meta new file mode 100644 index 0000000000..c013db562e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs6/skill750.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: acdf4529850504221a82bc54356375a7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7.meta new file mode 100644 index 0000000000..551155dbe2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 64f6fc96d921841b2b064cad2d8c39e7 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/SkillStubs7.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/SkillStubs7.cs new file mode 100644 index 0000000000..5dbd255ecc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/SkillStubs7.cs @@ -0,0 +1,525 @@ +using BrewMonster.Scripts.Skills; +using UnityEngine; + +namespace BrewMonster +{ + public static partial class SkillStubs + { + // Skill stub declarations + public static Skill751Stub __stub_Skill751Stub = new Skill751Stub(); + public static Skill752Stub __stub_Skill752Stub = new Skill752Stub(); + public static Skill753Stub __stub_Skill753Stub = new Skill753Stub(); + public static Skill754Stub __stub_Skill754Stub = new Skill754Stub(); + public static Skill755Stub __stub_Skill755Stub = new Skill755Stub(); + public static Skill756Stub __stub_Skill756Stub = new Skill756Stub(); + public static Skill757Stub __stub_Skill757Stub = new Skill757Stub(); + public static Skill758Stub __stub_Skill758Stub = new Skill758Stub(); + public static Skill759Stub __stub_Skill759Stub = new Skill759Stub(); + public static Skill760Stub __stub_Skill760Stub = new Skill760Stub(); + public static Skill761Stub __stub_Skill761Stub = new Skill761Stub(); + public static Skill765Stub __stub_Skill765Stub = new Skill765Stub(); + public static Skill766Stub __stub_Skill766Stub = new Skill766Stub(); + public static Skill767Stub __stub_Skill767Stub = new Skill767Stub(); + public static Skill768Stub __stub_Skill768Stub = new Skill768Stub(); + public static Skill769Stub __stub_Skill769Stub = new Skill769Stub(); + public static Skill770Stub __stub_Skill770Stub = new Skill770Stub(); + public static Skill771Stub __stub_Skill771Stub = new Skill771Stub(); + public static Skill772Stub __stub_Skill772Stub = new Skill772Stub(); + public static Skill773Stub __stub_Skill773Stub = new Skill773Stub(); + public static Skill774Stub __stub_Skill774Stub = new Skill774Stub(); + public static Skill775Stub __stub_Skill775Stub = new Skill775Stub(); + public static Skill776Stub __stub_Skill776Stub = new Skill776Stub(); + public static Skill777Stub __stub_Skill777Stub = new Skill777Stub(); + public static Skill778Stub __stub_Skill778Stub = new Skill778Stub(); + public static Skill779Stub __stub_Skill779Stub = new Skill779Stub(); + public static Skill780Stub __stub_Skill780Stub = new Skill780Stub(); + public static Skill781Stub __stub_Skill781Stub = new Skill781Stub(); + public static Skill782Stub __stub_Skill782Stub = new Skill782Stub(); + public static Skill783Stub __stub_Skill783Stub = new Skill783Stub(); + public static Skill784Stub __stub_Skill784Stub = new Skill784Stub(); + public static Skill785Stub __stub_Skill785Stub = new Skill785Stub(); + public static Skill786Stub __stub_Skill786Stub = new Skill786Stub(); + public static Skill787Stub __stub_Skill787Stub = new Skill787Stub(); + public static Skill788Stub __stub_Skill788Stub = new Skill788Stub(); + public static Skill789Stub __stub_Skill789Stub = new Skill789Stub(); + public static Skill790Stub __stub_Skill790Stub = new Skill790Stub(); + public static Skill791Stub __stub_Skill791Stub = new Skill791Stub(); + public static Skill792Stub __stub_Skill792Stub = new Skill792Stub(); + public static Skill793Stub __stub_Skill793Stub = new Skill793Stub(); + public static Skill794Stub __stub_Skill794Stub = new Skill794Stub(); + public static Skill795Stub __stub_Skill795Stub = new Skill795Stub(); + public static Skill796Stub __stub_Skill796Stub = new Skill796Stub(); + public static Skill797Stub __stub_Skill797Stub = new Skill797Stub(); + public static Skill798Stub __stub_Skill798Stub = new Skill798Stub(); + public static Skill799Stub __stub_Skill799Stub = new Skill799Stub(); + public static Skill800Stub __stub_Skill800Stub = new Skill800Stub(); + public static Skill801Stub __stub_Skill801Stub = new Skill801Stub(); + public static Skill802Stub __stub_Skill802Stub = new Skill802Stub(); + public static Skill803Stub __stub_Skill803Stub = new Skill803Stub(); + public static Skill804Stub __stub_Skill804Stub = new Skill804Stub(); + public static Skill805Stub __stub_Skill805Stub = new Skill805Stub(); + public static Skill806Stub __stub_Skill806Stub = new Skill806Stub(); + public static Skill807Stub __stub_Skill807Stub = new Skill807Stub(); + public static Skill808Stub __stub_Skill808Stub = new Skill808Stub(); + public static Skill814Stub __stub_Skill814Stub = new Skill814Stub(); + public static Skill815Stub __stub_Skill815Stub = new Skill815Stub(); + public static Skill816Stub __stub_Skill816Stub = new Skill816Stub(); + public static Skill817Stub __stub_Skill817Stub = new Skill817Stub(); + public static Skill818Stub __stub_Skill818Stub = new Skill818Stub(); + public static Skill819Stub __stub_Skill819Stub = new Skill819Stub(); + public static Skill820Stub __stub_Skill820Stub = new Skill820Stub(); + public static Skill821Stub __stub_Skill821Stub = new Skill821Stub(); + public static Skill822Stub __stub_Skill822Stub = new Skill822Stub(); + public static Skill823Stub __stub_Skill823Stub = new Skill823Stub(); + public static Skill824Stub __stub_Skill824Stub = new Skill824Stub(); + public static Skill826Stub __stub_Skill826Stub = new Skill826Stub(); + public static Skill827Stub __stub_Skill827Stub = new Skill827Stub(); + public static Skill828Stub __stub_Skill828Stub = new Skill828Stub(); + public static Skill829Stub __stub_Skill829Stub = new Skill829Stub(); + public static Skill830Stub __stub_Skill830Stub = new Skill830Stub(); + public static Skill831Stub __stub_Skill831Stub = new Skill831Stub(); + public static Skill832Stub __stub_Skill832Stub = new Skill832Stub(); + public static Skill833Stub __stub_Skill833Stub = new Skill833Stub(); + public static Skill834Stub __stub_Skill834Stub = new Skill834Stub(); + public static Skill835Stub __stub_Skill835Stub = new Skill835Stub(); + public static Skill836Stub __stub_Skill836Stub = new Skill836Stub(); + public static Skill837Stub __stub_Skill837Stub = new Skill837Stub(); + public static Skill838Stub __stub_Skill838Stub = new Skill838Stub(); + public static Skill839Stub __stub_Skill839Stub = new Skill839Stub(); + public static Skill840Stub __stub_Skill840Stub = new Skill840Stub(); + public static Skill841Stub __stub_Skill841Stub = new Skill841Stub(); + public static Skill842Stub __stub_Skill842Stub = new Skill842Stub(); + public static Skill843Stub __stub_Skill843Stub = new Skill843Stub(); + public static Skill844Stub __stub_Skill844Stub = new Skill844Stub(); + public static Skill845Stub __stub_Skill845Stub = new Skill845Stub(); + public static Skill846Stub __stub_Skill846Stub = new Skill846Stub(); + public static Skill847Stub __stub_Skill847Stub = new Skill847Stub(); + public static Skill848Stub __stub_Skill848Stub = new Skill848Stub(); + public static Skill849Stub __stub_Skill849Stub = new Skill849Stub(); + public static Skill850Stub __stub_Skill850Stub = new Skill850Stub(); + public static Skill851Stub __stub_Skill851Stub = new Skill851Stub(); + public static Skill852Stub __stub_Skill852Stub = new Skill852Stub(); + public static Skill853Stub __stub_Skill853Stub = new Skill853Stub(); + public static Skill854Stub __stub_Skill854Stub = new Skill854Stub(); + public static Skill855Stub __stub_Skill855Stub = new Skill855Stub(); + public static Skill856Stub __stub_Skill856Stub = new Skill856Stub(); + public static Skill857Stub __stub_Skill857Stub = new Skill857Stub(); + public static Skill858Stub __stub_Skill858Stub = new Skill858Stub(); + public static Skill859Stub __stub_Skill859Stub = new Skill859Stub(); + public static Skill860Stub __stub_Skill860Stub = new Skill860Stub(); + public static Skill861Stub __stub_Skill861Stub = new Skill861Stub(); + public static Skill862Stub __stub_Skill862Stub = new Skill862Stub(); + public static Skill863Stub __stub_Skill863Stub = new Skill863Stub(); + public static Skill864Stub __stub_Skill864Stub = new Skill864Stub(); + public static Skill865Stub __stub_Skill865Stub = new Skill865Stub(); + public static Skill866Stub __stub_Skill866Stub = new Skill866Stub(); + public static Skill867Stub __stub_Skill867Stub = new Skill867Stub(); + public static Skill868Stub __stub_Skill868Stub = new Skill868Stub(); + public static Skill869Stub __stub_Skill869Stub = new Skill869Stub(); + public static Skill870Stub __stub_Skill870Stub = new Skill870Stub(); + public static Skill871Stub __stub_Skill871Stub = new Skill871Stub(); + public static Skill872Stub __stub_Skill872Stub = new Skill872Stub(); + public static Skill873Stub __stub_Skill873Stub = new Skill873Stub(); + public static Skill874Stub __stub_Skill874Stub = new Skill874Stub(); + public static Skill875Stub __stub_Skill875Stub = new Skill875Stub(); + public static Skill876Stub __stub_Skill876Stub = new Skill876Stub(); + public static Skill877Stub __stub_Skill877Stub = new Skill877Stub(); + public static Skill878Stub __stub_Skill878Stub = new Skill878Stub(); + public static Skill879Stub __stub_Skill879Stub = new Skill879Stub(); + public static Skill880Stub __stub_Skill880Stub = new Skill880Stub(); + public static Skill881Stub __stub_Skill881Stub = new Skill881Stub(); + public static Skill882Stub __stub_Skill882Stub = new Skill882Stub(); + public static Skill883Stub __stub_Skill883Stub = new Skill883Stub(); + public static Skill884Stub __stub_Skill884Stub = new Skill884Stub(); + public static Skill885Stub __stub_Skill885Stub = new Skill885Stub(); + public static Skill886Stub __stub_Skill886Stub = new Skill886Stub(); + public static Skill887Stub __stub_Skill887Stub = new Skill887Stub(); + public static Skill888Stub __stub_Skill888Stub = new Skill888Stub(); + public static Skill889Stub __stub_Skill889Stub = new Skill889Stub(); + public static Skill890Stub __stub_Skill890Stub = new Skill890Stub(); + public static Skill891Stub __stub_Skill891Stub = new Skill891Stub(); + public static Skill892Stub __stub_Skill892Stub = new Skill892Stub(); + public static Skill893Stub __stub_Skill893Stub = new Skill893Stub(); + public static Skill894Stub __stub_Skill894Stub = new Skill894Stub(); + public static Skill895Stub __stub_Skill895Stub = new Skill895Stub(); + public static Skill936Stub __stub_Skill936Stub = new Skill936Stub(); + public static Skill937Stub __stub_Skill937Stub = new Skill937Stub(); + public static Skill938Stub __stub_Skill938Stub = new Skill938Stub(); + public static Skill939Stub __stub_Skill939Stub = new Skill939Stub(); + public static Skill940Stub __stub_Skill940Stub = new Skill940Stub(); + public static Skill941Stub __stub_Skill941Stub = new Skill941Stub(); + public static Skill942Stub __stub_Skill942Stub = new Skill942Stub(); + public static Skill943Stub __stub_Skill943Stub = new Skill943Stub(); + public static Skill944Stub __stub_Skill944Stub = new Skill944Stub(); + public static Skill945Stub __stub_Skill945Stub = new Skill945Stub(); + public static Skill946Stub __stub_Skill946Stub = new Skill946Stub(); + public static Skill947Stub __stub_Skill947Stub = new Skill947Stub(); + public static Skill948Stub __stub_Skill948Stub = new Skill948Stub(); + public static Skill949Stub __stub_Skill949Stub = new Skill949Stub(); + public static Skill950Stub __stub_Skill950Stub = new Skill950Stub(); + public static Skill951Stub __stub_Skill951Stub = new Skill951Stub(); + public static Skill952Stub __stub_Skill952Stub = new Skill952Stub(); + public static Skill953Stub __stub_Skill953Stub = new Skill953Stub(); + public static Skill954Stub __stub_Skill954Stub = new Skill954Stub(); + public static Skill955Stub __stub_Skill955Stub = new Skill955Stub(); + public static Skill956Stub __stub_Skill956Stub = new Skill956Stub(); + public static Skill957Stub __stub_Skill957Stub = new Skill957Stub(); + public static Skill1054Stub __stub_Skill1054Stub = new Skill1054Stub(); + public static Skill1055Stub __stub_Skill1055Stub = new Skill1055Stub(); + public static Skill1056Stub __stub_Skill1056Stub = new Skill1056Stub(); + public static Skill1057Stub __stub_Skill1057Stub = new Skill1057Stub(); + public static Skill1058Stub __stub_Skill1058Stub = new Skill1058Stub(); + public static Skill1059Stub __stub_Skill1059Stub = new Skill1059Stub(); + public static Skill1060Stub __stub_Skill1060Stub = new Skill1060Stub(); + public static Skill1061Stub __stub_Skill1061Stub = new Skill1061Stub(); + public static Skill1062Stub __stub_Skill1062Stub = new Skill1062Stub(); + public static Skill1063Stub __stub_Skill1063Stub = new Skill1063Stub(); + public static Skill1064Stub __stub_Skill1064Stub = new Skill1064Stub(); + public static Skill1065Stub __stub_Skill1065Stub = new Skill1065Stub(); + public static Skill1066Stub __stub_Skill1066Stub = new Skill1066Stub(); + public static Skill1067Stub __stub_Skill1067Stub = new Skill1067Stub(); + public static Skill1068Stub __stub_Skill1068Stub = new Skill1068Stub(); + public static Skill1069Stub __stub_Skill1069Stub = new Skill1069Stub(); + public static Skill1070Stub __stub_Skill1070Stub = new Skill1070Stub(); + public static Skill1071Stub __stub_Skill1071Stub = new Skill1071Stub(); + public static Skill1072Stub __stub_Skill1072Stub = new Skill1072Stub(); + public static Skill1073Stub __stub_Skill1073Stub = new Skill1073Stub(); + public static Skill1074Stub __stub_Skill1074Stub = new Skill1074Stub(); + public static Skill1075Stub __stub_Skill1075Stub = new Skill1075Stub(); + public static Skill1076Stub __stub_Skill1076Stub = new Skill1076Stub(); + public static Skill1087Stub __stub_Skill1087Stub = new Skill1087Stub(); + public static Skill1088Stub __stub_Skill1088Stub = new Skill1088Stub(); + public static Skill1089Stub __stub_Skill1089Stub = new Skill1089Stub(); + public static Skill1090Stub __stub_Skill1090Stub = new Skill1090Stub(); + public static Skill1142Stub __stub_Skill1142Stub = new Skill1142Stub(); + public static Skill1143Stub __stub_Skill1143Stub = new Skill1143Stub(); + public static Skill1144Stub __stub_Skill1144Stub = new Skill1144Stub(); + public static Skill1154Stub __stub_Skill1154Stub = new Skill1154Stub(); + public static Skill1155Stub __stub_Skill1155Stub = new Skill1155Stub(); + public static Skill1156Stub __stub_Skill1156Stub = new Skill1156Stub(); + public static Skill1157Stub __stub_Skill1157Stub = new Skill1157Stub(); + public static Skill1158Stub __stub_Skill1158Stub = new Skill1158Stub(); + public static Skill1159Stub __stub_Skill1159Stub = new Skill1159Stub(); + public static Skill1160Stub __stub_Skill1160Stub = new Skill1160Stub(); + public static Skill1161Stub __stub_Skill1161Stub = new Skill1161Stub(); + public static Skill1162Stub __stub_Skill1162Stub = new Skill1162Stub(); + public static Skill1163Stub __stub_Skill1163Stub = new Skill1163Stub(); + public static Skill1164Stub __stub_Skill1164Stub = new Skill1164Stub(); + public static Skill1165Stub __stub_Skill1165Stub = new Skill1165Stub(); + public static Skill1166Stub __stub_Skill1166Stub = new Skill1166Stub(); + public static Skill1167Stub __stub_Skill1167Stub = new Skill1167Stub(); + public static Skill1177Stub __stub_Skill1177Stub = new Skill1177Stub(); + public static Skill1183Stub __stub_Skill1183Stub = new Skill1183Stub(); + public static Skill1188Stub __stub_Skill1188Stub = new Skill1188Stub(); + public static Skill1190Stub __stub_Skill1190Stub = new Skill1190Stub(); + public static Skill1191Stub __stub_Skill1191Stub = new Skill1191Stub(); + public static Skill1192Stub __stub_Skill1192Stub = new Skill1192Stub(); + public static Skill1193Stub __stub_Skill1193Stub = new Skill1193Stub(); + public static Skill1194Stub __stub_Skill1194Stub = new Skill1194Stub(); + public static Skill1328Stub __stub_Skill1328Stub = new Skill1328Stub(); + public static Skill1329Stub __stub_Skill1329Stub = new Skill1329Stub(); + public static Skill1330Stub __stub_Skill1330Stub = new Skill1330Stub(); + public static Skill1331Stub __stub_Skill1331Stub = new Skill1331Stub(); + public static Skill1332Stub __stub_Skill1332Stub = new Skill1332Stub(); + public static Skill1333Stub __stub_Skill1333Stub = new Skill1333Stub(); + public static Skill1334Stub __stub_Skill1334Stub = new Skill1334Stub(); + public static Skill1335Stub __stub_Skill1335Stub = new Skill1335Stub(); + public static Skill1336Stub __stub_Skill1336Stub = new Skill1336Stub(); + public static Skill1337Stub __stub_Skill1337Stub = new Skill1337Stub(); + public static Skill1338Stub __stub_Skill1338Stub = new Skill1338Stub(); + public static Skill1339Stub __stub_Skill1339Stub = new Skill1339Stub(); + public static Skill1403Stub __stub_Skill1403Stub = new Skill1403Stub(); + public static Skill1404Stub __stub_Skill1404Stub = new Skill1404Stub(); + public static Skill1405Stub __stub_Skill1405Stub = new Skill1405Stub(); + public static Skill1406Stub __stub_Skill1406Stub = new Skill1406Stub(); + public static Skill1407Stub __stub_Skill1407Stub = new Skill1407Stub(); + public static Skill1408Stub __stub_Skill1408Stub = new Skill1408Stub(); + public static Skill1409Stub __stub_Skill1409Stub = new Skill1409Stub(); + public static Skill1410Stub __stub_Skill1410Stub = new Skill1410Stub(); + public static Skill1411Stub __stub_Skill1411Stub = new Skill1411Stub(); + public static Skill1412Stub __stub_Skill1412Stub = new Skill1412Stub(); + public static Skill1413Stub __stub_Skill1413Stub = new Skill1413Stub(); + public static Skill1414Stub __stub_Skill1414Stub = new Skill1414Stub(); + public static Skill1415Stub __stub_Skill1415Stub = new Skill1415Stub(); + public static Skill1416Stub __stub_Skill1416Stub = new Skill1416Stub(); + public static Skill1417Stub __stub_Skill1417Stub = new Skill1417Stub(); + public static Skill1418Stub __stub_Skill1418Stub = new Skill1418Stub(); + public static Skill1419Stub __stub_Skill1419Stub = new Skill1419Stub(); + public static Skill1420Stub __stub_Skill1420Stub = new Skill1420Stub(); + public static Skill1421Stub __stub_Skill1421Stub = new Skill1421Stub(); + public static Skill1422Stub __stub_Skill1422Stub = new Skill1422Stub(); + public static Skill1423Stub __stub_Skill1423Stub = new Skill1423Stub(); + public static Skill1424Stub __stub_Skill1424Stub = new Skill1424Stub(); + public static Skill1425Stub __stub_Skill1425Stub = new Skill1425Stub(); + public static Skill1426Stub __stub_Skill1426Stub = new Skill1426Stub(); + public static Skill1427Stub __stub_Skill1427Stub = new Skill1427Stub(); + public static Skill1428Stub __stub_Skill1428Stub = new Skill1428Stub(); + public static Skill1429Stub __stub_Skill1429Stub = new Skill1429Stub(); + public static Skill1430Stub __stub_Skill1430Stub = new Skill1430Stub(); + public static Skill1431Stub __stub_Skill1431Stub = new Skill1431Stub(); + public static Skill1432Stub __stub_Skill1432Stub = new Skill1432Stub(); + public static Skill1433Stub __stub_Skill1433Stub = new Skill1433Stub(); + public static Skill1434Stub __stub_Skill1434Stub = new Skill1434Stub(); + public static Skill1435Stub __stub_Skill1435Stub = new Skill1435Stub(); + public static Skill1436Stub __stub_Skill1436Stub = new Skill1436Stub(); + +#if SKILL_SERVER + public static Skill751 __stub_Skill751 = new Skill751(); + public static Skill752 __stub_Skill752 = new Skill752(); + public static Skill753 __stub_Skill753 = new Skill753(); + public static Skill754 __stub_Skill754 = new Skill754(); + public static Skill755 __stub_Skill755 = new Skill755(); + public static Skill756 __stub_Skill756 = new Skill756(); + public static Skill757 __stub_Skill757 = new Skill757(); + public static Skill758 __stub_Skill758 = new Skill758(); + public static Skill759 __stub_Skill759 = new Skill759(); + public static Skill760 __stub_Skill760 = new Skill760(); + public static Skill761 __stub_Skill761 = new Skill761(); + public static Skill765 __stub_Skill765 = new Skill765(); + public static Skill766 __stub_Skill766 = new Skill766(); + public static Skill767 __stub_Skill767 = new Skill767(); + public static Skill768 __stub_Skill768 = new Skill768(); + public static Skill769 __stub_Skill769 = new Skill769(); + public static Skill770 __stub_Skill770 = new Skill770(); + public static Skill771 __stub_Skill771 = new Skill771(); + public static Skill772 __stub_Skill772 = new Skill772(); + public static Skill773 __stub_Skill773 = new Skill773(); + public static Skill774 __stub_Skill774 = new Skill774(); + public static Skill775 __stub_Skill775 = new Skill775(); + public static Skill776 __stub_Skill776 = new Skill776(); + public static Skill777 __stub_Skill777 = new Skill777(); + public static Skill778 __stub_Skill778 = new Skill778(); + public static Skill779 __stub_Skill779 = new Skill779(); + public static Skill780 __stub_Skill780 = new Skill780(); + public static Skill781 __stub_Skill781 = new Skill781(); + public static Skill782 __stub_Skill782 = new Skill782(); + public static Skill783 __stub_Skill783 = new Skill783(); + public static Skill784 __stub_Skill784 = new Skill784(); + public static Skill785 __stub_Skill785 = new Skill785(); + public static Skill786 __stub_Skill786 = new Skill786(); + public static Skill787 __stub_Skill787 = new Skill787(); + public static Skill788 __stub_Skill788 = new Skill788(); + public static Skill789 __stub_Skill789 = new Skill789(); + public static Skill790 __stub_Skill790 = new Skill790(); + public static Skill791 __stub_Skill791 = new Skill791(); + public static Skill792 __stub_Skill792 = new Skill792(); + public static Skill793 __stub_Skill793 = new Skill793(); + public static Skill794 __stub_Skill794 = new Skill794(); + public static Skill795 __stub_Skill795 = new Skill795(); + public static Skill796 __stub_Skill796 = new Skill796(); + public static Skill797 __stub_Skill797 = new Skill797(); + public static Skill798 __stub_Skill798 = new Skill798(); + public static Skill799 __stub_Skill799 = new Skill799(); + public static Skill800 __stub_Skill800 = new Skill800(); + public static Skill801 __stub_Skill801 = new Skill801(); + public static Skill802 __stub_Skill802 = new Skill802(); + public static Skill803 __stub_Skill803 = new Skill803(); + public static Skill804 __stub_Skill804 = new Skill804(); + public static Skill805 __stub_Skill805 = new Skill805(); + public static Skill806 __stub_Skill806 = new Skill806(); + public static Skill807 __stub_Skill807 = new Skill807(); + public static Skill808 __stub_Skill808 = new Skill808(); + public static Skill814 __stub_Skill814 = new Skill814(); + public static Skill815 __stub_Skill815 = new Skill815(); + public static Skill816 __stub_Skill816 = new Skill816(); + public static Skill817 __stub_Skill817 = new Skill817(); + public static Skill818 __stub_Skill818 = new Skill818(); + public static Skill819 __stub_Skill819 = new Skill819(); + public static Skill820 __stub_Skill820 = new Skill820(); + public static Skill821 __stub_Skill821 = new Skill821(); + public static Skill822 __stub_Skill822 = new Skill822(); + public static Skill823 __stub_Skill823 = new Skill823(); + public static Skill824 __stub_Skill824 = new Skill824(); + public static Skill826 __stub_Skill826 = new Skill826(); + public static Skill827 __stub_Skill827 = new Skill827(); + public static Skill828 __stub_Skill828 = new Skill828(); + public static Skill829 __stub_Skill829 = new Skill829(); + public static Skill830 __stub_Skill830 = new Skill830(); + public static Skill831 __stub_Skill831 = new Skill831(); + public static Skill832 __stub_Skill832 = new Skill832(); + public static Skill833 __stub_Skill833 = new Skill833(); + public static Skill834 __stub_Skill834 = new Skill834(); + public static Skill835 __stub_Skill835 = new Skill835(); + public static Skill836 __stub_Skill836 = new Skill836(); + public static Skill837 __stub_Skill837 = new Skill837(); + public static Skill838 __stub_Skill838 = new Skill838(); + public static Skill839 __stub_Skill839 = new Skill839(); + public static Skill840 __stub_Skill840 = new Skill840(); + public static Skill841 __stub_Skill841 = new Skill841(); + public static Skill842 __stub_Skill842 = new Skill842(); + public static Skill843 __stub_Skill843 = new Skill843(); + public static Skill844 __stub_Skill844 = new Skill844(); + public static Skill845 __stub_Skill845 = new Skill845(); + public static Skill846 __stub_Skill846 = new Skill846(); + public static Skill847 __stub_Skill847 = new Skill847(); + public static Skill848 __stub_Skill848 = new Skill848(); + public static Skill849 __stub_Skill849 = new Skill849(); + public static Skill850 __stub_Skill850 = new Skill850(); + public static Skill851 __stub_Skill851 = new Skill851(); + public static Skill852 __stub_Skill852 = new Skill852(); + public static Skill853 __stub_Skill853 = new Skill853(); + public static Skill854 __stub_Skill854 = new Skill854(); + public static Skill855 __stub_Skill855 = new Skill855(); + public static Skill856 __stub_Skill856 = new Skill856(); + public static Skill857 __stub_Skill857 = new Skill857(); + public static Skill858 __stub_Skill858 = new Skill858(); + public static Skill859 __stub_Skill859 = new Skill859(); + public static Skill860 __stub_Skill860 = new Skill860(); + public static Skill861 __stub_Skill861 = new Skill861(); + public static Skill862 __stub_Skill862 = new Skill862(); + public static Skill863 __stub_Skill863 = new Skill863(); + public static Skill864 __stub_Skill864 = new Skill864(); + public static Skill865 __stub_Skill865 = new Skill865(); + public static Skill866 __stub_Skill866 = new Skill866(); + public static Skill867 __stub_Skill867 = new Skill867(); + public static Skill868 __stub_Skill868 = new Skill868(); + public static Skill869 __stub_Skill869 = new Skill869(); + public static Skill870 __stub_Skill870 = new Skill870(); + public static Skill871 __stub_Skill871 = new Skill871(); + public static Skill872 __stub_Skill872 = new Skill872(); + public static Skill873 __stub_Skill873 = new Skill873(); + public static Skill874 __stub_Skill874 = new Skill874(); + public static Skill875 __stub_Skill875 = new Skill875(); + public static Skill876 __stub_Skill876 = new Skill876(); + public static Skill877 __stub_Skill877 = new Skill877(); + public static Skill878 __stub_Skill878 = new Skill878(); + public static Skill879 __stub_Skill879 = new Skill879(); + public static Skill880 __stub_Skill880 = new Skill880(); + public static Skill881 __stub_Skill881 = new Skill881(); + public static Skill882 __stub_Skill882 = new Skill882(); + public static Skill883 __stub_Skill883 = new Skill883(); + public static Skill884 __stub_Skill884 = new Skill884(); + public static Skill885 __stub_Skill885 = new Skill885(); + public static Skill886 __stub_Skill886 = new Skill886(); + public static Skill887 __stub_Skill887 = new Skill887(); + public static Skill888 __stub_Skill888 = new Skill888(); + public static Skill889 __stub_Skill889 = new Skill889(); + public static Skill890 __stub_Skill890 = new Skill890(); + public static Skill891 __stub_Skill891 = new Skill891(); + public static Skill892 __stub_Skill892 = new Skill892(); + public static Skill893 __stub_Skill893 = new Skill893(); + public static Skill894 __stub_Skill894 = new Skill894(); + public static Skill895 __stub_Skill895 = new Skill895(); + public static Skill936 __stub_Skill936 = new Skill936(); + public static Skill937 __stub_Skill937 = new Skill937(); + public static Skill938 __stub_Skill938 = new Skill938(); + public static Skill939 __stub_Skill939 = new Skill939(); + public static Skill940 __stub_Skill940 = new Skill940(); + public static Skill941 __stub_Skill941 = new Skill941(); + public static Skill942 __stub_Skill942 = new Skill942(); + public static Skill943 __stub_Skill943 = new Skill943(); + public static Skill944 __stub_Skill944 = new Skill944(); + public static Skill945 __stub_Skill945 = new Skill945(); + public static Skill946 __stub_Skill946 = new Skill946(); + public static Skill947 __stub_Skill947 = new Skill947(); + public static Skill948 __stub_Skill948 = new Skill948(); + public static Skill949 __stub_Skill949 = new Skill949(); + public static Skill950 __stub_Skill950 = new Skill950(); + public static Skill951 __stub_Skill951 = new Skill951(); + public static Skill952 __stub_Skill952 = new Skill952(); + public static Skill953 __stub_Skill953 = new Skill953(); + public static Skill954 __stub_Skill954 = new Skill954(); + public static Skill955 __stub_Skill955 = new Skill955(); + public static Skill956 __stub_Skill956 = new Skill956(); + public static Skill957 __stub_Skill957 = new Skill957(); + public static Skill1054 __stub_Skill1054 = new Skill1054(); + public static Skill1055 __stub_Skill1055 = new Skill1055(); + public static Skill1056 __stub_Skill1056 = new Skill1056(); + public static Skill1057 __stub_Skill1057 = new Skill1057(); + public static Skill1058 __stub_Skill1058 = new Skill1058(); + public static Skill1059 __stub_Skill1059 = new Skill1059(); + public static Skill1060 __stub_Skill1060 = new Skill1060(); + public static Skill1061 __stub_Skill1061 = new Skill1061(); + public static Skill1062 __stub_Skill1062 = new Skill1062(); + public static Skill1063 __stub_Skill1063 = new Skill1063(); + public static Skill1064 __stub_Skill1064 = new Skill1064(); + public static Skill1065 __stub_Skill1065 = new Skill1065(); + public static Skill1066 __stub_Skill1066 = new Skill1066(); + public static Skill1067 __stub_Skill1067 = new Skill1067(); + public static Skill1068 __stub_Skill1068 = new Skill1068(); + public static Skill1069 __stub_Skill1069 = new Skill1069(); + public static Skill1070 __stub_Skill1070 = new Skill1070(); + public static Skill1071 __stub_Skill1071 = new Skill1071(); + public static Skill1072 __stub_Skill1072 = new Skill1072(); + public static Skill1073 __stub_Skill1073 = new Skill1073(); + public static Skill1074 __stub_Skill1074 = new Skill1074(); + public static Skill1075 __stub_Skill1075 = new Skill1075(); + public static Skill1076 __stub_Skill1076 = new Skill1076(); + public static Skill1087 __stub_Skill1087 = new Skill1087(); + public static Skill1088 __stub_Skill1088 = new Skill1088(); + public static Skill1089 __stub_Skill1089 = new Skill1089(); + public static Skill1090 __stub_Skill1090 = new Skill1090(); + public static Skill1142 __stub_Skill1142 = new Skill1142(); + public static Skill1143 __stub_Skill1143 = new Skill1143(); + public static Skill1144 __stub_Skill1144 = new Skill1144(); + public static Skill1154 __stub_Skill1154 = new Skill1154(); + public static Skill1155 __stub_Skill1155 = new Skill1155(); + public static Skill1156 __stub_Skill1156 = new Skill1156(); + public static Skill1157 __stub_Skill1157 = new Skill1157(); + public static Skill1158 __stub_Skill1158 = new Skill1158(); + public static Skill1159 __stub_Skill1159 = new Skill1159(); + public static Skill1160 __stub_Skill1160 = new Skill1160(); + public static Skill1161 __stub_Skill1161 = new Skill1161(); + public static Skill1162 __stub_Skill1162 = new Skill1162(); + public static Skill1163 __stub_Skill1163 = new Skill1163(); + public static Skill1164 __stub_Skill1164 = new Skill1164(); + public static Skill1165 __stub_Skill1165 = new Skill1165(); + public static Skill1166 __stub_Skill1166 = new Skill1166(); + public static Skill1167 __stub_Skill1167 = new Skill1167(); + public static Skill1177 __stub_Skill1177 = new Skill1177(); + public static Skill1183 __stub_Skill1183 = new Skill1183(); + public static Skill1188 __stub_Skill1188 = new Skill1188(); + public static Skill1190 __stub_Skill1190 = new Skill1190(); + public static Skill1191 __stub_Skill1191 = new Skill1191(); + public static Skill1192 __stub_Skill1192 = new Skill1192(); + public static Skill1193 __stub_Skill1193 = new Skill1193(); + public static Skill1194 __stub_Skill1194 = new Skill1194(); + public static Skill1328 __stub_Skill1328 = new Skill1328(); + public static Skill1329 __stub_Skill1329 = new Skill1329(); + public static Skill1330 __stub_Skill1330 = new Skill1330(); + public static Skill1331 __stub_Skill1331 = new Skill1331(); + public static Skill1332 __stub_Skill1332 = new Skill1332(); + public static Skill1333 __stub_Skill1333 = new Skill1333(); + public static Skill1334 __stub_Skill1334 = new Skill1334(); + public static Skill1335 __stub_Skill1335 = new Skill1335(); + public static Skill1336 __stub_Skill1336 = new Skill1336(); + public static Skill1337 __stub_Skill1337 = new Skill1337(); + public static Skill1338 __stub_Skill1338 = new Skill1338(); + public static Skill1339 __stub_Skill1339 = new Skill1339(); + public static Skill1403 __stub_Skill1403 = new Skill1403(); + public static Skill1404 __stub_Skill1404 = new Skill1404(); + public static Skill1405 __stub_Skill1405 = new Skill1405(); + public static Skill1406 __stub_Skill1406 = new Skill1406(); + public static Skill1407 __stub_Skill1407 = new Skill1407(); + public static Skill1408 __stub_Skill1408 = new Skill1408(); + public static Skill1409 __stub_Skill1409 = new Skill1409(); + public static Skill1410 __stub_Skill1410 = new Skill1410(); + public static Skill1411 __stub_Skill1411 = new Skill1411(); + public static Skill1412 __stub_Skill1412 = new Skill1412(); + public static Skill1413 __stub_Skill1413 = new Skill1413(); + public static Skill1414 __stub_Skill1414 = new Skill1414(); + public static Skill1415 __stub_Skill1415 = new Skill1415(); + public static Skill1416 __stub_Skill1416 = new Skill1416(); + public static Skill1417 __stub_Skill1417 = new Skill1417(); + public static Skill1418 __stub_Skill1418 = new Skill1418(); + public static Skill1419 __stub_Skill1419 = new Skill1419(); + public static Skill1420 __stub_Skill1420 = new Skill1420(); + public static Skill1421 __stub_Skill1421 = new Skill1421(); + public static Skill1422 __stub_Skill1422 = new Skill1422(); + public static Skill1423 __stub_Skill1423 = new Skill1423(); + public static Skill1424 __stub_Skill1424 = new Skill1424(); + public static Skill1425 __stub_Skill1425 = new Skill1425(); + public static Skill1426 __stub_Skill1426 = new Skill1426(); + public static Skill1427 __stub_Skill1427 = new Skill1427(); + public static Skill1428 __stub_Skill1428 = new Skill1428(); + public static Skill1429 __stub_Skill1429 = new Skill1429(); + public static Skill1430 __stub_Skill1430 = new Skill1430(); + public static Skill1431 __stub_Skill1431 = new Skill1431(); + public static Skill1432 __stub_Skill1432 = new Skill1432(); + public static Skill1433 __stub_Skill1433 = new Skill1433(); + public static Skill1434 __stub_Skill1434 = new Skill1434(); + public static Skill1435 __stub_Skill1435 = new Skill1435(); + public static Skill1436 __stub_Skill1436 = new Skill1436(); +#endif + } +} diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/SkillStubs7.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/SkillStubs7.cs.meta new file mode 100644 index 0000000000..9fdd612032 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/SkillStubs7.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 160c830f4a1704bdaae52b142db9d570 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1054.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1054.cs new file mode 100644 index 0000000000..6e0901825d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1054.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1054 : Skill + { + public const int SKILL_ID = 1054; + + public Skill1054() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1054Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 415, 420, 425, 430, 435, 440, 445, 450, 455, 460 }; + private static readonly int[] RequiredSpArray = { 560, 1040, 1680, 2560, 3720, 5260, 7300, 10000, 13620, 18480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1054Stub() : base(1054) + { + cls = 127; + name = "太极"; + nativename = "太极"; + icon = "太极"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "太级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/太极击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1054Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1054.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1054.cs.meta new file mode 100644 index 0000000000..7c3a1fa678 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1054.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bf5c2b44caad8446f83ff9a7171b9ed4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1055.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1055.cs new file mode 100644 index 0000000000..27af9fc18c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1055.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1055 : Skill + { + public const int SKILL_ID = 1055; + + public Skill1055() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1055Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 625, 630, 635, 640, 645, 650, 655, 660, 665, 670 }; + private static readonly int[] RequiredSpArray = { 1680, 2560, 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1055Stub() : base(1055) + { + cls = 127; + name = "狂暴"; + nativename = "狂暴"; + icon = "狂暴"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "狂暴"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狂暴击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1055Stub() { } + + public override float GetMpcost(Skill skill) => 75f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (skill.GetLevel () * 20); + skill.GetVictim ().SetFury (1); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (52); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1055.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1055.cs.meta new file mode 100644 index 0000000000..4788c9cd19 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1055.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 181df0bb538184db0a39ccd9cee9b218 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1056.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1056.cs new file mode 100644 index 0000000000..361b5d7a8b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1056.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1056 : Skill + { + public const int SKILL_ID = 1056; + + public Skill1056() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1056Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 730, 735, 740, 745, 750, 755, 760, 765, 770, 775 }; + private static readonly int[] RequiredSpArray = { 2560, 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000, 53200 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetMagicattack() * 0.5f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1056Stub() : base(1056) + { + cls = 127; + name = "地之击"; + nativename = "地之击"; + icon = "地之击"; + max_level = 10; + type = 1; + apcost = 167081; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0x01; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "地之击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/大地之手击中2.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1056Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + 1000 * skill.GetLevel ()); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetReducesoil (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1056.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1056.cs.meta new file mode 100644 index 0000000000..66939336e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1056.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d3672fcef5acd447197739cb7bce3684 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1057.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1057.cs new file mode 100644 index 0000000000..1d00ee4482 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1057.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1057 : Skill + { + public const int SKILL_ID = 1057; + + public Skill1057() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1057Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 837, 842, 847, 852, 857, 862, 867, 872, 877, 882 }; + private static readonly int[] RequiredSpArray = { 4300, 6000, 8280, 11320, 15380, 20800, 28400, 38400, 65400, 106600 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetMagicattack() * 0.5f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1057Stub() : base(1057) + { + cls = 127; + name = "风啸诀"; + nativename = "风啸诀"; + icon = "风啸诀"; + max_level = 10; + type = 1; + apcost = 328099; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "风啸诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/小精灵龙卷风拼接.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1057Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1057.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1057.cs.meta new file mode 100644 index 0000000000..85ffbf64ed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1057.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ca1ce955f585c4aaba1f4d4ffd9643b4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1058.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1058.cs new file mode 100644 index 0000000000..16275fd58c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1058.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1058 : Skill + { + public const int SKILL_ID = 1058; + + public Skill1058() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1058Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 4016, 4021, 4026, 4031, 4036, 4041, 4046, 4051, 4056, 4061 }; + private static readonly int[] RequiredSpArray = { 640, 1160, 1840, 2780, 4000, 5620, 7780, 10640, 14480, 19660 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack() * 0.5f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1058Stub() : base(1058) + { + cls = 127; + name = "阴阳印"; + nativename = "阴阳印"; + icon = "阴阳印"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "阴阳印"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/阴阳印击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1058Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + 1000 * skill.GetLevel ()); + skill.GetVictim ().SetValue (5 * skill.GetLevel ()); + skill.GetVictim ().SetSubattackdegree (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1058.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1058.cs.meta new file mode 100644 index 0000000000..031847181b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1058.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 094884308ac0843b0ae76f54d055e9af \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1059.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1059.cs new file mode 100644 index 0000000000..ba7311bddf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1059.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1059 : Skill + { + public const int SKILL_ID = 1059; + + public Skill1059() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1059Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 2005, 2010, 2015, 2020, 2025, 2030, 2035, 2040, 2045, 2050 }; + private static readonly int[] RequiredSpArray = { 60, 240, 560, 1040, 1680, 2560, 3720, 5260, 7300, 10000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack() * 0.5f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1059Stub() : base(1059) + { + cls = 127; + name = "焚心咒"; + nativename = "焚心咒"; + icon = "焚心咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "焚心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物通用/精灵升级_子效果1.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1059Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 18f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 + skill.GetLevel () * 5000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattackpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1059.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1059.cs.meta new file mode 100644 index 0000000000..6c3d55b6b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1059.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f31d1e7d776cd4546b96091d5cb30588 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1060.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1060.cs new file mode 100644 index 0000000000..ba3e1aaf38 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1060.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1060 : Skill + { + public const int SKILL_ID = 1060; + + public Skill1060() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1060Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 2008, 2013, 2018, 2023, 2028, 2033, 2038, 2043, 2048, 2053 }; + private static readonly int[] RequiredSpArray = { 160, 420, 820, 1400, 2180, 3220, 4600, 6400, 8820, 12040 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack() * 0.5f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1060Stub() : base(1060) + { + cls = 127; + name = "子母雷火咒"; + nativename = "子母雷火咒"; + icon = "子母雷火咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "子母火雷咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物通用/秋普攻6_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/火击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1060Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetReducefire2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1060.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1060.cs.meta new file mode 100644 index 0000000000..5b11995422 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1060.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8b9a87225f3064c63a905c5432aabc16 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1061.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1061.cs new file mode 100644 index 0000000000..78dcd54b48 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1061.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1061 : Skill + { + public const int SKILL_ID = 1061; + + public Skill1061() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1061Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 3000013, 3000018, 3000023, 3000028, 3000033, 3000038, 3000043, 3000048, 3000053, 3000058 }; + private static readonly int[] RequiredSpArray = { 420, 820, 1400, 2180, 3220, 4600, 6400, 8820, 12040, 16360 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1061Stub() : base(1061) + { + cls = 127; + name = "回风诀"; + nativename = "回风诀"; + icon = "回风诀"; + max_level = 20; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "回风诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/小精灵龙卷风子效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1061Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.3f * skill.GetLevel ()); + skill.GetVictim ().SetIncdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1061.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1061.cs.meta new file mode 100644 index 0000000000..5ed982f377 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1061.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 82dd2c47bb7174194be5874758c1a301 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1062.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1062.cs new file mode 100644 index 0000000000..2af658f51f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1062.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1062 : Skill + { + public const int SKILL_ID = 1062; + + public Skill1062() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1062Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 2010222, 2010227, 2010232, 2010237, 2010242, 2010247, 2010252, 2010257, 2010262, 2010267 }; + private static readonly int[] RequiredSpArray = { 1280, 2000, 2980, 4300, 6000, 8280, 11320, 15380, 20800, 28400 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1062Stub() : base(1062) + { + cls = 127; + name = "气缚咒"; + nativename = "气缚咒"; + icon = "气缚咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "气缚咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/宠物复活击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1062Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1062.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1062.cs.meta new file mode 100644 index 0000000000..27237804eb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1062.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 03d972778866e48a8acc934db340af21 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1063.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1063.cs new file mode 100644 index 0000000000..559d063891 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1063.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1063 : Skill + { + public const int SKILL_ID = 1063; + + public Skill1063() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1063Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 8000035, 8000040, 8000045, 8000050, 8000055, 8000060, 8000065, 8000070, 8000075, 8000080 }; + private static readonly int[] RequiredSpArray = { 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000, 53200, 88000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(0.5f * skill.GetMagicattack() * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1063Stub() : base(1063) + { + cls = 127; + name = "电舞"; + nativename = "电舞"; + icon = "电舞"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "电舞"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/电舞飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/炸雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1063Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1063.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1063.cs.meta new file mode 100644 index 0000000000..55eec88b7b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1063.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9f9df3bd3f2734352848d8ebedee122a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1064.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1064.cs new file mode 100644 index 0000000000..7c14b4037b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1064.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1064 : Skill + { + public const int SKILL_ID = 1064; + + public Skill1064() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1064Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 800036, 800041, 800046, 800051, 800056, 800061, 800066, 800071, 800076, 800081 }; + private static readonly int[] RequiredSpArray = { 4000, 5620, 7780, 10640, 14480, 19660, 26600, 36200, 59000, 96800 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1064Stub() : base(1064) + { + cls = 127; + name = "碎心咒"; + nativename = "碎心咒"; + icon = "碎心咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "碎心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物通用/春普攻6_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1064Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetWeakelement (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1064.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1064.cs.meta new file mode 100644 index 0000000000..a88b7919b8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1064.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 59f1a8d0e0d174572972d91e44cfb48b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1065.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1065.cs new file mode 100644 index 0000000000..fc817d409e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1065.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1065 : Skill + { + public const int SKILL_ID = 1065; + + public Skill1065() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1065Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 400015, 400020, 400025, 400030, 400035, 400040, 400045, 400050, 400055, 400060 }; + private static readonly int[] RequiredSpArray = { 560, 1040, 1680, 2560, 3720, 5260, 7300, 10000, 13620, 18480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack() * 0.5f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1065Stub() : base(1065) + { + cls = 127; + name = "灭魄真诀"; + nativename = "灭魄真诀"; + icon = "灭魄真诀"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "灭魄真诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/灭魂真诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1065Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 + skill.GetLevel () * 5000); + skill.GetVictim ().SetRatio (0.5f + skill.GetLevel () * 0.1f); + skill.GetVictim ().SetDeeppoision (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1065.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1065.cs.meta new file mode 100644 index 0000000000..b7c863c65a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1065.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d9410da1e3f0f44d9a66ce8cfe6b0319 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1066.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1066.cs new file mode 100644 index 0000000000..793a90b86e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1066.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1066 : Skill + { + public const int SKILL_ID = 1066; + + public Skill1066() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1066Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 30015, 30020, 30025, 30030, 30035, 30040, 30045, 30050, 30055, 30060 }; + private static readonly int[] RequiredSpArray = { 560, 1040, 1680, 2560, 3720, 5260, 7300, 10000, 13620, 18480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1066Stub() : base(1066) + { + cls = 127; + name = "消魂咒"; + nativename = "消魂咒"; + icon = "消魂咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "消魂咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/扎根_爆炸.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/扎根_爆炸.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1066Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-30 * skill.GetLevel ()); + skill.GetVictim ().SetAp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1066.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1066.cs.meta new file mode 100644 index 0000000000..6a0e69b2b1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1066.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5bb4d585681324fa58704b4dca44b2b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1067.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1067.cs new file mode 100644 index 0000000000..3de0ce818d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1067.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1067 : Skill + { + public const int SKILL_ID = 1067; + + public Skill1067() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1067Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 40015, 40020, 40025, 40030, 40035, 40040, 40045, 40050, 40055, 40060 }; + private static readonly int[] RequiredSpArray = { 560, 1040, 1680, 2560, 3720, 5260, 7300, 10000, 13620, 18480 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(0.5f * skill.GetLevel() * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1067Stub() : base(1067) + { + cls = 127; + name = "水龙吟"; + nativename = "水龙吟"; + icon = "水龙吟"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 2; + restrict_corpse = 0; + allow_forms = 1; + effect = "水龙吟"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/小精灵龙舞.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1067Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1067.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1067.cs.meta new file mode 100644 index 0000000000..e9640cd592 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1067.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0c3548f0a85b5458dad0e400758bf73f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1068.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1068.cs new file mode 100644 index 0000000000..c9080e51eb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1068.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1068 : Skill + { + public const int SKILL_ID = 1068; + + public Skill1068() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1068Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 70030, 70035, 70040, 70045, 70050, 70055, 70060, 70065, 70070, 70075 }; + private static readonly int[] RequiredSpArray = { 2560, 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000, 53200 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1068Stub() : base(1068) + { + cls = 127; + name = "单体紫血冰煞"; + nativename = "单体紫血冰煞"; + icon = "玄冰咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "玄冰咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/玄冰咒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1068Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () * 5000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetBefrozen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetLevel () * 5000); + skill.GetVictim ().SetAmount (skill.GetLevel () * skill.GetT0 ()); + skill.GetVictim ().SetFlood (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1068.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1068.cs.meta new file mode 100644 index 0000000000..fd7b0ce6e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1068.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f3618c0f232b64d1fa2089ca764c70d0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1069.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1069.cs new file mode 100644 index 0000000000..ef645c480c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1069.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1069 : Skill + { + public const int SKILL_ID = 1069; + + public Skill1069() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1069Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 70030, 70035, 70040, 70045, 70050, 70055, 70060, 70065, 70070, 70075 }; + private static readonly int[] RequiredSpArray = { 2560, 3720, 5260, 7300, 10000, 13620, 18480, 25000, 34000, 53200 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1069Stub() : base(1069) + { + cls = 127; + name = "群体紫血冰煞"; + nativename = "群体紫血冰煞"; + icon = "玄冰咒"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "玄冰咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/玄冰咒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1069Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetBefrozen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetT0 () * skill.GetLevel ()); + skill.GetVictim ().SetFlood (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1069.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1069.cs.meta new file mode 100644 index 0000000000..05ea4dc839 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1069.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5d05fdce0c1d143fa94196399dc5eef8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1070.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1070.cs new file mode 100644 index 0000000000..c90c7d8bc5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1070.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1070 : Skill + { + public const int SKILL_ID = 1070; + + public Skill1070() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1070Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 60552, 60557, 60562, 60567, 60572, 60577, 60582, 60587, 60592, 60597 }; + private static readonly int[] RequiredSpArray = { 11320, 15380, 20800, 28400, 38400, 65400, 106600, 169400, 263600, 359000 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack() * 0.5f * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1070Stub() : base(1070) + { + cls = 127; + name = "寒冰领域"; + nativename = "寒冰领域"; + icon = "寒冰领域"; + max_level = 10; + type = 1; + apcost = 801099; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = false; + allow_air = false; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "寒冰领域"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/波纹_2白.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1070Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 21f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1070.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1070.cs.meta new file mode 100644 index 0000000000..306febd488 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1070.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 676a2e794f2654936b920ff3a7e4e302 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1071.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1071.cs new file mode 100644 index 0000000000..a1dc1783b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1071.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1071 : Skill + { + public const int SKILL_ID = 1071; + + public Skill1071() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1071Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1071Stub() : base(1071) + { + cls = 127; + name = "不可驱散群体毒咒术"; + nativename = "不可驱散群体毒咒术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1071Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 50f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (skill.GetT0 () * 0.5f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetFallen2 (1); + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1071.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1071.cs.meta new file mode 100644 index 0000000000..02eed14da3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1071.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f828ed6ee14ec4c7993f9556d1e2d58e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1072.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1072.cs new file mode 100644 index 0000000000..a21f7a4d6f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1072.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1072 : Skill + { + public const int SKILL_ID = 1072; + + public Skill1072() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1072Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack() * skill.GetLevel()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1072Stub() : base(1072) + { + cls = 127; + name = "测试技能道具物品"; + nativename = "测试技能道具物品"; + icon = "消魂咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物风球术"; + doenchant = 0; + dobless = 0; + commoncooldown = 992; + commoncooldowntime = 15000; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/风球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1072Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1072.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1072.cs.meta new file mode 100644 index 0000000000..5043944d94 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1072.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 65e2d8777e322432f88b4cd453e5d93c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1073.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1073.cs new file mode 100644 index 0000000000..698c484fec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1073.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1073 : Skill + { + public const int SKILL_ID = 1073; + + public Skill1073() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1073Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1073Stub() : base(1073) + { + cls = 127; + name = "测试技能道具物品2"; + nativename = "测试技能道具物品2"; + icon = "阴阳印"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物闪电术"; + doenchant = 1; + dobless = 0; + commoncooldown = 224; + commoncooldowntime = 5000; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/闪电飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1073Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1073.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1073.cs.meta new file mode 100644 index 0000000000..65df9d38c4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1073.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bb489ae4c458143e59bf0f1381907241 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1074.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1074.cs new file mode 100644 index 0000000000..439bd7acd2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1074.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1074 : Skill + { + public const int SKILL_ID = 1074; + + public Skill1074() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1074Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1074Stub() : base(1074) + { + cls = 127; + name = "测试技能道具物品3"; + nativename = "测试技能道具物品3"; + icon = "寒冰领域"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物冰锥术"; + doenchant = 1; + dobless = 0; + commoncooldown = 32; + commoncooldowntime = 12000; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰锥飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.5f, 1.5f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1074Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 7000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (40000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1074.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1074.cs.meta new file mode 100644 index 0000000000..44febccfdf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1074.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dd465c50af53c4613bfa4105d7490f21 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1075.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1075.cs new file mode 100644 index 0000000000..3eb7ba9515 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1075.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1075 : Skill + { + public const int SKILL_ID = 1075; + + public Skill1075() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1075Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 10000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 99; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1075Stub() : base(1075) + { + cls = 127; + name = "强化版金刚拳"; + nativename = "强化版金刚拳"; + icon = "爆破拳"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "天雷破"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/落雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)3; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1075Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetDecresist (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetScaledechp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetScaledecmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1075.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1075.cs.meta new file mode 100644 index 0000000000..1286a4952e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1075.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c9317c421e2f74cf8bc3121d053b7bfd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1076.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1076.cs new file mode 100644 index 0000000000..94f48d96d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1076.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1076 : Skill + { + public const int SKILL_ID = 1076; + + public Skill1076() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1076Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1076Stub() : base(1076) + { + cls = 127; + name = "我是羽灵之精品BUFF4合1"; + nativename = "我是羽灵之精品BUFF4合1"; + icon = ""; + max_level = MAX_LEVEL; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1076Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1076.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1076.cs.meta new file mode 100644 index 0000000000..12b4cf163b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1076.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3520ba7623c6542c4b4dfbe1e52d9fcd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1087.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1087.cs new file mode 100644 index 0000000000..e0b64364e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1087.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1087 : Skill + { + public const int SKILL_ID = 1087; + + public Skill1087() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1087Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1087Stub() : base(1087) + { + cls = 127; + name = "真视药水"; + nativename = "真视药水"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1087Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetIncantiinvisibleactive (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1087.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1087.cs.meta new file mode 100644 index 0000000000..472f6eee3d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1087.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0b49f65bbcc3341c2a78ae851ec5825f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1088.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1088.cs new file mode 100644 index 0000000000..519c5b3b68 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1088.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1088 : Skill + { + public const int SKILL_ID = 1088; + + public Skill1088() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1088Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1088Stub() : base(1088) + { + cls = 127; + name = "驱除正面状态单体"; + nativename = "驱除正面状态单体"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "驱逐咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/驱逐咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1088Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 450; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1088.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1088.cs.meta new file mode 100644 index 0000000000..dda48759d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1088.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 868ef3d3f9ad04239b10630815451fcb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1089.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1089.cs new file mode 100644 index 0000000000..93f0a1366d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1089.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1089 : Skill + { + public const int SKILL_ID = 1089; + + public Skill1089() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1089Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 250; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1089Stub() : base(1089) + { + cls = 127; + name = "血狼王刀阵"; + nativename = "血狼王刀阵"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "旋刃"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/旋刃释放.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/旋刃击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1089Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 250; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1089.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1089.cs.meta new file mode 100644 index 0000000000..b2e0a6afa9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1089.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d3aad0bb4abef43f89102be878d5ea23 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1090.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1090.cs new file mode 100644 index 0000000000..e013420508 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1090.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1090 : Skill + { + public const int SKILL_ID = 1090; + + public Skill1090() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1090Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 0; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1090Stub() : base(1090) + { + cls = 127; + name = "血狼王蓄力"; + nativename = "血狼王蓄力"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1090Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1090.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1090.cs.meta new file mode 100644 index 0000000000..f0ce97204b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1090.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fc5703e05d49e4ed38622615ba5ecb4a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1142.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1142.cs new file mode 100644 index 0000000000..ba70817fe3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1142.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1142 : Skill + { + public const int SKILL_ID = 1142; + + public Skill1142() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1142Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1142Stub() : base(1142) + { + cls = 127; + name = "长征出品BUFF药物理"; + nativename = "长征出品BUFF药物理"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1142Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (0.05f); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1142.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1142.cs.meta new file mode 100644 index 0000000000..ae183c02a2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1142.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3633facf742a04498812a2ec9cc9fc79 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1143.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1143.cs new file mode 100644 index 0000000000..7ec4cdce30 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1143.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1143 : Skill + { + public const int SKILL_ID = 1143; + + public Skill1143() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1143Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1143Stub() : base(1143) + { + cls = 127; + name = "长征出品BUFF药法术"; + nativename = "长征出品BUFF药法术"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1143Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1143.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1143.cs.meta new file mode 100644 index 0000000000..a4e1e96f39 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1143.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ad0342da063004c46a7886fd9c445a57 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1144.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1144.cs new file mode 100644 index 0000000000..088c88efbb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1144.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1144 : Skill + { + public const int SKILL_ID = 1144; + + public Skill1144() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1144Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1144Stub() : base(1144) + { + cls = 127; + name = "长征出品BUFF药综合"; + nativename = "长征出品BUFF药综合"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1144Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetInchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetIncmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1144.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1144.cs.meta new file mode 100644 index 0000000000..0e39413a2d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1144.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 378d8beae532347808846126baf9e458 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1154.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1154.cs new file mode 100644 index 0000000000..05bdc90f4e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1154.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1154 : Skill + { + public const int SKILL_ID = 1154; + + public Skill1154() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1154Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack() * 0.1f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1154Stub() : base(1154) + { + cls = 127; + name = "神威狱小怪破防技能"; + nativename = "神威狱小怪破防技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "飞天神斧"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/飞天神斧飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/飞天神斧击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1154Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 1f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1154.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1154.cs.meta new file mode 100644 index 0000000000..472a893e8f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1154.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ebb29a792cb4a41aeba468ab06c3336f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1155.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1155.cs new file mode 100644 index 0000000000..6cdd974ddd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1155.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1155 : Skill + { + public const int SKILL_ID = 1155; + + public Skill1155() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1155Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1155Stub() : base(1155) + { + cls = 127; + name = "神威狱小怪群技能"; + nativename = "神威狱小怪群技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "霜刃"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1155Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1155.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1155.cs.meta new file mode 100644 index 0000000000..5822dcab4d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1155.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 873e448558fdb44ca986db8efcd4cc85 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1156.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1156.cs new file mode 100644 index 0000000000..fb148009b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1156.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1156 : Skill + { + public const int SKILL_ID = 1156; + + public Skill1156() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1156Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 6000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1156Stub() : base(1156) + { + cls = 127; + name = "神威狱BOSS加攻减速"; + nativename = "神威狱BOSS加攻减速"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1156Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 8000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (99); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (-0.1f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1156.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1156.cs.meta new file mode 100644 index 0000000000..2f83371021 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1156.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c9aa81bd78d094e028b99d76fe488ed0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1157.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1157.cs new file mode 100644 index 0000000000..4cb8757b49 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1157.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1157 : Skill + { + public const int SKILL_ID = 1157; + + public Skill1157() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1157Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack() * 0.1f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1157Stub() : base(1157) + { + cls = 127; + name = "神威狱BOSS单体晕人流血"; + nativename = "神威狱BOSS单体晕人流血"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "追魂诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/追魂诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1157Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 1f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (1500 * skill.GetLevel ()); + skill.GetVictim ().SetBleeding (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1157.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1157.cs.meta new file mode 100644 index 0000000000..8d82ba956d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1157.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9d55dfecb3fd046c98f0ca1461fdf9ea \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1158.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1158.cs new file mode 100644 index 0000000000..0906b8b921 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1158.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1158 : Skill + { + public const int SKILL_ID = 1158; + + public Skill1158() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1158Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1158Stub() : base(1158) + { + cls = 127; + name = "神威狱BOSS小范围群打断"; + nativename = "神威狱BOSS小范围群打断"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1158Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1158.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1158.cs.meta new file mode 100644 index 0000000000..c158c23c71 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1158.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 86c90a3bc07bf4749810a847735ca438 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1159.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1159.cs new file mode 100644 index 0000000000..1391702537 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1159.cs @@ -0,0 +1,181 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1159 : Skill + { + public const int SKILL_ID = 1159; + + public Skill1159() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1159Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 10000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(100); + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1159Stub() : base(1159) + { + cls = 127; + name = "神威狱BOSS群秒"; + nativename = "神威狱BOSS群秒"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1血祭炎爆"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/血祭炎爆击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1159Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 10000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 500f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 100f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1159.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1159.cs.meta new file mode 100644 index 0000000000..a90e326ff0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1159.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 929724934b6264d4f962488dc4e899e1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1160.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1160.cs new file mode 100644 index 0000000000..9456dbcb41 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1160.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1160 : Skill + { + public const int SKILL_ID = 1160; + + public Skill1160() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1160Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1160Stub() : base(1160) + { + cls = 127; + name = "神威狱小怪群秒"; + nativename = "神威狱小怪群秒"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "治愈"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/波纹_3白.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1160Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 500f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 100f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1160.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1160.cs.meta new file mode 100644 index 0000000000..2c5379efed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1160.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: becba4925b6cc4332b8beab230d7fb79 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1161.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1161.cs new file mode 100644 index 0000000000..29bf92ae90 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1161.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1161 : Skill + { + public const int SKILL_ID = 1161; + + public Skill1161() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1161Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1161Stub() : base(1161) + { + cls = 127; + name = "神威狱小怪毒牙术"; + nativename = "神威狱小怪毒牙术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1161Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 1f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage () * 1.2f); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1161.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1161.cs.meta new file mode 100644 index 0000000000..3fba82d1d0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1161.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e30ab18f539cb458485ba015a304ce30 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1162.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1162.cs new file mode 100644 index 0000000000..b6510ff7df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1162.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1162 : Skill + { + public const int SKILL_ID = 1162; + + public Skill1162() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1162Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1162Stub() : base(1162) + { + cls = 127; + name = "神威狱小怪群无敌"; + nativename = "神威狱小怪群无敌"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "乾坤借法"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/乾坤借法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1162Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1162.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1162.cs.meta new file mode 100644 index 0000000000..9b8ccfb9a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1162.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 94f6210275806405091fd8e19956d8a1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1163.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1163.cs new file mode 100644 index 0000000000..2c420d34ed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1163.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1163 : Skill + { + public const int SKILL_ID = 1163; + + public Skill1163() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1163Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1163Stub() : base(1163) + { + cls = 127; + name = "金属性封印物品"; + nativename = "金属性封印物品"; + icon = "消魂咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物霹雳术"; + doenchant = 1; + dobless = 0; + commoncooldown = 992; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/头顶一道霹雳.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1163Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1500; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (40000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10000); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1163.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1163.cs.meta new file mode 100644 index 0000000000..beb2024ccf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1163.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ef6ffda7eb62441c2b60d28fc10e5877 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1164.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1164.cs new file mode 100644 index 0000000000..b9b49548f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1164.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1164 : Skill + { + public const int SKILL_ID = 1164; + + public Skill1164() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1164Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1164Stub() : base(1164) + { + cls = 127; + name = "木属性封印物品"; + nativename = "木属性封印物品"; + icon = "消魂咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物施毒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 992; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1164Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1500; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (40000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10000); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1164.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1164.cs.meta new file mode 100644 index 0000000000..1e5b690262 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1164.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5d0e3944263f047eb96c620b252b3724 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1165.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1165.cs new file mode 100644 index 0000000000..270c97446e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1165.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1165 : Skill + { + public const int SKILL_ID = 1165; + + public Skill1165() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1165Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1165Stub() : base(1165) + { + cls = 127; + name = "水属性封印物品"; + nativename = "水属性封印物品"; + icon = "消魂咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物冰锥术"; + doenchant = 1; + dobless = 0; + commoncooldown = 992; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰锥飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.5f, 1.5f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1165Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1500; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (40000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10000); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1165.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1165.cs.meta new file mode 100644 index 0000000000..fe72a228bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1165.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aadc6e982886d40afb3c8bfe4b9690e1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1166.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1166.cs new file mode 100644 index 0000000000..1e5a70aea7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1166.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1166 : Skill + { + public const int SKILL_ID = 1166; + + public Skill1166() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1166Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1166Stub() : base(1166) + { + cls = 127; + name = "火属性封印物品"; + nativename = "火属性封印物品"; + icon = "消魂咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物火球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 992; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/带尾焰的火球.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/爆炸效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1166Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1500; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (40000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10000); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1166.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1166.cs.meta new file mode 100644 index 0000000000..a0029f3255 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1166.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5d9d831949b9e4f3e97d6080eed8b7e0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1167.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1167.cs new file mode 100644 index 0000000000..7e2c57c2ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1167.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1167 : Skill + { + public const int SKILL_ID = 1167; + + public Skill1167() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1167Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(100); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1167Stub() : base(1167) + { + cls = 127; + name = "土属性封印物品"; + nativename = "土属性封印物品"; + icon = "消魂咒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物掷石"; + doenchant = 1; + dobless = 0; + commoncooldown = 992; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/石头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/石头击碎.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1167Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1500; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (40000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10000); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1167.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1167.cs.meta new file mode 100644 index 0000000000..9ba356ec59 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1167.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 92f8415caa7cb4363a535e7df1934b6b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1177.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1177.cs new file mode 100644 index 0000000000..d509aedb25 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1177.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1177 : Skill + { + public const int SKILL_ID = 1177; + + public Skill1177() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1177Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 10, 20, 30 }; + private static readonly int[] RequiredSpArray = { 6000, 8000, 10000 }; + private static readonly int[] RequiredItemArray = { 11705, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1177Stub() : base(1177) + { + cls = 127; + name = "神威狱BOSS自己补血"; + nativename = "神威狱BOSS自己补血"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "宠物治疗"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/宠物治疗击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1177Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.04f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1177.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1177.cs.meta new file mode 100644 index 0000000000..b597280ca2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1177.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e3c02e4574787485199aaec93c009342 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1183.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1183.cs new file mode 100644 index 0000000000..0205592e03 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1183.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1183 : Skill + { + public const int SKILL_ID = 1183; + + public Skill1183() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1183Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1183Stub() : base(1183) + { + cls = 127; + name = "神威狱BOSS假无敌"; + nativename = "神威狱BOSS假无敌"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1183Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1183.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1183.cs.meta new file mode 100644 index 0000000000..bb6639fe81 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1183.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 870812d5859d34618bf220dbf2c009e2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1188.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1188.cs new file mode 100644 index 0000000000..526d5ffd2b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1188.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1188 : Skill + { + public const int SKILL_ID = 1188; + + public Skill1188() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1188Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1188Stub() : base(1188) + { + cls = 127; + name = "百分百成功抓宠物"; + nativename = "百分百成功抓宠物"; + icon = "驯服宠物"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 1; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 1217; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 2; + allow_forms = 7; + effect = "驯服宠物"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/驯服宠物飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 5); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1188Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10 * skill.GetLevel ()); + skill.GetVictim ().SetEntrap2 (1); + return true; + } + public bool TakeEffect(Skill skill) + { + skill.GetPlayer ().SetIncmpgen (2 * skill.GetLevel ()); + return true; + } + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1188.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1188.cs.meta new file mode 100644 index 0000000000..c3a62ae9ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1188.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f7f7560527ee34fb4adb91e64237b3b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1190.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1190.cs new file mode 100644 index 0000000000..c248fcb2db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1190.cs @@ -0,0 +1,122 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1190 : Skill + { + public const int SKILL_ID = 1190; + + public Skill1190() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1190Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1190Stub() : base(1190) + { + cls = 127; + name = "隐身药水专用"; + nativename = "隐身药水专用"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1190Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetInvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1190.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1190.cs.meta new file mode 100644 index 0000000000..9bde1d158e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1190.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3717e1f88e8cc4f63b61c0f3861b90e0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1191.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1191.cs new file mode 100644 index 0000000000..895e1734ae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1191.cs @@ -0,0 +1,120 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1191 : Skill + { + public const int SKILL_ID = 1191; + + public Skill1191() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1191Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1191Stub() : base(1191) + { + cls = 127; + name = "反隐药水专用"; + nativename = "反隐药水专用"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1191Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetIncantiinvisibleactive (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1191.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1191.cs.meta new file mode 100644 index 0000000000..b1e46b4be6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1191.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0d4dcfadcb7f24d228e1f138bf0500ed \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1192.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1192.cs new file mode 100644 index 0000000000..77aeed3478 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1192.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1192 : Skill + { + public const int SKILL_ID = 1192; + + public Skill1192() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1192Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 9000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.5f * skill.GetLevel()); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1192Stub() : base(1192) + { + cls = 127; + name = "夜叉王子群攻"; + nativename = "夜叉王子群攻"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物光翼技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/光翼技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/光翼技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1192Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 100f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1192.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1192.cs.meta new file mode 100644 index 0000000000..2299f9c455 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1192.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c8e0a43ccfe4e42dda890fb7117464fa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1193.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1193.cs new file mode 100644 index 0000000000..ab3dcb9a8a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1193.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1193 : Skill + { + public const int SKILL_ID = 1193; + + public Skill1193() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1193Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => true; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1193Stub() : base(1193) + { + cls = 127; + name = "夫妻任务专用百分比伤害"; + nativename = "夫妻任务专用百分比伤害"; + icon = "爆破拳"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "天雷破"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/落雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)3; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1193Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.05f * skill.GetLevel ()); + skill.GetVictim ().SetScaledechp (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetScaledecmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1193.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1193.cs.meta new file mode 100644 index 0000000000..a5009952f0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1193.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b45b06bf81901481cb5fe92cbaf2ce6b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1194.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1194.cs new file mode 100644 index 0000000000..cc488233f8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1194.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1194 : Skill + { + public const int SKILL_ID = 1194; + + public Skill1194() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1194Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1194Stub() : base(1194) + { + cls = 127; + name = "节日玩家增强buff"; + nativename = "节日玩家增强buff"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "城战boss升级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "程序联入/角色升级人类.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌波微步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1194Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetInchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.3f * skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.3f * skill.GetLevel ()); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetValue (0.05f * skill.GetLevel ()); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1194.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1194.cs.meta new file mode 100644 index 0000000000..841a03ba58 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1194.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1db62549612a448d0a2218e71d6e8347 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1328.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1328.cs new file mode 100644 index 0000000000..5f114284af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1328.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1328 : Skill + { + public const int SKILL_ID = 1328; + + public Skill1328() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1328Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 837, 842, 847, 852, 857, 862, 867, 872, 877, 882 }; + private static readonly int[] RequiredSpArray = { 4300, 6000, 8280, 11320, 15380, 20800, 28400, 38400, 65400, 106600 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1328Stub() : base(1328) + { + cls = 127; + name = "丛林遗迹冰掌机关技能"; + nativename = "丛林遗迹冰掌机关技能"; + icon = "风啸诀"; + max_level = 5; + type = 2; + apcost = 328099; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "冰虫_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰虫_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)5; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1328Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetStoneskin (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1328.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1328.cs.meta new file mode 100644 index 0000000000..773cf76a48 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1328.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d813544a5eea34e91851b6f551111862 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1329.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1329.cs new file mode 100644 index 0000000000..3fcdd9372e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1329.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1329 : Skill + { + public const int SKILL_ID = 1329; + + public Skill1329() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1329Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1329Stub() : base(1329) + { + cls = 127; + name = "丛林遗迹冰幽灵减速"; + nativename = "丛林遗迹冰幽灵减速"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1329Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1329.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1329.cs.meta new file mode 100644 index 0000000000..24cd24331b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1329.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b5c1217f99d3444f791eb15e6f6428c3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1330.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1330.cs new file mode 100644 index 0000000000..aa4b760c24 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1330.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1330 : Skill + { + public const int SKILL_ID = 1330; + + public Skill1330() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1330Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1330Stub() : base(1330) + { + cls = 127; + name = "丛林遗迹火幽灵烧伤"; + nativename = "丛林遗迹火幽灵烧伤"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1330Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.05f * skill.GetLevel ()); + skill.GetVictim ().SetScaledechp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetScaledecmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1330.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1330.cs.meta new file mode 100644 index 0000000000..0f64c381b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1330.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b0327d6a1243a4c5c835336c3b38a8e7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1331.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1331.cs new file mode 100644 index 0000000000..e979c5d157 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1331.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1331 : Skill + { + public const int SKILL_ID = 1331; + + public Skill1331() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1331Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1331Stub() : base(1331) + { + cls = 127; + name = "丛林遗迹火虫技能"; + nativename = "丛林遗迹火虫技能"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "高级怪物火魔法攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/火魔法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1331Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.05f * skill.GetLevel ()); + skill.GetVictim ().SetScaledechp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1331.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1331.cs.meta new file mode 100644 index 0000000000..67ffb32c22 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1331.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 46363b508abe64b4e81f317db205de68 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1332.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1332.cs new file mode 100644 index 0000000000..0e42246e87 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1332.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1332 : Skill + { + public const int SKILL_ID = 1332; + + public Skill1332() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1332Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1332Stub() : base(1332) + { + cls = 127; + name = "丛林遗迹烟雾技能"; + nativename = "丛林遗迹烟雾技能"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体催眠术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/怪物催眠飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/催眠击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1332Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetSleep (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.05f * skill.GetLevel ()); + skill.GetVictim ().SetScaledechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1332.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1332.cs.meta new file mode 100644 index 0000000000..f4c1d5837f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1332.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c5fa50a2ee4924ab9868e54ccc217efb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1333.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1333.cs new file mode 100644 index 0000000000..bd28f0dc30 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1333.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1333 : Skill + { + public const int SKILL_ID = 1333; + + public Skill1333() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1333Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1333Stub() : base(1333) + { + cls = 127; + name = "丛林遗迹毒气池毒气"; + nativename = "丛林遗迹毒气池毒气"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1333Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.05f * skill.GetLevel ()); + skill.GetVictim ().SetScaledechp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.05f * skill.GetLevel ()); + skill.GetVictim ().SetScaledecmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1333.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1333.cs.meta new file mode 100644 index 0000000000..ac156acd6e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1333.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9e3f53f5abc834d37899573289552c4f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1334.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1334.cs new file mode 100644 index 0000000000..918b602e15 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1334.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1334 : Skill + { + public const int SKILL_ID = 1334; + + public Skill1334() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1334Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 837, 842, 847, 852, 857, 862, 867, 872, 877, 882 }; + private static readonly int[] RequiredSpArray = { 4300, 6000, 8280, 11320, 15380, 20800, 28400, 38400, 65400, 106600 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1334Stub() : base(1334) + { + cls = 127; + name = "丛林遗迹火柱喷火技能"; + nativename = "丛林遗迹火柱喷火技能"; + icon = "风啸诀"; + max_level = 5; + type = 3; + apcost = 328099; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "火虫_喷火长"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/技能/火虫_喷火长.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1334Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 3f; + public float GetAttackdistance(Skill skill) => 15f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (100000); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1334.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1334.cs.meta new file mode 100644 index 0000000000..b176f70cb5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1334.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 25405b1466cd844c4adb6fff54d36607 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1335.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1335.cs new file mode 100644 index 0000000000..7b69a3aa6d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1335.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1335 : Skill + { + public const int SKILL_ID = 1335; + + public Skill1335() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1335Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1335Stub() : base(1335) + { + cls = 127; + name = "丛林遗迹变青蛙"; + nativename = "丛林遗迹变青蛙"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物闪电术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/闪电飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1335Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetValue (26); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1335.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1335.cs.meta new file mode 100644 index 0000000000..86328fec18 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1335.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 40991425438b140ba9bdaa414d4f1621 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1336.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1336.cs new file mode 100644 index 0000000000..209ef5410a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1336.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1336 : Skill + { + public const int SKILL_ID = 1336; + + public Skill1336() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1336Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1336Stub() : base(1336) + { + cls = 127; + name = "pk赛观众状态"; + nativename = "pk赛观众状态"; + icon = ""; + max_level = MAX_LEVEL; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1336Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (-1); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetGminvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1336.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1336.cs.meta new file mode 100644 index 0000000000..eb637d42ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1336.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fdf2684d43237455a9fa6e15b49f815e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1337.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1337.cs new file mode 100644 index 0000000000..0e9f9aabde --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1337.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1337 : Skill + { + public const int SKILL_ID = 1337; + + public Skill1337() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1337Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1337Stub() : base(1337) + { + cls = 127; + name = "pk赛裁判超强反隐"; + nativename = "pk赛裁判超强反隐"; + icon = ""; + max_level = MAX_LEVEL; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1337Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (50 * skill.GetLevel ()); + skill.GetVictim ().SetIncantiinvisibleactive (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1337.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1337.cs.meta new file mode 100644 index 0000000000..96e3feb295 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1337.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 417a180bd71e14c4baa9dafa242057d2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1338.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1338.cs new file mode 100644 index 0000000000..1dd4a7e24e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1338.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1338 : Skill + { + public const int SKILL_ID = 1338; + + public Skill1338() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1338Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1338Stub() : base(1338) + { + cls = 127; + name = "撒花瓣"; + nativename = "撒花瓣"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1338Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetFlower2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1338.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1338.cs.meta new file mode 100644 index 0000000000..6c5a5f390c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1338.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 782479c42ef2b4405b59e97bf91e43d7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1339.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1339.cs new file mode 100644 index 0000000000..16c36e9fb5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1339.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1339 : Skill + { + public const int SKILL_ID = 1339; + + public Skill1339() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1339Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1339Stub() : base(1339) + { + cls = 127; + name = "抛花球"; + nativename = "抛花球"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "婚礼绣球"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/婚礼绣球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/婚礼绣球_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1339Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetFlower1 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1339.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1339.cs.meta new file mode 100644 index 0000000000..b38f3975b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1339.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b7569e372645d4e3d8ea1cdcb076afbd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1403.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1403.cs new file mode 100644 index 0000000000..35e749c580 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1403.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1403 : Skill + { + public const int SKILL_ID = 1403; + + public Skill1403() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1403Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1403Stub() : base(1403) + { + cls = 127; + name = "冰boss1技能"; + nativename = "冰boss1技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹终级_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/蜘蛛蟹终级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1403Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1403.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1403.cs.meta new file mode 100644 index 0000000000..7a093303d7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1403.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 319cab42cb7714dc78cb8358c0fc1363 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1404.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1404.cs new file mode 100644 index 0000000000..57921ab988 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1404.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1404 : Skill + { + public const int SKILL_ID = 1404; + + public Skill1404() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1404Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1404Stub() : base(1404) + { + cls = 127; + name = "冰boss2技能"; + nativename = "冰boss2技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1寸力"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/寸力击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1404Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1404.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1404.cs.meta new file mode 100644 index 0000000000..e4feb55ca9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1404.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e4f1ea57275584cb6be2c6e454536de0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1405.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1405.cs new file mode 100644 index 0000000000..a76640dc98 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1405.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1405 : Skill + { + public const int SKILL_ID = 1405; + + public Skill1405() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1405Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1405Stub() : base(1405) + { + cls = 127; + name = "原始人1技能"; + nativename = "原始人1技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "硬礁海虫高_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/硬礁海虫高_技能受击.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1405Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1405.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1405.cs.meta new file mode 100644 index 0000000000..0003266ed1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1405.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0d2c639fee76d4548add0cfb3dfdcebb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1406.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1406.cs new file mode 100644 index 0000000000..1189ad792b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1406.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1406 : Skill + { + public const int SKILL_ID = 1406; + + public Skill1406() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1406Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1406Stub() : base(1406) + { + cls = 127; + name = "原始人2技能"; + nativename = "原始人2技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "硬礁海虫高_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/硬礁海虫高_技能受击.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1406Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1406.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1406.cs.meta new file mode 100644 index 0000000000..37130b8c00 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1406.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ce18ca89adb384a12b6a59361758ec99 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1407.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1407.cs new file mode 100644 index 0000000000..0737eafa11 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1407.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1407 : Skill + { + public const int SKILL_ID = 1407; + + public Skill1407() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1407Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1407Stub() : base(1407) + { + cls = 127; + name = "原始人3技能"; + nativename = "原始人3技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "硬礁海虫高_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/硬礁海虫高_技能受击.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1407Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1407.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1407.cs.meta new file mode 100644 index 0000000000..213674be2f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1407.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2359ec90113394ba39ff9a143cfcb70b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1408.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1408.cs new file mode 100644 index 0000000000..198bd189bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1408.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1408 : Skill + { + public const int SKILL_ID = 1408; + + public Skill1408() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1408Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1408Stub() : base(1408) + { + cls = 127; + name = "原始人4技能"; + nativename = "原始人4技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "毒虫_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒虫_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1408Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1408.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1408.cs.meta new file mode 100644 index 0000000000..321a01b70a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1408.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 92591ea90b7aa49c4a5fddb06a331061 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1409.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1409.cs new file mode 100644 index 0000000000..0a38b9ff70 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1409.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1409 : Skill + { + public const int SKILL_ID = 1409; + + public Skill1409() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1409Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1409Stub() : base(1409) + { + cls = 127; + name = "原始人5技能"; + nativename = "原始人5技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "硬礁海虫高_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/硬礁海虫高_技能受击.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1409Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1409.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1409.cs.meta new file mode 100644 index 0000000000..735725c257 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1409.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4fc55e8b2b85f4acfaa9cfdbd716970b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1410.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1410.cs new file mode 100644 index 0000000000..29ca78ab28 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1410.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1410 : Skill + { + public const int SKILL_ID = 1410; + + public Skill1410() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1410Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1410Stub() : base(1410) + { + cls = 127; + name = "原始人6技能"; + nativename = "原始人6技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "硬礁海虫高_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/硬礁海虫高_技能受击.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1410Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1410.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1410.cs.meta new file mode 100644 index 0000000000..60fedd3a8e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1410.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 570199afc226a414f958f37b81b5a6ef \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1411.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1411.cs new file mode 100644 index 0000000000..bc17751293 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1411.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1411 : Skill + { + public const int SKILL_ID = 1411; + + public Skill1411() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1411Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1411Stub() : base(1411) + { + cls = 127; + name = "巨蜻蜓技能"; + nativename = "巨蜻蜓技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1411Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1411.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1411.cs.meta new file mode 100644 index 0000000000..f540da0317 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1411.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2c17e9179a47a41a0b12d5e3495f819b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1412.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1412.cs new file mode 100644 index 0000000000..a3effac8b8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1412.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1412 : Skill + { + public const int SKILL_ID = 1412; + + public Skill1412() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1412Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1412Stub() : base(1412) + { + cls = 127; + name = "冰角牛头技能"; + nativename = "冰角牛头技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹终级_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/蜘蛛蟹终级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1412Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1412.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1412.cs.meta new file mode 100644 index 0000000000..d4e23bcc02 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1412.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bc91ad5a359cb4d47957d69dd9fa8edb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1413.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1413.cs new file mode 100644 index 0000000000..e4ace8c278 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1413.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1413 : Skill + { + public const int SKILL_ID = 1413; + + public Skill1413() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1413Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1413Stub() : base(1413) + { + cls = 127; + name = "上古星门技能"; + nativename = "上古星门技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹终级_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/蜘蛛蟹终级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1413Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1413.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1413.cs.meta new file mode 100644 index 0000000000..55cea1bfb5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1413.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 67bdbd38ae6c246bf9957c6b92aa8b55 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1414.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1414.cs new file mode 100644 index 0000000000..9d74274839 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1414.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1414 : Skill + { + public const int SKILL_ID = 1414; + + public Skill1414() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1414Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1414Stub() : base(1414) + { + cls = 127; + name = "幻角牛头技能"; + nativename = "幻角牛头技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "火煞天灯"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/火煞天灯击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1414Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1414.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1414.cs.meta new file mode 100644 index 0000000000..70afbec690 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1414.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5beb7d8802e2c48588ba552de4a2732b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1415.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1415.cs new file mode 100644 index 0000000000..5250f8c6bb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1415.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1415 : Skill + { + public const int SKILL_ID = 1415; + + public Skill1415() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1415Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1415Stub() : base(1415) + { + cls = 127; + name = "灵族新怪释放通用"; + nativename = "灵族新怪释放通用"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1415Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1415.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1415.cs.meta new file mode 100644 index 0000000000..0ce84c01fd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1415.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aedcf4c3da7014d5fb630ef759ddbf86 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1416.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1416.cs new file mode 100644 index 0000000000..c782b82ce4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1416.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1416 : Skill + { + public const int SKILL_ID = 1416; + + public Skill1416() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1416Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1416Stub() : base(1416) + { + cls = 127; + name = "冰boss1攻击"; + nativename = "冰boss1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1416Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1416.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1416.cs.meta new file mode 100644 index 0000000000..26fd81c31c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1416.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0d620d4dfb06b4509aae0257aa01492d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1417.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1417.cs new file mode 100644 index 0000000000..a1033ec7e5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1417.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1417 : Skill + { + public const int SKILL_ID = 1417; + + public Skill1417() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1417Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1417Stub() : base(1417) + { + cls = 127; + name = "原始人1攻击"; + nativename = "原始人1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1白无常技能"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/白无常技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/白无常技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1417Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1417.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1417.cs.meta new file mode 100644 index 0000000000..a14c5f4cf8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1417.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 905e95275de2b4f22baa3d0be2a28b28 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1418.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1418.cs new file mode 100644 index 0000000000..c72edf4179 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1418.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1418 : Skill + { + public const int SKILL_ID = 1418; + + public Skill1418() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1418Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1418Stub() : base(1418) + { + cls = 127; + name = "原始人2攻击"; + nativename = "原始人2攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1白无常技能"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/白无常技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/白无常技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1418Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1418.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1418.cs.meta new file mode 100644 index 0000000000..83f78bdc2f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1418.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ffaa93320bebb49e2856c436093a49c2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1419.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1419.cs new file mode 100644 index 0000000000..fbd0937a92 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1419.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1419 : Skill + { + public const int SKILL_ID = 1419; + + public Skill1419() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1419Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1419Stub() : base(1419) + { + cls = 127; + name = "原始人3攻击"; + nativename = "原始人3攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1白无常技能"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/白无常技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/白无常技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1419Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1419.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1419.cs.meta new file mode 100644 index 0000000000..3275093410 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1419.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 24281e95e8f5e40d48eadde5d338550b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1420.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1420.cs new file mode 100644 index 0000000000..4658130b3d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1420.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1420 : Skill + { + public const int SKILL_ID = 1420; + + public Skill1420() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1420Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1420Stub() : base(1420) + { + cls = 127; + name = "剑齿虎攻击"; + nativename = "剑齿虎攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "硬礁海虫高_风火轮受击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/海蜈蚣_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1420Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1420.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1420.cs.meta new file mode 100644 index 0000000000..3c098685e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1420.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0b911cb66134343d4bd955d5df5ce8bb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1421.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1421.cs new file mode 100644 index 0000000000..ef41e654f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1421.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1421 : Skill + { + public const int SKILL_ID = 1421; + + public Skill1421() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1421Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1421Stub() : base(1421) + { + cls = 127; + name = "黄剑齿虎攻击"; + nativename = "黄剑齿虎攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "硬礁海虫高_风火轮受击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/海蜈蚣_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1421Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1421.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1421.cs.meta new file mode 100644 index 0000000000..62398565e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1421.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c0dd23dc1032d40fa9db149bc1a74370 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1422.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1422.cs new file mode 100644 index 0000000000..99065c7803 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1422.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1422 : Skill + { + public const int SKILL_ID = 1422; + + public Skill1422() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1422Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1422Stub() : base(1422) + { + cls = 127; + name = "冰元素攻击"; + nativename = "冰元素攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1422Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1422.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1422.cs.meta new file mode 100644 index 0000000000..418110a4fa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1422.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 26b41986b548a4fb9bcef3f0be07efb9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1423.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1423.cs new file mode 100644 index 0000000000..00ce0752a2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1423.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1423 : Skill + { + public const int SKILL_ID = 1423; + + public Skill1423() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1423Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1423Stub() : base(1423) + { + cls = 127; + name = "原始人4攻击"; + nativename = "原始人4攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "变异毒囊蛙绿色_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/变异毒囊蛙绿色击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1423Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1423.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1423.cs.meta new file mode 100644 index 0000000000..ab91ea8fdc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1423.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2dc37a37427ec46f196b813b92b760d7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1424.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1424.cs new file mode 100644 index 0000000000..97f47b2e5f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1424.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1424 : Skill + { + public const int SKILL_ID = 1424; + + public Skill1424() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1424Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1424Stub() : base(1424) + { + cls = 127; + name = "原始人5攻击"; + nativename = "原始人5攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1白无常技能"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/白无常技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/白无常技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1424Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1424.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1424.cs.meta new file mode 100644 index 0000000000..3dee28bc46 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1424.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0cb0fd77523dd4588b5c4759c63a6e50 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1425.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1425.cs new file mode 100644 index 0000000000..3fef6d0767 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1425.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1425 : Skill + { + public const int SKILL_ID = 1425; + + public Skill1425() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1425Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1425Stub() : base(1425) + { + cls = 127; + name = "原始人6攻击"; + nativename = "原始人6攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1白无常技能"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/白无常技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/白无常技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1425Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1425.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1425.cs.meta new file mode 100644 index 0000000000..d07ad4c1cb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1425.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0b4b7707961c444de8a745e9f29ab08a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1426.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1426.cs new file mode 100644 index 0000000000..2aa6fa6dc8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1426.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1426 : Skill + { + public const int SKILL_ID = 1426; + + public Skill1426() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1426Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1426Stub() : base(1426) + { + cls = 127; + name = "蜻蜓攻击"; + nativename = "蜻蜓攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1毁天灭地"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/毁天灭地击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1426Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1426.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1426.cs.meta new file mode 100644 index 0000000000..ab27f91ad7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1426.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9c4520eefb5d140f1827a845a68ab116 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1427.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1427.cs new file mode 100644 index 0000000000..08c39af9ac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1427.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1427 : Skill + { + public const int SKILL_ID = 1427; + + public Skill1427() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1427Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1427Stub() : base(1427) + { + cls = 127; + name = "螳螂攻击"; + nativename = "螳螂攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1427Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1427.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1427.cs.meta new file mode 100644 index 0000000000..4b9fa6c4ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1427.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a304efe54b9ec4e37befc6b29c20088f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1428.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1428.cs new file mode 100644 index 0000000000..9568f05e89 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1428.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1428 : Skill + { + public const int SKILL_ID = 1428; + + public Skill1428() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1428Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1428Stub() : base(1428) + { + cls = 127; + name = "绿螳螂攻击"; + nativename = "绿螳螂攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1428Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1428.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1428.cs.meta new file mode 100644 index 0000000000..33a786738b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1428.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 016e70968b00d4e83a3f25946b5c132c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1429.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1429.cs new file mode 100644 index 0000000000..94ce225f89 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1429.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1429 : Skill + { + public const int SKILL_ID = 1429; + + public Skill1429() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1429Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1429Stub() : base(1429) + { + cls = 127; + name = "树怪1攻击"; + nativename = "树怪1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "黑暗斥候_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/黑暗斥候_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1429Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1429.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1429.cs.meta new file mode 100644 index 0000000000..31cd19f4ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1429.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 20d5730771ea14675b2cbf3bbc968e99 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1430.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1430.cs new file mode 100644 index 0000000000..34dbfa3586 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1430.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1430 : Skill + { + public const int SKILL_ID = 1430; + + public Skill1430() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1430Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1430Stub() : base(1430) + { + cls = 127; + name = "树怪2攻击"; + nativename = "树怪2攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨型沙虫攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1430Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1430.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1430.cs.meta new file mode 100644 index 0000000000..afe1b64aac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1430.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 13d11516b9b264c86906447a9595dba2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1431.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1431.cs new file mode 100644 index 0000000000..37b4477bfb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1431.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1431 : Skill + { + public const int SKILL_ID = 1431; + + public Skill1431() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1431Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1431Stub() : base(1431) + { + cls = 127; + name = "犄角攻击"; + nativename = "犄角攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "海蜈蚣喷火击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/海蜈蚣喷火击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1431Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1431.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1431.cs.meta new file mode 100644 index 0000000000..12893ccdf1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1431.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 879369829f1d14698b921c0798f666f7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1432.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1432.cs new file mode 100644 index 0000000000..53415cd2ec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1432.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1432 : Skill + { + public const int SKILL_ID = 1432; + + public Skill1432() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1432Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1432Stub() : base(1432) + { + cls = 127; + name = "紫树怪攻击"; + nativename = "紫树怪攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "探险者_技能1击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/探险者_技能1击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1432Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1432.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1432.cs.meta new file mode 100644 index 0000000000..bba3e9d337 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1432.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 98972e4e5b9854969acf76b2f40c59c3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1433.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1433.cs new file mode 100644 index 0000000000..dda57223cd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1433.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1433 : Skill + { + public const int SKILL_ID = 1433; + + public Skill1433() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1433Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1433Stub() : base(1433) + { + cls = 127; + name = "棕树怪攻击"; + nativename = "棕树怪攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "探险者_技能1击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/探险者_技能1击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1433Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1433.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1433.cs.meta new file mode 100644 index 0000000000..663b3dbcf5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1433.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ae9deb8137b5347899ff4e478afa953f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1434.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1434.cs new file mode 100644 index 0000000000..ed7bf8a1c4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1434.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1434 : Skill + { + public const int SKILL_ID = 1434; + + public Skill1434() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1434Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1434Stub() : base(1434) + { + cls = 127; + name = "黄树怪攻击"; + nativename = "黄树怪攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "探险者_技能1击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/探险者_技能1击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1434Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1434.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1434.cs.meta new file mode 100644 index 0000000000..484811df8d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1434.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1bdf7db2b4de141c1b662bb5d998e77d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1435.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1435.cs new file mode 100644 index 0000000000..acb939ae09 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1435.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1435 : Skill + { + public const int SKILL_ID = 1435; + + public Skill1435() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1435Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1435Stub() : base(1435) + { + cls = 127; + name = "蓝树怪攻击"; + nativename = "蓝树怪攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "探险者_技能1击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/探险者_技能1击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1435Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1435.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1435.cs.meta new file mode 100644 index 0000000000..49e1259622 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1435.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 088536b1eee9247adae465582019c9a0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1436.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1436.cs new file mode 100644 index 0000000000..8b6544b0c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1436.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1436 : Skill + { + public const int SKILL_ID = 1436; + + public Skill1436() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1436Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1436Stub() : base(1436) + { + cls = 127; + name = "绿树怪攻击"; + nativename = "绿树怪攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "探险者_技能1击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/探险者_技能1击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1436Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1436.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1436.cs.meta new file mode 100644 index 0000000000..64cf7460b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill1436.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 856d7b645425e4737ad786917e3b9308 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill751.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill751.cs new file mode 100644 index 0000000000..153dc9da6e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill751.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill751 : Skill + { + public const int SKILL_ID = 751; + + public Skill751() : base(SKILL_ID) + { + } + } +#endif + + public class Skill751Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 5000, 10000, 15000, 20000, 25000 }; + private static readonly int[] RequiredItemArray = { 11696, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.1f * skill.GetLevel()); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill751Stub() : base(751) + { + cls = 127; + name = "召雷"; + nativename = "召雷"; + icon = "宠物召雷"; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9006; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物霹雳术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/头顶一道霹雳.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill751Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill751.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill751.cs.meta new file mode 100644 index 0000000000..43c9215a35 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill751.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 828c998161d09436f87ce0e90280f5fe \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill752.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill752.cs new file mode 100644 index 0000000000..7b31f680e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill752.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill752 : Skill + { + public const int SKILL_ID = 752; + + public Skill752() : base(SKILL_ID) + { + } + } +#endif + + public class Skill752Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 5000, 10000, 15000, 20000, 25000 }; + private static readonly int[] RequiredItemArray = { 11697, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.1f * skill.GetLevel()); + skill.SetEarthdamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill752Stub() : base(752) + { + cls = 127; + name = "扬沙"; + nativename = "扬沙"; + icon = "宠物扬沙"; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9007; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨型沙虫攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill752Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 0); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill752.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill752.cs.meta new file mode 100644 index 0000000000..e4ad29f939 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill752.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e91fcf36cd743452fb484f7abc3c86e9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill753.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill753.cs new file mode 100644 index 0000000000..faa83a75c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill753.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill753 : Skill + { + public const int SKILL_ID = 753; + + public Skill753() : base(SKILL_ID) + { + } + } +#endif + + public class Skill753Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 4000, 8000, 12000, 16000, 20000 }; + private static readonly int[] RequiredItemArray = { 11698, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill753Stub() : base(753) + { + cls = 127; + name = "咆哮"; + nativename = "咆哮"; + icon = "宠物咆哮"; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9101; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "咆哮"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/咆哮击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill753Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill753.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill753.cs.meta new file mode 100644 index 0000000000..48107d015e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill753.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5d5a44ecbe4d64961a418c61a6ebea4d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill754.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill754.cs new file mode 100644 index 0000000000..bdf882aebc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill754.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill754 : Skill + { + public const int SKILL_ID = 754; + + public Skill754() : base(SKILL_ID) + { + } + } +#endif + + public class Skill754Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 8000, 16000, 24000, 32000, 40000 }; + private static readonly int[] RequiredItemArray = { 11699, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill754Stub() : base(754) + { + cls = 127; + name = "嚎叫"; + nativename = "嚎叫"; + icon = "宠物嚎叫"; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9102; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "破天"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/通用技能击中绿.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 1; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 6.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill754Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.16f + 0.04f * skill.GetLevel ()); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill754.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill754.cs.meta new file mode 100644 index 0000000000..67bfab682e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill754.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 126df248128354e86b2ad725478d6312 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill755.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill755.cs new file mode 100644 index 0000000000..1ea53e443e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill755.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill755 : Skill + { + public const int SKILL_ID = 755; + + public Skill755() : base(SKILL_ID) + { + } + } +#endif + + public class Skill755Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 8000, 16000, 24000, 32000, 40000 }; + private static readonly int[] RequiredItemArray = { 11700, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill755Stub() : base(755) + { + cls = 127; + name = "破甲"; + nativename = "破甲"; + icon = "宠物破甲"; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9103; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "破甲一击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/破甲一击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill755Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.16f + 0.04f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill755.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill755.cs.meta new file mode 100644 index 0000000000..1981173c66 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill755.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c3699ebdf19f448839b02817abc35e4c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill756.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill756.cs new file mode 100644 index 0000000000..958cbd1127 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill756.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill756 : Skill + { + public const int SKILL_ID = 756; + + public Skill756() : base(SKILL_ID) + { + } + } +#endif + + public class Skill756Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 8000, 16000, 24000, 32000, 40000 }; + private static readonly int[] RequiredItemArray = { 11701, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill756Stub() : base(756) + { + cls = 127; + name = "震摄"; + nativename = "震摄"; + icon = "宠物震摄"; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9104; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "狂龙斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狂龙斩击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill756Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.16f + 0.04f * skill.GetLevel ()); + skill.GetVictim ().SetDecattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill756.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill756.cs.meta new file mode 100644 index 0000000000..9a3c02653d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill756.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d981c2eb4286948c7aca2b3040d58776 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill757.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill757.cs new file mode 100644 index 0000000000..f83ff7b32a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill757.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill757 : Skill + { + public const int SKILL_ID = 757; + + public Skill757() : base(SKILL_ID) + { + } + } +#endif + + public class Skill757Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 10000, 20000, 30000, 40000, 50000 }; + private static readonly int[] RequiredItemArray = { 11702, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill757Stub() : base(757) + { + cls = 127; + name = "尖啸"; + nativename = "尖啸"; + icon = "宠物尖啸"; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9105; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "虎扑"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虎扑击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill757Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50 + 10 * skill.GetLevel ()); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill757.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill757.cs.meta new file mode 100644 index 0000000000..e44b50ac0e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill757.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cba5aad634aa84bf98c84c90237c122c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill758.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill758.cs new file mode 100644 index 0000000000..6c147846fb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill758.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill758 : Skill + { + public const int SKILL_ID = 758; + + public Skill758() : base(SKILL_ID) + { + } + } +#endif + + public class Skill758Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 10000, 20000, 30000, 40000, 50000 }; + private static readonly int[] RequiredItemArray = { 11703, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill758Stub() : base(758) + { + cls = 127; + name = "减速"; + nativename = "减速"; + icon = "宠物减速"; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9106; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "和风拂面"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/和风拂面击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill758Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.25f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill758.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill758.cs.meta new file mode 100644 index 0000000000..ebbddbec76 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill758.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fd1798021057541558a10c80f194b54d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill759.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill759.cs new file mode 100644 index 0000000000..7dd1e98aa2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill759.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill759 : Skill + { + public const int SKILL_ID = 759; + + public Skill759() : base(SKILL_ID) + { + } + } +#endif + + public class Skill759Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 4000, 8000, 12000, 16000, 20000 }; + private static readonly int[] RequiredItemArray = { 11704, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill759Stub() : base(759) + { + cls = 127; + name = "硬皮"; + nativename = "硬皮"; + icon = "宠物硬皮"; + max_level = 5; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 9201; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "坚甲符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/坚甲符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill759Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.25f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill759.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill759.cs.meta new file mode 100644 index 0000000000..8370f81d19 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill759.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 72931417464c44b338984192cbda8187 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill760.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill760.cs new file mode 100644 index 0000000000..b0bb6fdb68 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill760.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill760 : Skill + { + public const int SKILL_ID = 760; + + public Skill760() : base(SKILL_ID) + { + } + } +#endif + + public class Skill760Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 10, 20, 30 }; + private static readonly int[] RequiredSpArray = { 6000, 8000, 10000 }; + private static readonly int[] RequiredItemArray = { 11705, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill760Stub() : base(760) + { + cls = 127; + name = "鼓舞"; + nativename = "鼓舞"; + icon = "宠物鼓舞"; + max_level = 3; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "宠物治疗"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/宠物治疗击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill760Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.04f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill760.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill760.cs.meta new file mode 100644 index 0000000000..1106327ac5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill760.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 02fade07d3eaa4942a6b0c5ef4af0f0a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill761.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill761.cs new file mode 100644 index 0000000000..5f1b4d30bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill761.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill761 : Skill + { + public const int SKILL_ID = 761; + + public Skill761() : base(SKILL_ID) + { + } + } +#endif + + public class Skill761Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 20, 80 }; + private static readonly int[] RequiredSpArray = { 50000, 100000 }; + private static readonly int[] RequiredItemArray = { 11706, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill761Stub() : base(761) + { + cls = 127; + name = "嘟嘟"; + nativename = "嘟嘟"; + icon = "宠物嘟嘟"; + max_level = 2; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 9401; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill761Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetFastattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill761.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill761.cs.meta new file mode 100644 index 0000000000..1f52fcdee9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill761.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2371d50f2d4ea4f8abfcfbe924c1b8bb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill765.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill765.cs new file mode 100644 index 0000000000..f304fe6a9b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill765.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill765 : Skill + { + public const int SKILL_ID = 765; + + public Skill765() : base(SKILL_ID) + { + } + } +#endif + + public class Skill765Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill765Stub() : base(765) + { + cls = 127; + name = "陷井之群减速"; + nativename = "陷井之群减速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物迟缓技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/迟缓技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill765Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill765.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill765.cs.meta new file mode 100644 index 0000000000..dcfb22fdc9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill765.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b723a904fd18f4275af2edebc87e657f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill766.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill766.cs new file mode 100644 index 0000000000..1c545e8995 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill766.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill766 : Skill + { + public const int SKILL_ID = 766; + + public Skill766() : base(SKILL_ID) + { + } + } +#endif + + public class Skill766Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill766Stub() : base(766) + { + cls = 127; + name = "陷井之群定身"; + nativename = "陷井之群定身"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物刀臂魔技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/刀臂魔技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/刀臂魔技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill766Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill766.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill766.cs.meta new file mode 100644 index 0000000000..2f8f60d3ac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill766.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 50de4566a502446b090372fe0161439a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill767.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill767.cs new file mode 100644 index 0000000000..a2ed23aa60 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill767.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill767 : Skill + { + public const int SKILL_ID = 767; + + public Skill767() : base(SKILL_ID) + { + } + } +#endif + + public class Skill767Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill767Stub() : base(767) + { + cls = 127; + name = "陷井之群击晕"; + nativename = "陷井之群击晕"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物刀臂魔技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/刀臂魔技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/刀臂魔技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill767Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill767.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill767.cs.meta new file mode 100644 index 0000000000..f6770ba630 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill767.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ac00928d7dd5b4ac39d7f181e667f3f1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill768.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill768.cs new file mode 100644 index 0000000000..acac004dca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill768.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill768 : Skill + { + public const int SKILL_ID = 768; + + public Skill768() : base(SKILL_ID) + { + } + } +#endif + + public class Skill768Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill768Stub() : base(768) + { + cls = 127; + name = "陷井之群自爆"; + nativename = "陷井之群自爆"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物刀臂魔技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/刀臂魔技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/刀臂魔技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill768Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetScaledechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill768.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill768.cs.meta new file mode 100644 index 0000000000..5c6161d90a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill768.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8e608152ff0c64bd68ae0c8ad631e949 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill769.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill769.cs new file mode 100644 index 0000000000..4b292a063e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill769.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill769 : Skill + { + public const int SKILL_ID = 769; + + public Skill769() : base(SKILL_ID) + { + } + } +#endif + + public class Skill769Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill769Stub() : base(769) + { + cls = 127; + name = "陷井之群封印"; + nativename = "陷井之群封印"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物喷蚁酸"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill769Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill769.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill769.cs.meta new file mode 100644 index 0000000000..b11fe52ad9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill769.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e58ce98f5404b434a92fc730f9da4430 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill770.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill770.cs new file mode 100644 index 0000000000..92c96f47a8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill770.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill770 : Skill + { + public const int SKILL_ID = 770; + + public Skill770() : base(SKILL_ID) + { + } + } +#endif + + public class Skill770Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill770Stub() : base(770) + { + cls = 127; + name = "陷井之群加速"; + nativename = "陷井之群加速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill770Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (skill.GetMagicdamage () * 0.1f); + skill.GetVictim ().SetFastride (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill770.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill770.cs.meta new file mode 100644 index 0000000000..0219faa08d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill770.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c0e441bd37ce242d59335aa8d354319b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill771.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill771.cs new file mode 100644 index 0000000000..6057342adc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill771.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill771 : Skill + { + public const int SKILL_ID = 771; + + public Skill771() : base(SKILL_ID) + { + } + } +#endif + + public class Skill771Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill771Stub() : base(771) + { + cls = 127; + name = "陷井之单减速"; + nativename = "陷井之单减速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物迟缓技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/迟缓技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill771Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 1); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetLevel () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill771.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill771.cs.meta new file mode 100644 index 0000000000..b042895ee8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill771.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8e43e834a0ca742148250975f04df01c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill772.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill772.cs new file mode 100644 index 0000000000..48739aa621 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill772.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill772 : Skill + { + public const int SKILL_ID = 772; + + public Skill772() : base(SKILL_ID) + { + } + } +#endif + + public class Skill772Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill772Stub() : base(772) + { + cls = 127; + name = "陷井之单定身"; + nativename = "陷井之单定身"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物刀臂魔技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/刀臂魔技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/刀臂魔技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill772Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 1); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetLevel () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill772.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill772.cs.meta new file mode 100644 index 0000000000..55f0c3a025 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill772.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7940eaabe957545c7a22ba389b2dd115 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill773.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill773.cs new file mode 100644 index 0000000000..4cff675a32 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill773.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill773 : Skill + { + public const int SKILL_ID = 773; + + public Skill773() : base(SKILL_ID) + { + } + } +#endif + + public class Skill773Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill773Stub() : base(773) + { + cls = 127; + name = "陷井之单击晕"; + nativename = "陷井之单击晕"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物刀臂魔技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/刀臂魔技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/刀臂魔技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill773Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 1); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetLevel () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill773.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill773.cs.meta new file mode 100644 index 0000000000..3a0a2acd6a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill773.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b379c3fd09cd84f5da7bfcf45e5ea4cd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill774.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill774.cs new file mode 100644 index 0000000000..03128a4c52 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill774.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill774 : Skill + { + public const int SKILL_ID = 774; + + public Skill774() : base(SKILL_ID) + { + } + } +#endif + + public class Skill774Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill774Stub() : base(774) + { + cls = 127; + name = "陷井之自爆倒数"; + nativename = "陷井之自爆倒数"; + icon = ""; + max_level = 5; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill774Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 1); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill774.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill774.cs.meta new file mode 100644 index 0000000000..e6d5df4295 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill774.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 49f7fb62d9402463cbc5fb5751434b50 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill775.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill775.cs new file mode 100644 index 0000000000..06cb57612f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill775.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill775 : Skill + { + public const int SKILL_ID = 775; + + public Skill775() : base(SKILL_ID) + { + } + } +#endif + + public class Skill775Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill775Stub() : base(775) + { + cls = 127; + name = "陷井之单封印"; + nativename = "陷井之单封印"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物喷蚁酸"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill775Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 1); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetLevel () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill775.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill775.cs.meta new file mode 100644 index 0000000000..761f1c1c95 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill775.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4a21a64cfb33d4fcbb03de2fb186afcc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill776.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill776.cs new file mode 100644 index 0000000000..c8fac72793 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill776.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill776 : Skill + { + public const int SKILL_ID = 776; + + public Skill776() : base(SKILL_ID) + { + } + } +#endif + + public class Skill776Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill776Stub() : base(776) + { + cls = 127; + name = "陷井之单加速"; + nativename = "陷井之单加速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill776Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (skill.GetMagicdamage () * 0.1f); + skill.GetVictim ().SetFastride (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => skill.GetLevel () + 5; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill776.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill776.cs.meta new file mode 100644 index 0000000000..81bdaec3b9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill776.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 829bc2040a30c427bbdcdc624050ae70 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill777.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill777.cs new file mode 100644 index 0000000000..b7a5680512 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill777.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill777 : Skill + { + public const int SKILL_ID = 777; + + public Skill777() : base(SKILL_ID) + { + } + } +#endif + + public class Skill777Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill777Stub() : base(777) + { + cls = 127; + name = "怪物自杀"; + nativename = "怪物自杀"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖缠击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖缠击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill777Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 2); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill777.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill777.cs.meta new file mode 100644 index 0000000000..8578937574 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill777.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1a3dfc9427a044ad79857175d43887c0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill778.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill778.cs new file mode 100644 index 0000000000..523ff0c2f3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill778.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill778 : Skill + { + public const int SKILL_ID = 778; + + public Skill778() : base(SKILL_ID) + { + } + } +#endif + + public class Skill778Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.5f * skill.GetLevel()); + skill.SetWooddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill778Stub() : base(778) + { + cls = 127; + name = "1级城战BOSS木系群攻"; + nativename = "1级城战BOSS木系群攻"; + icon = ""; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剧毒蛊"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剧毒蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剧毒蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill778Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill778.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill778.cs.meta new file mode 100644 index 0000000000..de7e440b43 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill778.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e81e27a6b62df47a2b1168dd449bd02b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill779.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill779.cs new file mode 100644 index 0000000000..dfa3c3c142 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill779.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill779 : Skill + { + public const int SKILL_ID = 779; + + public Skill779() : base(SKILL_ID) + { + } + } +#endif + + public class Skill779Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 150; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill779Stub() : base(779) + { + cls = 127; + name = "1级城战BOSS近身群晕"; + nativename = "1级城战BOSS近身群晕"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖缠击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖缠击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill779Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 + 1000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill779.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill779.cs.meta new file mode 100644 index 0000000000..a46fbea5c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill779.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d713c39ca3234441d86d8dbd5b84016e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill780.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill780.cs new file mode 100644 index 0000000000..924a728670 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill780.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill780 : Skill + { + public const int SKILL_ID = 780; + + public Skill780() : base(SKILL_ID) + { + } + } +#endif + + public class Skill780Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill780Stub() : base(780) + { + cls = 127; + name = "1级城战BOSS连续施毒"; + nativename = "1级城战BOSS连续施毒"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物喷蚁酸"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill780Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1700; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage ()); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill780.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill780.cs.meta new file mode 100644 index 0000000000..20f47d5dd1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill780.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9f6a790d9a89845b39e251c3704b6ecf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill781.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill781.cs new file mode 100644 index 0000000000..061b850731 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill781.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill781 : Skill + { + public const int SKILL_ID = 781; + + public Skill781() : base(SKILL_ID) + { + } + } +#endif + + public class Skill781Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill781Stub() : base(781) + { + cls = 127; + name = "1级城战BOSS狂暴"; + nativename = "1级城战BOSS狂暴"; + icon = ""; + max_level = 5; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill781Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.25f * 2); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.25f * 2); + skill.GetVictim ().SetFastattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill781.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill781.cs.meta new file mode 100644 index 0000000000..2569fd462d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill781.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fa5587e9053314c7db0b35093975a1c6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill782.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill782.cs new file mode 100644 index 0000000000..a9c889b571 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill782.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill782 : Skill + { + public const int SKILL_ID = 782; + + public Skill782() : base(SKILL_ID) + { + } + } +#endif + + public class Skill782Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill782Stub() : base(782) + { + cls = 127; + name = "1级城战BOSS杀人回血"; + nativename = "1级城战BOSS杀人回血"; + icon = ""; + max_level = 5; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill782Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 450; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.02f * skill.GetLevel ()); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill782.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill782.cs.meta new file mode 100644 index 0000000000..19c5ebf6e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill782.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8e050f01a6d0647bf95cc850c2cd6057 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill783.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill783.cs new file mode 100644 index 0000000000..80a24b0c2b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill783.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill783 : Skill + { + public const int SKILL_ID = 783; + + public Skill783() : base(SKILL_ID) + { + } + } +#endif + + public class Skill783Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill783Stub() : base(783) + { + cls = 127; + name = "1级城战BOSS全体HP减半"; + nativename = "1级城战BOSS全体HP减半"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物护甲使技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/护甲使技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill783Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1700; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetScaledechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill783.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill783.cs.meta new file mode 100644 index 0000000000..085ba89ffe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill783.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 36acbadf5591b4e1a9f9751a62951868 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill784.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill784.cs new file mode 100644 index 0000000000..5e6257aa07 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill784.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill784 : Skill + { + public const int SKILL_ID = 784; + + public Skill784() : base(SKILL_ID) + { + } + } +#endif + + public class Skill784Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.5f * skill.GetLevel()); + skill.SetWaterdamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill784Stub() : base(784) + { + cls = 127; + name = "1级城战BOSS水系群攻"; + nativename = "1级城战BOSS水系群攻"; + icon = ""; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物冰球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill784Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill784.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill784.cs.meta new file mode 100644 index 0000000000..f9eb64ebed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill784.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ab77bcc70610c47379ffc78f1506b895 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill785.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill785.cs new file mode 100644 index 0000000000..c16e1e4aba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill785.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill785 : Skill + { + public const int SKILL_ID = 785; + + public Skill785() : base(SKILL_ID) + { + } + } +#endif + + public class Skill785Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.25f * skill.GetLevel()); + skill.SetEarthdamage(skill.GetAttack()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill785Stub() : base(785) + { + cls = 127; + name = "1级城战BOSS土系群攻"; + nativename = "1级城战BOSS土系群攻"; + icon = ""; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "土殇"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/土殇击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill785Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill785.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill785.cs.meta new file mode 100644 index 0000000000..d44814a3e5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill785.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d2d966653cc0d40418de3ef994c62039 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill786.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill786.cs new file mode 100644 index 0000000000..5bc33bf812 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill786.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill786 : Skill + { + public const int SKILL_ID = 786; + + public Skill786() : base(SKILL_ID) + { + } + } +#endif + + public class Skill786Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill786Stub() : base(786) + { + cls = 127; + name = "1级城战BOSS限距伤害"; + nativename = "1级城战BOSS限距伤害"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽咒钝"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽咒钝飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽咒钝击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 30; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.2f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill786Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50 * skill.GetVictim ().GetLevel ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill786.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill786.cs.meta new file mode 100644 index 0000000000..62dd932395 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill786.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e3c4cd6a8f0c34eaa93f61cdc1ad5cb9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill787.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill787.cs new file mode 100644 index 0000000000..c7733e2582 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill787.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill787 : Skill + { + public const int SKILL_ID = 787; + + public Skill787() : base(SKILL_ID) + { + } + } +#endif + + public class Skill787Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill787Stub() : base(787) + { + cls = 127; + name = "1级城战BOSS单次吸魔"; + nativename = "1级城战BOSS单次吸魔"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物生命吸取"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/生命飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill787Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1700; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetScaledecmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill787.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill787.cs.meta new file mode 100644 index 0000000000..b48a65ed67 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill787.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a6c64940357c047ac90ab85a6ef539f0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill788.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill788.cs new file mode 100644 index 0000000000..c6fc69f786 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill788.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill788 : Skill + { + public const int SKILL_ID = 788; + + public Skill788() : base(SKILL_ID) + { + } + } +#endif + + public class Skill788Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill788Stub() : base(788) + { + cls = 127; + name = "1级城战BOSS持续吸魔"; + nativename = "1级城战BOSS持续吸魔"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物生命吸取"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/生命飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill788Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1700; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000 * skill.GetLevel ()); + skill.GetVictim ().SetAmount (3 * skill.GetLevel () * 1000); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill788.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill788.cs.meta new file mode 100644 index 0000000000..44e2c53e07 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill788.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aeed24c780e1a4799b364f625e211c81 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill789.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill789.cs new file mode 100644 index 0000000000..e7c92cc4da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill789.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill789 : Skill + { + public const int SKILL_ID = 789; + + public Skill789() : base(SKILL_ID) + { + } + } +#endif + + public class Skill789Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 450; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill789Stub() : base(789) + { + cls = 127; + name = "1级城战BOSS驱除正面状态"; + nativename = "1级城战BOSS驱除正面状态"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "驱逐咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/驱逐咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill789Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1700; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill789.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill789.cs.meta new file mode 100644 index 0000000000..2ece6611d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill789.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 321ba2c9f886f4df9bb79c5153be558d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill790.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill790.cs new file mode 100644 index 0000000000..faf16e111e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill790.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill790 : Skill + { + public const int SKILL_ID = 790; + + public Skill790() : base(SKILL_ID) + { + } + } +#endif + + public class Skill790Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.5f * skill.GetLevel()); + skill.SetWooddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill790Stub() : base(790) + { + cls = 127; + name = "1级城战BOSS减速毒"; + nativename = "1级城战BOSS减速毒"; + icon = ""; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "凌霜蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/凌霜蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌霜蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill790Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill790.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill790.cs.meta new file mode 100644 index 0000000000..15ae7b5b5b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill790.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e1867a3ede5214e17b2a23a1822b3d44 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill791.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill791.cs new file mode 100644 index 0000000000..0308691763 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill791.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill791 : Skill + { + public const int SKILL_ID = 791; + + public Skill791() : base(SKILL_ID) + { + } + } +#endif + + public class Skill791Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.5f * skill.GetLevel()); + skill.SetWooddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill791Stub() : base(791) + { + cls = 127; + name = "1级城战BOSS减吟唱毒"; + nativename = "1级城战BOSS减吟唱毒"; + icon = ""; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "炎蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/炎蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/炎蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill791Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill791.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill791.cs.meta new file mode 100644 index 0000000000..8a803e1050 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill791.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: edfa7ef2bfde6425bafcf3485df6498c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill792.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill792.cs new file mode 100644 index 0000000000..20ff731efc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill792.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill792 : Skill + { + public const int SKILL_ID = 792; + + public Skill792() : base(SKILL_ID) + { + } + } +#endif + + public class Skill792Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.5f * skill.GetLevel()); + skill.SetWooddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill792Stub() : base(792) + { + cls = 127; + name = "1级城战BOSS减命中毒"; + nativename = "1级城战BOSS减命中毒"; + icon = ""; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨石蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨石蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巨石蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill792Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetDecaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill792.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill792.cs.meta new file mode 100644 index 0000000000..fd4035c14e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill792.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3f6265e6ea8c94f01ba37e0a34d3380a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill793.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill793.cs new file mode 100644 index 0000000000..0812e2fe30 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill793.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill793 : Skill + { + public const int SKILL_ID = 793; + + public Skill793() : base(SKILL_ID) + { + } + } +#endif + + public class Skill793Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.5f * skill.GetLevel()); + skill.SetWooddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill793Stub() : base(793) + { + cls = 127; + name = "1级城战BOSS吸魔毒"; + nativename = "1级城战BOSS吸魔毒"; + icon = ""; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "铁岩蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/铁岩蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/铁岩蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)5; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill793Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetAmount (10000); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill793.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill793.cs.meta new file mode 100644 index 0000000000..457dcb5db2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill793.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f8541ad78b0214343a40d005e75a4330 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill794.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill794.cs new file mode 100644 index 0000000000..9222672296 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill794.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill794 : Skill + { + public const int SKILL_ID = 794; + + public Skill794() : base(SKILL_ID) + { + } + } +#endif + + public class Skill794Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.5f * skill.GetLevel()); + skill.SetWooddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill794Stub() : base(794) + { + cls = 127; + name = "1级城战BOSS减元气毒"; + nativename = "1级城战BOSS减元气毒"; + icon = ""; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "千蚁蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/千蚁蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/千蚁蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill794Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-50); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill794.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill794.cs.meta new file mode 100644 index 0000000000..53e94dde4a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill794.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 532b09db1eed540fc821662c3ee7424f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill795.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill795.cs new file mode 100644 index 0000000000..053a67f896 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill795.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill795 : Skill + { + public const int SKILL_ID = 795; + + public Skill795() : base(SKILL_ID) + { + } + } +#endif + + public class Skill795Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 40000, 60000, 80000 }; + private static readonly int[] RequiredItemArray = { 11707, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0); + skill.SetPlus(skill.GetPlayer().GetMaxhp() *(0.1f + 0.05f * skill.GetLevel())); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill795Stub() : base(795) + { + cls = 127; + name = "吸血"; + nativename = "吸血"; + icon = "宠物吸血"; + max_level = 3; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9402; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill795Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * (0.1f + 0.05f * skill.GetLevel ())); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill795.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill795.cs.meta new file mode 100644 index 0000000000..f2450781e5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill795.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4bb67e623c9a64d23a03148b668825cc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill796.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill796.cs new file mode 100644 index 0000000000..8fd301790e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill796.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill796 : Skill + { + public const int SKILL_ID = 796; + + public Skill796() : base(SKILL_ID) + { + } + } +#endif + + public class Skill796Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 40000, 60000, 80000 }; + private static readonly int[] RequiredItemArray = { 11708, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1); + skill.SetPlus(skill.GetPlayer().GetMaxhp() *(0.1f + 0.05f * skill.GetLevel())); + skill.SetDamage(skill.GetPlus()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill796Stub() : base(796) + { + cls = 127; + name = "吸魂"; + nativename = "吸魂"; + icon = "宠物吸魂"; + max_level = 3; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + time_type = 0; + showorder = 9403; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物生命吸取"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/生命飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill796Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (skill.GetT0 () * (0.1f + 0.05f * skill.GetLevel ())); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * (0.1f + 0.05f * skill.GetLevel ())); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMaxhp (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill796.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill796.cs.meta new file mode 100644 index 0000000000..2224e2fe8c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill796.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fd4ee6541031f47af85a4cf956a84e44 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill797.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill797.cs new file mode 100644 index 0000000000..fe36bd8877 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill797.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill797 : Skill + { + public const int SKILL_ID = 797; + + public Skill797() : base(SKILL_ID) + { + } + } +#endif + + public class Skill797Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 120000 }; + private static readonly int[] RequiredItemArray = { 11709 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0); + skill.SetPlus(0.5f *(skill.GetPlayer().GetMaxhp() - skill.GetPlayer().GetHp())); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill797Stub() : base(797) + { + cls = 127; + name = "夺命"; + nativename = "夺命"; + icon = "宠物夺命"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + is_senior = 1; + time_type = 0; + showorder = 9404; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(795, 3); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill797Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 5000; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (0.5f * (skill.GetPlayer ().GetMaxhp () - skill.GetPlayer ().GetHp ())); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill797.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill797.cs.meta new file mode 100644 index 0000000000..33426e8d92 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill797.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 632631b20c1064440a9bcc457956e19a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill798.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill798.cs new file mode 100644 index 0000000000..1235008003 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill798.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill798 : Skill + { + public const int SKILL_ID = 798; + + public Skill798() : base(SKILL_ID) + { + } + } +#endif + + public class Skill798Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 120000 }; + private static readonly int[] RequiredItemArray = { 11710 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1); + skill.SetPlus(0.5f *(skill.GetPlayer().GetMaxhp() - skill.GetPlayer().GetHp())); + skill.SetDamage(skill.GetPlus()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill798Stub() : base(798) + { + cls = 127; + name = "夺魄"; + nativename = "夺魄"; + icon = "宠物夺魄"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + is_senior = 1; + posdouble = 0; + time_type = 0; + showorder = 9405; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物生命吸取"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/生命飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(796, 3); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill798Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 5000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (skill.GetT0 ()); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (0.5f * (skill.GetPlayer ().GetMaxhp () - skill.GetPlayer ().GetHp ())); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => 0.5 * (player.GetMaxhp () - player.GetHp ()); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill798.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill798.cs.meta new file mode 100644 index 0000000000..bdfefd5f62 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill798.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 17f4c231c3167459b82c1e156af83203 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill799.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill799.cs new file mode 100644 index 0000000000..c24f644180 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill799.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill799 : Skill + { + public const int SKILL_ID = 799; + + public Skill799() : base(SKILL_ID) + { + } + } +#endif + + public class Skill799Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 60 }; + private static readonly int[] RequiredSpArray = { 75000 }; + private static readonly int[] RequiredItemArray = { 11711 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetHp(skill.GetPlayer().GetHp() * 0.25f); + skill.SetRatio(3); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill799Stub() : base(799) + { + cls = 127; + name = "牺牲"; + nativename = "牺牲"; + icon = "宠物牺牲"; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9406; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物女王技能攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/女王技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill799Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill799.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill799.cs.meta new file mode 100644 index 0000000000..dd6b6599a6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill799.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1149e8c2c4e874e298db810ee5d338e1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill800.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill800.cs new file mode 100644 index 0000000000..8730ee4510 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill800.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill800 : Skill + { + public const int SKILL_ID = 800; + + public Skill800() : base(SKILL_ID) + { + } + } +#endif + + public class Skill800Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 30, 45, 60, 75, 90 }; + private static readonly int[] RequiredSpArray = { 20000, 40000, 60000, 80000, 100000 }; + private static readonly int[] RequiredItemArray = { 11712, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill800Stub() : base(800) + { + cls = 127; + name = "破杀"; + nativename = "破杀"; + icon = "宠物破杀"; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 9407; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物人马技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/人马技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill800Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10 * skill.GetPlayer ().GetLevel () * (3 + skill.GetLevel ()); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (200 * skill.GetLevel ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill800.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill800.cs.meta new file mode 100644 index 0000000000..feb3866deb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill800.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3e19d69a45f4d42efaf6ac313de1b745 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill801.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill801.cs new file mode 100644 index 0000000000..411d8d2586 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill801.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill801 : Skill + { + public const int SKILL_ID = 801; + + public Skill801() : base(SKILL_ID) + { + } + } +#endif + + public class Skill801Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 10000, 20000, 30000, 40000, 50000 }; + private static readonly int[] RequiredItemArray = { 11713, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill801Stub() : base(801) + { + cls = 127; + name = "反震"; + nativename = "反震"; + icon = "宠物反震"; + max_level = 5; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 9301; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "荆棘术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/荆棘符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill801Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.2f + 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetRetort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill801.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill801.cs.meta new file mode 100644 index 0000000000..93238f46c4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill801.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1a1d17f5da50a44ccafa9cfda7f6fc8a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill802.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill802.cs new file mode 100644 index 0000000000..4bccb41579 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill802.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill802 : Skill + { + public const int SKILL_ID = 802; + + public Skill802() : base(SKILL_ID) + { + } + } +#endif + + public class Skill802Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 15000, 30000, 45000, 60000, 75000 }; + private static readonly int[] RequiredItemArray = { 11714, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill802Stub() : base(802) + { + cls = 127; + name = "利爪"; + nativename = "利爪"; + icon = "宠物利爪"; + max_level = 5; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 9302; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill802Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.05f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill802.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill802.cs.meta new file mode 100644 index 0000000000..a0c2b628bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill802.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c4d9c96cd284d4947888362e4ff112ba \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill803.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill803.cs new file mode 100644 index 0000000000..92db83e7c4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill803.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill803 : Skill + { + public const int SKILL_ID = 803; + + public Skill803() : base(SKILL_ID) + { + } + } +#endif + + public class Skill803Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 10000, 20000, 30000, 40000, 50000 }; + private static readonly int[] RequiredItemArray = { 11715, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill803Stub() : base(803) + { + cls = 127; + name = "驱魔"; + nativename = "驱魔"; + icon = "宠物驱魔"; + max_level = 5; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 9303; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "灵助符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/灵助符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill803Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.3f * skill.GetLevel ()); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill803.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill803.cs.meta new file mode 100644 index 0000000000..fc43707a93 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill803.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 559e361365c84416a8ed90df1676b00f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill804.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill804.cs new file mode 100644 index 0000000000..b1a147b3a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill804.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill804 : Skill + { + public const int SKILL_ID = 804; + + public Skill804() : base(SKILL_ID) + { + } + } +#endif + + public class Skill804Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 10000, 20000, 30000, 40000, 50000 }; + private static readonly int[] RequiredItemArray = { 11716, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill804Stub() : base(804) + { + cls = 127; + name = "坚甲"; + nativename = "坚甲"; + icon = "宠物厚皮"; + max_level = 5; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 9304; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "坚甲符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/坚甲符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill804Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.3f * skill.GetLevel ()); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill804.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill804.cs.meta new file mode 100644 index 0000000000..9f4701fdbd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill804.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4b53884ad66bb45eeba1aa560fc9f7e7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill805.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill805.cs new file mode 100644 index 0000000000..969327c996 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill805.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill805 : Skill + { + public const int SKILL_ID = 805; + + public Skill805() : base(SKILL_ID) + { + } + } +#endif + + public class Skill805Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 20, 40, 60, 80 }; + private static readonly int[] RequiredSpArray = { 20000, 40000, 60000, 80000, 100000 }; + private static readonly int[] RequiredItemArray = { 11717, 11689, 11689, 11689, 11689 }; + private static readonly int[] RequiredMoneyArray = { 0, 0, 0, 0, 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill805Stub() : base(805) + { + cls = 127; + name = "祝福"; + nativename = "祝福"; + icon = "宠物强体"; + max_level = 5; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 9305; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "兽王鼓舞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王鼓舞击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill805Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.05f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill805.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill805.cs.meta new file mode 100644 index 0000000000..9f822cafc3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill805.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8dda591a22c8149ccbabec2d63c18b39 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill806.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill806.cs new file mode 100644 index 0000000000..63d5d2c0d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill806.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill806 : Skill + { + public const int SKILL_ID = 806; + + public Skill806() : base(SKILL_ID) + { + } + } +#endif + + public class Skill806Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill806Stub() : base(806) + { + cls = 127; + name = "赛马群加速"; + nativename = "赛马群加速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill806Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (skill.GetMagicdamage () * 0.2f + 0.2f); + skill.GetVictim ().SetFastride (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.95f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill806.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill806.cs.meta new file mode 100644 index 0000000000..d0053c7506 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill806.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3530acdbaf5ff4517b9df2cf3653f3ac \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill807.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill807.cs new file mode 100644 index 0000000000..ced27b842c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill807.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill807 : Skill + { + public const int SKILL_ID = 807; + + public Skill807() : base(SKILL_ID) + { + } + } +#endif + + public class Skill807Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.25f + 0.25f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill807Stub() : base(807) + { + cls = 127; + name = "2级城战BOSS降吟唱"; + nativename = "2级城战BOSS降吟唱"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物炼狱君主技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/炼狱君主技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill807Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 400; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 16f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill807.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill807.cs.meta new file mode 100644 index 0000000000..9a06f09ca5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill807.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e6569ec7b930546e0bdd899a1909ce46 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill808.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill808.cs new file mode 100644 index 0000000000..e4d1872be7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill808.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill808 : Skill + { + public const int SKILL_ID = 808; + + public Skill808() : base(SKILL_ID) + { + } + } +#endif + + public class Skill808Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill808Stub() : base(808) + { + cls = 127; + name = "新怪之群体金系攻击"; + nativename = "新怪之群体金系攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物光翼技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/光翼技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/光翼技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill808Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill808.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill808.cs.meta new file mode 100644 index 0000000000..2aaa3bd81d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill808.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cc91bbf28390b48efbff2e68e13c924c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill814.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill814.cs new file mode 100644 index 0000000000..41d9d1d419 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill814.cs @@ -0,0 +1,156 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill814 : Skill + { + public const int SKILL_ID = 814; + + public Skill814() : base(SKILL_ID) + { + } + } +#endif + + public class Skill814Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill814Stub() : base(814) + { + cls = 127; + name = "怪物无效果自杀"; + nativename = "怪物无效果自杀"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "0"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill814Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 2); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill814.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill814.cs.meta new file mode 100644 index 0000000000..6dfc674637 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill814.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7de89956f219f4bb39a8ca93dc5052d5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill815.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill815.cs new file mode 100644 index 0000000000..eaf69f619f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill815.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill815 : Skill + { + public const int SKILL_ID = 815; + + public Skill815() : base(SKILL_ID) + { + } + } +#endif + + public class Skill815Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill815Stub() : base(815) + { + cls = 127; + name = "怪物火效果自杀"; + nativename = "怪物火效果自杀"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物护甲使技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/护甲使技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill815Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 2); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill815.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill815.cs.meta new file mode 100644 index 0000000000..c6a7ee4e9d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill815.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7cfdae14c6aae40ac8987ebff5ff1bc2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill816.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill816.cs new file mode 100644 index 0000000000..4b1adadcba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill816.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill816 : Skill + { + public const int SKILL_ID = 816; + + public Skill816() : base(SKILL_ID) + { + } + } +#endif + + public class Skill816Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill816Stub() : base(816) + { + cls = 127; + name = "怪物水效果自杀"; + nativename = "怪物水效果自杀"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物护剑使技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/护剑使技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill816Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 2); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill816.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill816.cs.meta new file mode 100644 index 0000000000..d90d1b735a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill816.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aecd7307309ca446e893061e97dbd380 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill817.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill817.cs new file mode 100644 index 0000000000..18369c80e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill817.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill817 : Skill + { + public const int SKILL_ID = 817; + + public Skill817() : base(SKILL_ID) + { + } + } +#endif + + public class Skill817Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill817Stub() : base(817) + { + cls = 127; + name = "金花婆婆落雷术"; + nativename = "金花婆婆落雷术"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物霹雳术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/头顶一道霹雳.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill817Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel () - 0.05f); + skill.GetVictim ().SetDechp (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill817.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill817.cs.meta new file mode 100644 index 0000000000..df6ac0f6dc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill817.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 240ce8ed7b0e249eabc26d2ec9071a64 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill818.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill818.cs new file mode 100644 index 0000000000..8b12d1eaf2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill818.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill818 : Skill + { + public const int SKILL_ID = 818; + + public Skill818() : base(SKILL_ID) + { + } + } +#endif + + public class Skill818Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill818Stub() : base(818) + { + cls = 127; + name = "赛马群保护"; + nativename = "赛马群保护"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill818Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.95f); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill818.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill818.cs.meta new file mode 100644 index 0000000000..d1a77f2f16 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill818.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b29c66a89c1814549a57a0486c13233e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill819.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill819.cs new file mode 100644 index 0000000000..6e88e83797 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill819.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill819 : Skill + { + public const int SKILL_ID = 819; + + public Skill819() : base(SKILL_ID) + { + } + } +#endif + + public class Skill819Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill819Stub() : base(819) + { + cls = 127; + name = "物品技能-神之药剂"; + nativename = "物品技能-神之药剂"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill819Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill819.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill819.cs.meta new file mode 100644 index 0000000000..b6112008e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill819.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 31533863a333e478ba1a3a5d7d90893c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill820.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill820.cs new file mode 100644 index 0000000000..cf30648600 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill820.cs @@ -0,0 +1,174 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill820 : Skill + { + public const int SKILL_ID = 820; + + public Skill820() : base(SKILL_ID) + { + } + } +#endif + + public class Skill820Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.2f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill820Stub() : base(820) + { + cls = 127; + name = "黄昏新加物理群攻击"; + nativename = "黄昏新加物理群攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "九子鬼母技能"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/骷髅头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/九子鬼母技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = true; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill820Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill820.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill820.cs.meta new file mode 100644 index 0000000000..0056dd6891 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill820.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 172ff35667e514471be7d3c1f46e39cf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill821.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill821.cs new file mode 100644 index 0000000000..567efe7d6a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill821.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill821 : Skill + { + public const int SKILL_ID = 821; + + public Skill821() : base(SKILL_ID) + { + } + } +#endif + + public class Skill821Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill821Stub() : base(821) + { + cls = 127; + name = "黄昏新加群降HP上限"; + nativename = "黄昏新加群降HP上限"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物炼狱君主技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/炼狱君主技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill821Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 50f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.08f * skill.GetLevel ()); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill821.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill821.cs.meta new file mode 100644 index 0000000000..1bd7c694ab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill821.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2fc89c3d54b9742308471a58179aa881 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill822.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill822.cs new file mode 100644 index 0000000000..7ab6f9d932 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill822.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill822 : Skill + { + public const int SKILL_ID = 822; + + public Skill822() : base(SKILL_ID) + { + } + } +#endif + + public class Skill822Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill822Stub() : base(822) + { + cls = 127; + name = "黄昏新加BOSS强化"; + nativename = "黄昏新加BOSS强化"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "城战boss升级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "程序联入/角色升级人类.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌波微步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill822Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill822.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill822.cs.meta new file mode 100644 index 0000000000..ed833d7829 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill822.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6b50c55be643d4b3582e484d06ea3b64 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill823.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill823.cs new file mode 100644 index 0000000000..3521d35bc7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill823.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill823 : Skill + { + public const int SKILL_ID = 823; + + public Skill823() : base(SKILL_ID) + { + } + } +#endif + + public class Skill823Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill823Stub() : base(823) + { + cls = 127; + name = "黄昏新加千人斩"; + nativename = "黄昏新加千人斩"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "城战boss升级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "程序联入/角色升级人类.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌波微步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill823Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill823.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill823.cs.meta new file mode 100644 index 0000000000..aed7c3d509 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill823.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d166691d4dd9a491fa999fca6e0e57eb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill824.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill824.cs new file mode 100644 index 0000000000..c7dd618632 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill824.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill824 : Skill + { + public const int SKILL_ID = 824; + + public Skill824() : base(SKILL_ID) + { + } + } +#endif + + public class Skill824Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill824Stub() : base(824) + { + cls = 127; + name = "黄昏新加假无敌"; + nativename = "黄昏新加假无敌"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill824Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill824.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill824.cs.meta new file mode 100644 index 0000000000..cadd01f441 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill824.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a27ee2a490d3d4b1196cef37812268d0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill826.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill826.cs new file mode 100644 index 0000000000..4c3fd602a5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill826.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill826 : Skill + { + public const int SKILL_ID = 826; + + public Skill826() : base(SKILL_ID) + { + } + } +#endif + + public class Skill826Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.5f * skill.GetLevel()); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill826Stub() : base(826) + { + cls = 127; + name = "黄昏新加扔炸弹"; + nativename = "黄昏新加扔炸弹"; + icon = ""; + max_level = 5; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "箭塔攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/土魔法飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill826Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill826.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill826.cs.meta new file mode 100644 index 0000000000..330100e681 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill826.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d445a4680c95245939fd44163940dc0a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill827.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill827.cs new file mode 100644 index 0000000000..05f1efc0b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill827.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill827 : Skill + { + public const int SKILL_ID = 827; + + public Skill827() : base(SKILL_ID) + { + } + } +#endif + + public class Skill827Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.99f); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill827Stub() : base(827) + { + cls = 127; + name = "黄昏新加单体秒杀"; + nativename = "黄昏新加单体秒杀"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物炼狱君主技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/炼狱君主技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill827Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 400; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50000); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill827.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill827.cs.meta new file mode 100644 index 0000000000..8f1a795455 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill827.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 594b4d58c6d4d4f4fa3dde0381a1d53a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill828.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill828.cs new file mode 100644 index 0000000000..3b538f45f6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill828.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill828 : Skill + { + public const int SKILL_ID = 828; + + public Skill828() : base(SKILL_ID) + { + } + } +#endif + + public class Skill828Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill828Stub() : base(828) + { + cls = 127; + name = "黄昏新加神耀"; + nativename = "黄昏新加神耀"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "城战boss升级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "程序联入/角色升级人类.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌波微步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill828Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (399); + skill.GetVictim ().SetAp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetValue (0.5f); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill828.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill828.cs.meta new file mode 100644 index 0000000000..1901f602ac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill828.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fa463a9dc9b114fa5a18f155657d390f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill829.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill829.cs new file mode 100644 index 0000000000..e8e005c860 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill829.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill829 : Skill + { + public const int SKILL_ID = 829; + + public Skill829() : base(SKILL_ID) + { + } + } +#endif + + public class Skill829Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill829Stub() : base(829) + { + cls = 127; + name = "黄昏新加群体眩晕"; + nativename = "黄昏新加群体眩晕"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "城战boss近身击晕"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "人物/技能/武侠/狮子吼施放1.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill829Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(5 * skill.GetLevel() + 10); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill829.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill829.cs.meta new file mode 100644 index 0000000000..859e24b03f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill829.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 07826a248f7884ff8a0a453cafc7edfa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill830.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill830.cs new file mode 100644 index 0000000000..ca4528cf31 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill830.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill830 : Skill + { + public const int SKILL_ID = 830; + + public Skill830() : base(SKILL_ID) + { + } + } +#endif + + public class Skill830Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill830Stub() : base(830) + { + cls = 127; + name = "黄昏新加怪物加速"; + nativename = "黄昏新加怪物加速"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill830Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill830.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill830.cs.meta new file mode 100644 index 0000000000..0a4d2260ac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill830.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cfa9fc7d636684b2fbc63df2a21c86d9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill831.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill831.cs new file mode 100644 index 0000000000..702fad9493 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill831.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill831 : Skill + { + public const int SKILL_ID = 831; + + public Skill831() : base(SKILL_ID) + { + } + } +#endif + + public class Skill831Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.3f * skill.GetLevel()); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill831Stub() : base(831) + { + cls = 127; + name = "黄昏新加扇型攻击"; + nativename = "黄昏新加扇型攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剧毒蛊"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剧毒蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剧毒蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill831Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 150); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill831.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill831.cs.meta new file mode 100644 index 0000000000..7d72421572 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill831.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: af00740a5b37a47b59258648cf3664e0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill832.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill832.cs new file mode 100644 index 0000000000..2f1c261eaa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill832.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill832 : Skill + { + public const int SKILL_ID = 832; + + public Skill832() : base(SKILL_ID) + { + } + } +#endif + + public class Skill832Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill832Stub() : base(832) + { + cls = 127; + name = "黄昏新加群体昏睡"; + nativename = "黄昏新加群体昏睡"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体催眠术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/怪物催眠飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/催眠击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill832Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(15 + 2 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(10 + 2 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill832.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill832.cs.meta new file mode 100644 index 0000000000..c4553cd64d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill832.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a90a28c1afb904894908e7ddde879979 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill833.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill833.cs new file mode 100644 index 0000000000..ec00815612 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill833.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill833 : Skill + { + public const int SKILL_ID = 833; + + public Skill833() : base(SKILL_ID) + { + } + } +#endif + + public class Skill833Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill833Stub() : base(833) + { + cls = 127; + name = "黄昏新加毒气弹"; + nativename = "黄昏新加毒气弹"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "箭塔攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/土魔法飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill833Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetT0 () * 0.3f * skill.GetLevel ()); + skill.GetVictim ().SetFallen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 3f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill833.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill833.cs.meta new file mode 100644 index 0000000000..cede237e4d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill833.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 65550d179c7f64cac8a1cac75622a012 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill834.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill834.cs new file mode 100644 index 0000000000..56ba28afb4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill834.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill834 : Skill + { + public const int SKILL_ID = 834; + + public Skill834() : base(SKILL_ID) + { + } + } +#endif + + public class Skill834Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 1 * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill834Stub() : base(834) + { + cls = 127; + name = "黄昏新加单体攻击"; + nativename = "黄昏新加单体攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物炼狱君主技能攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/炼狱君主技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill834Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 400; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill834.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill834.cs.meta new file mode 100644 index 0000000000..03013b9114 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill834.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 184f7b35532b84f92b1f0dbf870f0032 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill835.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill835.cs new file mode 100644 index 0000000000..ca12181bd7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill835.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill835 : Skill + { + public const int SKILL_ID = 835; + + public Skill835() : base(SKILL_ID) + { + } + } +#endif + + public class Skill835Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill835Stub() : base(835) + { + cls = 127; + name = "黄昏新加抽蓝炸弹"; + nativename = "黄昏新加抽蓝炸弹"; + icon = ""; + max_level = 5; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "箭塔攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/土魔法飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill835Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetAmount (120000); + skill.GetVictim ().SetMagicleak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetDecaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill835.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill835.cs.meta new file mode 100644 index 0000000000..530c2fe011 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill835.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f45bc20f3ef0f453fb5969ebeed199f3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill836.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill836.cs new file mode 100644 index 0000000000..87cab3f11d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill836.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill836 : Skill + { + public const int SKILL_ID = 836; + + public Skill836() : base(SKILL_ID) + { + } + } +#endif + + public class Skill836Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 1.2f * skill.GetLevel()); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill836Stub() : base(836) + { + cls = 127; + name = "金系单体魔伤"; + nativename = "金系单体魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物闪电术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/闪电飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill836Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDecdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill836.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill836.cs.meta new file mode 100644 index 0000000000..2d7be37306 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill836.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6389e67d798c54e719e7931d8f4b7046 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill837.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill837.cs new file mode 100644 index 0000000000..9d8139312e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill837.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill837 : Skill + { + public const int SKILL_ID = 837; + + public Skill837() : base(SKILL_ID) + { + } + } +#endif + + public class Skill837Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 1.2f * skill.GetLevel()); + skill.SetWaterdamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill837Stub() : base(837) + { + cls = 127; + name = "水系单体魔伤"; + nativename = "水系单体魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物水漩涡"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/脚下涌起水柱.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill837Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.2f * skill.GetMagicdamage ()); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill837.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill837.cs.meta new file mode 100644 index 0000000000..a2adaf218b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill837.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 299ee32b3be304e4c81590b926c065b1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill838.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill838.cs new file mode 100644 index 0000000000..461ac788b7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill838.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill838 : Skill + { + public const int SKILL_ID = 838; + + public Skill838() : base(SKILL_ID) + { + } + } +#endif + + public class Skill838Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 1.2f * skill.GetLevel()); + skill.SetFiredamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill838Stub() : base(838) + { + cls = 127; + name = "火系单体魔伤"; + nativename = "火系单体魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物火球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/带尾焰的火球.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/爆炸效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill838Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.2f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill838.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill838.cs.meta new file mode 100644 index 0000000000..b8be4951c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill838.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 62bc9ceddc2574ca88603f1b28050efc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill839.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill839.cs new file mode 100644 index 0000000000..94afd2cdbe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill839.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill839 : Skill + { + public const int SKILL_ID = 839; + + public Skill839() : base(SKILL_ID) + { + } + } +#endif + + public class Skill839Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 1.2f * skill.GetLevel()); + skill.SetWooddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill839Stub() : base(839) + { + cls = 127; + name = "木系单体魔伤"; + nativename = "木系单体魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剧毒蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剧毒蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剧毒蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill839Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill839.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill839.cs.meta new file mode 100644 index 0000000000..6235fab492 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill839.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5fc90f345b9d64cbc99d5404876feee8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill840.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill840.cs new file mode 100644 index 0000000000..a6a7e99ccd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill840.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill840 : Skill + { + public const int SKILL_ID = 840; + + public Skill840() : base(SKILL_ID) + { + } + } +#endif + + public class Skill840Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 1.2f * skill.GetLevel()); + skill.SetEarthdamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill840Stub() : base(840) + { + cls = 127; + name = "土系单体魔伤"; + nativename = "土系单体魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物掷石"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/石头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/石头击碎.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill840Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDecattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill840.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill840.cs.meta new file mode 100644 index 0000000000..052b403fbd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill840.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a6339058fe3ef4be18cf3360559d2783 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill841.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill841.cs new file mode 100644 index 0000000000..76c38f17f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill841.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill841 : Skill + { + public const int SKILL_ID = 841; + + public Skill841() : base(SKILL_ID) + { + } + } +#endif + + public class Skill841Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 1.2f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill841Stub() : base(841) + { + cls = 127; + name = "物理单体物伤"; + nativename = "物理单体物伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨型沙虫攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill841Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.5f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill841.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill841.cs.meta new file mode 100644 index 0000000000..bbe9484892 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill841.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dea8e02b3a59542c6bbe1ee5cb7119f7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill842.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill842.cs new file mode 100644 index 0000000000..88a4a7d7b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill842.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill842 : Skill + { + public const int SKILL_ID = 842; + + public Skill842() : base(SKILL_ID) + { + } + } +#endif + + public class Skill842Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.6f * skill.GetLevel()); + skill.SetGolddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill842Stub() : base(842) + { + cls = 127; + name = "金系群体魔伤"; + nativename = "金系群体魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "狂雷天威"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/狂雷天威击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 10000; + m_bTraceTarget = true; + m_FlyClusterCount = 6; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 11.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill842Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (0.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (0.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill842.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill842.cs.meta new file mode 100644 index 0000000000..acd0d43e63 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill842.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 55416b51d970a485cb62baa928506da5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill843.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill843.cs new file mode 100644 index 0000000000..a659574d45 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill843.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill843 : Skill + { + public const int SKILL_ID = 843; + + public Skill843() : base(SKILL_ID) + { + } + } +#endif + + public class Skill843Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.6f * skill.GetLevel()); + skill.SetWaterdamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill843Stub() : base(843) + { + cls = 127; + name = "水系群体魔伤"; + nativename = "水系群体魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "玄冰水龙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/玄冰水龙击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 10000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 5.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill843Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (0.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill843.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill843.cs.meta new file mode 100644 index 0000000000..1a69bb9699 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill843.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5825ff1471c5d4fb4a240beaf415149e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill844.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill844.cs new file mode 100644 index 0000000000..1103a239c6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill844.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill844 : Skill + { + public const int SKILL_ID = 844; + + public Skill844() : base(SKILL_ID) + { + } + } +#endif + + public class Skill844Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.6f * skill.GetLevel()); + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill844Stub() : base(844) + { + cls = 127; + name = "火系群体魔伤"; + nativename = "火系群体魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "火海刀山"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/火海刀山击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2200; + m_bTraceTarget = false; + m_FlyClusterCount = 22; + m_FlyClusterInterval = 60; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 8.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill844Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (0.5f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDecresist (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (0.5f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill844.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill844.cs.meta new file mode 100644 index 0000000000..770dbf3f2b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill844.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: efd275a4f5c554048a3ce45e7fae6fe3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill845.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill845.cs new file mode 100644 index 0000000000..2d8fe36835 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill845.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill845 : Skill + { + public const int SKILL_ID = 845; + + public Skill845() : base(SKILL_ID) + { + } + } +#endif + + public class Skill845Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.6f * skill.GetLevel()); + skill.SetWooddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill845Stub() : base(845) + { + cls = 127; + name = "木系群体魔伤"; + nativename = "木系群体魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "万蛊食天"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/万蛊食天飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)9; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 20; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(10.0f, 10.0f, 10.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 20.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill845Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill845.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill845.cs.meta new file mode 100644 index 0000000000..bd975c2ec9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill845.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bec090854054d4a3dbdec3ce2bc0c030 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill846.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill846.cs new file mode 100644 index 0000000000..72a81cc724 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill846.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill846 : Skill + { + public const int SKILL_ID = 846; + + public Skill846() : base(SKILL_ID) + { + } + } +#endif + + public class Skill846Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.6f * skill.GetLevel()); + skill.SetEarthdamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill846Stub() : base(846) + { + cls = 127; + name = "土系群体魔伤"; + nativename = "土系群体魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "泰山压顶"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/泰山石.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/被泰山砸中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)3; + m_TargetMode = (GfxTargetMode)2; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 700; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill846Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill846.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill846.cs.meta new file mode 100644 index 0000000000..557cc97885 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill846.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 293902dac6828440fa46b05cc53c33e6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill847.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill847.cs new file mode 100644 index 0000000000..2218b46618 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill847.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill847 : Skill + { + public const int SKILL_ID = 847; + + public Skill847() : base(SKILL_ID) + { + } + } +#endif + + public class Skill847Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 0.6f * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill847Stub() : base(847) + { + cls = 127; + name = "物理群体物伤"; + nativename = "物理群体物伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "万剑诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/万剑诀飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill847Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (0.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDecattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (0.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDecmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill847.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill847.cs.meta new file mode 100644 index 0000000000..c795e13f88 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill847.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f2b688c939fd840f8b41eaae3b728c21 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill848.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill848.cs new file mode 100644 index 0000000000..49a97705ad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill848.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill848 : Skill + { + public const int SKILL_ID = 848; + + public Skill848() : base(SKILL_ID) + { + } + } +#endif + + public class Skill848Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill848Stub() : base(848) + { + cls = 127; + name = "金系单体持续魔伤"; + nativename = "金系单体持续魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神雷"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/神雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill848Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetDamage () * 1.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetThunder (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.4f * skill.GetLevel ()); + skill.GetVictim ().SetDecaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill848.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill848.cs.meta new file mode 100644 index 0000000000..78c8fb715f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill848.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e43404c9b720148d7bc4f03868e5ad59 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill849.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill849.cs new file mode 100644 index 0000000000..01df906026 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill849.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill849 : Skill + { + public const int SKILL_ID = 849; + + public Skill849() : base(SKILL_ID) + { + } + } +#endif + + public class Skill849Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill849Stub() : base(849) + { + cls = 127; + name = "木系单体持续魔伤"; + nativename = "木系单体持续魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "高级怪物毒魔法攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill849Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetDamage () * 1.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (3000 * skill.GetLevel ()); + skill.GetVictim ().SetMagicleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill849.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill849.cs.meta new file mode 100644 index 0000000000..b2ca20596c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill849.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3a548c4ee57e34f0dbf24f05364ca9d9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill850.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill850.cs new file mode 100644 index 0000000000..29c102c801 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill850.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill850 : Skill + { + public const int SKILL_ID = 850; + + public Skill850() : base(SKILL_ID) + { + } + } +#endif + + public class Skill850Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill850Stub() : base(850) + { + cls = 127; + name = "水系单体持续魔伤"; + nativename = "水系单体持续魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "高级怪物水魔法攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/水魔法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill850Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetDamage () * 1.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetFlood (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel () - 0.05f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill850.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill850.cs.meta new file mode 100644 index 0000000000..930487d240 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill850.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 31ed177127e0e441abccd1cfa900b508 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill851.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill851.cs new file mode 100644 index 0000000000..b030b343fd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill851.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill851 : Skill + { + public const int SKILL_ID = 851; + + public Skill851() : base(SKILL_ID) + { + } + } +#endif + + public class Skill851Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill851Stub() : base(851) + { + cls = 127; + name = "火系单体持续魔伤"; + nativename = "火系单体持续魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物喷火术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/燃烧.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill851Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetDamage () * 1.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetBurning (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (10 * skill.GetLevel ()); + skill.GetVictim ().SetApleak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill851.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill851.cs.meta new file mode 100644 index 0000000000..86036cb138 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill851.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8bf17a6c751444d4698d8b66702f5632 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill852.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill852.cs new file mode 100644 index 0000000000..6cd624c17f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill852.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill852 : Skill + { + public const int SKILL_ID = 852; + + public Skill852() : base(SKILL_ID) + { + } + } +#endif + + public class Skill852Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill852Stub() : base(852) + { + cls = 127; + name = "土系单体持续魔伤"; + nativename = "土系单体持续魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "土殇"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/土殇击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill852Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetDamage () * 1.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetFallen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill852.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill852.cs.meta new file mode 100644 index 0000000000..195fc7ce09 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill852.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cbcbc40db6dc54685bd725d1f26b9004 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill853.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill853.cs new file mode 100644 index 0000000000..6ae106a7b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill853.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill853 : Skill + { + public const int SKILL_ID = 853; + + public Skill853() : base(SKILL_ID) + { + } + } +#endif + + public class Skill853Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill853Stub() : base(853) + { + cls = 127; + name = "物理单体持续魔伤"; + nativename = "物理单体持续魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "流水"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/流水击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill853Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetDamage () * 1.4f * skill.GetMagicdamage ()); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-30 * skill.GetLevel ()); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill853.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill853.cs.meta new file mode 100644 index 0000000000..24e47da301 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill853.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2c37d2b42149142488337f7e7644836c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill854.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill854.cs new file mode 100644 index 0000000000..3dcfb9085a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill854.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill854 : Skill + { + public const int SKILL_ID = 854; + + public Skill854() : base(SKILL_ID) + { + } + } +#endif + + public class Skill854Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill854Stub() : base(854) + { + cls = 127; + name = "金系群体持续魔伤"; + nativename = "金系群体持续魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "雷链"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/雷链飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/雷链击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill854Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetDamage () * skill.GetMagicdamage ()); + skill.GetVictim ().SetThunder (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetReducegold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill854.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill854.cs.meta new file mode 100644 index 0000000000..d1e3a288e2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill854.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ebc55360fb38f4c6997eea25c20761de \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill855.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill855.cs new file mode 100644 index 0000000000..7e3f3ccb16 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill855.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill855 : Skill + { + public const int SKILL_ID = 855; + + public Skill855() : base(SKILL_ID) + { + } + } +#endif + + public class Skill855Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill855Stub() : base(855) + { + cls = 127; + name = "木系群体持续魔伤"; + nativename = "木系群体持续魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剧毒蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剧毒蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剧毒蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill855Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetDamage () * skill.GetMagicdamage ()); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetReducewood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill855.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill855.cs.meta new file mode 100644 index 0000000000..6fabdf0e07 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill855.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1920ed0b3be794333a6a1e7d62438f8f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill856.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill856.cs new file mode 100644 index 0000000000..23faf432a2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill856.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill856 : Skill + { + public const int SKILL_ID = 856; + + public Skill856() : base(SKILL_ID) + { + } + } +#endif + + public class Skill856Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill856Stub() : base(856) + { + cls = 127; + name = "水系群体持续魔伤"; + nativename = "水系群体持续魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "凌杀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/凌杀飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌杀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill856Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetDamage () * skill.GetMagicdamage ()); + skill.GetVictim ().SetFlood (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetReducewater (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill856.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill856.cs.meta new file mode 100644 index 0000000000..0c0cfd094c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill856.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0a89ffaab8884464a8838b513693a5ff \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill857.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill857.cs new file mode 100644 index 0000000000..8f2864811b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill857.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill857 : Skill + { + public const int SKILL_ID = 857; + + public Skill857() : base(SKILL_ID) + { + } + } +#endif + + public class Skill857Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill857Stub() : base(857) + { + cls = 127; + name = "火系群体持续魔伤"; + nativename = "火系群体持续魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物火球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/带尾焰的火球.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/爆炸效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill857Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetDamage () * skill.GetMagicdamage ()); + skill.GetVictim ().SetBurning (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetReducefire (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill857.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill857.cs.meta new file mode 100644 index 0000000000..d105f5e233 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill857.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 29088d37c00d24faa8fe41bfd879c5b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill858.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill858.cs new file mode 100644 index 0000000000..47a269449d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill858.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill858 : Skill + { + public const int SKILL_ID = 858; + + public Skill858() : base(SKILL_ID) + { + } + } +#endif + + public class Skill858Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill858Stub() : base(858) + { + cls = 127; + name = "土系群体持续魔伤"; + nativename = "土系群体持续魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物掷石"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/石头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/石头击碎.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill858Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetDamage () * skill.GetMagicdamage ()); + skill.GetVictim ().SetFallen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetReducesoil (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill858.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill858.cs.meta new file mode 100644 index 0000000000..69ddfa3f4a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill858.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3e4162c0578794a359c86430daad015c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill859.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill859.cs new file mode 100644 index 0000000000..e9a5b3bb1e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill859.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill859 : Skill + { + public const int SKILL_ID = 859; + + public Skill859() : base(SKILL_ID) + { + } + } +#endif + + public class Skill859Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill859Stub() : base(859) + { + cls = 127; + name = "物理群体持续魔伤"; + nativename = "物理群体持续魔伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "风卷残云"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/风卷残云击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill859Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetDamage () * skill.GetMagicdamage ()); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.4f * skill.GetLevel ()); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill859.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill859.cs.meta new file mode 100644 index 0000000000..cd2b2f1696 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill859.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 53f8787a3ad9e4ab38be7b8639c687a8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill860.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill860.cs new file mode 100644 index 0000000000..70971c72dc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill860.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill860 : Skill + { + public const int SKILL_ID = 860; + + public Skill860() : base(SKILL_ID) + { + } + } +#endif + + public class Skill860Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill860Stub() : base(860) + { + cls = 127; + name = "金系单体血魔倍差定伤"; + nativename = "金系单体血魔倍差定伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物飘渺仙子技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/飘渺仙子技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/飘渺仙子技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill860Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 80); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (skill.GetPlayer ().GetHp () / (skill.GetPlayer ().GetMp () + 1) * 5000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetThunder (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.4f * skill.GetLevel ()); + skill.GetVictim ().SetDecdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 60; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill860.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill860.cs.meta new file mode 100644 index 0000000000..a34cc5f798 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill860.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0f15f8428b0cf42a5b13c8cc36e7b4b4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill861.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill861.cs new file mode 100644 index 0000000000..b2405aebb3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill861.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill861 : Skill + { + public const int SKILL_ID = 861; + + public Skill861() : base(SKILL_ID) + { + } + } +#endif + + public class Skill861Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill861Stub() : base(861) + { + cls = 127; + name = "木系单体血差定伤"; + nativename = "木系单体血差定伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物盗墓魂技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/黑无常技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill861Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount ((skill.GetPlayer ().GetMaxhp () - skill.GetPlayer ().GetHp ()) / skill.GetPlayer ().GetMaxhp () * + 20 * 5000 * skill.GetMagicdamage () + 500); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.4f * skill.GetLevel ()); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 60; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill861.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill861.cs.meta new file mode 100644 index 0000000000..bbff162134 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill861.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e4a24057f276347ecb44d3e58bdde446 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill862.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill862.cs new file mode 100644 index 0000000000..7b2f9a5f17 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill862.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill862 : Skill + { + public const int SKILL_ID = 862; + + public Skill862() : base(SKILL_ID) + { + } + } +#endif + + public class Skill862Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill862Stub() : base(862) + { + cls = 127; + name = "水系单体魔差定伤"; + nativename = "水系单体魔差定伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物朝天法王技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/朝天法王技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill862Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount ((skill.GetPlayer ().GetMaxmp () - skill.GetPlayer ().GetMp ()) / skill.GetPlayer ().GetMaxmp () * + 20 * 5000 * skill.GetMagicdamage () + 500); + skill.GetVictim ().SetFlood (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.4f * skill.GetLevel ()); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 60; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill862.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill862.cs.meta new file mode 100644 index 0000000000..93692e4620 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill862.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 45a27e01970df443cbe8b0f7e1f3b5b5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill863.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill863.cs new file mode 100644 index 0000000000..34e26c4ea8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill863.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill863 : Skill + { + public const int SKILL_ID = 863; + + public Skill863() : base(SKILL_ID) + { + } + } +#endif + + public class Skill863Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill863Stub() : base(863) + { + cls = 127; + name = "火系单体魔量定伤"; + nativename = "火系单体魔量定伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物炼狱君主技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/炼狱君主技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill863Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (10000 * skill.GetMagicdamage () / (skill.GetPlayer ().GetMaxmp () + 1) * 5000); + skill.GetVictim ().SetBurning (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.4f * skill.GetLevel ()); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 60; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill863.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill863.cs.meta new file mode 100644 index 0000000000..22757bad14 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill863.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 12825290e40da417d860e5ccd07fdc77 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill864.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill864.cs new file mode 100644 index 0000000000..28840a4065 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill864.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill864 : Skill + { + public const int SKILL_ID = 864; + + public Skill864() : base(SKILL_ID) + { + } + } +#endif + + public class Skill864Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill864Stub() : base(864) + { + cls = 127; + name = "土系群体血差吸蓝定伤"; + nativename = "土系群体血差吸蓝定伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物震谷技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/震谷技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill864Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetAmount ((skill.GetPlayer ().GetMaxhp () - skill.GetPlayer ().GetHp () + 500) * skill.GetMagicdamage ()); + skill.GetVictim ().SetMagicleak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetDecattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 * skill.GetMagicdamage ()); + skill.GetVictim ().SetAmount ((skill.GetPlayer ().GetMaxhp () - skill.GetPlayer ().GetHp () + 500) * skill.GetMagicdamage ()); + skill.GetVictim ().SetFallen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 60; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill864.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill864.cs.meta new file mode 100644 index 0000000000..7cf3c56d2b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill864.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a91c7dee84bfd47d89ed8788c50f84a4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill865.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill865.cs new file mode 100644 index 0000000000..4d757e33fa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill865.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill865 : Skill + { + public const int SKILL_ID = 865; + + public Skill865() : base(SKILL_ID) + { + } + } +#endif + + public class Skill865Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill865Stub() : base(865) + { + cls = 127; + name = "物理单体血量定伤"; + nativename = "物理单体血量定伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物蛮力士技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/技能/蛮力士冲击波.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill865Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetAmount (10000 * skill.GetMagicdamage () / (skill.GetPlayer ().GetMaxhp () + 1) * 5000); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.4f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 60; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill865.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill865.cs.meta new file mode 100644 index 0000000000..a63b89ce12 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill865.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ca82c9d0b5ecd4788be5f65fcdbb8564 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill866.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill866.cs new file mode 100644 index 0000000000..c31a63ea3b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill866.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill866 : Skill + { + public const int SKILL_ID = 866; + + public Skill866() : base(SKILL_ID) + { + } + } +#endif + + public class Skill866Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill866Stub() : base(866) + { + cls = 127; + name = "群体羽盾"; + nativename = "群体羽盾"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "城战boss升级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "程序联入/角色升级人类.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌波微步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill866Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetFeathershield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill866.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill866.cs.meta new file mode 100644 index 0000000000..40b5c0f9b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill866.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 200c61fdc1d9e42c4897c117e5c2a0c2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill867.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill867.cs new file mode 100644 index 0000000000..336b04093b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill867.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill867 : Skill + { + public const int SKILL_ID = 867; + + public Skill867() : base(SKILL_ID) + { + } + } +#endif + + public class Skill867Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill867Stub() : base(867) + { + cls = 127; + name = "自身圆心魔攻群加血"; + nativename = "自身圆心魔攻群加血"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五气朝元"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五气朝元击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill867Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () + 100 * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill867.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill867.cs.meta new file mode 100644 index 0000000000..7ef6fef0c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill867.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2492de82076214ce7a93177c86052059 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill868.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill868.cs new file mode 100644 index 0000000000..c3c622530c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill868.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill868 : Skill + { + public const int SKILL_ID = 868; + + public Skill868() : base(SKILL_ID) + { + } + } +#endif + + public class Skill868Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill868Stub() : base(868) + { + cls = 127; + name = "自身圆心魔攻群加蓝"; + nativename = "自身圆心魔攻群加蓝"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "和风拂面"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/和风拂面击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill868Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (skill.GetMagicdamage () + 100 * skill.GetLevel ()); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill868.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill868.cs.meta new file mode 100644 index 0000000000..53f28e2e57 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill868.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 93851ea98e9854517afd7bcd7407b2b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill869.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill869.cs new file mode 100644 index 0000000000..8b6414a8d7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill869.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill869 : Skill + { + public const int SKILL_ID = 869; + + public Skill869() : base(SKILL_ID) + { + } + } +#endif + + public class Skill869Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill869Stub() : base(869) + { + cls = 127; + name = "自身圆心群加元气"; + nativename = "自身圆心群加元气"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill869Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (40 * skill.GetLevel ()); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill869.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill869.cs.meta new file mode 100644 index 0000000000..064ba3f7e5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill869.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ac98f096bd084436a9f147b289b9a2a6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill870.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill870.cs new file mode 100644 index 0000000000..6131386a30 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill870.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill870 : Skill + { + public const int SKILL_ID = 870; + + public Skill870() : base(SKILL_ID) + { + } + } +#endif + + public class Skill870Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill870Stub() : base(870) + { + cls = 127; + name = "自身圆心群加物防"; + nativename = "自身圆心群加物防"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "坚甲符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/坚甲符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill870Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 * skill.GetLevel () + 30000); + skill.GetVictim ().SetRatio (0.3f * skill.GetLevel () + 1); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill870.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill870.cs.meta new file mode 100644 index 0000000000..7a52bdd658 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill870.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1eb93b7e068424202843052a5c6d25ff \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill871.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill871.cs new file mode 100644 index 0000000000..b4402e2568 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill871.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill871 : Skill + { + public const int SKILL_ID = 871; + + public Skill871() : base(SKILL_ID) + { + } + } +#endif + + public class Skill871Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill871Stub() : base(871) + { + cls = 127; + name = "自身圆心群加物攻法攻"; + nativename = "自身圆心群加物攻法攻"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神兵利器"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神兵利器击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill871Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 * skill.GetLevel () + 30000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel () + 1); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 * skill.GetLevel () + 30000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel () + 1); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill871.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill871.cs.meta new file mode 100644 index 0000000000..7ef4f17508 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill871.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d4c2715685cff4ad6b951ca00602f07a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill872.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill872.cs new file mode 100644 index 0000000000..d6ba658634 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill872.cs @@ -0,0 +1,182 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill872 : Skill + { + public const int SKILL_ID = 872; + + public Skill872() : base(SKILL_ID) + { + } + } +#endif + + public class Skill872Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill872Stub() : base(872) + { + cls = 127; + name = "自身圆心群行动限制免疫"; + nativename = "自身圆心群行动限制免疫"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神鹰之翼"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神鹰之翼击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill872Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (10000 * skill.GetLevel () + 10000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill872.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill872.cs.meta new file mode 100644 index 0000000000..8f1955b03e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill872.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7ee682f022c584343ae5771c66bef743 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill873.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill873.cs new file mode 100644 index 0000000000..05ba6f9c27 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill873.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill873 : Skill + { + public const int SKILL_ID = 873; + + public Skill873() : base(SKILL_ID) + { + } + } +#endif + + public class Skill873Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill873Stub() : base(873) + { + cls = 127; + name = "自身圆心群加闪避"; + nativename = "自身圆心群加闪避"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神鹰祝福"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神鹰祝福.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill873Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 * skill.GetLevel () + 10000); + skill.GetVictim ().SetRatio (1 * skill.GetLevel ()); + skill.GetVictim ().SetIncdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill873.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill873.cs.meta new file mode 100644 index 0000000000..d970816f1e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill873.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5b2a996eba6404e31881c6e7f309e1b2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill874.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill874.cs new file mode 100644 index 0000000000..8cc217ee01 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill874.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill874 : Skill + { + public const int SKILL_ID = 874; + + public Skill874() : base(SKILL_ID) + { + } + } +#endif + + public class Skill874Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill874Stub() : base(874) + { + cls = 127; + name = "自身圆心群无敌"; + nativename = "自身圆心群无敌"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "乾坤借法"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/乾坤借法击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill874Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetLevel () + 5000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill874.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill874.cs.meta new file mode 100644 index 0000000000..2f77e6a121 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill874.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 381ea9012b3b041f9995b755bbb33689 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill875.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill875.cs new file mode 100644 index 0000000000..d3e84b76fc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill875.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill875 : Skill + { + public const int SKILL_ID = 875; + + public Skill875() : base(SKILL_ID) + { + } + } +#endif + + public class Skill875Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill875Stub() : base(875) + { + cls = 127; + name = "自身圆心群体物免"; + nativename = "自身圆心群体物免"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "玄武附体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill875Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetLevel () + 5000); + skill.GetVictim ().SetRatio (5 * skill.GetLevel ()); + skill.GetVictim ().SetIncdodge (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetLevel () + 5000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetDechurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill875.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill875.cs.meta new file mode 100644 index 0000000000..3a734b6beb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill875.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3f69b89526f804905b4bbd5f3d94440b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill876.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill876.cs new file mode 100644 index 0000000000..79b22c8af8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill876.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill876 : Skill + { + public const int SKILL_ID = 876; + + public Skill876() : base(SKILL_ID) + { + } + } +#endif + + public class Skill876Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill876Stub() : base(876) + { + cls = 127; + name = "自身圆心群体眩晕"; + nativename = "自身圆心群体眩晕"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "狮子吼"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狮子吼击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill876Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill876.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill876.cs.meta new file mode 100644 index 0000000000..26e3a124e8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill876.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5188ccfac1f6b4753b15f180d5a73c1b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill877.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill877.cs new file mode 100644 index 0000000000..bf23649a42 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill877.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill877 : Skill + { + public const int SKILL_ID = 877; + + public Skill877() : base(SKILL_ID) + { + } + } +#endif + + public class Skill877Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill877Stub() : base(877) + { + cls = 127; + name = "自身圆心群体封印"; + nativename = "自身圆心群体封印"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "石破天惊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/石破天惊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/石破天惊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill877Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 * skill.GetLevel ()); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill877.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill877.cs.meta new file mode 100644 index 0000000000..80fb287322 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill877.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 85de9c1177f1342e3be3d36167ee3342 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill878.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill878.cs new file mode 100644 index 0000000000..3c1dbe5aa8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill878.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill878 : Skill + { + public const int SKILL_ID = 878; + + public Skill878() : base(SKILL_ID) + { + } + } +#endif + + public class Skill878Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill878Stub() : base(878) + { + cls = 127; + name = "自身圆心群体定身"; + nativename = "自身圆心群体定身"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五音符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五音符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五音符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill878Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill878.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill878.cs.meta new file mode 100644 index 0000000000..4e55ee4596 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill878.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 42fe010c1a63d4363802afd2bd367e37 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill879.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill879.cs new file mode 100644 index 0000000000..1a8529fe15 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill879.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill879 : Skill + { + public const int SKILL_ID = 879; + + public Skill879() : base(SKILL_ID) + { + } + } +#endif + + public class Skill879Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill879Stub() : base(879) + { + cls = 127; + name = "远程单体眩晕"; + nativename = "远程单体眩晕"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "狮子吼"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狮子吼击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill879Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill879.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill879.cs.meta new file mode 100644 index 0000000000..c86be6a2ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill879.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 12d60d0fb386041a7aee6d7dea030926 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill880.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill880.cs new file mode 100644 index 0000000000..3b91d720f1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill880.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill880 : Skill + { + public const int SKILL_ID = 880; + + public Skill880() : base(SKILL_ID) + { + } + } +#endif + + public class Skill880Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill880Stub() : base(880) + { + cls = 127; + name = "远程单体降法防"; + nativename = "远程单体降法防"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill880Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill880.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill880.cs.meta new file mode 100644 index 0000000000..5c4d7b1abd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill880.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e6179c04dfc62449c92a92b5ebe4e403 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill881.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill881.cs new file mode 100644 index 0000000000..637d540bae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill881.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill881 : Skill + { + public const int SKILL_ID = 881; + + public Skill881() : base(SKILL_ID) + { + } + } +#endif + + public class Skill881Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill881Stub() : base(881) + { + cls = 127; + name = "远程单体降命中"; + nativename = "远程单体降命中"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨石蛊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨石蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巨石蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill881Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetRatio (0.3f * skill.GetLevel ()); + skill.GetVictim ().SetDecaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill881.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill881.cs.meta new file mode 100644 index 0000000000..c3f7fb06af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill881.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e021924804c0f4ae5bbb5b4243075135 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill882.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill882.cs new file mode 100644 index 0000000000..dc18165d72 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill882.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill882 : Skill + { + public const int SKILL_ID = 882; + + public Skill882() : base(SKILL_ID) + { + } + } +#endif + + public class Skill882Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill882Stub() : base(882) + { + cls = 127; + name = "远程单体降物攻法攻"; + nativename = "远程单体降物攻法攻"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "驱逐咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/驱逐咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill882Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetDecattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetDecmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill882.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill882.cs.meta new file mode 100644 index 0000000000..6d173c026f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill882.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b2b8b87bec7e54917bf91ca044ee46df \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill883.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill883.cs new file mode 100644 index 0000000000..03aab6e195 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill883.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill883 : Skill + { + public const int SKILL_ID = 883; + + public Skill883() : base(SKILL_ID) + { + } + } +#endif + + public class Skill883Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill883Stub() : base(883) + { + cls = 127; + name = "远程单体无视防御伤害"; + nativename = "远程单体无视防御伤害"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物人马技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/人马技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill883Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel () - 0.01f); + skill.GetVictim ().SetScaledechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill883.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill883.cs.meta new file mode 100644 index 0000000000..963025b864 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill883.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f6d8ba4e4de7c4cd6a7cfcdf1ecc4f2e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill884.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill884.cs new file mode 100644 index 0000000000..052dfed47f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill884.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill884 : Skill + { + public const int SKILL_ID = 884; + + public Skill884() : base(SKILL_ID) + { + } + } +#endif + + public class Skill884Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill884Stub() : base(884) + { + cls = 127; + name = "远程单体降吟唱"; + nativename = "远程单体降吟唱"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽咒盲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽咒盲飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽咒盲击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 30; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.5f, 1.5f, 1.5f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.2f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill884Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill884.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill884.cs.meta new file mode 100644 index 0000000000..37e0305242 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill884.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 72ce5582ca71d4d5e9d64f9db634dbb6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill885.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill885.cs new file mode 100644 index 0000000000..1626b03357 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill885.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill885 : Skill + { + public const int SKILL_ID = 885; + + public Skill885() : base(SKILL_ID) + { + } + } +#endif + + public class Skill885Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill885Stub() : base(885) + { + cls = 127; + name = "自身单体伤害反弹"; + nativename = "自身单体伤害反弹"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "荆棘术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/荆棘符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill885Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetRetort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill885.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill885.cs.meta new file mode 100644 index 0000000000..492cb9081e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill885.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f8c664fb107684dae8e26ee1968a848d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill886.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill886.cs new file mode 100644 index 0000000000..3c1fe93189 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill886.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill886 : Skill + { + public const int SKILL_ID = 886; + + public Skill886() : base(SKILL_ID) + { + } + } +#endif + + public class Skill886Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill886Stub() : base(886) + { + cls = 127; + name = "自身圆心群加法防"; + nativename = "自身圆心群加法防"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "真灵护体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/真灵护体击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill886Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 * skill.GetLevel () + 30000); + skill.GetVictim ().SetRatio (0.3f * skill.GetLevel () + 1); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill886.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill886.cs.meta new file mode 100644 index 0000000000..706d3ee14a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill886.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ce7973d490fc04f08b81e87d9250c7e6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill887.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill887.cs new file mode 100644 index 0000000000..606209205f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill887.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill887 : Skill + { + public const int SKILL_ID = 887; + + public Skill887() : base(SKILL_ID) + { + } + } +#endif + + public class Skill887Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill887Stub() : base(887) + { + cls = 127; + name = "自身圆心群嘲讽"; + nativename = "自身圆心群嘲讽"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "霸王献鼎"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/天火狂龙飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill887Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50000); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill887.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill887.cs.meta new file mode 100644 index 0000000000..a5c15afca7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill887.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7a85f3ef0541f44008cf86c502ac77d1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill888.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill888.cs new file mode 100644 index 0000000000..fa65135c02 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill888.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill888 : Skill + { + public const int SKILL_ID = 888; + + public Skill888() : base(SKILL_ID) + { + } + } +#endif + + public class Skill888Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill888Stub() : base(888) + { + cls = 127; + name = "远程单体降金防"; + nativename = "远程单体降金防"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill888Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetReducegold (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill888.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill888.cs.meta new file mode 100644 index 0000000000..d625218e2a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill888.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0a5c958c8739a4a928c00ac7aedd6198 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill889.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill889.cs new file mode 100644 index 0000000000..9597811b48 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill889.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill889 : Skill + { + public const int SKILL_ID = 889; + + public Skill889() : base(SKILL_ID) + { + } + } +#endif + + public class Skill889Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill889Stub() : base(889) + { + cls = 127; + name = "远程单体降木防"; + nativename = "远程单体降木防"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill889Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetReducewood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill889.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill889.cs.meta new file mode 100644 index 0000000000..a285b76243 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill889.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5f1a6fb1faae449819b2946e960990f2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill890.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill890.cs new file mode 100644 index 0000000000..c1107fbc35 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill890.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill890 : Skill + { + public const int SKILL_ID = 890; + + public Skill890() : base(SKILL_ID) + { + } + } +#endif + + public class Skill890Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill890Stub() : base(890) + { + cls = 127; + name = "远程单体降水防"; + nativename = "远程单体降水防"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill890Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetReducewater (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill890.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill890.cs.meta new file mode 100644 index 0000000000..6b826d1a95 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill890.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6599ea2803ed14bf0828b32766c0cff3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill891.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill891.cs new file mode 100644 index 0000000000..e8ef981b63 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill891.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill891 : Skill + { + public const int SKILL_ID = 891; + + public Skill891() : base(SKILL_ID) + { + } + } +#endif + + public class Skill891Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill891Stub() : base(891) + { + cls = 127; + name = "远程单体降火防"; + nativename = "远程单体降火防"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill891Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetReducefire (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill891.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill891.cs.meta new file mode 100644 index 0000000000..fb0b6e01d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill891.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8eafa76897d0d4a83beae68e051839a5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill892.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill892.cs new file mode 100644 index 0000000000..55e5cbe64a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill892.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill892 : Skill + { + public const int SKILL_ID = 892; + + public Skill892() : base(SKILL_ID) + { + } + } +#endif + + public class Skill892Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill892Stub() : base(892) + { + cls = 127; + name = "远程单体降土防"; + nativename = "远程单体降土防"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill892Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetReducesoil (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill892.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill892.cs.meta new file mode 100644 index 0000000000..a7c8013bc0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill892.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4db293e014e8c499db918bef8be84a3f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill893.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill893.cs new file mode 100644 index 0000000000..8d68aaf7da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill893.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill893 : Skill + { + public const int SKILL_ID = 893; + + public Skill893() : base(SKILL_ID) + { + } + } +#endif + + public class Skill893Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill893Stub() : base(893) + { + cls = 127; + name = "箭塔攻击群伤"; + nativename = "箭塔攻击群伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "连射"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/连射飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/连射击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill893Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetVictim ().GetLevel () * 0.1f * skill.GetLevel () * skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 20; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill893.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill893.cs.meta new file mode 100644 index 0000000000..4fc2df9c80 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill893.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5512ca7fd8f1542d4b30077e5c195296 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill894.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill894.cs new file mode 100644 index 0000000000..e38755ce58 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill894.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill894 : Skill + { + public const int SKILL_ID = 894; + + public Skill894() : base(SKILL_ID) + { + } + } +#endif + + public class Skill894Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill894Stub() : base(894) + { + cls = 127; + name = "小范围群降上限"; + nativename = "小范围群降上限"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物炼狱君主技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/炼狱君主技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill894Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.08f * skill.GetLevel ()); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill894.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill894.cs.meta new file mode 100644 index 0000000000..10b9e763e8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill894.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dab9f7956c33d4b78939c8c621027b02 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill895.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill895.cs new file mode 100644 index 0000000000..5b3e6467f0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill895.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill895 : Skill + { + public const int SKILL_ID = 895; + + public Skill895() : base(SKILL_ID) + { + } + } +#endif + + public class Skill895Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill895Stub() : base(895) + { + cls = 127; + name = "魔伤无视防御伤害自爆陷阱"; + nativename = "魔伤无视防御伤害自爆陷阱"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill895Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(6 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill895.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill895.cs.meta new file mode 100644 index 0000000000..37e435c522 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill895.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d1fdbb3f6d6484a01b982b1660834a3d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill936.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill936.cs new file mode 100644 index 0000000000..dfd96e62e8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill936.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill936 : Skill + { + public const int SKILL_ID = 936; + + public Skill936() : base(SKILL_ID) + { + } + } +#endif + + public class Skill936Stub : SkillStub + { + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill936Stub() : base(936) + { + cls = 127; + name = "时空碎片.移动"; + nativename = "时空碎片.移动"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill936Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill936.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill936.cs.meta new file mode 100644 index 0000000000..bad10ec3d5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill936.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 66a2c0376e9de4279bc856f36aec837c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill937.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill937.cs new file mode 100644 index 0000000000..70d15d41f9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill937.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill937 : Skill + { + public const int SKILL_ID = 937; + + public Skill937() : base(SKILL_ID) + { + } + } +#endif + + public class Skill937Stub : SkillStub + { + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill937Stub() : base(937) + { + cls = 127; + name = "时空碎片.物攻"; + nativename = "时空碎片.物攻"; + icon = ""; + max_level = MAX_LEVEL; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill937Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill937.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill937.cs.meta new file mode 100644 index 0000000000..4ba5235316 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill937.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a77ccf87e33dd4911b3bf94e27f0b912 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill938.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill938.cs new file mode 100644 index 0000000000..d72e84e648 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill938.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill938 : Skill + { + public const int SKILL_ID = 938; + + public Skill938() : base(SKILL_ID) + { + } + } +#endif + + public class Skill938Stub : SkillStub + { + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill938Stub() : base(938) + { + cls = 127; + name = "时空碎片.法攻"; + nativename = "时空碎片.法攻"; + icon = ""; + max_level = MAX_LEVEL; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill938Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill938.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill938.cs.meta new file mode 100644 index 0000000000..58f6915016 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill938.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b6da34e4ce63243d390f05ad439b0a93 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill939.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill939.cs new file mode 100644 index 0000000000..f6c5949538 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill939.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill939 : Skill + { + public const int SKILL_ID = 939; + + public Skill939() : base(SKILL_ID) + { + } + } +#endif + + public class Skill939Stub : SkillStub + { + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill939Stub() : base(939) + { + cls = 127; + name = "时空碎片.吟唱"; + nativename = "时空碎片.吟唱"; + icon = ""; + max_level = MAX_LEVEL; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill939Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill939.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill939.cs.meta new file mode 100644 index 0000000000..b677b71d97 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill939.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 48cb939e07db34dc684fb2ce78ad528a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill940.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill940.cs new file mode 100644 index 0000000000..bfbc6d4424 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill940.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill940 : Skill + { + public const int SKILL_ID = 940; + + public Skill940() : base(SKILL_ID) + { + } + } +#endif + + public class Skill940Stub : SkillStub + { + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill940Stub() : base(940) + { + cls = 127; + name = "时空碎片.物防"; + nativename = "时空碎片.物防"; + icon = ""; + max_level = MAX_LEVEL; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill940Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill940.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill940.cs.meta new file mode 100644 index 0000000000..add1eba6c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill940.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 511079126f38c4acdb632b273109838f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill941.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill941.cs new file mode 100644 index 0000000000..d2f2031b37 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill941.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill941 : Skill + { + public const int SKILL_ID = 941; + + public Skill941() : base(SKILL_ID) + { + } + } +#endif + + public class Skill941Stub : SkillStub + { + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill941Stub() : base(941) + { + cls = 127; + name = "时空碎片.法防"; + nativename = "时空碎片.法防"; + icon = ""; + max_level = MAX_LEVEL; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill941Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill941.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill941.cs.meta new file mode 100644 index 0000000000..ce36829b07 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill941.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1862166b964624f39bd3bbd7137f4013 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill942.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill942.cs new file mode 100644 index 0000000000..65e31d3469 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill942.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill942 : Skill + { + public const int SKILL_ID = 942; + + public Skill942() : base(SKILL_ID) + { + } + } +#endif + + public class Skill942Stub : SkillStub + { + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill942Stub() : base(942) + { + cls = 127; + name = "时空碎片.暴"; + nativename = "时空碎片.暴"; + icon = ""; + max_level = MAX_LEVEL; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill942Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetValue (5); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill942.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill942.cs.meta new file mode 100644 index 0000000000..745dacb2f7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill942.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8ee09a20eb12f428b958014ccb544bf4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill943.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill943.cs new file mode 100644 index 0000000000..9a1cede3b8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill943.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill943 : Skill + { + public const int SKILL_ID = 943; + + public Skill943() : base(SKILL_ID) + { + } + } +#endif + + public class Skill943Stub : SkillStub + { + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill943Stub() : base(943) + { + cls = 127; + name = "时空碎片.回血"; + nativename = "时空碎片.回血"; + icon = ""; + max_level = MAX_LEVEL; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill943Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetFasthpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill943.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill943.cs.meta new file mode 100644 index 0000000000..14aa29eb78 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill943.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 987e4d35468ee4da9a00185599e7f6ee \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill944.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill944.cs new file mode 100644 index 0000000000..d0cb68d14b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill944.cs @@ -0,0 +1,118 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill944 : Skill + { + public const int SKILL_ID = 944; + + public Skill944() : base(SKILL_ID) + { + } + } +#endif + + public class Skill944Stub : SkillStub + { + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill944Stub() : base(944) + { + cls = 127; + name = "时空碎片.回魔"; + nativename = "时空碎片.回魔"; + icon = ""; + max_level = MAX_LEVEL; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill944Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetFastmpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill944.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill944.cs.meta new file mode 100644 index 0000000000..77b3cb2f26 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill944.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2fd59bee6cd25411e8f58add1ec61b08 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill945.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill945.cs new file mode 100644 index 0000000000..01f20d8dd0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill945.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill945 : Skill + { + public const int SKILL_ID = 945; + + public Skill945() : base(SKILL_ID) + { + } + } +#endif + + public class Skill945Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill945Stub() : base(945) + { + cls = 127; + name = "陷阱.单体加速免晕"; + nativename = "陷阱.单体加速免晕"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "凌波微步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/凌波微步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill945Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (skill.GetMagicdamage ()); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill945.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill945.cs.meta new file mode 100644 index 0000000000..3485eb68c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill945.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b66cad6905ab24b7ab6b4a7b1ec1dc5f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill946.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill946.cs new file mode 100644 index 0000000000..af4f49ad02 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill946.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill946 : Skill + { + public const int SKILL_ID = 946; + + public Skill946() : base(SKILL_ID) + { + } + } +#endif + + public class Skill946Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill946Stub() : base(946) + { + cls = 127; + name = "陷阱.单体补元气"; + nativename = "陷阱.单体补元气"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill946Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50 * skill.GetLevel ()); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill946.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill946.cs.meta new file mode 100644 index 0000000000..a6e825c300 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill946.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 53a8109d96eda46c08cd7c181ae8d0b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill947.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill947.cs new file mode 100644 index 0000000000..346e0b044f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill947.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill947 : Skill + { + public const int SKILL_ID = 947; + + public Skill947() : base(SKILL_ID) + { + } + } +#endif + + public class Skill947Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill947Stub() : base(947) + { + cls = 127; + name = "陷阱.单体物法攻"; + nativename = "陷阱.单体物法攻"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill947Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill947.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill947.cs.meta new file mode 100644 index 0000000000..f98757fc03 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill947.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1045a925572f243aa9f5608df79b7b8a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill948.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill948.cs new file mode 100644 index 0000000000..ecffd4366a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill948.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill948 : Skill + { + public const int SKILL_ID = 948; + + public Skill948() : base(SKILL_ID) + { + } + } +#endif + + public class Skill948Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill948Stub() : base(948) + { + cls = 127; + name = "陷阱.单体血上限"; + nativename = "陷阱.单体血上限"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "海纳百川"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/海纳百川击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill948Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill948.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill948.cs.meta new file mode 100644 index 0000000000..bda08b5573 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill948.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5702f592891c34801b943d5393e9e3a9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill949.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill949.cs new file mode 100644 index 0000000000..8c19b6cc28 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill949.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill949 : Skill + { + public const int SKILL_ID = 949; + + public Skill949() : base(SKILL_ID) + { + } + } +#endif + + public class Skill949Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill949Stub() : base(949) + { + cls = 127; + name = "陷阱.单体暴击减唱"; + nativename = "陷阱.单体暴击减唱"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill949Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() + 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetMagicdamage ()); + skill.GetVictim ().SetValue (10 * skill.GetLevel ()); + skill.GetVictim ().SetIncsmite (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill949.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill949.cs.meta new file mode 100644 index 0000000000..d914318ea1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill949.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b28dfefc5fd5d4e8e913f0898297f2c2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill950.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill950.cs new file mode 100644 index 0000000000..385371429d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill950.cs @@ -0,0 +1,120 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill950 : Skill + { + public const int SKILL_ID = 950; + + public Skill950() : base(SKILL_ID) + { + } + } +#endif + + public class Skill950Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill950Stub() : base(950) + { + cls = 127; + name = "药品.时效反比物攻"; + nativename = "药品.时效反比物攻"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill950Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (400000 - 40000 * (skill.GetLevel () - 1)); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill950.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill950.cs.meta new file mode 100644 index 0000000000..12b76fe4f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill950.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c09b57ae6b6e34c4583ab2b5656b7354 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill951.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill951.cs new file mode 100644 index 0000000000..fb502f62b4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill951.cs @@ -0,0 +1,120 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill951 : Skill + { + public const int SKILL_ID = 951; + + public Skill951() : base(SKILL_ID) + { + } + } +#endif + + public class Skill951Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill951Stub() : base(951) + { + cls = 127; + name = "药品.时效反比法攻"; + nativename = "药品.时效反比法攻"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill951Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (400000 - 40000 * (skill.GetLevel () - 1)); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill951.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill951.cs.meta new file mode 100644 index 0000000000..56f2595b53 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill951.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2dff474e1d3f54c32a6e62cd4f1d258f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill952.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill952.cs new file mode 100644 index 0000000000..56c4cd2787 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill952.cs @@ -0,0 +1,122 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill952 : Skill + { + public const int SKILL_ID = 952; + + public Skill952() : base(SKILL_ID) + { + } + } +#endif + + public class Skill952Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill952Stub() : base(952) + { + cls = 127; + name = "药品.时效反比加速免晕"; + nativename = "药品.时效反比加速免晕"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill952Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (200000 - 20000 * (skill.GetLevel () - 1)); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (200000 - 20000 * (skill.GetLevel () - 1)); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill952.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill952.cs.meta new file mode 100644 index 0000000000..dc6902ac00 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill952.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 062d4f20d95ba45dfbabc704bc57ca93 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill953.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill953.cs new file mode 100644 index 0000000000..a8916438c7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill953.cs @@ -0,0 +1,119 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill953 : Skill + { + public const int SKILL_ID = 953; + + public Skill953() : base(SKILL_ID) + { + } + } +#endif + + public class Skill953Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill953Stub() : base(953) + { + cls = 127; + name = "作废"; + nativename = "作废"; + icon = ""; + max_level = MAX_LEVEL; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill953Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (50 * skill.GetLevel ()); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill953.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill953.cs.meta new file mode 100644 index 0000000000..7e51f3326f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill953.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b4c919a83ca4b4bde9e3e60a6214d41c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill954.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill954.cs new file mode 100644 index 0000000000..1f23050901 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill954.cs @@ -0,0 +1,120 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill954 : Skill + { + public const int SKILL_ID = 954; + + public Skill954() : base(SKILL_ID) + { + } + } +#endif + + public class Skill954Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill954Stub() : base(954) + { + cls = 127; + name = "药品.时效反比血上限"; + nativename = "药品.时效反比血上限"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill954Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000 - 30000 * (skill.GetLevel () - 1)); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill954.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill954.cs.meta new file mode 100644 index 0000000000..0a6724cd46 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill954.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0b5e28725ba21411b8292d19a9ea55ab \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill955.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill955.cs new file mode 100644 index 0000000000..c608bb8d06 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill955.cs @@ -0,0 +1,120 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill955 : Skill + { + public const int SKILL_ID = 955; + + public Skill955() : base(SKILL_ID) + { + } + } +#endif + + public class Skill955Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill955Stub() : base(955) + { + cls = 127; + name = "药品.时效反比暴击"; + nativename = "药品.时效反比暴击"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill955Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (200000 - 20000 * (skill.GetLevel () - 1)); + skill.GetVictim ().SetValue (3 * skill.GetLevel ()); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill955.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill955.cs.meta new file mode 100644 index 0000000000..06078a14e4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill955.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e87d81614df8d42358ae72e31a047425 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill956.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill956.cs new file mode 100644 index 0000000000..33d1ab6001 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill956.cs @@ -0,0 +1,120 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill956 : Skill + { + public const int SKILL_ID = 956; + + public Skill956() : base(SKILL_ID) + { + } + } +#endif + + public class Skill956Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill956Stub() : base(956) + { + cls = 127; + name = "药品.时效反比减唱"; + nativename = "药品.时效反比减唱"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 2; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill956Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (200000 - 20000 * (skill.GetLevel () - 1)); + skill.GetVictim ().SetRatio (0.03f * skill.GetLevel ()); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill956.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill956.cs.meta new file mode 100644 index 0000000000..ea43ee10b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill956.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5863cf72830174305b2ddcb0d2b4be62 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill957.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill957.cs new file mode 100644 index 0000000000..e7e3a60a57 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill957.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill957 : Skill + { + public const int SKILL_ID = 957; + + public Skill957() : base(SKILL_ID) + { + } + } +#endif + + public class Skill957Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill957Stub() : base(957) + { + cls = 127; + name = "加速免晕减伤加盾超级保护"; + nativename = "加速免晕减伤加盾超级保护"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill957Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 60f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 45f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetTime (skill.GetMagicdamage ()); + skill.GetVictim ().SetAmount (20000 * skill.GetLevel ()); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetWingshield (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (skill.GetMagicdamage ()); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetDechurt (1); + skill.GetVictim ().SetTime (skill.GetMagicdamage ()); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill957.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill957.cs.meta new file mode 100644 index 0000000000..0cf17aea55 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs7/skill957.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 73856cb60ec15467b935883a6f9be7f8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8.meta new file mode 100644 index 0000000000..faaef3f89e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b2829281c5f244f6aae52ef46df0a207 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/SkillStubs8.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/SkillStubs8.cs new file mode 100644 index 0000000000..918e18b810 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/SkillStubs8.cs @@ -0,0 +1,525 @@ +using BrewMonster.Scripts.Skills; +using UnityEngine; + +namespace BrewMonster +{ + public static partial class SkillStubs + { + // Skill stub declarations + public static Skill1437Stub __stub_Skill1437Stub = new Skill1437Stub(); + public static Skill1438Stub __stub_Skill1438Stub = new Skill1438Stub(); + public static Skill1439Stub __stub_Skill1439Stub = new Skill1439Stub(); + public static Skill1440Stub __stub_Skill1440Stub = new Skill1440Stub(); + public static Skill1441Stub __stub_Skill1441Stub = new Skill1441Stub(); + public static Skill1442Stub __stub_Skill1442Stub = new Skill1442Stub(); + public static Skill1443Stub __stub_Skill1443Stub = new Skill1443Stub(); + public static Skill1444Stub __stub_Skill1444Stub = new Skill1444Stub(); + public static Skill1445Stub __stub_Skill1445Stub = new Skill1445Stub(); + public static Skill1446Stub __stub_Skill1446Stub = new Skill1446Stub(); + public static Skill1447Stub __stub_Skill1447Stub = new Skill1447Stub(); + public static Skill1448Stub __stub_Skill1448Stub = new Skill1448Stub(); + public static Skill1449Stub __stub_Skill1449Stub = new Skill1449Stub(); + public static Skill1450Stub __stub_Skill1450Stub = new Skill1450Stub(); + public static Skill1451Stub __stub_Skill1451Stub = new Skill1451Stub(); + public static Skill1452Stub __stub_Skill1452Stub = new Skill1452Stub(); + public static Skill1453Stub __stub_Skill1453Stub = new Skill1453Stub(); + public static Skill1454Stub __stub_Skill1454Stub = new Skill1454Stub(); + public static Skill1455Stub __stub_Skill1455Stub = new Skill1455Stub(); + public static Skill1456Stub __stub_Skill1456Stub = new Skill1456Stub(); + public static Skill1457Stub __stub_Skill1457Stub = new Skill1457Stub(); + public static Skill1458Stub __stub_Skill1458Stub = new Skill1458Stub(); + public static Skill1459Stub __stub_Skill1459Stub = new Skill1459Stub(); + public static Skill1460Stub __stub_Skill1460Stub = new Skill1460Stub(); + public static Skill1461Stub __stub_Skill1461Stub = new Skill1461Stub(); + public static Skill1462Stub __stub_Skill1462Stub = new Skill1462Stub(); + public static Skill1463Stub __stub_Skill1463Stub = new Skill1463Stub(); + public static Skill1464Stub __stub_Skill1464Stub = new Skill1464Stub(); + public static Skill1465Stub __stub_Skill1465Stub = new Skill1465Stub(); + public static Skill1466Stub __stub_Skill1466Stub = new Skill1466Stub(); + public static Skill1467Stub __stub_Skill1467Stub = new Skill1467Stub(); + public static Skill1468Stub __stub_Skill1468Stub = new Skill1468Stub(); + public static Skill1469Stub __stub_Skill1469Stub = new Skill1469Stub(); + public static Skill1470Stub __stub_Skill1470Stub = new Skill1470Stub(); + public static Skill1471Stub __stub_Skill1471Stub = new Skill1471Stub(); + public static Skill1472Stub __stub_Skill1472Stub = new Skill1472Stub(); + public static Skill1473Stub __stub_Skill1473Stub = new Skill1473Stub(); + public static Skill1474Stub __stub_Skill1474Stub = new Skill1474Stub(); + public static Skill1475Stub __stub_Skill1475Stub = new Skill1475Stub(); + public static Skill1476Stub __stub_Skill1476Stub = new Skill1476Stub(); + public static Skill1477Stub __stub_Skill1477Stub = new Skill1477Stub(); + public static Skill1478Stub __stub_Skill1478Stub = new Skill1478Stub(); + public static Skill1479Stub __stub_Skill1479Stub = new Skill1479Stub(); + public static Skill1480Stub __stub_Skill1480Stub = new Skill1480Stub(); + public static Skill1481Stub __stub_Skill1481Stub = new Skill1481Stub(); + public static Skill1482Stub __stub_Skill1482Stub = new Skill1482Stub(); + public static Skill1483Stub __stub_Skill1483Stub = new Skill1483Stub(); + public static Skill1484Stub __stub_Skill1484Stub = new Skill1484Stub(); + public static Skill1485Stub __stub_Skill1485Stub = new Skill1485Stub(); + public static Skill1486Stub __stub_Skill1486Stub = new Skill1486Stub(); + public static Skill1487Stub __stub_Skill1487Stub = new Skill1487Stub(); + public static Skill1488Stub __stub_Skill1488Stub = new Skill1488Stub(); + public static Skill1489Stub __stub_Skill1489Stub = new Skill1489Stub(); + public static Skill1490Stub __stub_Skill1490Stub = new Skill1490Stub(); + public static Skill1491Stub __stub_Skill1491Stub = new Skill1491Stub(); + public static Skill1492Stub __stub_Skill1492Stub = new Skill1492Stub(); + public static Skill1493Stub __stub_Skill1493Stub = new Skill1493Stub(); + public static Skill1494Stub __stub_Skill1494Stub = new Skill1494Stub(); + public static Skill1495Stub __stub_Skill1495Stub = new Skill1495Stub(); + public static Skill1496Stub __stub_Skill1496Stub = new Skill1496Stub(); + public static Skill1497Stub __stub_Skill1497Stub = new Skill1497Stub(); + public static Skill1499Stub __stub_Skill1499Stub = new Skill1499Stub(); + public static Skill1500Stub __stub_Skill1500Stub = new Skill1500Stub(); + public static Skill1501Stub __stub_Skill1501Stub = new Skill1501Stub(); + public static Skill1502Stub __stub_Skill1502Stub = new Skill1502Stub(); + public static Skill1503Stub __stub_Skill1503Stub = new Skill1503Stub(); + public static Skill1504Stub __stub_Skill1504Stub = new Skill1504Stub(); + public static Skill1505Stub __stub_Skill1505Stub = new Skill1505Stub(); + public static Skill1506Stub __stub_Skill1506Stub = new Skill1506Stub(); + public static Skill1507Stub __stub_Skill1507Stub = new Skill1507Stub(); + public static Skill1508Stub __stub_Skill1508Stub = new Skill1508Stub(); + public static Skill1509Stub __stub_Skill1509Stub = new Skill1509Stub(); + public static Skill1510Stub __stub_Skill1510Stub = new Skill1510Stub(); + public static Skill1511Stub __stub_Skill1511Stub = new Skill1511Stub(); + public static Skill1512Stub __stub_Skill1512Stub = new Skill1512Stub(); + public static Skill1513Stub __stub_Skill1513Stub = new Skill1513Stub(); + public static Skill1514Stub __stub_Skill1514Stub = new Skill1514Stub(); + public static Skill1515Stub __stub_Skill1515Stub = new Skill1515Stub(); + public static Skill1516Stub __stub_Skill1516Stub = new Skill1516Stub(); + public static Skill1517Stub __stub_Skill1517Stub = new Skill1517Stub(); + public static Skill1518Stub __stub_Skill1518Stub = new Skill1518Stub(); + public static Skill1519Stub __stub_Skill1519Stub = new Skill1519Stub(); + public static Skill1520Stub __stub_Skill1520Stub = new Skill1520Stub(); + public static Skill1521Stub __stub_Skill1521Stub = new Skill1521Stub(); + public static Skill1522Stub __stub_Skill1522Stub = new Skill1522Stub(); + public static Skill1523Stub __stub_Skill1523Stub = new Skill1523Stub(); + public static Skill1524Stub __stub_Skill1524Stub = new Skill1524Stub(); + public static Skill1525Stub __stub_Skill1525Stub = new Skill1525Stub(); + public static Skill1526Stub __stub_Skill1526Stub = new Skill1526Stub(); + public static Skill1527Stub __stub_Skill1527Stub = new Skill1527Stub(); + public static Skill1528Stub __stub_Skill1528Stub = new Skill1528Stub(); + public static Skill1529Stub __stub_Skill1529Stub = new Skill1529Stub(); + public static Skill1530Stub __stub_Skill1530Stub = new Skill1530Stub(); + public static Skill1531Stub __stub_Skill1531Stub = new Skill1531Stub(); + public static Skill1532Stub __stub_Skill1532Stub = new Skill1532Stub(); + public static Skill1533Stub __stub_Skill1533Stub = new Skill1533Stub(); + public static Skill1534Stub __stub_Skill1534Stub = new Skill1534Stub(); + public static Skill1535Stub __stub_Skill1535Stub = new Skill1535Stub(); + public static Skill1536Stub __stub_Skill1536Stub = new Skill1536Stub(); + public static Skill1537Stub __stub_Skill1537Stub = new Skill1537Stub(); + public static Skill1538Stub __stub_Skill1538Stub = new Skill1538Stub(); + public static Skill1539Stub __stub_Skill1539Stub = new Skill1539Stub(); + public static Skill1540Stub __stub_Skill1540Stub = new Skill1540Stub(); + public static Skill1541Stub __stub_Skill1541Stub = new Skill1541Stub(); + public static Skill1542Stub __stub_Skill1542Stub = new Skill1542Stub(); + public static Skill1543Stub __stub_Skill1543Stub = new Skill1543Stub(); + public static Skill1544Stub __stub_Skill1544Stub = new Skill1544Stub(); + public static Skill1545Stub __stub_Skill1545Stub = new Skill1545Stub(); + public static Skill1546Stub __stub_Skill1546Stub = new Skill1546Stub(); + public static Skill1547Stub __stub_Skill1547Stub = new Skill1547Stub(); + public static Skill1548Stub __stub_Skill1548Stub = new Skill1548Stub(); + public static Skill1549Stub __stub_Skill1549Stub = new Skill1549Stub(); + public static Skill1550Stub __stub_Skill1550Stub = new Skill1550Stub(); + public static Skill1551Stub __stub_Skill1551Stub = new Skill1551Stub(); + public static Skill1552Stub __stub_Skill1552Stub = new Skill1552Stub(); + public static Skill1553Stub __stub_Skill1553Stub = new Skill1553Stub(); + public static Skill1554Stub __stub_Skill1554Stub = new Skill1554Stub(); + public static Skill1555Stub __stub_Skill1555Stub = new Skill1555Stub(); + public static Skill1556Stub __stub_Skill1556Stub = new Skill1556Stub(); + public static Skill1557Stub __stub_Skill1557Stub = new Skill1557Stub(); + public static Skill1558Stub __stub_Skill1558Stub = new Skill1558Stub(); + public static Skill1559Stub __stub_Skill1559Stub = new Skill1559Stub(); + public static Skill1560Stub __stub_Skill1560Stub = new Skill1560Stub(); + public static Skill1561Stub __stub_Skill1561Stub = new Skill1561Stub(); + public static Skill1562Stub __stub_Skill1562Stub = new Skill1562Stub(); + public static Skill1563Stub __stub_Skill1563Stub = new Skill1563Stub(); + public static Skill1564Stub __stub_Skill1564Stub = new Skill1564Stub(); + public static Skill1565Stub __stub_Skill1565Stub = new Skill1565Stub(); + public static Skill1566Stub __stub_Skill1566Stub = new Skill1566Stub(); + public static Skill1567Stub __stub_Skill1567Stub = new Skill1567Stub(); + public static Skill1578Stub __stub_Skill1578Stub = new Skill1578Stub(); + public static Skill1579Stub __stub_Skill1579Stub = new Skill1579Stub(); + public static Skill1580Stub __stub_Skill1580Stub = new Skill1580Stub(); + public static Skill1581Stub __stub_Skill1581Stub = new Skill1581Stub(); + public static Skill1582Stub __stub_Skill1582Stub = new Skill1582Stub(); + public static Skill1583Stub __stub_Skill1583Stub = new Skill1583Stub(); + public static Skill1584Stub __stub_Skill1584Stub = new Skill1584Stub(); + public static Skill1585Stub __stub_Skill1585Stub = new Skill1585Stub(); + public static Skill1586Stub __stub_Skill1586Stub = new Skill1586Stub(); + public static Skill1587Stub __stub_Skill1587Stub = new Skill1587Stub(); + public static Skill1588Stub __stub_Skill1588Stub = new Skill1588Stub(); + public static Skill1589Stub __stub_Skill1589Stub = new Skill1589Stub(); + public static Skill1590Stub __stub_Skill1590Stub = new Skill1590Stub(); + public static Skill1591Stub __stub_Skill1591Stub = new Skill1591Stub(); + public static Skill1592Stub __stub_Skill1592Stub = new Skill1592Stub(); + public static Skill1593Stub __stub_Skill1593Stub = new Skill1593Stub(); + public static Skill1594Stub __stub_Skill1594Stub = new Skill1594Stub(); + public static Skill1595Stub __stub_Skill1595Stub = new Skill1595Stub(); + public static Skill1596Stub __stub_Skill1596Stub = new Skill1596Stub(); + public static Skill1597Stub __stub_Skill1597Stub = new Skill1597Stub(); + public static Skill1598Stub __stub_Skill1598Stub = new Skill1598Stub(); + public static Skill1599Stub __stub_Skill1599Stub = new Skill1599Stub(); + public static Skill1600Stub __stub_Skill1600Stub = new Skill1600Stub(); + public static Skill1601Stub __stub_Skill1601Stub = new Skill1601Stub(); + public static Skill1602Stub __stub_Skill1602Stub = new Skill1602Stub(); + public static Skill1603Stub __stub_Skill1603Stub = new Skill1603Stub(); + public static Skill1604Stub __stub_Skill1604Stub = new Skill1604Stub(); + public static Skill1605Stub __stub_Skill1605Stub = new Skill1605Stub(); + public static Skill1606Stub __stub_Skill1606Stub = new Skill1606Stub(); + public static Skill1607Stub __stub_Skill1607Stub = new Skill1607Stub(); + public static Skill1608Stub __stub_Skill1608Stub = new Skill1608Stub(); + public static Skill1609Stub __stub_Skill1609Stub = new Skill1609Stub(); + public static Skill1610Stub __stub_Skill1610Stub = new Skill1610Stub(); + public static Skill1611Stub __stub_Skill1611Stub = new Skill1611Stub(); + public static Skill1612Stub __stub_Skill1612Stub = new Skill1612Stub(); + public static Skill1613Stub __stub_Skill1613Stub = new Skill1613Stub(); + public static Skill1614Stub __stub_Skill1614Stub = new Skill1614Stub(); + public static Skill1615Stub __stub_Skill1615Stub = new Skill1615Stub(); + public static Skill1616Stub __stub_Skill1616Stub = new Skill1616Stub(); + public static Skill1617Stub __stub_Skill1617Stub = new Skill1617Stub(); + public static Skill1646Stub __stub_Skill1646Stub = new Skill1646Stub(); + public static Skill1647Stub __stub_Skill1647Stub = new Skill1647Stub(); + public static Skill1648Stub __stub_Skill1648Stub = new Skill1648Stub(); + public static Skill1649Stub __stub_Skill1649Stub = new Skill1649Stub(); + public static Skill1650Stub __stub_Skill1650Stub = new Skill1650Stub(); + public static Skill1654Stub __stub_Skill1654Stub = new Skill1654Stub(); + public static Skill1655Stub __stub_Skill1655Stub = new Skill1655Stub(); + public static Skill1656Stub __stub_Skill1656Stub = new Skill1656Stub(); + public static Skill1741Stub __stub_Skill1741Stub = new Skill1741Stub(); + public static Skill1743Stub __stub_Skill1743Stub = new Skill1743Stub(); + public static Skill1744Stub __stub_Skill1744Stub = new Skill1744Stub(); + public static Skill1745Stub __stub_Skill1745Stub = new Skill1745Stub(); + public static Skill1746Stub __stub_Skill1746Stub = new Skill1746Stub(); + public static Skill1747Stub __stub_Skill1747Stub = new Skill1747Stub(); + public static Skill1748Stub __stub_Skill1748Stub = new Skill1748Stub(); + public static Skill1749Stub __stub_Skill1749Stub = new Skill1749Stub(); + public static Skill1750Stub __stub_Skill1750Stub = new Skill1750Stub(); + public static Skill1751Stub __stub_Skill1751Stub = new Skill1751Stub(); + public static Skill1752Stub __stub_Skill1752Stub = new Skill1752Stub(); + public static Skill1753Stub __stub_Skill1753Stub = new Skill1753Stub(); + public static Skill1754Stub __stub_Skill1754Stub = new Skill1754Stub(); + public static Skill1755Stub __stub_Skill1755Stub = new Skill1755Stub(); + public static Skill1756Stub __stub_Skill1756Stub = new Skill1756Stub(); + public static Skill1757Stub __stub_Skill1757Stub = new Skill1757Stub(); + public static Skill1758Stub __stub_Skill1758Stub = new Skill1758Stub(); + public static Skill1759Stub __stub_Skill1759Stub = new Skill1759Stub(); + public static Skill1760Stub __stub_Skill1760Stub = new Skill1760Stub(); + public static Skill1761Stub __stub_Skill1761Stub = new Skill1761Stub(); + public static Skill1762Stub __stub_Skill1762Stub = new Skill1762Stub(); + public static Skill1763Stub __stub_Skill1763Stub = new Skill1763Stub(); + public static Skill1764Stub __stub_Skill1764Stub = new Skill1764Stub(); + public static Skill1765Stub __stub_Skill1765Stub = new Skill1765Stub(); + public static Skill1766Stub __stub_Skill1766Stub = new Skill1766Stub(); + public static Skill1767Stub __stub_Skill1767Stub = new Skill1767Stub(); + public static Skill1768Stub __stub_Skill1768Stub = new Skill1768Stub(); + public static Skill1769Stub __stub_Skill1769Stub = new Skill1769Stub(); + public static Skill1770Stub __stub_Skill1770Stub = new Skill1770Stub(); + public static Skill1776Stub __stub_Skill1776Stub = new Skill1776Stub(); + public static Skill1777Stub __stub_Skill1777Stub = new Skill1777Stub(); + public static Skill1778Stub __stub_Skill1778Stub = new Skill1778Stub(); + public static Skill1779Stub __stub_Skill1779Stub = new Skill1779Stub(); + public static Skill1780Stub __stub_Skill1780Stub = new Skill1780Stub(); + public static Skill1781Stub __stub_Skill1781Stub = new Skill1781Stub(); + public static Skill1782Stub __stub_Skill1782Stub = new Skill1782Stub(); + public static Skill1783Stub __stub_Skill1783Stub = new Skill1783Stub(); + public static Skill1784Stub __stub_Skill1784Stub = new Skill1784Stub(); + public static Skill1785Stub __stub_Skill1785Stub = new Skill1785Stub(); + public static Skill1786Stub __stub_Skill1786Stub = new Skill1786Stub(); + public static Skill1787Stub __stub_Skill1787Stub = new Skill1787Stub(); + public static Skill1788Stub __stub_Skill1788Stub = new Skill1788Stub(); + public static Skill1789Stub __stub_Skill1789Stub = new Skill1789Stub(); + public static Skill1790Stub __stub_Skill1790Stub = new Skill1790Stub(); + public static Skill1791Stub __stub_Skill1791Stub = new Skill1791Stub(); + public static Skill1792Stub __stub_Skill1792Stub = new Skill1792Stub(); + public static Skill1793Stub __stub_Skill1793Stub = new Skill1793Stub(); + public static Skill1794Stub __stub_Skill1794Stub = new Skill1794Stub(); + public static Skill1795Stub __stub_Skill1795Stub = new Skill1795Stub(); + public static Skill1796Stub __stub_Skill1796Stub = new Skill1796Stub(); + public static Skill1797Stub __stub_Skill1797Stub = new Skill1797Stub(); + public static Skill1798Stub __stub_Skill1798Stub = new Skill1798Stub(); + public static Skill1799Stub __stub_Skill1799Stub = new Skill1799Stub(); + public static Skill1800Stub __stub_Skill1800Stub = new Skill1800Stub(); + public static Skill1801Stub __stub_Skill1801Stub = new Skill1801Stub(); + public static Skill1802Stub __stub_Skill1802Stub = new Skill1802Stub(); + public static Skill1803Stub __stub_Skill1803Stub = new Skill1803Stub(); + public static Skill1858Stub __stub_Skill1858Stub = new Skill1858Stub(); + public static Skill1878Stub __stub_Skill1878Stub = new Skill1878Stub(); + public static Skill1879Stub __stub_Skill1879Stub = new Skill1879Stub(); + public static Skill1880Stub __stub_Skill1880Stub = new Skill1880Stub(); + public static Skill1882Stub __stub_Skill1882Stub = new Skill1882Stub(); + public static Skill1883Stub __stub_Skill1883Stub = new Skill1883Stub(); + public static Skill1884Stub __stub_Skill1884Stub = new Skill1884Stub(); + public static Skill1885Stub __stub_Skill1885Stub = new Skill1885Stub(); + public static Skill1886Stub __stub_Skill1886Stub = new Skill1886Stub(); + public static Skill1887Stub __stub_Skill1887Stub = new Skill1887Stub(); + public static Skill1888Stub __stub_Skill1888Stub = new Skill1888Stub(); + public static Skill1889Stub __stub_Skill1889Stub = new Skill1889Stub(); + public static Skill1890Stub __stub_Skill1890Stub = new Skill1890Stub(); + public static Skill1891Stub __stub_Skill1891Stub = new Skill1891Stub(); + public static Skill1892Stub __stub_Skill1892Stub = new Skill1892Stub(); + public static Skill1893Stub __stub_Skill1893Stub = new Skill1893Stub(); + public static Skill1894Stub __stub_Skill1894Stub = new Skill1894Stub(); + public static Skill1895Stub __stub_Skill1895Stub = new Skill1895Stub(); + public static Skill1896Stub __stub_Skill1896Stub = new Skill1896Stub(); + public static Skill1897Stub __stub_Skill1897Stub = new Skill1897Stub(); + public static Skill1898Stub __stub_Skill1898Stub = new Skill1898Stub(); + +#if SKILL_SERVER + public static Skill1437 __stub_Skill1437 = new Skill1437(); + public static Skill1438 __stub_Skill1438 = new Skill1438(); + public static Skill1439 __stub_Skill1439 = new Skill1439(); + public static Skill1440 __stub_Skill1440 = new Skill1440(); + public static Skill1441 __stub_Skill1441 = new Skill1441(); + public static Skill1442 __stub_Skill1442 = new Skill1442(); + public static Skill1443 __stub_Skill1443 = new Skill1443(); + public static Skill1444 __stub_Skill1444 = new Skill1444(); + public static Skill1445 __stub_Skill1445 = new Skill1445(); + public static Skill1446 __stub_Skill1446 = new Skill1446(); + public static Skill1447 __stub_Skill1447 = new Skill1447(); + public static Skill1448 __stub_Skill1448 = new Skill1448(); + public static Skill1449 __stub_Skill1449 = new Skill1449(); + public static Skill1450 __stub_Skill1450 = new Skill1450(); + public static Skill1451 __stub_Skill1451 = new Skill1451(); + public static Skill1452 __stub_Skill1452 = new Skill1452(); + public static Skill1453 __stub_Skill1453 = new Skill1453(); + public static Skill1454 __stub_Skill1454 = new Skill1454(); + public static Skill1455 __stub_Skill1455 = new Skill1455(); + public static Skill1456 __stub_Skill1456 = new Skill1456(); + public static Skill1457 __stub_Skill1457 = new Skill1457(); + public static Skill1458 __stub_Skill1458 = new Skill1458(); + public static Skill1459 __stub_Skill1459 = new Skill1459(); + public static Skill1460 __stub_Skill1460 = new Skill1460(); + public static Skill1461 __stub_Skill1461 = new Skill1461(); + public static Skill1462 __stub_Skill1462 = new Skill1462(); + public static Skill1463 __stub_Skill1463 = new Skill1463(); + public static Skill1464 __stub_Skill1464 = new Skill1464(); + public static Skill1465 __stub_Skill1465 = new Skill1465(); + public static Skill1466 __stub_Skill1466 = new Skill1466(); + public static Skill1467 __stub_Skill1467 = new Skill1467(); + public static Skill1468 __stub_Skill1468 = new Skill1468(); + public static Skill1469 __stub_Skill1469 = new Skill1469(); + public static Skill1470 __stub_Skill1470 = new Skill1470(); + public static Skill1471 __stub_Skill1471 = new Skill1471(); + public static Skill1472 __stub_Skill1472 = new Skill1472(); + public static Skill1473 __stub_Skill1473 = new Skill1473(); + public static Skill1474 __stub_Skill1474 = new Skill1474(); + public static Skill1475 __stub_Skill1475 = new Skill1475(); + public static Skill1476 __stub_Skill1476 = new Skill1476(); + public static Skill1477 __stub_Skill1477 = new Skill1477(); + public static Skill1478 __stub_Skill1478 = new Skill1478(); + public static Skill1479 __stub_Skill1479 = new Skill1479(); + public static Skill1480 __stub_Skill1480 = new Skill1480(); + public static Skill1481 __stub_Skill1481 = new Skill1481(); + public static Skill1482 __stub_Skill1482 = new Skill1482(); + public static Skill1483 __stub_Skill1483 = new Skill1483(); + public static Skill1484 __stub_Skill1484 = new Skill1484(); + public static Skill1485 __stub_Skill1485 = new Skill1485(); + public static Skill1486 __stub_Skill1486 = new Skill1486(); + public static Skill1487 __stub_Skill1487 = new Skill1487(); + public static Skill1488 __stub_Skill1488 = new Skill1488(); + public static Skill1489 __stub_Skill1489 = new Skill1489(); + public static Skill1490 __stub_Skill1490 = new Skill1490(); + public static Skill1491 __stub_Skill1491 = new Skill1491(); + public static Skill1492 __stub_Skill1492 = new Skill1492(); + public static Skill1493 __stub_Skill1493 = new Skill1493(); + public static Skill1494 __stub_Skill1494 = new Skill1494(); + public static Skill1495 __stub_Skill1495 = new Skill1495(); + public static Skill1496 __stub_Skill1496 = new Skill1496(); + public static Skill1497 __stub_Skill1497 = new Skill1497(); + public static Skill1499 __stub_Skill1499 = new Skill1499(); + public static Skill1500 __stub_Skill1500 = new Skill1500(); + public static Skill1501 __stub_Skill1501 = new Skill1501(); + public static Skill1502 __stub_Skill1502 = new Skill1502(); + public static Skill1503 __stub_Skill1503 = new Skill1503(); + public static Skill1504 __stub_Skill1504 = new Skill1504(); + public static Skill1505 __stub_Skill1505 = new Skill1505(); + public static Skill1506 __stub_Skill1506 = new Skill1506(); + public static Skill1507 __stub_Skill1507 = new Skill1507(); + public static Skill1508 __stub_Skill1508 = new Skill1508(); + public static Skill1509 __stub_Skill1509 = new Skill1509(); + public static Skill1510 __stub_Skill1510 = new Skill1510(); + public static Skill1511 __stub_Skill1511 = new Skill1511(); + public static Skill1512 __stub_Skill1512 = new Skill1512(); + public static Skill1513 __stub_Skill1513 = new Skill1513(); + public static Skill1514 __stub_Skill1514 = new Skill1514(); + public static Skill1515 __stub_Skill1515 = new Skill1515(); + public static Skill1516 __stub_Skill1516 = new Skill1516(); + public static Skill1517 __stub_Skill1517 = new Skill1517(); + public static Skill1518 __stub_Skill1518 = new Skill1518(); + public static Skill1519 __stub_Skill1519 = new Skill1519(); + public static Skill1520 __stub_Skill1520 = new Skill1520(); + public static Skill1521 __stub_Skill1521 = new Skill1521(); + public static Skill1522 __stub_Skill1522 = new Skill1522(); + public static Skill1523 __stub_Skill1523 = new Skill1523(); + public static Skill1524 __stub_Skill1524 = new Skill1524(); + public static Skill1525 __stub_Skill1525 = new Skill1525(); + public static Skill1526 __stub_Skill1526 = new Skill1526(); + public static Skill1527 __stub_Skill1527 = new Skill1527(); + public static Skill1528 __stub_Skill1528 = new Skill1528(); + public static Skill1529 __stub_Skill1529 = new Skill1529(); + public static Skill1530 __stub_Skill1530 = new Skill1530(); + public static Skill1531 __stub_Skill1531 = new Skill1531(); + public static Skill1532 __stub_Skill1532 = new Skill1532(); + public static Skill1533 __stub_Skill1533 = new Skill1533(); + public static Skill1534 __stub_Skill1534 = new Skill1534(); + public static Skill1535 __stub_Skill1535 = new Skill1535(); + public static Skill1536 __stub_Skill1536 = new Skill1536(); + public static Skill1537 __stub_Skill1537 = new Skill1537(); + public static Skill1538 __stub_Skill1538 = new Skill1538(); + public static Skill1539 __stub_Skill1539 = new Skill1539(); + public static Skill1540 __stub_Skill1540 = new Skill1540(); + public static Skill1541 __stub_Skill1541 = new Skill1541(); + public static Skill1542 __stub_Skill1542 = new Skill1542(); + public static Skill1543 __stub_Skill1543 = new Skill1543(); + public static Skill1544 __stub_Skill1544 = new Skill1544(); + public static Skill1545 __stub_Skill1545 = new Skill1545(); + public static Skill1546 __stub_Skill1546 = new Skill1546(); + public static Skill1547 __stub_Skill1547 = new Skill1547(); + public static Skill1548 __stub_Skill1548 = new Skill1548(); + public static Skill1549 __stub_Skill1549 = new Skill1549(); + public static Skill1550 __stub_Skill1550 = new Skill1550(); + public static Skill1551 __stub_Skill1551 = new Skill1551(); + public static Skill1552 __stub_Skill1552 = new Skill1552(); + public static Skill1553 __stub_Skill1553 = new Skill1553(); + public static Skill1554 __stub_Skill1554 = new Skill1554(); + public static Skill1555 __stub_Skill1555 = new Skill1555(); + public static Skill1556 __stub_Skill1556 = new Skill1556(); + public static Skill1557 __stub_Skill1557 = new Skill1557(); + public static Skill1558 __stub_Skill1558 = new Skill1558(); + public static Skill1559 __stub_Skill1559 = new Skill1559(); + public static Skill1560 __stub_Skill1560 = new Skill1560(); + public static Skill1561 __stub_Skill1561 = new Skill1561(); + public static Skill1562 __stub_Skill1562 = new Skill1562(); + public static Skill1563 __stub_Skill1563 = new Skill1563(); + public static Skill1564 __stub_Skill1564 = new Skill1564(); + public static Skill1565 __stub_Skill1565 = new Skill1565(); + public static Skill1566 __stub_Skill1566 = new Skill1566(); + public static Skill1567 __stub_Skill1567 = new Skill1567(); + public static Skill1578 __stub_Skill1578 = new Skill1578(); + public static Skill1579 __stub_Skill1579 = new Skill1579(); + public static Skill1580 __stub_Skill1580 = new Skill1580(); + public static Skill1581 __stub_Skill1581 = new Skill1581(); + public static Skill1582 __stub_Skill1582 = new Skill1582(); + public static Skill1583 __stub_Skill1583 = new Skill1583(); + public static Skill1584 __stub_Skill1584 = new Skill1584(); + public static Skill1585 __stub_Skill1585 = new Skill1585(); + public static Skill1586 __stub_Skill1586 = new Skill1586(); + public static Skill1587 __stub_Skill1587 = new Skill1587(); + public static Skill1588 __stub_Skill1588 = new Skill1588(); + public static Skill1589 __stub_Skill1589 = new Skill1589(); + public static Skill1590 __stub_Skill1590 = new Skill1590(); + public static Skill1591 __stub_Skill1591 = new Skill1591(); + public static Skill1592 __stub_Skill1592 = new Skill1592(); + public static Skill1593 __stub_Skill1593 = new Skill1593(); + public static Skill1594 __stub_Skill1594 = new Skill1594(); + public static Skill1595 __stub_Skill1595 = new Skill1595(); + public static Skill1596 __stub_Skill1596 = new Skill1596(); + public static Skill1597 __stub_Skill1597 = new Skill1597(); + public static Skill1598 __stub_Skill1598 = new Skill1598(); + public static Skill1599 __stub_Skill1599 = new Skill1599(); + public static Skill1600 __stub_Skill1600 = new Skill1600(); + public static Skill1601 __stub_Skill1601 = new Skill1601(); + public static Skill1602 __stub_Skill1602 = new Skill1602(); + public static Skill1603 __stub_Skill1603 = new Skill1603(); + public static Skill1604 __stub_Skill1604 = new Skill1604(); + public static Skill1605 __stub_Skill1605 = new Skill1605(); + public static Skill1606 __stub_Skill1606 = new Skill1606(); + public static Skill1607 __stub_Skill1607 = new Skill1607(); + public static Skill1608 __stub_Skill1608 = new Skill1608(); + public static Skill1609 __stub_Skill1609 = new Skill1609(); + public static Skill1610 __stub_Skill1610 = new Skill1610(); + public static Skill1611 __stub_Skill1611 = new Skill1611(); + public static Skill1612 __stub_Skill1612 = new Skill1612(); + public static Skill1613 __stub_Skill1613 = new Skill1613(); + public static Skill1614 __stub_Skill1614 = new Skill1614(); + public static Skill1615 __stub_Skill1615 = new Skill1615(); + public static Skill1616 __stub_Skill1616 = new Skill1616(); + public static Skill1617 __stub_Skill1617 = new Skill1617(); + public static Skill1646 __stub_Skill1646 = new Skill1646(); + public static Skill1647 __stub_Skill1647 = new Skill1647(); + public static Skill1648 __stub_Skill1648 = new Skill1648(); + public static Skill1649 __stub_Skill1649 = new Skill1649(); + public static Skill1650 __stub_Skill1650 = new Skill1650(); + public static Skill1654 __stub_Skill1654 = new Skill1654(); + public static Skill1655 __stub_Skill1655 = new Skill1655(); + public static Skill1656 __stub_Skill1656 = new Skill1656(); + public static Skill1741 __stub_Skill1741 = new Skill1741(); + public static Skill1743 __stub_Skill1743 = new Skill1743(); + public static Skill1744 __stub_Skill1744 = new Skill1744(); + public static Skill1745 __stub_Skill1745 = new Skill1745(); + public static Skill1746 __stub_Skill1746 = new Skill1746(); + public static Skill1747 __stub_Skill1747 = new Skill1747(); + public static Skill1748 __stub_Skill1748 = new Skill1748(); + public static Skill1749 __stub_Skill1749 = new Skill1749(); + public static Skill1750 __stub_Skill1750 = new Skill1750(); + public static Skill1751 __stub_Skill1751 = new Skill1751(); + public static Skill1752 __stub_Skill1752 = new Skill1752(); + public static Skill1753 __stub_Skill1753 = new Skill1753(); + public static Skill1754 __stub_Skill1754 = new Skill1754(); + public static Skill1755 __stub_Skill1755 = new Skill1755(); + public static Skill1756 __stub_Skill1756 = new Skill1756(); + public static Skill1757 __stub_Skill1757 = new Skill1757(); + public static Skill1758 __stub_Skill1758 = new Skill1758(); + public static Skill1759 __stub_Skill1759 = new Skill1759(); + public static Skill1760 __stub_Skill1760 = new Skill1760(); + public static Skill1761 __stub_Skill1761 = new Skill1761(); + public static Skill1762 __stub_Skill1762 = new Skill1762(); + public static Skill1763 __stub_Skill1763 = new Skill1763(); + public static Skill1764 __stub_Skill1764 = new Skill1764(); + public static Skill1765 __stub_Skill1765 = new Skill1765(); + public static Skill1766 __stub_Skill1766 = new Skill1766(); + public static Skill1767 __stub_Skill1767 = new Skill1767(); + public static Skill1768 __stub_Skill1768 = new Skill1768(); + public static Skill1769 __stub_Skill1769 = new Skill1769(); + public static Skill1770 __stub_Skill1770 = new Skill1770(); + public static Skill1776 __stub_Skill1776 = new Skill1776(); + public static Skill1777 __stub_Skill1777 = new Skill1777(); + public static Skill1778 __stub_Skill1778 = new Skill1778(); + public static Skill1779 __stub_Skill1779 = new Skill1779(); + public static Skill1780 __stub_Skill1780 = new Skill1780(); + public static Skill1781 __stub_Skill1781 = new Skill1781(); + public static Skill1782 __stub_Skill1782 = new Skill1782(); + public static Skill1783 __stub_Skill1783 = new Skill1783(); + public static Skill1784 __stub_Skill1784 = new Skill1784(); + public static Skill1785 __stub_Skill1785 = new Skill1785(); + public static Skill1786 __stub_Skill1786 = new Skill1786(); + public static Skill1787 __stub_Skill1787 = new Skill1787(); + public static Skill1788 __stub_Skill1788 = new Skill1788(); + public static Skill1789 __stub_Skill1789 = new Skill1789(); + public static Skill1790 __stub_Skill1790 = new Skill1790(); + public static Skill1791 __stub_Skill1791 = new Skill1791(); + public static Skill1792 __stub_Skill1792 = new Skill1792(); + public static Skill1793 __stub_Skill1793 = new Skill1793(); + public static Skill1794 __stub_Skill1794 = new Skill1794(); + public static Skill1795 __stub_Skill1795 = new Skill1795(); + public static Skill1796 __stub_Skill1796 = new Skill1796(); + public static Skill1797 __stub_Skill1797 = new Skill1797(); + public static Skill1798 __stub_Skill1798 = new Skill1798(); + public static Skill1799 __stub_Skill1799 = new Skill1799(); + public static Skill1800 __stub_Skill1800 = new Skill1800(); + public static Skill1801 __stub_Skill1801 = new Skill1801(); + public static Skill1802 __stub_Skill1802 = new Skill1802(); + public static Skill1803 __stub_Skill1803 = new Skill1803(); + public static Skill1858 __stub_Skill1858 = new Skill1858(); + public static Skill1878 __stub_Skill1878 = new Skill1878(); + public static Skill1879 __stub_Skill1879 = new Skill1879(); + public static Skill1880 __stub_Skill1880 = new Skill1880(); + public static Skill1882 __stub_Skill1882 = new Skill1882(); + public static Skill1883 __stub_Skill1883 = new Skill1883(); + public static Skill1884 __stub_Skill1884 = new Skill1884(); + public static Skill1885 __stub_Skill1885 = new Skill1885(); + public static Skill1886 __stub_Skill1886 = new Skill1886(); + public static Skill1887 __stub_Skill1887 = new Skill1887(); + public static Skill1888 __stub_Skill1888 = new Skill1888(); + public static Skill1889 __stub_Skill1889 = new Skill1889(); + public static Skill1890 __stub_Skill1890 = new Skill1890(); + public static Skill1891 __stub_Skill1891 = new Skill1891(); + public static Skill1892 __stub_Skill1892 = new Skill1892(); + public static Skill1893 __stub_Skill1893 = new Skill1893(); + public static Skill1894 __stub_Skill1894 = new Skill1894(); + public static Skill1895 __stub_Skill1895 = new Skill1895(); + public static Skill1896 __stub_Skill1896 = new Skill1896(); + public static Skill1897 __stub_Skill1897 = new Skill1897(); + public static Skill1898 __stub_Skill1898 = new Skill1898(); +#endif + } +} diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/SkillStubs8.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/SkillStubs8.cs.meta new file mode 100644 index 0000000000..d1fd272233 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/SkillStubs8.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a5dde53ad794b4c7bbfaba5fbeaf80dd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1437.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1437.cs new file mode 100644 index 0000000000..286b3c546f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1437.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1437 : Skill + { + public const int SKILL_ID = 1437; + + public Skill1437() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1437Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1437Stub() : base(1437) + { + cls = 127; + name = "红树怪攻击"; + nativename = "红树怪攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "探险者_技能1击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/探险者_技能1击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1437Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1437.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1437.cs.meta new file mode 100644 index 0000000000..5c9c5cdf31 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1437.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6b100874adef24b3f895f45c8d5f7d71 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1438.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1438.cs new file mode 100644 index 0000000000..8a47c16cdf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1438.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1438 : Skill + { + public const int SKILL_ID = 1438; + + public Skill1438() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1438Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1438Stub() : base(1438) + { + cls = 127; + name = "紫树怪攻击"; + nativename = "紫树怪攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "探险者_技能1击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/探险者_技能1击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1438Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1438.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1438.cs.meta new file mode 100644 index 0000000000..49a28e95f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1438.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 170c76b7f5d1d4dc2bc3d4e542896cc9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1439.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1439.cs new file mode 100644 index 0000000000..7cb511129c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1439.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1439 : Skill + { + public const int SKILL_ID = 1439; + + public Skill1439() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1439Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1439Stub() : base(1439) + { + cls = 127; + name = "男人1攻击"; + nativename = "男人1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1439Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1439.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1439.cs.meta new file mode 100644 index 0000000000..066acbbcd0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1439.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 75f97e8d7615f457db0dc7c69878109a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1440.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1440.cs new file mode 100644 index 0000000000..faf6466830 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1440.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1440 : Skill + { + public const int SKILL_ID = 1440; + + public Skill1440() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1440Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1440Stub() : base(1440) + { + cls = 127; + name = "男人2攻击"; + nativename = "男人2攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1440Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1440.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1440.cs.meta new file mode 100644 index 0000000000..e632db20ec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1440.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8280512bd21c64dca929737496ffb98c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1441.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1441.cs new file mode 100644 index 0000000000..f929874810 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1441.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1441 : Skill + { + public const int SKILL_ID = 1441; + + public Skill1441() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1441Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1441Stub() : base(1441) + { + cls = 127; + name = "男人3攻击"; + nativename = "男人3攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1441Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1441.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1441.cs.meta new file mode 100644 index 0000000000..8cf066fd08 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1441.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a7a1470eedfae4b71a4b3cbbb655e765 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1442.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1442.cs new file mode 100644 index 0000000000..0c4eba9867 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1442.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1442 : Skill + { + public const int SKILL_ID = 1442; + + public Skill1442() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1442Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1442Stub() : base(1442) + { + cls = 127; + name = "女人1攻击"; + nativename = "女人1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "冰虫_击中2"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰虫_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰虫_击中2.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)5; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1442Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1442.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1442.cs.meta new file mode 100644 index 0000000000..5b15805466 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1442.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bb4864123e1524ab4b6aa9994cbb507a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1443.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1443.cs new file mode 100644 index 0000000000..77225cbb69 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1443.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1443 : Skill + { + public const int SKILL_ID = 1443; + + public Skill1443() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1443Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1443Stub() : base(1443) + { + cls = 127; + name = "红雪人攻击"; + nativename = "红雪人攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "硬礁海虫中_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/技能/硬礁海虫中技能受击.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1443Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1443.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1443.cs.meta new file mode 100644 index 0000000000..e98783db45 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1443.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c4b2f57a8881e415a81d95600138ee1b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1444.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1444.cs new file mode 100644 index 0000000000..996f007d2d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1444.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1444 : Skill + { + public const int SKILL_ID = 1444; + + public Skill1444() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1444Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1444Stub() : base(1444) + { + cls = 127; + name = "蓝雪人攻击"; + nativename = "蓝雪人攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "硬礁海虫中_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/技能/硬礁海虫中技能受击.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1444Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1444.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1444.cs.meta new file mode 100644 index 0000000000..d6269fa356 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1444.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6131ef17f14414336a0a67683fa88f3f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1445.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1445.cs new file mode 100644 index 0000000000..8e551251fa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1445.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1445 : Skill + { + public const int SKILL_ID = 1445; + + public Skill1445() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1445Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1445Stub() : base(1445) + { + cls = 127; + name = "黄巨牛攻击"; + nativename = "黄巨牛攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹_毒"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/黑暗刺客_击中1.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1445Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1445.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1445.cs.meta new file mode 100644 index 0000000000..cb3ba4c9c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1445.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ad40240bb8f8149129f0b40da1171900 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1446.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1446.cs new file mode 100644 index 0000000000..edc154e4c2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1446.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1446 : Skill + { + public const int SKILL_ID = 1446; + + public Skill1446() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1446Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1446Stub() : base(1446) + { + cls = 127; + name = "蓝巨牛攻击"; + nativename = "蓝巨牛攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹高级_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/蜘蛛蟹高级_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1446Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1446.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1446.cs.meta new file mode 100644 index 0000000000..eaee356e8d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1446.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f32e0e33b4fa649068db845d130391e6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1447.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1447.cs new file mode 100644 index 0000000000..90b6c9e990 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1447.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1447 : Skill + { + public const int SKILL_ID = 1447; + + public Skill1447() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1447Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1447Stub() : base(1447) + { + cls = 127; + name = "绿巨牛攻击"; + nativename = "绿巨牛攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "祭祀使徒高级_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/祭祀使徒高级_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1447Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1447.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1447.cs.meta new file mode 100644 index 0000000000..103b7f53e1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1447.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 712f9284f80834b4ea58fa39cd117e9b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1448.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1448.cs new file mode 100644 index 0000000000..82d4cb188a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1448.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1448 : Skill + { + public const int SKILL_ID = 1448; + + public Skill1448() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1448Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1448Stub() : base(1448) + { + cls = 127; + name = "巨灵魔攻击"; + nativename = "巨灵魔攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物风火王普通击中火"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/陆化龟喷火术击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1448Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1448.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1448.cs.meta new file mode 100644 index 0000000000..50ecac892a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1448.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 93d7b2f56d4f74cb38887fdf6884545a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1449.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1449.cs new file mode 100644 index 0000000000..5d38a3166f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1449.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1449 : Skill + { + public const int SKILL_ID = 1449; + + public Skill1449() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1449Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1449Stub() : base(1449) + { + cls = 127; + name = "探子攻击"; + nativename = "探子攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1449Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1449.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1449.cs.meta new file mode 100644 index 0000000000..9b0676baa0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1449.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 37aa65006329d4a9292aa691b140a87b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1450.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1450.cs new file mode 100644 index 0000000000..f1b753d608 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1450.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1450 : Skill + { + public const int SKILL_ID = 1450; + + public Skill1450() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1450Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1450Stub() : base(1450) + { + cls = 127; + name = "红探子攻击"; + nativename = "红探子攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1450Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1450.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1450.cs.meta new file mode 100644 index 0000000000..5e0bfa86c1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1450.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 16bd79c9b031e4370ac6ddcb9ddfc876 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1451.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1451.cs new file mode 100644 index 0000000000..6b3e899b1e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1451.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1451 : Skill + { + public const int SKILL_ID = 1451; + + public Skill1451() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1451Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1451Stub() : base(1451) + { + cls = 127; + name = "强盗1攻击"; + nativename = "强盗1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1451Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1451.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1451.cs.meta new file mode 100644 index 0000000000..2705096d7c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1451.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 76f4d73537f92462d9242aa74c35eff4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1452.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1452.cs new file mode 100644 index 0000000000..60a6be8fd2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1452.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1452 : Skill + { + public const int SKILL_ID = 1452; + + public Skill1452() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1452Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1452Stub() : base(1452) + { + cls = 127; + name = "强盗2攻击"; + nativename = "强盗2攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血蚺暗杀者_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/血蚺暗杀者_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1452Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1452.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1452.cs.meta new file mode 100644 index 0000000000..eba77e41bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1452.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bd9e14e6dd2944ae79283c635efa0acb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1453.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1453.cs new file mode 100644 index 0000000000..ad662c9750 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1453.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1453 : Skill + { + public const int SKILL_ID = 1453; + + public Skill1453() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1453Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1453Stub() : base(1453) + { + cls = 127; + name = "水元素1攻击"; + nativename = "水元素1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1453Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1453.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1453.cs.meta new file mode 100644 index 0000000000..daf1686f65 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1453.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7a40790951e7c4390a9c975bac8791d3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1454.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1454.cs new file mode 100644 index 0000000000..1ed82d0f54 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1454.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1454 : Skill + { + public const int SKILL_ID = 1454; + + public Skill1454() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1454Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1454Stub() : base(1454) + { + cls = 127; + name = "水元素2攻击"; + nativename = "水元素2攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "深海游荡者_巨钳击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/深海游荡者_巨钳击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1454Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1454.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1454.cs.meta new file mode 100644 index 0000000000..b841b6023b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1454.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b732e48598eb14566abc70d395983b6a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1455.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1455.cs new file mode 100644 index 0000000000..e2c4b6bdd5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1455.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1455 : Skill + { + public const int SKILL_ID = 1455; + + public Skill1455() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1455Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1455Stub() : base(1455) + { + cls = 127; + name = "水元素3攻击"; + nativename = "水元素3攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1虎击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虎击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1455Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1455.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1455.cs.meta new file mode 100644 index 0000000000..586f11cd9f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1455.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7d67b1b10b8054e11b458ab900f6be4f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1456.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1456.cs new file mode 100644 index 0000000000..aaa68c4fdf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1456.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1456 : Skill + { + public const int SKILL_ID = 1456; + + public Skill1456() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1456Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1456Stub() : base(1456) + { + cls = 127; + name = "狼1攻击"; + nativename = "狼1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1虎击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虎击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1456Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1456.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1456.cs.meta new file mode 100644 index 0000000000..da003410de --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1456.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c551a7987fbcc42f9a626583b617931f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1457.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1457.cs new file mode 100644 index 0000000000..062dfd49fb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1457.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1457 : Skill + { + public const int SKILL_ID = 1457; + + public Skill1457() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1457Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1457Stub() : base(1457) + { + cls = 127; + name = "紫狼1攻击"; + nativename = "紫狼1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1虎击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虎击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1457Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1457.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1457.cs.meta new file mode 100644 index 0000000000..410a97e9f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1457.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 517483a21ea5546e5a45e22a7aea22fe \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1458.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1458.cs new file mode 100644 index 0000000000..53433d453b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1458.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1458 : Skill + { + public const int SKILL_ID = 1458; + + public Skill1458() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1458Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1458Stub() : base(1458) + { + cls = 127; + name = "狐猴攻击"; + nativename = "狐猴攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血蚺巡逻队_愤怒击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/血蚺巡逻队_愤怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1458Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1458.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1458.cs.meta new file mode 100644 index 0000000000..872a703766 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1458.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4143b0ab7a0dc46309b304b9b934a32a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1459.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1459.cs new file mode 100644 index 0000000000..4701446e6d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1459.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1459 : Skill + { + public const int SKILL_ID = 1459; + + public Skill1459() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1459Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1459Stub() : base(1459) + { + cls = 127; + name = "眼睛猴1攻击"; + nativename = "眼睛猴1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1459Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1459.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1459.cs.meta new file mode 100644 index 0000000000..a5d58769eb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1459.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4580bc49f52a24a2c801e48e6b32d37b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1460.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1460.cs new file mode 100644 index 0000000000..47c82f7d13 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1460.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1460 : Skill + { + public const int SKILL_ID = 1460; + + public Skill1460() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1460Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1460Stub() : base(1460) + { + cls = 127; + name = "眼睛猴2攻击"; + nativename = "眼睛猴2攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1460Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1460.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1460.cs.meta new file mode 100644 index 0000000000..ca65e11bc8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1460.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f196f4ebe357448b3bc14d0c1733eaeb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1461.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1461.cs new file mode 100644 index 0000000000..cf1130a0b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1461.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1461 : Skill + { + public const int SKILL_ID = 1461; + + public Skill1461() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1461Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1461Stub() : base(1461) + { + cls = 127; + name = "眼睛猴3攻击"; + nativename = "眼睛猴3攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1461Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1461.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1461.cs.meta new file mode 100644 index 0000000000..0a80ca28d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1461.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2bc4071b5258e4cee8d75a064359244f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1462.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1462.cs new file mode 100644 index 0000000000..6cbd6be4dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1462.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1462 : Skill + { + public const int SKILL_ID = 1462; + + public Skill1462() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1462Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1462Stub() : base(1462) + { + cls = 127; + name = "白猫头鹰攻击"; + nativename = "白猫头鹰攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "黑礁海虫高_风火轮击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/硬礁海虫高_风火轮受击.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1462Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1462.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1462.cs.meta new file mode 100644 index 0000000000..49e61fc1ab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1462.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 92418fb67313e4ced95c7cc5dd3e282f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1463.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1463.cs new file mode 100644 index 0000000000..817cbbddd7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1463.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1463 : Skill + { + public const int SKILL_ID = 1463; + + public Skill1463() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1463Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1463Stub() : base(1463) + { + cls = 127; + name = "红猫头鹰攻击"; + nativename = "红猫头鹰攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "黑礁海虫高_风火轮击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/硬礁海虫高_风火轮受击.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1463Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1463.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1463.cs.meta new file mode 100644 index 0000000000..11d972ff6c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1463.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 749d6db787cd64f7b82a8c5f2cf9b83b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1464.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1464.cs new file mode 100644 index 0000000000..fac5b9d3e1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1464.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1464 : Skill + { + public const int SKILL_ID = 1464; + + public Skill1464() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1464Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1464Stub() : base(1464) + { + cls = 127; + name = "黄甲虫攻击"; + nativename = "黄甲虫攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "红色火焰怪精英_技能攻击2_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/红色火焰怪精英_技能攻击2_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1464Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1464.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1464.cs.meta new file mode 100644 index 0000000000..383fadeb55 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1464.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 07ed4a0370fda4123b166e3e1d260067 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1465.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1465.cs new file mode 100644 index 0000000000..5b09a8b00a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1465.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1465 : Skill + { + public const int SKILL_ID = 1465; + + public Skill1465() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1465Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1465Stub() : base(1465) + { + cls = 127; + name = "蓝甲虫攻击"; + nativename = "蓝甲虫攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "探险者_技能1击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/探险者_技能1击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1465Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1465.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1465.cs.meta new file mode 100644 index 0000000000..777450f011 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1465.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e5f178b10607f4ab5bc10d824b252f80 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1466.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1466.cs new file mode 100644 index 0000000000..bae4df546a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1466.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1466 : Skill + { + public const int SKILL_ID = 1466; + + public Skill1466() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1466Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1466Stub() : base(1466) + { + cls = 127; + name = "花蜘蛛攻击"; + nativename = "花蜘蛛攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1荆棘术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/荆棘符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1466Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1466.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1466.cs.meta new file mode 100644 index 0000000000..bb4efd670b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1466.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 84c5c51ebffa94531be19b088b2361d0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1467.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1467.cs new file mode 100644 index 0000000000..2bd6c7af47 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1467.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1467 : Skill + { + public const int SKILL_ID = 1467; + + public Skill1467() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1467Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1467Stub() : base(1467) + { + cls = 127; + name = "蜘蛛1攻击"; + nativename = "蜘蛛1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1荆棘术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/荆棘符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1467Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1467.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1467.cs.meta new file mode 100644 index 0000000000..294f394e17 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1467.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 22f1d86642d3b44f988e3cb40cdeb845 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1468.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1468.cs new file mode 100644 index 0000000000..bf1b96dccf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1468.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1468 : Skill + { + public const int SKILL_ID = 1468; + + public Skill1468() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1468Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1468Stub() : base(1468) + { + cls = 127; + name = "黄羊攻击"; + nativename = "黄羊攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物风火王普通击中火"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/陆化龟喷火术击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(1.0f, 1.0f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1468Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1468.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1468.cs.meta new file mode 100644 index 0000000000..e000edcb99 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1468.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 08b088921be4a4c28bb4fc46364816ef \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1469.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1469.cs new file mode 100644 index 0000000000..5ece9e2f01 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1469.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1469 : Skill + { + public const int SKILL_ID = 1469; + + public Skill1469() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1469Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1469Stub() : base(1469) + { + cls = 127; + name = "蓝羊攻击"; + nativename = "蓝羊攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "小鱼人蓝跳起攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/小鱼人蓝跳起攻击.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1469Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1469.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1469.cs.meta new file mode 100644 index 0000000000..f64ce9149e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1469.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d4a4f99990d94433dadc2ff1a0b9419b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1470.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1470.cs new file mode 100644 index 0000000000..e87aae4f3b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1470.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1470 : Skill + { + public const int SKILL_ID = 1470; + + public Skill1470() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1470Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1470Stub() : base(1470) + { + cls = 127; + name = "蓝花怪攻击"; + nativename = "蓝花怪攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "能量结晶体高级击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/能量结晶体高级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1470Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1470.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1470.cs.meta new file mode 100644 index 0000000000..3f59ff0793 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1470.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 844f54a100cc34fa8b25618a3a858cb9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1471.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1471.cs new file mode 100644 index 0000000000..0a114735ef --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1471.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1471 : Skill + { + public const int SKILL_ID = 1471; + + public Skill1471() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1471Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1471Stub() : base(1471) + { + cls = 127; + name = "蓝长臂猿攻击"; + nativename = "蓝长臂猿攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1471Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1471.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1471.cs.meta new file mode 100644 index 0000000000..57f56f6bbf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1471.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7dfcd97b999d94518ae18a4eccc3a0e0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1472.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1472.cs new file mode 100644 index 0000000000..5a06e234ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1472.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1472 : Skill + { + public const int SKILL_ID = 1472; + + public Skill1472() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1472Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1472Stub() : base(1472) + { + cls = 127; + name = "绿长臂猿攻击"; + nativename = "绿长臂猿攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "能量结晶体高级击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/能量结晶体高级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1472Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1472.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1472.cs.meta new file mode 100644 index 0000000000..4164f5eb75 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1472.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 749877c6bddf14f69b25419b86da2c23 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1473.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1473.cs new file mode 100644 index 0000000000..2a33749255 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1473.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1473 : Skill + { + public const int SKILL_ID = 1473; + + public Skill1473() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1473Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1473Stub() : base(1473) + { + cls = 127; + name = "蓝雪人2攻击"; + nativename = "蓝雪人2攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "BOSS深海纳加领主_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/BOSS深海纳加领主_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1473Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1473.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1473.cs.meta new file mode 100644 index 0000000000..b80718dfd9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1473.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c5bce4dfd8c214f22b28de22c255e948 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1474.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1474.cs new file mode 100644 index 0000000000..8b7191c990 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1474.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1474 : Skill + { + public const int SKILL_ID = 1474; + + public Skill1474() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1474Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1474Stub() : base(1474) + { + cls = 127; + name = "绿雪人2攻击"; + nativename = "绿雪人2攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "能量结晶体冰击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/技能/能量结晶体击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1474Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1474.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1474.cs.meta new file mode 100644 index 0000000000..3d2e033573 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1474.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8f47dc1838f1b47a299655f22897c4a3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1475.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1475.cs new file mode 100644 index 0000000000..95d7d6407e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1475.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1475 : Skill + { + public const int SKILL_ID = 1475; + + public Skill1475() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1475Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1475Stub() : base(1475) + { + cls = 127; + name = "紫雪人2攻击"; + nativename = "紫雪人2攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "BOSS深海纳加领主_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/BOSS深海纳加领主_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1475Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1475.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1475.cs.meta new file mode 100644 index 0000000000..dd6b48f021 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1475.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 555b72819f7a54120b7ba57417e4051c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1476.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1476.cs new file mode 100644 index 0000000000..b3492cf12f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1476.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1476 : Skill + { + public const int SKILL_ID = 1476; + + public Skill1476() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1476Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1476Stub() : base(1476) + { + cls = 127; + name = "雪地巨型山羊攻击"; + nativename = "雪地巨型山羊攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "能量结晶体冰击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/技能/能量结晶体击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1476Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1476.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1476.cs.meta new file mode 100644 index 0000000000..b6e0d426c4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1476.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: adac8fd847d414a5fb55f81a8bc3eb11 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1477.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1477.cs new file mode 100644 index 0000000000..3f5f32d722 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1477.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1477 : Skill + { + public const int SKILL_ID = 1477; + + public Skill1477() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1477Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1477Stub() : base(1477) + { + cls = 127; + name = "黄雪地甲虫攻击"; + nativename = "黄雪地甲虫攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "BOSS深海纳加领主_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/BOSS深海纳加领主_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1477Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1477.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1477.cs.meta new file mode 100644 index 0000000000..36fd4198b1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1477.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2607eeae44506497dac0c58d7d8305d6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1478.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1478.cs new file mode 100644 index 0000000000..2559d40814 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1478.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1478 : Skill + { + public const int SKILL_ID = 1478; + + public Skill1478() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1478Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1478Stub() : base(1478) + { + cls = 127; + name = "蓝雪地甲虫攻击"; + nativename = "蓝雪地甲虫攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "BOSS深海纳加领主_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/BOSS深海纳加领主_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1478Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1478.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1478.cs.meta new file mode 100644 index 0000000000..f0181f36bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1478.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c36cdbec58482420bba30c7111e0c58f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1479.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1479.cs new file mode 100644 index 0000000000..27fea91366 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1479.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1479 : Skill + { + public const int SKILL_ID = 1479; + + public Skill1479() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1479Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1479Stub() : base(1479) + { + cls = 127; + name = "雪地蜻蜓攻击"; + nativename = "雪地蜻蜓攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "冰虫_击中2"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰虫_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰虫_击中2.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)5; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1479Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1479.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1479.cs.meta new file mode 100644 index 0000000000..0e13bd1a53 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1479.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 571c65ab300ef4112bd826d51b9847d3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1480.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1480.cs new file mode 100644 index 0000000000..5516a369bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1480.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1480 : Skill + { + public const int SKILL_ID = 1480; + + public Skill1480() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1480Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1480Stub() : base(1480) + { + cls = 127; + name = "食人鱼1攻击"; + nativename = "食人鱼1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹终级_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/蜘蛛蟹终级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1480Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1480.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1480.cs.meta new file mode 100644 index 0000000000..9c43a24f5e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1480.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c71e3f26e744d4201b9428bfec2a5844 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1481.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1481.cs new file mode 100644 index 0000000000..e7fbbb7e55 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1481.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1481 : Skill + { + public const int SKILL_ID = 1481; + + public Skill1481() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1481Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1481Stub() : base(1481) + { + cls = 127; + name = "食人鱼2攻击"; + nativename = "食人鱼2攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹终级_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/蜘蛛蟹终级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1481Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1481.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1481.cs.meta new file mode 100644 index 0000000000..72e869d413 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1481.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3d8068e1608f149dd82aa80019af6349 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1482.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1482.cs new file mode 100644 index 0000000000..337d0a09cd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1482.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1482 : Skill + { + public const int SKILL_ID = 1482; + + public Skill1482() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1482Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1482Stub() : base(1482) + { + cls = 127; + name = "食人鱼3攻击"; + nativename = "食人鱼3攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹终级_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/蜘蛛蟹终级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1482Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1482.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1482.cs.meta new file mode 100644 index 0000000000..b66385d0e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1482.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 04f5131ab7d664512a08a1ec15d58d3f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1483.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1483.cs new file mode 100644 index 0000000000..aa25d150ba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1483.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1483 : Skill + { + public const int SKILL_ID = 1483; + + public Skill1483() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1483Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1483Stub() : base(1483) + { + cls = 127; + name = "黄石头元素攻击"; + nativename = "黄石头元素攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "小怪螃蟹_高级2"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/小怪螃蟹高级_击中2.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1483Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1483.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1483.cs.meta new file mode 100644 index 0000000000..16d9e443d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1483.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2922015d4dd5148fe8b0731abbd7b6b8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1484.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1484.cs new file mode 100644 index 0000000000..e4419c9a97 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1484.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1484 : Skill + { + public const int SKILL_ID = 1484; + + public Skill1484() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1484Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1484Stub() : base(1484) + { + cls = 127; + name = "蓝石头元素攻击"; + nativename = "蓝石头元素攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "小怪螃蟹_高级2"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/小怪螃蟹高级_击中2.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1484Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1484.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1484.cs.meta new file mode 100644 index 0000000000..5bc8b66231 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1484.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ccedf9268ffa14136b3f32d389b52ffc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1485.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1485.cs new file mode 100644 index 0000000000..70d7e3e07a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1485.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1485 : Skill + { + public const int SKILL_ID = 1485; + + public Skill1485() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1485Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1485Stub() : base(1485) + { + cls = 127; + name = "红色鳄鱼1攻击"; + nativename = "红色鳄鱼1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血鲷魔王_愤怒击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/血鲷魔王_愤怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1485Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1485.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1485.cs.meta new file mode 100644 index 0000000000..e4f00cd5cc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1485.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e87e07782853f4bde9003447dbed4140 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1486.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1486.cs new file mode 100644 index 0000000000..8cdf5afaf6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1486.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1486 : Skill + { + public const int SKILL_ID = 1486; + + public Skill1486() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1486Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1486Stub() : base(1486) + { + cls = 127; + name = "蓝色鳄鱼1攻击"; + nativename = "蓝色鳄鱼1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血鲷魔王_愤怒击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/血鲷魔王_愤怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1486Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1486.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1486.cs.meta new file mode 100644 index 0000000000..7797595f9d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1486.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5cbf3e43128e94978a4e4893cc53812d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1487.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1487.cs new file mode 100644 index 0000000000..38e7b6f04c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1487.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1487 : Skill + { + public const int SKILL_ID = 1487; + + public Skill1487() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1487Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1487Stub() : base(1487) + { + cls = 127; + name = "绿色鳄鱼1攻击"; + nativename = "绿色鳄鱼1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血鲷魔王_愤怒击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/血鲷魔王_愤怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1487Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1487.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1487.cs.meta new file mode 100644 index 0000000000..214f87d5e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1487.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: efc33e218b3e74008bed4c92df6121e5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1488.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1488.cs new file mode 100644 index 0000000000..181df4bd1c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1488.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1488 : Skill + { + public const int SKILL_ID = 1488; + + public Skill1488() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1488Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1488Stub() : base(1488) + { + cls = 127; + name = "黄花怪攻击"; + nativename = "黄花怪攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "能量结晶体高级击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/能量结晶体高级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1488Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1488.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1488.cs.meta new file mode 100644 index 0000000000..a4aa7197d7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1488.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1229d9c22adda4a8ea5d44b3046577b0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1489.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1489.cs new file mode 100644 index 0000000000..108815ae42 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1489.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1489 : Skill + { + public const int SKILL_ID = 1489; + + public Skill1489() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1489Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1489Stub() : base(1489) + { + cls = 127; + name = "黄蜻蜓1攻击"; + nativename = "黄蜻蜓1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "毒虫_击中2"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/毒虫_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒虫_击中2.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1489Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1489.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1489.cs.meta new file mode 100644 index 0000000000..1c3356a09d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1489.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 060ce502bd96246fbacd2011bce20c61 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1490.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1490.cs new file mode 100644 index 0000000000..6f75890083 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1490.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1490 : Skill + { + public const int SKILL_ID = 1490; + + public Skill1490() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1490Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1490Stub() : base(1490) + { + cls = 127; + name = "蓝蜻蜓1攻击"; + nativename = "蓝蜻蜓1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "毒虫_击中2"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/毒虫_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒虫_击中2.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1490Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1490.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1490.cs.meta new file mode 100644 index 0000000000..17c7105300 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1490.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f22ca099116b1487ca3e54a740a3fb6c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1491.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1491.cs new file mode 100644 index 0000000000..d5a3fed430 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1491.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1491 : Skill + { + public const int SKILL_ID = 1491; + + public Skill1491() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1491Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1491Stub() : base(1491) + { + cls = 127; + name = "游荡灵魂1攻击"; + nativename = "游荡灵魂1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "BOSS深海纳加领主_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/BOSS深海纳加领主_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1491Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1491.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1491.cs.meta new file mode 100644 index 0000000000..65c116e356 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1491.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e8b004fa9b6694e02bdbc3e2f107cea4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1492.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1492.cs new file mode 100644 index 0000000000..f1a50878c3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1492.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1492 : Skill + { + public const int SKILL_ID = 1492; + + public Skill1492() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1492Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1492Stub() : base(1492) + { + cls = 127; + name = "游荡灵魂2攻击"; + nativename = "游荡灵魂2攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "火虫_击中2"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/火虫_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/火虫_击中2.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1492Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1492.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1492.cs.meta new file mode 100644 index 0000000000..3d925d8b36 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1492.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c33f0b9aa1538432aafd793028682fa0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1493.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1493.cs new file mode 100644 index 0000000000..4d7f631b69 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1493.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1493 : Skill + { + public const int SKILL_ID = 1493; + + public Skill1493() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1493Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1493Stub() : base(1493) + { + cls = 127; + name = "冰角牛头攻击"; + nativename = "冰角牛头攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹终级_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/蜘蛛蟹终级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1493Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1493.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1493.cs.meta new file mode 100644 index 0000000000..bcccfde853 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1493.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3ffe5727d08ca4559ad94bd71a0555aa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1494.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1494.cs new file mode 100644 index 0000000000..5ffe9cd937 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1494.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1494 : Skill + { + public const int SKILL_ID = 1494; + + public Skill1494() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1494Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1494Stub() : base(1494) + { + cls = 127; + name = "上古星门攻击"; + nativename = "上古星门攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹终级_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/蜘蛛蟹终级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1494Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1494.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1494.cs.meta new file mode 100644 index 0000000000..52e6358569 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1494.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9739aa7458373404ca38dd546707e5f0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1495.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1495.cs new file mode 100644 index 0000000000..6c2b070404 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1495.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1495 : Skill + { + public const int SKILL_ID = 1495; + + public Skill1495() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1495Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1495Stub() : base(1495) + { + cls = 127; + name = "幻角牛头攻击"; + nativename = "幻角牛头攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "火煞天灯"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/火煞天灯击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1495Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1495.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1495.cs.meta new file mode 100644 index 0000000000..bac27c6e96 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1495.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 642378337cce54a53ba632bd99078ffb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1496.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1496.cs new file mode 100644 index 0000000000..2039727d6a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1496.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1496 : Skill + { + public const int SKILL_ID = 1496; + + public Skill1496() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1496Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1496Stub() : base(1496) + { + cls = 127; + name = "红蝴蝶1攻击"; + nativename = "红蝴蝶1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "土虫_击中2"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/土虫_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/土虫_击中2.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1496Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1496.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1496.cs.meta new file mode 100644 index 0000000000..3028908b7b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1496.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a7cebce10d275465484a749d4c787371 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1497.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1497.cs new file mode 100644 index 0000000000..fda2f947bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1497.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1497 : Skill + { + public const int SKILL_ID = 1497; + + public Skill1497() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1497Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1497Stub() : base(1497) + { + cls = 127; + name = "绿蝴蝶1攻击"; + nativename = "绿蝴蝶1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "土虫_击中2"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/土虫_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/土虫_击中2.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1497Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1497.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1497.cs.meta new file mode 100644 index 0000000000..914f208259 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1497.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 69ea25d0185814c4598ad55c925d9a2d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1499.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1499.cs new file mode 100644 index 0000000000..ea88a62364 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1499.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1499 : Skill + { + public const int SKILL_ID = 1499; + + public Skill1499() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1499Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(100 + 25 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(100 + 25 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1499Stub() : base(1499) + { + cls = 127; + name = "玉芙蓉"; + nativename = "玉芙蓉"; + icon = "玉芙蓉"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_魔法盾_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_魔法盾_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1499Stub() { } + + public override float GetMpcost(Skill skill) => (float)(100 + 40 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetAmount (500 + 250 * skill.GetLevel ()); + skill.GetVictim ().SetValue (0.05f); + skill.GetVictim ().SetAbsorbdamageincdefense (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1499.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1499.cs.meta new file mode 100644 index 0000000000..90a63a9b6a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1499.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3794b30be066943119ee2daf4a18729a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1500.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1500.cs new file mode 100644 index 0000000000..07a49edee5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1500.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1500 : Skill + { + public const int SKILL_ID = 1500; + + public Skill1500() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1500Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(20 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(20 + 5 * skill.GetLevel())); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1500Stub() : base(1500) + { + cls = 127; + name = "花开并蒂"; + nativename = "花开并蒂"; + icon = "花开并蒂"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "庇护"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/庇护击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1500Stub() { } + + public override float GetMpcost(Skill skill) => (float)(20 + 5 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (50000); + skill.GetVictim ().SetRatio (30); + skill.GetVictim ().SetAmount (2); + skill.GetVictim ().SetValue (0.2f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetTransportdamagetopet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1500.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1500.cs.meta new file mode 100644 index 0000000000..6a20e6f139 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1500.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 449e83d15640d42e487439769a412d4e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1501.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1501.cs new file mode 100644 index 0000000000..6fff57d4ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1501.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1501 : Skill + { + public const int SKILL_ID = 1501; + + public Skill1501() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1501Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1501Stub() : base(1501) + { + cls = 127; + name = "怪物渐增加血"; + nativename = "怪物渐增加血"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1501Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 30; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (5 * skill.GetLevel ()); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetIncrementalhpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1501.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1501.cs.meta new file mode 100644 index 0000000000..defc20d2e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1501.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 66786ef9430234beeb9d17fed202dfc6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1502.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1502.cs new file mode 100644 index 0000000000..a140c0b410 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1502.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1502 : Skill + { + public const int SKILL_ID = 1502; + + public Skill1502() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1502Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1502Stub() : base(1502) + { + cls = 127; + name = "召唤物1牺牲"; + nativename = "召唤物1牺牲"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1502Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(10 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (0.4f + 0.06f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0.15f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetIncdefencesmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1502.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1502.cs.meta new file mode 100644 index 0000000000..120330a50c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1502.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c646b2b32e2c24b938202d48c39dc639 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1503.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1503.cs new file mode 100644 index 0000000000..8377f2ecab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1503.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1503 : Skill + { + public const int SKILL_ID = 1503; + + public Skill1503() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1503Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1503Stub() : base(1503) + { + cls = 127; + name = "召唤物2牺牲"; + nativename = "召唤物2牺牲"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1503Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(10 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (0.2f + skill.GetLevel () * 0.03f); + skill.GetVictim ().SetValue (0.5f + skill.GetLevel () * 0.1f); + skill.GetVictim ().SetIncresistmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1503.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1503.cs.meta new file mode 100644 index 0000000000..ee7a58506e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1503.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 65cbb095134104730a36d1a7ca3ee0cd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1504.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1504.cs new file mode 100644 index 0000000000..6e8e82fe24 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1504.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1504 : Skill + { + public const int SKILL_ID = 1504; + + public Skill1504() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1504Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1504Stub() : base(1504) + { + cls = 127; + name = "召唤物3牺牲"; + nativename = "召唤物3牺牲"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1504Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(10 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (25); + skill.GetVictim ().SetAmount (9000); + skill.GetVictim ().SetValue (450 * skill.GetLevel ()); + skill.GetVictim ().SetHpgenseed (1); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (400 * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetAbsorbdamageincdefense (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1504.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1504.cs.meta new file mode 100644 index 0000000000..e0c6b04aec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1504.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c71cb764334164bd6bc3e8301a851366 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1505.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1505.cs new file mode 100644 index 0000000000..62bed2d8c1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1505.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1505 : Skill + { + public const int SKILL_ID = 1505; + + public Skill1505() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1505Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(4 * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1505Stub() : base(1505) + { + cls = 127; + name = "植物1自爆"; + nativename = "植物1自爆"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血祭炎爆"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/血祭炎爆击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1505Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1505.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1505.cs.meta new file mode 100644 index 0000000000..491d3421eb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1505.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 393b38868723648dcbd1a53830c2f6e3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1506.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1506.cs new file mode 100644 index 0000000000..b3d33fcd0e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1506.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1506 : Skill + { + public const int SKILL_ID = 1506; + + public Skill1506() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1506Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1506Stub() : base(1506) + { + cls = 127; + name = "植物2自爆"; + nativename = "植物2自爆"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血祭炎爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/血祭炎爆击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1506Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.1f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.2f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetSlowpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.2f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0.1f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1506.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1506.cs.meta new file mode 100644 index 0000000000..5571fce0ad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1506.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd51284dbf62e42d2999d85c2f24ea44 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1507.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1507.cs new file mode 100644 index 0000000000..3e8395e02f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1507.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1507 : Skill + { + public const int SKILL_ID = 1507; + + public Skill1507() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1507Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1507Stub() : base(1507) + { + cls = 127; + name = "植物3自爆"; + nativename = "植物3自爆"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血祭炎爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/血祭炎爆击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1507Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.3f + skill.GetLevel () * 0.03f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.1f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetDecmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.1f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetDecattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1507.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1507.cs.meta new file mode 100644 index 0000000000..458f49d4b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1507.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 501a6879b3b294fd8ab3d00e291334a5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1508.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1508.cs new file mode 100644 index 0000000000..67b4f243d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1508.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1508 : Skill + { + public const int SKILL_ID = 1508; + + public Skill1508() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1508Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1508Stub() : base(1508) + { + cls = 127; + name = "植物4自爆"; + nativename = "植物4自爆"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血祭炎爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/血祭炎爆击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1508Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000 + 500 * skill.GetLevel ()); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1508.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1508.cs.meta new file mode 100644 index 0000000000..b287ef1b28 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1508.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd1771820185a4b53af019d590aa1d3a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1509.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1509.cs new file mode 100644 index 0000000000..96f5673947 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1509.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1509 : Skill + { + public const int SKILL_ID = 1509; + + public Skill1509() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1509Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1509Stub() : base(1509) + { + cls = 127; + name = "植物5自爆"; + nativename = "植物5自爆"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血祭炎爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/血祭炎爆击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1509Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(10 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (800 + skill.GetLevel () * 20); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1509.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1509.cs.meta new file mode 100644 index 0000000000..daf7709023 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1509.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dbf38d43318ea4b43890ed2951004cf4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1510.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1510.cs new file mode 100644 index 0000000000..72571466ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1510.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1510 : Skill + { + public const int SKILL_ID = 1510; + + public Skill1510() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1510Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1510Stub() : base(1510) + { + cls = 127; + name = "怪物群治疗"; + nativename = "怪物群治疗"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1510Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(10 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1510.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1510.cs.meta new file mode 100644 index 0000000000..5d45e918a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1510.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 801f13dc654a3402a867e890cd56d8f7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1511.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1511.cs new file mode 100644 index 0000000000..f00bf49435 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1511.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1511 : Skill + { + public const int SKILL_ID = 1511; + + public Skill1511() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1511Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1511Stub() : base(1511) + { + cls = 127; + name = "献祭(废弃)"; + nativename = "献祭(废弃)"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血鲷魔王_愤怒击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/血鲷魔王_愤怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1511Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetRatio (8); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (1512); + skill.GetVictim ().SetAuracurse (1); + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetRatio (188); + skill.GetVictim ().SetAmount (73); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1511.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1511.cs.meta new file mode 100644 index 0000000000..16719ebe8a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1511.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 778b958007f4349fa89b17bbb0ff510f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1512.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1512.cs new file mode 100644 index 0000000000..cf19fa095c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1512.cs @@ -0,0 +1,126 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1512 : Skill + { + public const int SKILL_ID = 1512; + + public Skill1512() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1512Stub : SkillStub + { + + + public Skill1512Stub() : base(1512) + { + cls = 127; + name = "献祭的伤害(废弃)"; + nativename = "献祭的伤害(废弃)"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_八方剑影"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_八方剑影_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1512Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (1000 + skill.GetLevel () * 200); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1512.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1512.cs.meta new file mode 100644 index 0000000000..ba7700475e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1512.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 57558d6590005486a83d52c9959d0df8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1513.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1513.cs new file mode 100644 index 0000000000..8787144d5b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1513.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1513 : Skill + { + public const int SKILL_ID = 1513; + + public Skill1513() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1513Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1513Stub() : base(1513) + { + cls = 127; + name = "植物1攻击"; + nativename = "植物1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血鲷魔王_愤怒击中"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/血鲷魔王_愤怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1513Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncdamagedodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1513.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1513.cs.meta new file mode 100644 index 0000000000..9e2b723f30 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1513.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 45f1128e8e63f497db6418ffdbdce30f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1514.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1514.cs new file mode 100644 index 0000000000..a77310f8ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1514.cs @@ -0,0 +1,206 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1514 : Skill + { + public const int SKILL_ID = 1514; + + public Skill1514() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1514Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1514Stub() : base(1514) + { + cls = 127; + name = "植物2诅咒"; + nativename = "植物2诅咒"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血咒"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/血祭炎爆击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1514Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 40); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.1f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 40); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.2f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * 40); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.2f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetSlowpray (1); + skill.GetVictim ().SetProbability (1.0f * 40); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.1f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncdamagedodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1514.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1514.cs.meta new file mode 100644 index 0000000000..edfbec6214 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1514.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f7c86c05a86c345b9a4f755a739d4b4c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1515.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1515.cs new file mode 100644 index 0000000000..ba49bc7317 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1515.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1515 : Skill + { + public const int SKILL_ID = 1515; + + public Skill1515() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1515Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1515Stub() : base(1515) + { + cls = 127; + name = "植物3减速"; + nativename = "植物3减速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "地缚"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/被泰山砸中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1515Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 40); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.2f + 0.02f * skill.GetLevel ()); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 40); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.1f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetDecattack (1); + skill.GetVictim ().SetProbability (1.0f * 40); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.1f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetDecmagic (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncdamagedodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1515.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1515.cs.meta new file mode 100644 index 0000000000..a06bbaa281 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1515.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e7e39acb4c5a04d75ac57aecdc6258db \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1516.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1516.cs new file mode 100644 index 0000000000..bf43ec0842 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1516.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1516 : Skill + { + public const int SKILL_ID = 1516; + + public Skill1516() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1516Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1516Stub() : base(1516) + { + cls = 127; + name = "植物4睡眠"; + nativename = "植物4睡眠"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "困缚"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/波纹_3黑.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1516Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 45); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncdamagedodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1516.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1516.cs.meta new file mode 100644 index 0000000000..6dcf25b0be --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1516.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fe458a77637324bd0a4f333bb9332aae \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1517.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1517.cs new file mode 100644 index 0000000000..3677c0ec0f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1517.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1517 : Skill + { + public const int SKILL_ID = 1517; + + public Skill1517() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1517Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1517Stub() : base(1517) + { + cls = 127; + name = "植物5治疗"; + nativename = "植物5治疗"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "治愈"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/波纹_3白.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1517Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (25 + 10 * skill.GetLevel () + skill.GetMagicdamage () / 12); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncdamagedodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1517.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1517.cs.meta new file mode 100644 index 0000000000..40cab928e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1517.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9b321ba4657c344ffa7b7741ee6276be \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1518.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1518.cs new file mode 100644 index 0000000000..54763fd34e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1518.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1518 : Skill + { + public const int SKILL_ID = 1518; + + public Skill1518() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1518Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1518Stub() : base(1518) + { + cls = 127; + name = "完美帝祝福1"; + nativename = "完美帝祝福1"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1518Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1518.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1518.cs.meta new file mode 100644 index 0000000000..109a0c0f1e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1518.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aac988fe6cc934f00aa4da10a10f0728 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1519.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1519.cs new file mode 100644 index 0000000000..2b13726242 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1519.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1519 : Skill + { + public const int SKILL_ID = 1519; + + public Skill1519() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1519Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1519Stub() : base(1519) + { + cls = 127; + name = "完美帝祝福2"; + nativename = "完美帝祝福2"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1519Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1519.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1519.cs.meta new file mode 100644 index 0000000000..af55f8240b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1519.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c428b113e93ea4eebbd80451aa722225 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1520.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1520.cs new file mode 100644 index 0000000000..6225a76624 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1520.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1520 : Skill + { + public const int SKILL_ID = 1520; + + public Skill1520() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1520Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1520Stub() : base(1520) + { + cls = 127; + name = "完美帝祝福3"; + nativename = "完美帝祝福3"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1520Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2700000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2700000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2700000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2700000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1520.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1520.cs.meta new file mode 100644 index 0000000000..fb5e8c9f40 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1520.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7609a57a127a445d38bbb27c25f5ee0a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1521.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1521.cs new file mode 100644 index 0000000000..24ac1ffdcd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1521.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1521 : Skill + { + public const int SKILL_ID = 1521; + + public Skill1521() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1521Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1521Stub() : base(1521) + { + cls = 127; + name = "完美帝祝福4"; + nativename = "完美帝祝福4"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1521Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2700000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2700000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2700000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2700000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1521.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1521.cs.meta new file mode 100644 index 0000000000..a00f5d9f36 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1521.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 57968e6566a7b43bc997d2bf3bb9a32b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1522.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1522.cs new file mode 100644 index 0000000000..6ff2a1f8c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1522.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1522 : Skill + { + public const int SKILL_ID = 1522; + + public Skill1522() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1522Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(60.0f / skill.GetLevel()); + skill.SetPlus(1.25f * skill.GetLevel() * skill.GetLevel() + 62.5f * skill.GetLevel() + 875); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1522Stub() : base(1522) + { + cls = 127; + name = "暴雨梨花诀爆炸"; + nativename = "暴雨梨花诀爆炸"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_八方剑影"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_八方剑影_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1522Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1522.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1522.cs.meta new file mode 100644 index 0000000000..d959354e4f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1522.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8aca2b8cf86cb4544b11fde15341c595 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1523.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1523.cs new file mode 100644 index 0000000000..6d5020d6f1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1523.cs @@ -0,0 +1,92 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1523 : Skill + { + public const int SKILL_ID = 1523; + + public Skill1523() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1523Stub : SkillStub + { + private static readonly int[] RequiredRealmLevelArray = { 0 }; + + + public Skill1523Stub() : base(1523) + { + cls = 127; + name = "220"; + nativename = "220"; + icon = ""; + max_level = MAX_LEVEL; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1523Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredRealmLevel(Skill skill) => RequiredRealmLevelArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1523.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1523.cs.meta new file mode 100644 index 0000000000..2ada528139 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1523.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 556df4f63ad024c3482bdc4e562a9f09 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1524.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1524.cs new file mode 100644 index 0000000000..0226eef07e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1524.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1524 : Skill + { + public const int SKILL_ID = 1524; + + public Skill1524() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1524Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(30 + 40 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(30 + 40 * skill.GetLevel())); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1524Stub() : base(1524) + { + cls = 127; + name = "休迅飞凫"; + nativename = "休迅飞凫"; + icon = "休迅飞凫"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "刺客_迷踪乱步诀"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_迷踪乱步决_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1524Stub() { } + + public override float GetMpcost(Skill skill) => (float)(30 + 40 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 25000; + public float GetRadius(Skill skill) => (float)(20 + 1.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + 200 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (2.0f); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1524.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1524.cs.meta new file mode 100644 index 0000000000..c4cfc24c87 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1524.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a13d980be2ccf4564a9eb28f62104d38 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1525.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1525.cs new file mode 100644 index 0000000000..0be691252e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1525.cs @@ -0,0 +1,181 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1525 : Skill + { + public const int SKILL_ID = 1525; + + public Skill1525() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1525Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(5 + 20 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(5 + 20 * skill.GetLevel())); + skill.SetDamage(3 * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1525Stub() : base(1525) + { + cls = 127; + name = "折梅手"; + nativename = "折梅手"; + icon = "折梅手"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "黑暗刺客2"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1525Stub() { } + + public override float GetMpcost(Skill skill) => (float)(5 + 20 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 250 * skill.GetLevel (); + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1525.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1525.cs.meta new file mode 100644 index 0000000000..8171db8810 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1525.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8bf6bd0ea343b4195b17d8518c7ad6e6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1526.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1526.cs new file mode 100644 index 0000000000..ceae52d138 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1526.cs @@ -0,0 +1,181 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1526 : Skill + { + public const int SKILL_ID = 1526; + + public Skill1526() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1526Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(40 + 17 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(40 + 17 * skill.GetLevel())); + skill.SetGolddamage(6 * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1526Stub() : base(1526) + { + cls = 127; + name = "钩月刃"; + nativename = "钩月刃"; + icon = "钩月刃"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "落雷"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/落雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1526Stub() { } + + public override float GetMpcost(Skill skill) => (float)(40 + 25 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 150 * skill.GetLevel (); + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1526.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1526.cs.meta new file mode 100644 index 0000000000..feed30d0be --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1526.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c66b459b4e8c14e78b6a4626d7fe14f4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1527.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1527.cs new file mode 100644 index 0000000000..9a17bfcc64 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1527.cs @@ -0,0 +1,181 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1527 : Skill + { + public const int SKILL_ID = 1527; + + public Skill1527() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1527Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f *(75 + 21 * skill.GetLevel())); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f *(75 + 21 * skill.GetLevel())); + skill.SetGolddamage(4 * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1527Stub() : base(1527) + { + cls = 127; + name = "万籁俱寂"; + nativename = "万籁俱寂"; + icon = "万籁俱寂"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物闪电术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/闪电飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1527Stub() { } + + public override float GetMpcost(Skill skill) => (float)(75 + 30 * skill.GetLevel()); + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1527.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1527.cs.meta new file mode 100644 index 0000000000..b410638ff5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1527.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c385233a7411b46a2875688b0ee41866 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1528.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1528.cs new file mode 100644 index 0000000000..6dbb25d110 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1528.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1528 : Skill + { + public const int SKILL_ID = 1528; + + public Skill1528() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1528Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(3 * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1528Stub() : base(1528) + { + cls = 127; + name = "星火燎原"; + nativename = "星火燎原"; + icon = "幽植鬼瞳"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "红色火焰怪精英_愤怒施放落_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = "策划联入/怪物技能/击中/红色火焰怪精英_愤怒施放落_击中.gfx"; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1528Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 90); + public override float GetPraydistance(Skill skill) => 8f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 6f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1528.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1528.cs.meta new file mode 100644 index 0000000000..4189ed1ae6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1528.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 044ee048737764247815597d126b08ce \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1529.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1529.cs new file mode 100644 index 0000000000..b3c3a1fb1e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1529.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1529 : Skill + { + public const int SKILL_ID = 1529; + + public Skill1529() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1529Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(4 * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1529Stub() : base(1529) + { + cls = 127; + name = "幽植鬼瞳"; + nativename = "幽植鬼瞳"; + icon = "星火燎原"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "红色火焰怪精英_技能攻击2_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/红色火焰怪精英_技能攻击2_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1529Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetAmount (skill.GetLevel () * 250); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 8f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1529.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1529.cs.meta new file mode 100644 index 0000000000..0296b6ded5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1529.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 71919c89f7af441ad932b6b827c3fe69 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1530.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1530.cs new file mode 100644 index 0000000000..ef795d82db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1530.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1530 : Skill + { + public const int SKILL_ID = 1530; + + public Skill1530() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1530Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1530Stub() : base(1530) + { + cls = 127; + name = "对立种族女2攻击"; + nativename = "对立种族女2攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1530Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1530.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1530.cs.meta new file mode 100644 index 0000000000..91b5fac199 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1530.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 94da9b70a1fac4417bc7d937deb01d86 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1531.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1531.cs new file mode 100644 index 0000000000..9f498aef2b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1531.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1531 : Skill + { + public const int SKILL_ID = 1531; + + public Skill1531() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1531Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1531Stub() : base(1531) + { + cls = 127; + name = "对立种族女1攻击"; + nativename = "对立种族女1攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1531Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1531.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1531.cs.meta new file mode 100644 index 0000000000..7b44fbae72 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1531.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d0f616d23e2ff40bd9bb48db9b06519a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1532.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1532.cs new file mode 100644 index 0000000000..db628d583c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1532.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1532 : Skill + { + public const int SKILL_ID = 1532; + + public Skill1532() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1532Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1532Stub() : base(1532) + { + cls = 127; + name = "变异蚂蚁红攻击"; + nativename = "变异蚂蚁红攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "能量结晶体高级击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/能量结晶体高级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1532Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1532.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1532.cs.meta new file mode 100644 index 0000000000..83828cda69 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1532.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: df614999dbff4472dbbaa13e43261fad \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1533.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1533.cs new file mode 100644 index 0000000000..2a7da07910 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1533.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1533 : Skill + { + public const int SKILL_ID = 1533; + + public Skill1533() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1533Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1533Stub() : base(1533) + { + cls = 127; + name = "变异蚂蚁蓝攻击"; + nativename = "变异蚂蚁蓝攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "能量结晶体高级击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/能量结晶体高级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1533Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1533.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1533.cs.meta new file mode 100644 index 0000000000..d9638dde4a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1533.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2ee069211219f4c98b2661bab2a4c9c6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1534.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1534.cs new file mode 100644 index 0000000000..8d769187f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1534.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1534 : Skill + { + public const int SKILL_ID = 1534; + + public Skill1534() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1534Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1534Stub() : base(1534) + { + cls = 127; + name = "变异蚂蚁绿攻击"; + nativename = "变异蚂蚁绿攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "能量结晶体高级击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/能量结晶体高级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1534Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1534.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1534.cs.meta new file mode 100644 index 0000000000..c87d2cc538 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1534.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ddea256bf9d6e4e44b34f644154a8c26 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1535.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1535.cs new file mode 100644 index 0000000000..be7355f162 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1535.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1535 : Skill + { + public const int SKILL_ID = 1535; + + public Skill1535() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1535Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1535Stub() : base(1535) + { + cls = 127; + name = "变异蚂蚁红加人"; + nativename = "变异蚂蚁红加人"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "能量结晶体高级击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/能量结晶体高级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1535Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1535.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1535.cs.meta new file mode 100644 index 0000000000..689d39d9e3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1535.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 98ace5e6d1eb2441b8e8085f905cf0b5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1536.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1536.cs new file mode 100644 index 0000000000..999f5ce562 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1536.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1536 : Skill + { + public const int SKILL_ID = 1536; + + public Skill1536() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1536Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1536Stub() : base(1536) + { + cls = 127; + name = "变异蚂蚁蓝加人"; + nativename = "变异蚂蚁蓝加人"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "能量结晶体高级击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/能量结晶体高级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1536Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1536.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1536.cs.meta new file mode 100644 index 0000000000..e5cc8f657f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1536.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 269c40120d7dc4348a00c22983acc298 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1537.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1537.cs new file mode 100644 index 0000000000..5a504edb2e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1537.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1537 : Skill + { + public const int SKILL_ID = 1537; + + public Skill1537() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1537Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1537Stub() : base(1537) + { + cls = 127; + name = "变异蚂蚁绿加人"; + nativename = "变异蚂蚁绿加人"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "能量结晶体高级击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/能量结晶体高级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1537Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1537.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1537.cs.meta new file mode 100644 index 0000000000..d878554413 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1537.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3e0a2b8326dae4183b403da614de4810 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1538.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1538.cs new file mode 100644 index 0000000000..c11980ca04 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1538.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1538 : Skill + { + public const int SKILL_ID = 1538; + + public Skill1538() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1538Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1538Stub() : base(1538) + { + cls = 127; + name = "土灵攻击"; + nativename = "土灵攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "能量结晶体高级击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/能量结晶体高级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1538Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1538.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1538.cs.meta new file mode 100644 index 0000000000..93f83948c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1538.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 480503e0b39514d41be1626fee7d2ae2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1539.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1539.cs new file mode 100644 index 0000000000..1410ffdf30 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1539.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1539 : Skill + { + public const int SKILL_ID = 1539; + + public Skill1539() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1539Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1539Stub() : base(1539) + { + cls = 127; + name = "红色仙人掌攻击"; + nativename = "红色仙人掌攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1539Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1539.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1539.cs.meta new file mode 100644 index 0000000000..eba466b80c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1539.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dde0ca3573a0d4b039483e5baab55b5e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1540.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1540.cs new file mode 100644 index 0000000000..7a5e52252a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1540.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1540 : Skill + { + public const int SKILL_ID = 1540; + + public Skill1540() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1540Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1540Stub() : base(1540) + { + cls = 127; + name = "绿色仙人掌攻击"; + nativename = "绿色仙人掌攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1540Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1540.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1540.cs.meta new file mode 100644 index 0000000000..d1a09e7750 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1540.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd5d8de791e984403839de3e69abf398 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1541.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1541.cs new file mode 100644 index 0000000000..30184938d8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1541.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1541 : Skill + { + public const int SKILL_ID = 1541; + + public Skill1541() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1541Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1541Stub() : base(1541) + { + cls = 127; + name = "石斑鱼boss技能"; + nativename = "石斑鱼boss技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1541Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1541.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1541.cs.meta new file mode 100644 index 0000000000..27b2a45e56 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1541.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 477c02472461641dab9f5da55733507f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1542.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1542.cs new file mode 100644 index 0000000000..25b62f2bb9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1542.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1542 : Skill + { + public const int SKILL_ID = 1542; + + public Skill1542() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1542Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1542Stub() : base(1542) + { + cls = 127; + name = "石斑鱼boss攻击"; + nativename = "石斑鱼boss攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1542Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1542.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1542.cs.meta new file mode 100644 index 0000000000..7a39a3e229 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1542.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a35e055c3afd742f9b99abf27068a798 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1543.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1543.cs new file mode 100644 index 0000000000..41a6d895b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1543.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1543 : Skill + { + public const int SKILL_ID = 1543; + + public Skill1543() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1543Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1543Stub() : base(1543) + { + cls = 127; + name = "虫女王boss技能"; + nativename = "虫女王boss技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫咸_愤怒_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/巫咸_愤怒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1543Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1543.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1543.cs.meta new file mode 100644 index 0000000000..a6c588a0b5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1543.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1e2dae238fd48488180930578d705d4d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1544.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1544.cs new file mode 100644 index 0000000000..7621e624df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1544.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1544 : Skill + { + public const int SKILL_ID = 1544; + + public Skill1544() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1544Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1544Stub() : base(1544) + { + cls = 127; + name = "虫女王boss攻击"; + nativename = "虫女王boss攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫咸_愤怒_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/巫咸_愤怒_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1544Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1544.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1544.cs.meta new file mode 100644 index 0000000000..0e94748d92 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1544.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 215649b50c5de4e9e8f7a814fb290f3d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1545.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1545.cs new file mode 100644 index 0000000000..69838fea7a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1545.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1545 : Skill + { + public const int SKILL_ID = 1545; + + public Skill1545() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1545Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1545Stub() : base(1545) + { + cls = 127; + name = "公企鹅boss技能"; + nativename = "公企鹅boss技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1545Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1545.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1545.cs.meta new file mode 100644 index 0000000000..4dfd05373f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1545.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 570e999ba6e204823bdf44dd26488e72 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1546.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1546.cs new file mode 100644 index 0000000000..25d3e6f61d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1546.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1546 : Skill + { + public const int SKILL_ID = 1546; + + public Skill1546() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1546Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1546Stub() : base(1546) + { + cls = 127; + name = "公企鹅boss攻击"; + nativename = "公企鹅boss攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1546Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1546.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1546.cs.meta new file mode 100644 index 0000000000..e42692be67 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1546.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 93c3d4c6f4bfe48c59a6af933834a6b6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1547.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1547.cs new file mode 100644 index 0000000000..9e3a9a2564 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1547.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1547 : Skill + { + public const int SKILL_ID = 1547; + + public Skill1547() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1547Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1547Stub() : base(1547) + { + cls = 127; + name = "雌企鹅boss技能"; + nativename = "雌企鹅boss技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1547Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1547.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1547.cs.meta new file mode 100644 index 0000000000..1059f77bf5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1547.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5b1699b1813db4cb1b18fe7f8d586e23 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1548.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1548.cs new file mode 100644 index 0000000000..a9ba322698 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1548.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1548 : Skill + { + public const int SKILL_ID = 1548; + + public Skill1548() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1548Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1548Stub() : base(1548) + { + cls = 127; + name = "雌企鹅boss攻击"; + nativename = "雌企鹅boss攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1避水诀"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1548Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1548.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1548.cs.meta new file mode 100644 index 0000000000..e60d03c747 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1548.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 82e8e4f8dfd044f40a6a2c14a3554c57 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1549.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1549.cs new file mode 100644 index 0000000000..a63e7866ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1549.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1549 : Skill + { + public const int SKILL_ID = 1549; + + public Skill1549() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1549Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1549Stub() : base(1549) + { + cls = 127; + name = "上古星门冰雪技能"; + nativename = "上古星门冰雪技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹终级_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/蜘蛛蟹终级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1549Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1549.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1549.cs.meta new file mode 100644 index 0000000000..5cdcf1e030 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1549.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 574130d7c6190407fa2647e98981b6b8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1550.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1550.cs new file mode 100644 index 0000000000..89591ed891 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1550.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1550 : Skill + { + public const int SKILL_ID = 1550; + + public Skill1550() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1550Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1550Stub() : base(1550) + { + cls = 127; + name = "上古星门冰雪攻击"; + nativename = "上古星门冰雪攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹终级_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/蜘蛛蟹终级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1550Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1550.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1550.cs.meta new file mode 100644 index 0000000000..ce65d3e938 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1550.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2a82e50439b9a418c9ba72b67862e8bd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1551.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1551.cs new file mode 100644 index 0000000000..814503d282 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1551.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1551 : Skill + { + public const int SKILL_ID = 1551; + + public Skill1551() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1551Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1551Stub() : base(1551) + { + cls = 127; + name = "蚁后boss技能"; + nativename = "蚁后boss技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹_毒"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/黑暗刺客_击中1.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1551Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1551.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1551.cs.meta new file mode 100644 index 0000000000..096a7e27a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1551.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 10fcb0802581846a5b9fb43615ad1894 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1552.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1552.cs new file mode 100644 index 0000000000..0694b1bb32 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1552.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1552 : Skill + { + public const int SKILL_ID = 1552; + + public Skill1552() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1552Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1552Stub() : base(1552) + { + cls = 127; + name = "蚁后boss攻击"; + nativename = "蚁后boss攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹_毒"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/黑暗刺客_击中1.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1552Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1552.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1552.cs.meta new file mode 100644 index 0000000000..4b1bc130e6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1552.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e58f87d3b57334cfd924d32e0f249e6b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1553.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1553.cs new file mode 100644 index 0000000000..5488d5e940 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1553.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1553 : Skill + { + public const int SKILL_ID = 1553; + + public Skill1553() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1553Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1553Stub() : base(1553) + { + cls = 127; + name = "石化狼蛛boss"; + nativename = "石化狼蛛boss"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "祭祀使徒高级_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/祭祀使徒高级_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1553Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1553.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1553.cs.meta new file mode 100644 index 0000000000..adcd2c28bb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1553.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9ea0fab130a9e4dc5bb5349bfdbcf872 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1554.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1554.cs new file mode 100644 index 0000000000..aec33dbdd9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1554.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1554 : Skill + { + public const int SKILL_ID = 1554; + + public Skill1554() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1554Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1554Stub() : base(1554) + { + cls = 127; + name = "石化狼蛛攻击"; + nativename = "石化狼蛛攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "祭祀使徒高级_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/祭祀使徒高级_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1554Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1554.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1554.cs.meta new file mode 100644 index 0000000000..4e295d6b08 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1554.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6c7b95c0d660f4dbf815da6dd15ce813 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1555.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1555.cs new file mode 100644 index 0000000000..45dc75244f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1555.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1555 : Skill + { + public const int SKILL_ID = 1555; + + public Skill1555() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1555Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1555Stub() : base(1555) + { + cls = 127; + name = "灵化蝙蝠boss"; + nativename = "灵化蝙蝠boss"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "祭祀使徒高级_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/祭祀使徒高级_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1555Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1555.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1555.cs.meta new file mode 100644 index 0000000000..f447d8b490 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1555.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c10dff9cf031c4259a64a98031e336de \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1556.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1556.cs new file mode 100644 index 0000000000..404b966d74 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1556.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1556 : Skill + { + public const int SKILL_ID = 1556; + + public Skill1556() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1556Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1556Stub() : base(1556) + { + cls = 127; + name = "灵化蝙蝠攻击"; + nativename = "灵化蝙蝠攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "祭祀使徒高级_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/祭祀使徒高级_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1556Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1556.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1556.cs.meta new file mode 100644 index 0000000000..f990b419a5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1556.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5b900c0e17e1a46e7a9a34f4f238023d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1557.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1557.cs new file mode 100644 index 0000000000..e1d7cc00bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1557.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1557 : Skill + { + public const int SKILL_ID = 1557; + + public Skill1557() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1557Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1557Stub() : base(1557) + { + cls = 127; + name = "怒眠boss技能"; + nativename = "怒眠boss技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹_毒"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/黑暗刺客_击中1.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1557Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1557.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1557.cs.meta new file mode 100644 index 0000000000..5625a802e4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1557.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6cadbe07646ee477788f4b18708ac2c5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1558.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1558.cs new file mode 100644 index 0000000000..ca785eba02 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1558.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1558 : Skill + { + public const int SKILL_ID = 1558; + + public Skill1558() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1558Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1558Stub() : base(1558) + { + cls = 127; + name = "怒眠boss攻击"; + nativename = "怒眠boss攻击"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蜘蛛蟹_毒"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/黑暗刺客_击中1.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1558Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1558.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1558.cs.meta new file mode 100644 index 0000000000..92dd66dc99 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1558.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3b1bd40aac7cf43d59e56187b6573974 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1559.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1559.cs new file mode 100644 index 0000000000..d141ce523f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1559.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1559 : Skill + { + public const int SKILL_ID = 1559; + + public Skill1559() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1559Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 65000 }; + private static readonly int[] RequiredItemArray = { 30260 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1559Stub() : base(1559) + { + cls = 127; + name = "灵·反震"; + nativename = "灵·反震"; + icon = "宠物反震"; + max_level = 1; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9301; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "荆棘术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/荆棘符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1559Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetRetort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1559.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1559.cs.meta new file mode 100644 index 0000000000..9dbd599c50 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1559.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dcdaea4a183e04b8f98e0404b1358afb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1560.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1560.cs new file mode 100644 index 0000000000..e7deae9b2f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1560.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1560 : Skill + { + public const int SKILL_ID = 1560; + + public Skill1560() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1560Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 95000 }; + private static readonly int[] RequiredItemArray = { 30261 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1560Stub() : base(1560) + { + cls = 127; + name = "灵·利爪"; + nativename = "灵·利爪"; + icon = "宠物利爪"; + max_level = 1; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9002; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1560Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 80 * skill.GetPlayer ().GetLevel (); + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1560.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1560.cs.meta new file mode 100644 index 0000000000..b24eb6b4d4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1560.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1d95a4fb45c2c46bdbd50d6f44532824 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1561.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1561.cs new file mode 100644 index 0000000000..fbacb9a758 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1561.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1561 : Skill + { + public const int SKILL_ID = 1561; + + public Skill1561() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1561Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 65000 }; + private static readonly int[] RequiredItemArray = { 30262 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1561Stub() : base(1561) + { + cls = 127; + name = "灵·驱魔"; + nativename = "灵·驱魔"; + icon = "宠物驱魔"; + max_level = 1; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9101; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "灵助符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/灵助符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1561Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (1.8f); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1561.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1561.cs.meta new file mode 100644 index 0000000000..3678c72247 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1561.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f04239e6bde3c4dc28426fd5a3b91d4b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1562.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1562.cs new file mode 100644 index 0000000000..1c6d62abdc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1562.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1562 : Skill + { + public const int SKILL_ID = 1562; + + public Skill1562() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1562Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 125000 }; + private static readonly int[] RequiredItemArray = { 30263 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1562Stub() : base(1562) + { + cls = 127; + name = "灵·祝福"; + nativename = "灵·祝福"; + icon = "宠物强体"; + max_level = 1; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9305; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "兽王鼓舞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王鼓舞击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1562Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1562.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1562.cs.meta new file mode 100644 index 0000000000..9ef11319ae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1562.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f108c0c031c814069bed198ee14e8fb0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1563.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1563.cs new file mode 100644 index 0000000000..127145b93a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1563.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1563 : Skill + { + public const int SKILL_ID = 1563; + + public Skill1563() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1563Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 80 }; + private static readonly int[] RequiredSpArray = { 65000 }; + private static readonly int[] RequiredItemArray = { 30264 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1563Stub() : base(1563) + { + cls = 127; + name = "灵·坚甲"; + nativename = "灵·坚甲"; + icon = "宠物厚皮"; + max_level = 1; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9406; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "坚甲符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/坚甲符击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1563Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 100; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (1.8f); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1563.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1563.cs.meta new file mode 100644 index 0000000000..79406258f0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1563.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ce7561c36a22e457aafd4da6935d35b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1564.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1564.cs new file mode 100644 index 0000000000..f624026969 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1564.cs @@ -0,0 +1,125 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1564 : Skill + { + public const int SKILL_ID = 1564; + + public Skill1564() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1564Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1564Stub() : base(1564) + { + cls = 127; + name = "物品技能-法师专用仙丹"; + nativename = "物品技能-法师专用仙丹"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1564Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetValue (600 * skill.GetLevel ()); + skill.GetVictim ().SetMpgen (1); + skill.GetVictim ().SetProbability (1.0f * 40 + 15 * skill.GetLevel ()); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1564.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1564.cs.meta new file mode 100644 index 0000000000..e27e6acf70 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1564.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b5107a042f04e40e784151a2be8a4ff7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1565.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1565.cs new file mode 100644 index 0000000000..447203936f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1565.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1565 : Skill + { + public const int SKILL_ID = 1565; + + public Skill1565() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1565Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1565Stub() : base(1565) + { + cls = 127; + name = "参合密卷"; + nativename = "参合密卷"; + icon = "消魂咒"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物施毒术"; + doenchant = 1; + dobless = 1; + commoncooldown = 992; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1565Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1500; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetArrogant (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (60000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (30352); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1565.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1565.cs.meta new file mode 100644 index 0000000000..b3b002e909 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1565.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 27f2e57688f9641efb82e5a2c03e683e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1566.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1566.cs new file mode 100644 index 0000000000..1eac7bd9c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1566.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1566 : Skill + { + public const int SKILL_ID = 1566; + + public Skill1566() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1566Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1566Stub() : base(1566) + { + cls = 127; + name = "地缚密卷"; + nativename = "地缚密卷"; + icon = "消魂咒"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物施毒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 992; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1566Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1500; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetSpecialslow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1566.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1566.cs.meta new file mode 100644 index 0000000000..66d72bbfb0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1566.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d45e7da0589cd4909af87404293e1e38 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1567.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1567.cs new file mode 100644 index 0000000000..e01d9ac705 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1567.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1567 : Skill + { + public const int SKILL_ID = 1567; + + public Skill1567() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1567Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1567Stub() : base(1567) + { + cls = 127; + name = "失心密卷"; + nativename = "失心密卷"; + icon = "消魂咒"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物施毒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 992; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1567Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1500; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.3f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1567.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1567.cs.meta new file mode 100644 index 0000000000..302bd5839d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1567.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d46f5bf673c2545f994bf7d759fe1940 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1578.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1578.cs new file mode 100644 index 0000000000..1c4b85c937 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1578.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1578 : Skill + { + public const int SKILL_ID = 1578; + + public Skill1578() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1578Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1578Stub() : base(1578) + { + cls = 127; + name = "物品技能-基地回血药剂"; + nativename = "物品技能-基地回血药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "天地无级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/天地无级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1578Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (2500 * skill.GetLevel ()); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1578.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1578.cs.meta new file mode 100644 index 0000000000..0533cf3641 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1578.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: db7a71e81063a4c98902fd71b9b141a1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1579.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1579.cs new file mode 100644 index 0000000000..e6b101f25e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1579.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1579 : Skill + { + public const int SKILL_ID = 1579; + + public Skill1579() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1579Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1579Stub() : base(1579) + { + cls = 127; + name = "物品技能-基地回魔药剂"; + nativename = "物品技能-基地回魔药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "灵助符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/灵助符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1579Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (2500 * skill.GetLevel ()); + skill.GetVictim ().SetMpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1579.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1579.cs.meta new file mode 100644 index 0000000000..ff49db6554 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1579.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c2c7ef3904b5d4ae5a12bc81dea2def6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1580.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1580.cs new file mode 100644 index 0000000000..79d12ea7d5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1580.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1580 : Skill + { + public const int SKILL_ID = 1580; + + public Skill1580() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1580Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1580Stub() : base(1580) + { + cls = 127; + name = "物品技能-基地加速药剂"; + nativename = "物品技能-基地加速药剂"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1580Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.1f + 0.2f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1580.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1580.cs.meta new file mode 100644 index 0000000000..d5bc487c5a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1580.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0ca922d8395594164ad44a2dba8dd411 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1581.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1581.cs new file mode 100644 index 0000000000..0c5af67cf7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1581.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1581 : Skill + { + public const int SKILL_ID = 1581; + + public Skill1581() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1581Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1581Stub() : base(1581) + { + cls = 127; + name = "物品技能-元气增加药剂"; + nativename = "物品技能-元气增加药剂"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1581Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (30 * skill.GetLevel ()); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1581.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1581.cs.meta new file mode 100644 index 0000000000..4169b568bb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1581.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7a963fb5195fe46268ca6cad7e02c0eb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1582.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1582.cs new file mode 100644 index 0000000000..4e3e7c20c2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1582.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1582 : Skill + { + public const int SKILL_ID = 1582; + + public Skill1582() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1582Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1582Stub() : base(1582) + { + cls = 127; + name = "物品技能-基地易筋丸"; + nativename = "物品技能-基地易筋丸"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "易筋经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/易筋经.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1582Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1.8f); + skill.GetVictim ().SetAmount (1.8f); + skill.GetVictim ().SetYijin (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1582.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1582.cs.meta new file mode 100644 index 0000000000..037b815ae9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1582.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ba080e1fa23bc4bd8aa74576e7e8c288 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1583.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1583.cs new file mode 100644 index 0000000000..9180aa9f76 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1583.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1583 : Skill + { + public const int SKILL_ID = 1583; + + public Skill1583() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1583Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1583Stub() : base(1583) + { + cls = 127; + name = "物品技能-基地易髓丸"; + nativename = "物品技能-基地易髓丸"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "易髓经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/易髓经.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1583Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (1.8f); + skill.GetVictim ().SetAmount (1.8f); + skill.GetVictim ().SetXisui (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1583.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1583.cs.meta new file mode 100644 index 0000000000..b28ba8a2ae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1583.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 71b04acf84cd94edd9284a678338b83d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1584.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1584.cs new file mode 100644 index 0000000000..651cc0a085 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1584.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1584 : Skill + { + public const int SKILL_ID = 1584; + + public Skill1584() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1584Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1584Stub() : base(1584) + { + cls = 127; + name = "物品技能-基地无敌"; + nativename = "物品技能-基地无敌"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "易髓经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/易髓经.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1584Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000 + skill.GetLevel () * 1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1584.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1584.cs.meta new file mode 100644 index 0000000000..eef8b20796 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1584.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2da8eec1b9c2e40b5b1b6adb4a3fabe4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1585.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1585.cs new file mode 100644 index 0000000000..2395940a86 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1585.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1585 : Skill + { + public const int SKILL_ID = 1585; + + public Skill1585() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1585Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1585Stub() : base(1585) + { + cls = 127; + name = "帮派基地暴击率提升小"; + nativename = "帮派基地暴击率提升小"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1585Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (3); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1585.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1585.cs.meta new file mode 100644 index 0000000000..7400432f09 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1585.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 47506f17ee3904504b181c8ea2a432eb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1586.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1586.cs new file mode 100644 index 0000000000..ef695ded37 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1586.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1586 : Skill + { + public const int SKILL_ID = 1586; + + public Skill1586() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1586Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1586Stub() : base(1586) + { + cls = 127; + name = "帮派基地减唱小"; + nativename = "帮派基地减唱小"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1586Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1586.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1586.cs.meta new file mode 100644 index 0000000000..a80d7045f3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1586.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e0000e853dfc14256bd39fcc59b4e98a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1587.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1587.cs new file mode 100644 index 0000000000..6c1c72b200 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1587.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1587 : Skill + { + public const int SKILL_ID = 1587; + + public Skill1587() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1587Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1587Stub() : base(1587) + { + cls = 127; + name = "帮派基地加体力上限小"; + nativename = "帮派基地加体力上限小"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1587Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1587.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1587.cs.meta new file mode 100644 index 0000000000..9c5f929cb6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1587.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9aea50de0a9c349d2bbe76c4b7bc22b0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1588.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1588.cs new file mode 100644 index 0000000000..2cc5f474b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1588.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1588 : Skill + { + public const int SKILL_ID = 1588; + + public Skill1588() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1588Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1588Stub() : base(1588) + { + cls = 127; + name = "帮派基地加物理防御"; + nativename = "帮派基地加物理防御"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1588Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1588.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1588.cs.meta new file mode 100644 index 0000000000..1f4b49ad7d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1588.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 39cc0b71e01fe464d9f835f4ce12e8d7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1589.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1589.cs new file mode 100644 index 0000000000..0afdf3f32e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1589.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1589 : Skill + { + public const int SKILL_ID = 1589; + + public Skill1589() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1589Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1589Stub() : base(1589) + { + cls = 127; + name = "帮派基地加五行防御小"; + nativename = "帮派基地加五行防御小"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1589Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1589.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1589.cs.meta new file mode 100644 index 0000000000..3751c6a006 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1589.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7b8c0edd379bf42abafdc3afc2406602 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1590.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1590.cs new file mode 100644 index 0000000000..770c612015 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1590.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1590 : Skill + { + public const int SKILL_ID = 1590; + + public Skill1590() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1590Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1590Stub() : base(1590) + { + cls = 127; + name = "帮派基地加法术攻击小"; + nativename = "帮派基地加法术攻击小"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1590Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1590.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1590.cs.meta new file mode 100644 index 0000000000..25a97cd309 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1590.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7cb4f695fe0fb499d8c2ec0ad39c62ef \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1591.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1591.cs new file mode 100644 index 0000000000..514b319016 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1591.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1591 : Skill + { + public const int SKILL_ID = 1591; + + public Skill1591() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1591Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1591Stub() : base(1591) + { + cls = 127; + name = "帮派基地加物理攻击小"; + nativename = "帮派基地加物理攻击小"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1591Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1591.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1591.cs.meta new file mode 100644 index 0000000000..f94f8caa85 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1591.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 68aa43a489a054a23b9911c2e2707d3c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1592.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1592.cs new file mode 100644 index 0000000000..9625a29c49 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1592.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1592 : Skill + { + public const int SKILL_ID = 1592; + + public Skill1592() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1592Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1592Stub() : base(1592) + { + cls = 127; + name = "帮派基地暴击率提升大"; + nativename = "帮派基地暴击率提升大"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1592Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (6); + skill.GetVictim ().SetIncsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1592.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1592.cs.meta new file mode 100644 index 0000000000..928584c4de --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1592.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 91351c87c472d4e6bae18a2234f878a5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1593.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1593.cs new file mode 100644 index 0000000000..af4836ad01 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1593.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1593 : Skill + { + public const int SKILL_ID = 1593; + + public Skill1593() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1593Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1593Stub() : base(1593) + { + cls = 127; + name = "帮派基地减唱大"; + nativename = "帮派基地减唱大"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1593Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetFastpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1593.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1593.cs.meta new file mode 100644 index 0000000000..83ab1b25c7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1593.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b44b0505b33ca4cf183735daa0f33da1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1594.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1594.cs new file mode 100644 index 0000000000..1b28702cc3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1594.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1594 : Skill + { + public const int SKILL_ID = 1594; + + public Skill1594() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1594Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1594Stub() : base(1594) + { + cls = 127; + name = "帮派基地加体力上限大"; + nativename = "帮派基地加体力上限大"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1594Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1594.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1594.cs.meta new file mode 100644 index 0000000000..888cc5fbd4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1594.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 28a052e781e2d414985739c2f6319a3f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1595.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1595.cs new file mode 100644 index 0000000000..ba24e37397 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1595.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1595 : Skill + { + public const int SKILL_ID = 1595; + + public Skill1595() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1595Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1595Stub() : base(1595) + { + cls = 127; + name = "帮派基地加物理防御大"; + nativename = "帮派基地加物理防御大"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1595Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1595.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1595.cs.meta new file mode 100644 index 0000000000..0a16fe595b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1595.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b200f1d765c5c4bbcb911abcd169f88a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1596.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1596.cs new file mode 100644 index 0000000000..2170286c85 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1596.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1596 : Skill + { + public const int SKILL_ID = 1596; + + public Skill1596() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1596Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1596Stub() : base(1596) + { + cls = 127; + name = "帮派基地加五行防御大"; + nativename = "帮派基地加五行防御大"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1596Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1596.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1596.cs.meta new file mode 100644 index 0000000000..cdab49a0be --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1596.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 69261055283644178a72ab074092c300 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1597.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1597.cs new file mode 100644 index 0000000000..3fc2b235f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1597.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1597 : Skill + { + public const int SKILL_ID = 1597; + + public Skill1597() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1597Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1597Stub() : base(1597) + { + cls = 127; + name = "帮派基地加法术攻击大"; + nativename = "帮派基地加法术攻击大"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1597Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1597.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1597.cs.meta new file mode 100644 index 0000000000..2db8d93bff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1597.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5cdb03a21da4a4fe390c112e0fe18232 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1598.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1598.cs new file mode 100644 index 0000000000..61cecc8f67 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1598.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1598 : Skill + { + public const int SKILL_ID = 1598; + + public Skill1598() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1598Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1598Stub() : base(1598) + { + cls = 127; + name = "帮派基地加物理攻击大"; + nativename = "帮派基地加物理攻击大"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1598Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1598.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1598.cs.meta new file mode 100644 index 0000000000..a0f8693260 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1598.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2994fd55047244c6e8da162293bf9ea7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1599.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1599.cs new file mode 100644 index 0000000000..c23fc67599 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1599.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1599 : Skill + { + public const int SKILL_ID = 1599; + + public Skill1599() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1599Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1599Stub() : base(1599) + { + cls = 127; + name = "帮派基地加准确率小"; + nativename = "帮派基地加准确率小"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1599Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetIncaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1599.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1599.cs.meta new file mode 100644 index 0000000000..f5207d0b77 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1599.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 72cdb36f93ec941eda4b69be8f89d4d8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1600.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1600.cs new file mode 100644 index 0000000000..f9ad5520f1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1600.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1600 : Skill + { + public const int SKILL_ID = 1600; + + public Skill1600() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1600Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1600Stub() : base(1600) + { + cls = 127; + name = "帮派基地加准确率大"; + nativename = "帮派基地加准确率大"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1600Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetIncaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1600.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1600.cs.meta new file mode 100644 index 0000000000..4594792e66 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1600.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2e0ed0d354e454e5781aac6dcd910e61 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1601.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1601.cs new file mode 100644 index 0000000000..82b7a079d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1601.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1601 : Skill + { + public const int SKILL_ID = 1601; + + public Skill1601() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1601Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1601Stub() : base(1601) + { + cls = 127; + name = "帮派基地加重生"; + nativename = "帮派基地加重生"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1601Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.014f); + skill.GetVictim ().SetAmount (0.5f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetChanceofrebirth (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1601.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1601.cs.meta new file mode 100644 index 0000000000..4cf34f7669 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1601.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e31fe690f5c0e4264b3dcb415412b7ac \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1602.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1602.cs new file mode 100644 index 0000000000..0eeb2b65df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1602.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1602 : Skill + { + public const int SKILL_ID = 1602; + + public Skill1602() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1602Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1602Stub() : base(1602) + { + cls = 127; + name = "帮派基地加暴击伤害提高"; + nativename = "帮派基地加暴击伤害提高"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "疾云步"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/疾云步击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1602Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetInccritdamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1602.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1602.cs.meta new file mode 100644 index 0000000000..5c026c98db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1602.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9961c6393da2d4a66bd8f0af1557c4c5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1603.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1603.cs new file mode 100644 index 0000000000..e92ada6ef4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1603.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1603 : Skill + { + public const int SKILL_ID = 1603; + + public Skill1603() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1603Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1603Stub() : base(1603) + { + cls = 127; + name = "星象台高级"; + nativename = "星象台高级"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "星象台高级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "NPC/星象台高级_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/星象台高级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1603Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1603.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1603.cs.meta new file mode 100644 index 0000000000..8f14009c74 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1603.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 81d84cae090364a399543f5f23ebf92f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1604.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1604.cs new file mode 100644 index 0000000000..275224a2e0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1604.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1604 : Skill + { + public const int SKILL_ID = 1604; + + public Skill1604() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1604Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1604Stub() : base(1604) + { + cls = 127; + name = "星象台中级"; + nativename = "星象台中级"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "星象台中级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "NPC/星象台中级_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/星象台高级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1604Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1604.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1604.cs.meta new file mode 100644 index 0000000000..91a19c7bed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1604.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: becd0c63f16f24eb2bf60e89a983c460 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1605.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1605.cs new file mode 100644 index 0000000000..450e043a6e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1605.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1605 : Skill + { + public const int SKILL_ID = 1605; + + public Skill1605() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1605Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1605Stub() : base(1605) + { + cls = 127; + name = "星象台初级"; + nativename = "星象台初级"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "星象台初级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "NPC/星象台初级_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/星象台高级_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1605Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1605.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1605.cs.meta new file mode 100644 index 0000000000..8f79517361 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1605.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cadb4de595c304995b33bf9f0a61a1c7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1606.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1606.cs new file mode 100644 index 0000000000..0dde711c9f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1606.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1606 : Skill + { + public const int SKILL_ID = 1606; + + public Skill1606() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1606Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1606Stub() : base(1606) + { + cls = 127; + name = "四神兽台青龙"; + nativename = "四神兽台青龙"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "四神兽台青龙_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/四神兽台青龙_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1606Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1606.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1606.cs.meta new file mode 100644 index 0000000000..f0dd04375f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1606.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 17228ac99cfa843ccaa604c6f44c4a1b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1607.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1607.cs new file mode 100644 index 0000000000..1378b4c5c6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1607.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1607 : Skill + { + public const int SKILL_ID = 1607; + + public Skill1607() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1607Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1607Stub() : base(1607) + { + cls = 127; + name = "四神兽台白虎"; + nativename = "四神兽台白虎"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "四神兽台白虎_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/四神兽台白虎_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1607Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1607.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1607.cs.meta new file mode 100644 index 0000000000..ce99b0850a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1607.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 92d692b16218f4dad839cf9d35328c6d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1608.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1608.cs new file mode 100644 index 0000000000..c55dd5aca8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1608.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1608 : Skill + { + public const int SKILL_ID = 1608; + + public Skill1608() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1608Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1608Stub() : base(1608) + { + cls = 127; + name = "四兽二级塔白虎"; + nativename = "四兽二级塔白虎"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "四兽二级塔白虎"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "NPC/四兽二级塔白虎_技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/四兽二级塔白虎_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1608Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1608.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1608.cs.meta new file mode 100644 index 0000000000..c24c4bf7ac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1608.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 552129b8e50ae4bc9ac052f3f0bda0ab \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1609.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1609.cs new file mode 100644 index 0000000000..0cb11389f1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1609.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1609 : Skill + { + public const int SKILL_ID = 1609; + + public Skill1609() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1609Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1609Stub() : base(1609) + { + cls = 127; + name = "四兽一级塔白虎"; + nativename = "四兽一级塔白虎"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "四兽一级塔白虎"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "NPC/四兽一级塔白虎_技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/四兽二级塔白虎_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1609Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1609.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1609.cs.meta new file mode 100644 index 0000000000..2a7be648af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1609.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 267796891df984f438a4d2a914072d64 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1610.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1610.cs new file mode 100644 index 0000000000..bbade236c3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1610.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1610 : Skill + { + public const int SKILL_ID = 1610; + + public Skill1610() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1610Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1610Stub() : base(1610) + { + cls = 127; + name = "四兽一级塔青龙"; + nativename = "四兽一级塔青龙"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "四兽一级塔青龙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "NPC/四兽一级塔青龙_技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/四兽二级塔青龙_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1610Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1610.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1610.cs.meta new file mode 100644 index 0000000000..eb9f719ca7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1610.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cd3f03ac68899488abaea028d421c2e1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1611.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1611.cs new file mode 100644 index 0000000000..bc915c8f26 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1611.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1611 : Skill + { + public const int SKILL_ID = 1611; + + public Skill1611() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1611Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1611Stub() : base(1611) + { + cls = 127; + name = "四兽二级塔青龙"; + nativename = "四兽二级塔青龙"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "四兽二级塔青龙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "NPC/四兽二级塔青龙_技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/四兽二级塔青龙_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1611Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1611.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1611.cs.meta new file mode 100644 index 0000000000..5e00b9cc2b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1611.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9768dbaa68cf1484aa1e0488e4f5e1b6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1612.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1612.cs new file mode 100644 index 0000000000..15baa0c771 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1612.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1612 : Skill + { + public const int SKILL_ID = 1612; + + public Skill1612() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1612Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1612Stub() : base(1612) + { + cls = 127; + name = "四神兽台朱雀"; + nativename = "四神兽台朱雀"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "四神兽台朱雀_技能击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/四神兽台朱雀_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1612Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1612.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1612.cs.meta new file mode 100644 index 0000000000..e0ac7bdb3b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1612.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2e9d73ddc51fe486f89c9162e83b344c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1613.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1613.cs new file mode 100644 index 0000000000..6e1895801b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1613.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1613 : Skill + { + public const int SKILL_ID = 1613; + + public Skill1613() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1613Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1613Stub() : base(1613) + { + cls = 127; + name = "四神兽台玄武"; + nativename = "四神兽台玄武"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "四神兽台玄武_技能击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/四神兽台玄武_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1613Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1613.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1613.cs.meta new file mode 100644 index 0000000000..ff07f88c1a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1613.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 888256ed3039f49b3af6c947ecada1c8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1614.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1614.cs new file mode 100644 index 0000000000..7e5c3c1799 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1614.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1614 : Skill + { + public const int SKILL_ID = 1614; + + public Skill1614() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1614Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1614Stub() : base(1614) + { + cls = 127; + name = "四兽二级塔玄武"; + nativename = "四兽二级塔玄武"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "四兽二级塔玄武"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "NPC/四兽二级塔玄武_技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/四兽二级塔玄武_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1614Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1614.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1614.cs.meta new file mode 100644 index 0000000000..c5c6460866 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1614.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 04eeb5e1de5834fa984f70935e929901 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1615.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1615.cs new file mode 100644 index 0000000000..1d67c96f03 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1615.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1615 : Skill + { + public const int SKILL_ID = 1615; + + public Skill1615() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1615Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1615Stub() : base(1615) + { + cls = 127; + name = "四兽一级塔玄武"; + nativename = "四兽一级塔玄武"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "四兽一级塔玄武"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "NPC/四兽一级塔玄武_技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/四兽二级塔玄武_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1615Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1615.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1615.cs.meta new file mode 100644 index 0000000000..f920d29c0d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1615.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4785b067aa27245f9bb0eb7e9e0da7d9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1616.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1616.cs new file mode 100644 index 0000000000..0d9014d9a4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1616.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1616 : Skill + { + public const int SKILL_ID = 1616; + + public Skill1616() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1616Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1616Stub() : base(1616) + { + cls = 127; + name = "四兽二级塔朱雀"; + nativename = "四兽二级塔朱雀"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "四兽二级塔朱雀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "NPC/四兽二级塔朱雀_技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/四兽二级塔朱雀_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1616Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1616.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1616.cs.meta new file mode 100644 index 0000000000..4ccd8a4b32 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1616.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 222c42495d8b04051ad7c4c5725e3748 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1617.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1617.cs new file mode 100644 index 0000000000..afee15d9d8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1617.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1617 : Skill + { + public const int SKILL_ID = 1617; + + public Skill1617() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1617Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack() * skill.GetLevel() * 0.25f); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1617Stub() : base(1617) + { + cls = 127; + name = "四兽一级塔朱雀"; + nativename = "四兽一级塔朱雀"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "四兽一级塔朱雀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "NPC/四兽一级塔朱雀_技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "NPC/四兽二级塔朱雀_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1617Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1617.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1617.cs.meta new file mode 100644 index 0000000000..1e10d0d3ce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1617.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d016183380b2548f995418946307a86d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1646.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1646.cs new file mode 100644 index 0000000000..2fba06adf7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1646.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1646 : Skill + { + public const int SKILL_ID = 1646; + + public Skill1646() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1646Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(6); + skill.SetPlus(2125); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1646Stub() : base(1646) + { + cls = 127; + name = "仙版满地枝"; + nativename = "仙版满地枝"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_八方剑影"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_八方剑影_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1646Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1646.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1646.cs.meta new file mode 100644 index 0000000000..bdefaae5bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1646.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: de789e045fe8b472dbd69b1eedd8f89d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1647.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1647.cs new file mode 100644 index 0000000000..3e32777538 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1647.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1647 : Skill + { + public const int SKILL_ID = 1647; + + public Skill1647() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1647Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(6); + skill.SetPlus(1750); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1647Stub() : base(1647) + { + cls = 127; + name = "魔版满地枝"; + nativename = "魔版满地枝"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_八方剑影"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_八方剑影_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1647Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 3000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 6f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1647.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1647.cs.meta new file mode 100644 index 0000000000..cf2b50cc5f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1647.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8b3e6d63e9d864dccaf534323e617fec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1648.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1648.cs new file mode 100644 index 0000000000..085a8bd573 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1648.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1648 : Skill + { + public const int SKILL_ID = 1648; + + public Skill1648() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1648Stub : SkillStub + { + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(20); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(80); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1648Stub() : base(1648) + { + cls = 127; + name = "鼓舞"; + nativename = "鼓舞"; + icon = "鼓舞"; + max_level = 1; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + is_senior = 1; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9002; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1648Stub() { } + + public override float GetMpcost(Skill skill) => 100f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 25000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1648.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1648.cs.meta new file mode 100644 index 0000000000..529040fc79 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1648.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 13e910e344b87405ba76c56463afc966 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1649.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1649.cs new file mode 100644 index 0000000000..a294330307 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1649.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1649 : Skill + { + public const int SKILL_ID = 1649; + + public Skill1649() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1649Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 300); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 300); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1649Stub() : base(1649) + { + cls = 127; + name = "闭月"; + nativename = "闭月"; + icon = "闭月"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "电媚_闭月"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/电媚_闭月飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电媚_闭月击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)4; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1649Stub() { } + + public override float GetMpcost(Skill skill) => 300f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 25000; + public float GetRadius(Skill skill) => (float)(20 + 1.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1649.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1649.cs.meta new file mode 100644 index 0000000000..fd092540d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1649.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4bcaa840a223b4849a2b4be7c094befd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1650.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1650.cs new file mode 100644 index 0000000000..551ec8254a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1650.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1650 : Skill + { + public const int SKILL_ID = 1650; + + public Skill1650() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1650Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.2f * 650); + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDecmp(0.8f * 650); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1650Stub() : base(1650) + { + cls = 127; + name = "九转"; + nativename = "九转"; + icon = "九转"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_魔法盾_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_魔法盾_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1650Stub() { } + + public override float GetMpcost(Skill skill) => 650f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 5)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (45000); + skill.GetVictim ().SetRatio (0.05f); + skill.GetVictim ().SetAmount (600); + skill.GetVictim ().SetValue (0.05f); + skill.GetVictim ().SetAbsorbdamageincdefense (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1650.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1650.cs.meta new file mode 100644 index 0000000000..26f441d5d4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1650.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 189e1a7c9fc6049469b3c19e716655bd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1654.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1654.cs new file mode 100644 index 0000000000..d6ce625726 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1654.cs @@ -0,0 +1,182 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1654 : Skill + { + public const int SKILL_ID = 1654; + + public Skill1654() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1654Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1654Stub() : base(1654) + { + cls = 127; + name = "仙魔版武神牺牲"; + nativename = "仙魔版武神牺牲"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1654Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(20 + 1.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (0.3f); + skill.GetVictim ().SetIncdefencesmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 2f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1654.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1654.cs.meta new file mode 100644 index 0000000000..9cce6cdb98 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1654.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0b51d0c5806f04e3f86d8698014ca747 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1655.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1655.cs new file mode 100644 index 0000000000..5865d03421 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1655.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1655 : Skill + { + public const int SKILL_ID = 1655; + + public Skill1655() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1655Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1655Stub() : base(1655) + { + cls = 127; + name = "仙魔版魔神牺牲"; + nativename = "仙魔版魔神牺牲"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "黑暗刺客2"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1655Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (2); + skill.GetVictim ().SetIncresistmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1655.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1655.cs.meta new file mode 100644 index 0000000000..c6327a3a53 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1655.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4cf39b181412a476bafec87a55ef58d6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1656.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1656.cs new file mode 100644 index 0000000000..451257751d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1656.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1656 : Skill + { + public const int SKILL_ID = 1656; + + public Skill1656() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1656Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1656Stub() : base(1656) + { + cls = 127; + name = "仙魔版琉璃牺牲"; + nativename = "仙魔版琉璃牺牲"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1656Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(10 + 0.5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (25); + skill.GetVictim ().SetAmount (9000); + skill.GetVictim ().SetValue (450 * skill.GetLevel ()); + skill.GetVictim ().SetHpgenseed (1); + skill.GetVictim ().SetTime (31000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (400 * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetAbsorbdamageincdefense (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1656.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1656.cs.meta new file mode 100644 index 0000000000..de186ef7fd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1656.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a167fa9c4f87040a192833af2d011888 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1741.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1741.cs new file mode 100644 index 0000000000..71e4cbc5db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1741.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1741 : Skill + { + public const int SKILL_ID = 1741; + + public Skill1741() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1741Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1741Stub() : base(1741) + { + cls = 127; + name = "烟花爆竹"; + nativename = "烟花爆竹"; + icon = ""; + max_level = 1; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1741Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 7f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1741.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1741.cs.meta new file mode 100644 index 0000000000..4459b93db3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1741.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 42d4d7bdbedaf46dda2e3086cad88ab9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1743.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1743.cs new file mode 100644 index 0000000000..e645e41dfb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1743.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1743 : Skill + { + public const int SKILL_ID = 1743; + + public Skill1743() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1743Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1743Stub() : base(1743) + { + cls = 127; + name = "修罗道_睡眠"; + nativename = "修罗道_睡眠"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1743Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetValue (60); + skill.GetVictim ().SetIncantiinvisibleactive (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1743.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1743.cs.meta new file mode 100644 index 0000000000..41c37ea86d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1743.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 07548203e5ca8430d9c0443e0679a212 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1744.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1744.cs new file mode 100644 index 0000000000..f5c4f4b9f3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1744.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1744 : Skill + { + public const int SKILL_ID = 1744; + + public Skill1744() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1744Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1744Stub() : base(1744) + { + cls = 127; + name = "修罗道_爆炸"; + nativename = "修罗道_爆炸"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1744Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1744.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1744.cs.meta new file mode 100644 index 0000000000..d9006ba296 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1744.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fa78f4e560b6841268247b2c7a4988d1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1745.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1745.cs new file mode 100644 index 0000000000..1cfc39673e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1745.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1745 : Skill + { + public const int SKILL_ID = 1745; + + public Skill1745() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1745Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1745Stub() : base(1745) + { + cls = 127; + name = "修罗道_中毒"; + nativename = "修罗道_中毒"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1745Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1745.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1745.cs.meta new file mode 100644 index 0000000000..411486077d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1745.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2cd45b33f18ac4f9c837404a2e8af29a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1746.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1746.cs new file mode 100644 index 0000000000..8eb22b44c4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1746.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1746 : Skill + { + public const int SKILL_ID = 1746; + + public Skill1746() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1746Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1746Stub() : base(1746) + { + cls = 127; + name = "修罗道_狂暴"; + nativename = "修罗道_狂暴"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1746Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (6); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (6); + skill.GetVictim ().SetIncmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1746.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1746.cs.meta new file mode 100644 index 0000000000..1ef652a026 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1746.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0e22a5f96fe5548b280c11b4bd94a036 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1747.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1747.cs new file mode 100644 index 0000000000..5132c9d3bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1747.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1747 : Skill + { + public const int SKILL_ID = 1747; + + public Skill1747() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1747Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1747Stub() : base(1747) + { + cls = 127; + name = "修罗道_祝福"; + nativename = "修罗道_祝福"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1747Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 3); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1747.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1747.cs.meta new file mode 100644 index 0000000000..1feea10dce --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1747.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b390ec6c76a4948bea8b446a2a7db950 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1748.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1748.cs new file mode 100644 index 0000000000..8f5968eb26 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1748.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1748 : Skill + { + public const int SKILL_ID = 1748; + + public Skill1748() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1748Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1748Stub() : base(1748) + { + cls = 127; + name = "修罗道_灵动"; + nativename = "修罗道_灵动"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1748Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1748.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1748.cs.meta new file mode 100644 index 0000000000..b1cf942660 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1748.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: df9f16d9b5641434d8d2ef329b320e4e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1749.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1749.cs new file mode 100644 index 0000000000..a69e3a00a5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1749.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1749 : Skill + { + public const int SKILL_ID = 1749; + + public Skill1749() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1749Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1749Stub() : base(1749) + { + cls = 127; + name = "定身咒"; + nativename = "定身咒"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 224; + commoncooldowntime = 15000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1749Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1749.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1749.cs.meta new file mode 100644 index 0000000000..c58b1974f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1749.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 996a2fe962ae74b4aaa1ef6760d39f5b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1750.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1750.cs new file mode 100644 index 0000000000..0c02a5ea38 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1750.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1750 : Skill + { + public const int SKILL_ID = 1750; + + public Skill1750() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1750Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1750Stub() : base(1750) + { + cls = 127; + name = "缓慢咒"; + nativename = "缓慢咒"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物闪电术"; + doenchant = 1; + dobless = 0; + commoncooldown = 224; + commoncooldowntime = 15000; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/闪电飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1750Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1750.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1750.cs.meta new file mode 100644 index 0000000000..a75430abb8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1750.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b503262569894409e9adfd707c21b882 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1751.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1751.cs new file mode 100644 index 0000000000..687de44bf6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1751.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1751 : Skill + { + public const int SKILL_ID = 1751; + + public Skill1751() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1751Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1751Stub() : base(1751) + { + cls = 127; + name = "封印咒"; + nativename = "封印咒"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物闪电术"; + doenchant = 1; + dobless = 0; + commoncooldown = 224; + commoncooldowntime = 15000; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/闪电飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1751Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1751.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1751.cs.meta new file mode 100644 index 0000000000..1627514c13 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1751.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3601225a4b735443380ae5847323d527 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1752.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1752.cs new file mode 100644 index 0000000000..c4dc8f5191 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1752.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1752 : Skill + { + public const int SKILL_ID = 1752; + + public Skill1752() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1752Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1752Stub() : base(1752) + { + cls = 127; + name = "魔抗咒"; + nativename = "魔抗咒"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物闪电术"; + doenchant = 1; + dobless = 0; + commoncooldown = 224; + commoncooldowntime = 15000; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/闪电飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1752Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetImmunemagical (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1752.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1752.cs.meta new file mode 100644 index 0000000000..a502b4df2a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1752.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 439edd51f2a5c411f8e2ea2e40fdf184 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1753.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1753.cs new file mode 100644 index 0000000000..c436f2c4b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1753.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1753 : Skill + { + public const int SKILL_ID = 1753; + + public Skill1753() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1753Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1753Stub() : base(1753) + { + cls = 127; + name = "抵抗咒"; + nativename = "抵抗咒"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物闪电术"; + doenchant = 1; + dobless = 0; + commoncooldown = 224; + commoncooldowntime = 15000; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/闪电飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1753Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (14000); + skill.GetVictim ().SetImmunephysical (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1753.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1753.cs.meta new file mode 100644 index 0000000000..79140f71c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1753.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 27cf2f71b279644b998816dfe04d4d47 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1754.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1754.cs new file mode 100644 index 0000000000..de84839958 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1754.cs @@ -0,0 +1,130 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1754 : Skill + { + public const int SKILL_ID = 1754; + + public Skill1754() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1754Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1754Stub() : base(1754) + { + cls = 127; + name = "修罗道_全场BUFF"; + nativename = "修罗道_全场BUFF"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1754Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetIncdamagedodge (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetIncdebuffdodge (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetValue (40); + skill.GetVictim ().SetIncantiinvisibleactive (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1754.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1754.cs.meta new file mode 100644 index 0000000000..b0d7829aaa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1754.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7de8fb82af91741fdb8c69d51c677570 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1755.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1755.cs new file mode 100644 index 0000000000..50878b4f03 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1755.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1755 : Skill + { + public const int SKILL_ID = 1755; + + public Skill1755() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1755Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1755Stub() : base(1755) + { + cls = 127; + name = "修罗道_隐身"; + nativename = "修罗道_隐身"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物迟缓技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/迟缓技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1755Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetInvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1755.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1755.cs.meta new file mode 100644 index 0000000000..59afd6eecd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1755.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ca0d3ccb4bc304e4fa2358ac04005621 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1756.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1756.cs new file mode 100644 index 0000000000..9f20da47cf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1756.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1756 : Skill + { + public const int SKILL_ID = 1756; + + public Skill1756() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1756Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1756Stub() : base(1756) + { + cls = 127; + name = "修罗道_回血"; + nativename = "修罗道_回血"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物迟缓技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/迟缓技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1756Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.95f); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1756.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1756.cs.meta new file mode 100644 index 0000000000..8de631ff0d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1756.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 37082855f02cd402bb8db4432fb6968c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1757.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1757.cs new file mode 100644 index 0000000000..c0cd129a02 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1757.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1757 : Skill + { + public const int SKILL_ID = 1757; + + public Skill1757() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1757Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1757Stub() : base(1757) + { + cls = 127; + name = "修罗道_净化"; + nativename = "修罗道_净化"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物迟缓技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/迟缓技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1757Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1757.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1757.cs.meta new file mode 100644 index 0000000000..be97b97ec2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1757.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3fe4db9faaed742ecbddc542f3925486 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1758.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1758.cs new file mode 100644 index 0000000000..b0fcf3ba01 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1758.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1758 : Skill + { + public const int SKILL_ID = 1758; + + public Skill1758() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1758Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1758Stub() : base(1758) + { + cls = 127; + name = "修罗道_回蓝"; + nativename = "修罗道_回蓝"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物迟缓技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/迟缓技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1758Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.95f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1758.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1758.cs.meta new file mode 100644 index 0000000000..449b55e4bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1758.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a61ac6df77dab455c83936f16afe23dc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1759.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1759.cs new file mode 100644 index 0000000000..c93ca04a9d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1759.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1759 : Skill + { + public const int SKILL_ID = 1759; + + public Skill1759() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1759Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1759Stub() : base(1759) + { + cls = 127; + name = "修罗道_1个牌子"; + nativename = "修罗道_1个牌子"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1759Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (87); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1759.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1759.cs.meta new file mode 100644 index 0000000000..c44201bafc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1759.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 51d887f1536b04829b8d50faccd2a116 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1760.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1760.cs new file mode 100644 index 0000000000..40ee5b40ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1760.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1760 : Skill + { + public const int SKILL_ID = 1760; + + public Skill1760() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1760Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1760Stub() : base(1760) + { + cls = 127; + name = "修罗道_30个牌子"; + nativename = "修罗道_30个牌子"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1760Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (88); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1760.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1760.cs.meta new file mode 100644 index 0000000000..9aed30b00d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1760.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fec44366debdc4378aab0e116cbb611a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1761.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1761.cs new file mode 100644 index 0000000000..7489ac2034 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1761.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1761 : Skill + { + public const int SKILL_ID = 1761; + + public Skill1761() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1761Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1761Stub() : base(1761) + { + cls = 127; + name = "修罗道_50个牌子"; + nativename = "修罗道_50个牌子"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1761Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (89); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1761.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1761.cs.meta new file mode 100644 index 0000000000..46d48cf4f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1761.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 30391bd8d17c7466187b86652e9cd474 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1762.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1762.cs new file mode 100644 index 0000000000..da32479461 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1762.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1762 : Skill + { + public const int SKILL_ID = 1762; + + public Skill1762() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1762Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1762Stub() : base(1762) + { + cls = 127; + name = "修罗道_100个牌子"; + nativename = "修罗道_100个牌子"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1762Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (90); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1762.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1762.cs.meta new file mode 100644 index 0000000000..aa953d9067 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1762.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e81f88b79aa924d16b22974ac0b53881 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1763.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1763.cs new file mode 100644 index 0000000000..cfbd6c490c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1763.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1763 : Skill + { + public const int SKILL_ID = 1763; + + public Skill1763() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1763Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1763Stub() : base(1763) + { + cls = 127; + name = "仇恨倍增"; + nativename = "仇恨倍增"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1763Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetIncaggroondamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1763.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1763.cs.meta new file mode 100644 index 0000000000..62f7726b0a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1763.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 82048136891b84344b01aa4c17ecd957 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1764.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1764.cs new file mode 100644 index 0000000000..19de214bbd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1764.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1764 : Skill + { + public const int SKILL_ID = 1764; + + public Skill1764() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1764Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1764Stub() : base(1764) + { + cls = 127; + name = "金童娃娃变"; + nativename = "金童娃娃变"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1764Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetValue (27); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1764.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1764.cs.meta new file mode 100644 index 0000000000..af14e2f64c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1764.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cf297214ccdc24f4dbd166ca817b1182 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1765.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1765.cs new file mode 100644 index 0000000000..45d008f814 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1765.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1765 : Skill + { + public const int SKILL_ID = 1765; + + public Skill1765() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1765Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1765Stub() : base(1765) + { + cls = 127; + name = "玉女娃娃变"; + nativename = "玉女娃娃变"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1765Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetValue (28); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1765.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1765.cs.meta new file mode 100644 index 0000000000..8fc96af9b5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1765.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7ec001c4df03d4319b5f97435a44a27e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1766.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1766.cs new file mode 100644 index 0000000000..7044a41465 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1766.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1766 : Skill + { + public const int SKILL_ID = 1766; + + public Skill1766() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1766Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1766Stub() : base(1766) + { + cls = 127; + name = "持续治疗"; + nativename = "持续治疗"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1766Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.2f); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1766.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1766.cs.meta new file mode 100644 index 0000000000..9eeb195e9f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1766.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b0c401696fdb1453593de0eea4ca81e1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1767.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1767.cs new file mode 100644 index 0000000000..740d0b357f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1767.cs @@ -0,0 +1,170 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1767 : Skill + { + public const int SKILL_ID = 1767; + + public Skill1767() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1767Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1767Stub() : base(1767) + { + cls = 127; + name = "PK赛_反隐"; + nativename = "PK赛_反隐"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物迟缓技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/迟缓技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1767Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetValue (40); + skill.GetVictim ().SetIncantiinvisibleactive (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1767.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1767.cs.meta new file mode 100644 index 0000000000..59e7b42e74 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1767.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 363753347a0844651af6ba50e88ae3b4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1768.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1768.cs new file mode 100644 index 0000000000..37f2272ea0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1768.cs @@ -0,0 +1,170 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1768 : Skill + { + public const int SKILL_ID = 1768; + + public Skill1768() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1768Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1768Stub() : base(1768) + { + cls = 127; + name = "PK赛_加速"; + nativename = "PK赛_加速"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物迟缓技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/迟缓技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1768Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1768.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1768.cs.meta new file mode 100644 index 0000000000..5cf3b138bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1768.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ffb7aff610e46419487a34ea0e3b1cdc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1769.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1769.cs new file mode 100644 index 0000000000..bcc9eae248 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1769.cs @@ -0,0 +1,172 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1769 : Skill + { + public const int SKILL_ID = 1769; + + public Skill1769() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1769Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1769Stub() : base(1769) + { + cls = 127; + name = "PK赛_ 加元"; + nativename = "PK赛_ 加元"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物迟缓技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/迟缓技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1769Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (120); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1769.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1769.cs.meta new file mode 100644 index 0000000000..2fcc2fa643 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1769.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7d8a37db34bdc48d899f9fbae181ed5a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1770.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1770.cs new file mode 100644 index 0000000000..e0e56df38f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1770.cs @@ -0,0 +1,172 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1770 : Skill + { + public const int SKILL_ID = 1770; + + public Skill1770() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1770Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1770Stub() : base(1770) + { + cls = 127; + name = "PK赛_暴击提升"; + nativename = "PK赛_暴击提升"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物迟缓技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/迟缓技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1770Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (3); + skill.GetVictim ().SetValue (50); + skill.GetVictim ().SetInccountedsmite (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1770.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1770.cs.meta new file mode 100644 index 0000000000..af55bc9dc0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1770.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6804657dcf0ac4be3bd2752e1809e996 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1776.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1776.cs new file mode 100644 index 0000000000..847c664514 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1776.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1776 : Skill + { + public const int SKILL_ID = 1776; + + public Skill1776() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1776Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(10); + skill.SetGolddamage(skill.GetMagicattack()); + skill.SetRatio(1); + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1776Stub() : base(1776) + { + cls = 127; + name = "帮派_金物混伤"; + nativename = "帮派_金物混伤"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体霹雳术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/头顶一道霹雳.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1776Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1776.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1776.cs.meta new file mode 100644 index 0000000000..c95971d0d2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1776.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3ca0c6988cbe54e7ebb95d9ed7620ee9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1777.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1777.cs new file mode 100644 index 0000000000..57e54ba9d8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1777.cs @@ -0,0 +1,181 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1777 : Skill + { + public const int SKILL_ID = 1777; + + public Skill1777() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1777Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1777Stub() : base(1777) + { + cls = 127; + name = "帮派_自晕"; + nativename = "帮派_自晕"; + icon = "宠物强体"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "兽王鼓舞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王鼓舞击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1777Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1777.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1777.cs.meta new file mode 100644 index 0000000000..6c5fab62b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1777.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ab205da6c42b14223b237cbe9340c5be \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1778.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1778.cs new file mode 100644 index 0000000000..708aa3d91b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1778.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1778 : Skill + { + public const int SKILL_ID = 1778; + + public Skill1778() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1778Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1778Stub() : base(1778) + { + cls = 127; + name = "帮派_物理AOE"; + nativename = "帮派_物理AOE"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物人面桃花技能攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/人面桃花技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/人面桃花技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1778Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1778.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1778.cs.meta new file mode 100644 index 0000000000..e3d7c9195d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1778.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 71197c755433d48deb247b7d4101d1f5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1779.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1779.cs new file mode 100644 index 0000000000..becb478dbe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1779.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1779 : Skill + { + public const int SKILL_ID = 1779; + + public Skill1779() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1779Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.SetFiredamage(skill.GetMagicattack()); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1779Stub() : base(1779) + { + cls = 127; + name = "帮派_五行混伤"; + nativename = "帮派_五行混伤"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "黑暗怨灵兽技能"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/黑暗骷髅头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/黑暗怨灵兽技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1779Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() * 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1779.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1779.cs.meta new file mode 100644 index 0000000000..26f33b86c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1779.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a452e43cc294f40358714c159bb4aa35 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1780.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1780.cs new file mode 100644 index 0000000000..640e8daf99 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1780.cs @@ -0,0 +1,181 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1780 : Skill + { + public const int SKILL_ID = 1780; + + public Skill1780() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1780Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1780Stub() : base(1780) + { + cls = 127; + name = "帮派_自残"; + nativename = "帮派_自残"; + icon = "宠物撕咬"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "流星锤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/流星锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1780Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.33f); + skill.GetVictim ().SetScaledechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1780.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1780.cs.meta new file mode 100644 index 0000000000..2cf7efc2f8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1780.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 98f1073c6e7444a18a9d2437ffabd106 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1781.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1781.cs new file mode 100644 index 0000000000..692cf22ba9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1781.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1781 : Skill + { + public const int SKILL_ID = 1781; + + public Skill1781() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1781Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 18000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1781Stub() : base(1781) + { + cls = 127; + name = "帮派_金免"; + nativename = "帮派_金免"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1781Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunemetal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1781.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1781.cs.meta new file mode 100644 index 0000000000..3569d9186d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1781.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eac98c88b52014692ba28993e1e52a36 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1782.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1782.cs new file mode 100644 index 0000000000..e122b6b2ad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1782.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1782 : Skill + { + public const int SKILL_ID = 1782; + + public Skill1782() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1782Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 18000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1782Stub() : base(1782) + { + cls = 127; + name = "帮派_木免"; + nativename = "帮派_木免"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1782Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunewood (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1782.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1782.cs.meta new file mode 100644 index 0000000000..651d9d625f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1782.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2d57c3680dcda4272a0b76ce5ff1bd90 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1783.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1783.cs new file mode 100644 index 0000000000..31a26ee9c1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1783.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1783 : Skill + { + public const int SKILL_ID = 1783; + + public Skill1783() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1783Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 18000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1783Stub() : base(1783) + { + cls = 127; + name = "帮派_水免"; + nativename = "帮派_水免"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1783Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunewater (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1783.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1783.cs.meta new file mode 100644 index 0000000000..736ec34a1f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1783.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fbfbbbd56fa14464cb242212b7090783 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1784.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1784.cs new file mode 100644 index 0000000000..9f6eced535 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1784.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1784 : Skill + { + public const int SKILL_ID = 1784; + + public Skill1784() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1784Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 18000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1784Stub() : base(1784) + { + cls = 127; + name = "帮派_火免"; + nativename = "帮派_火免"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1784Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunefire (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1784.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1784.cs.meta new file mode 100644 index 0000000000..f04ff56075 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1784.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eaa79b68063614e2c978a651f87a6bfd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1785.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1785.cs new file mode 100644 index 0000000000..cb6e4256ca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1785.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1785 : Skill + { + public const int SKILL_ID = 1785; + + public Skill1785() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1785Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 18000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1785Stub() : base(1785) + { + cls = 127; + name = "帮派_土免"; + nativename = "帮派_土免"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1785Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunesoil (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1785.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1785.cs.meta new file mode 100644 index 0000000000..48a45a6c33 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1785.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ade487e33571b433e8d5b738623f3f70 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1786.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1786.cs new file mode 100644 index 0000000000..442d220552 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1786.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1786 : Skill + { + public const int SKILL_ID = 1786; + + public Skill1786() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1786Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1786Stub() : base(1786) + { + cls = 127; + name = "高级反隐药水"; + nativename = "高级反隐药水"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1786Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (31); + skill.GetVictim ().SetIncantiinvisibleactive (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1786.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1786.cs.meta new file mode 100644 index 0000000000..aa10028c94 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1786.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 12c71043374f045d1b744d290693f1ca \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1787.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1787.cs new file mode 100644 index 0000000000..917478ad8b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1787.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1787 : Skill + { + public const int SKILL_ID = 1787; + + public Skill1787() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1787Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1787Stub() : base(1787) + { + cls = 127; + name = "帮派_自爆"; + nativename = "帮派_自爆"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1787Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1787.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1787.cs.meta new file mode 100644 index 0000000000..200929bd05 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1787.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c98e0d2f52f5749f293b2988fae35ae4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1788.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1788.cs new file mode 100644 index 0000000000..eb26102c3a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1788.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1788 : Skill + { + public const int SKILL_ID = 1788; + + public Skill1788() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1788Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1788Stub() : base(1788) + { + cls = 127; + name = "帮派_攻击上升"; + nativename = "帮派_攻击上升"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1788Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1200000); + skill.GetVictim ().SetRatio (0.075f * skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1788.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1788.cs.meta new file mode 100644 index 0000000000..7f29be76d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1788.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9796b726311f740ed8d8b726ca15f8f1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1789.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1789.cs new file mode 100644 index 0000000000..8cccb9c51d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1789.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1789 : Skill + { + public const int SKILL_ID = 1789; + + public Skill1789() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1789Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1789Stub() : base(1789) + { + cls = 127; + name = "帮派_增加回血速度"; + nativename = "帮派_增加回血速度"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "兽王鼓舞"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/兽王鼓舞击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1789Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (180000); + skill.GetVictim ().SetValue (25 * skill.GetLevel ()); + skill.GetVictim ().SetFasthpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1789.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1789.cs.meta new file mode 100644 index 0000000000..ba07c94284 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1789.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b035e46ca60e44bc4a60ce7d48c5fe8b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1790.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1790.cs new file mode 100644 index 0000000000..245dafb67b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1790.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1790 : Skill + { + public const int SKILL_ID = 1790; + + public Skill1790() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1790Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1790Stub() : base(1790) + { + cls = 127; + name = "帮派_无视防御AOE"; + nativename = "帮派_无视防御AOE"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "烈火符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/烈火符施放.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/烈火副爆炸击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 1; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 1.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1790Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.4f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1790.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1790.cs.meta new file mode 100644 index 0000000000..8b43b9585c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1790.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f3416b70e63fb49b080ebda45f5e4bee \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1791.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1791.cs new file mode 100644 index 0000000000..2c30f96023 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1791.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1791 : Skill + { + public const int SKILL_ID = 1791; + + public Skill1791() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1791Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1791Stub() : base(1791) + { + cls = 127; + name = "帮派_无视防御AOE2"; + nativename = "帮派_无视防御AOE2"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "烈火符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/烈火符施放.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/烈火副爆炸击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 1; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 1.0f; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1791Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 120); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.4f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1791.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1791.cs.meta new file mode 100644 index 0000000000..c2c7b3119b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1791.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cba8f00378c5d43b2af15e12faf85d94 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1792.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1792.cs new file mode 100644 index 0000000000..cc383a50f7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1792.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1792 : Skill + { + public const int SKILL_ID = 1792; + + public Skill1792() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1792Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1792Stub() : base(1792) + { + cls = 127; + name = "技能对怪物伤害加倍"; + nativename = "技能对怪物伤害加倍"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "易筋经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/易筋经.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1792Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetEnhanceskilldamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1792.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1792.cs.meta new file mode 100644 index 0000000000..b0f20f2d7a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1792.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 271eb3f2389e34b6586a01007ae258ea \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1793.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1793.cs new file mode 100644 index 0000000000..afa98a1b33 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1793.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1793 : Skill + { + public const int SKILL_ID = 1793; + + public Skill1793() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1793Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1793Stub() : base(1793) + { + cls = 127; + name = "帮派绞首之柱攻击"; + nativename = "帮派绞首之柱攻击"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "致命矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/致命矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/致命矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1793Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 18f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetAttack () * 0.01f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1793.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1793.cs.meta new file mode 100644 index 0000000000..f958e58437 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1793.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 03989c00e96954cf2878cb2f86f12bea \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1794.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1794.cs new file mode 100644 index 0000000000..d52d53c268 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1794.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1794 : Skill + { + public const int SKILL_ID = 1794; + + public Skill1794() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1794Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1794Stub() : base(1794) + { + cls = 127; + name = "献祭"; + nativename = "献祭"; + icon = "宠物尖啸"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "剑灵_八方剑影"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_八方剑影_爆点.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1794Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (20); + skill.GetVictim ().SetAmount (skill.GetLevel ()); + skill.GetVictim ().SetValue (1795); + skill.GetVictim ().SetAuracurse (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1794.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1794.cs.meta new file mode 100644 index 0000000000..47e0669cf0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1794.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 01a7b4615804e408bb2b1707acdd5179 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1795.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1795.cs new file mode 100644 index 0000000000..cbcf73f507 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1795.cs @@ -0,0 +1,127 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1795 : Skill + { + public const int SKILL_ID = 1795; + + public Skill1795() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1795Stub : SkillStub + { + + + public Skill1795Stub() : base(1795) + { + cls = 127; + name = "献祭"; + nativename = "献祭"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_虚空剑劲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_虚空剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); + + } + + ~Skill1795Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10 + (skill.GetLevel () - 1) * 1000); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1795.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1795.cs.meta new file mode 100644 index 0000000000..c65aa1716a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1795.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bce4f290711fd4c5f83f827380714f9d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1796.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1796.cs new file mode 100644 index 0000000000..dec213c3c8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1796.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1796 : Skill + { + public const int SKILL_ID = 1796; + + public Skill1796() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1796Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1796Stub() : base(1796) + { + cls = 127; + name = "自身圆心群嘲讽"; + nativename = "自身圆心群嘲讽"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1796Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(6 + skill.GetLevel() * 2); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 + skill.GetLevel() * 2); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (5000); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1796.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1796.cs.meta new file mode 100644 index 0000000000..7cde2e5742 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1796.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f19d8f13b7ead49e889143676b6d504b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1797.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1797.cs new file mode 100644 index 0000000000..fd720b3752 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1797.cs @@ -0,0 +1,181 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1797 : Skill + { + public const int SKILL_ID = 1797; + + public Skill1797() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1797Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(3); + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1797Stub() : base(1797) + { + cls = 127; + name = "强力群体霹雳术"; + nativename = "强力群体霹雳术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体霹雳术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/头顶一道霹雳.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1797Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(3 + skill.GetLevel() * 3); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(2 + skill.GetLevel() * 3); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1797.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1797.cs.meta new file mode 100644 index 0000000000..70b0f3a1d4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1797.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 44af3243033f94bb4ba2a16dde454e9f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1798.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1798.cs new file mode 100644 index 0000000000..43988c4e59 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1798.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1798 : Skill + { + public const int SKILL_ID = 1798; + + public Skill1798() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1798Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1798Stub() : base(1798) + { + cls = 127; + name = "反隐列表时间可变"; + nativename = "反隐列表时间可变"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙守符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙守符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1798Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000 * skill.GetLevel ()); + skill.GetVictim ().SetValue (25); + skill.GetVictim ().SetDetectinvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1798.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1798.cs.meta new file mode 100644 index 0000000000..e7d6b043d4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1798.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0baaca463464b481bbe1596b189cd4a4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1799.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1799.cs new file mode 100644 index 0000000000..b839f31442 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1799.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1799 : Skill + { + public const int SKILL_ID = 1799; + + public Skill1799() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1799Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1799Stub() : base(1799) + { + cls = 127; + name = "反隐列表距离可变"; + nativename = "反隐列表距离可变"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙守符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙守符击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1799Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (5 + skill.GetLevel () * 5); + skill.GetVictim ().SetDetectinvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1799.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1799.cs.meta new file mode 100644 index 0000000000..4d1f9d102f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1799.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 47f2d86f900a94fcaa45eaded4d7fde6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1800.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1800.cs new file mode 100644 index 0000000000..de02d68b83 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1800.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1800 : Skill + { + public const int SKILL_ID = 1800; + + public Skill1800() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1800Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1800Stub() : base(1800) + { + cls = 127; + name = "召唤反隐植物"; + nativename = "召唤反隐植物"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "天地无级"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/天地无级击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1800Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (32907); + skill.GetVictim ().SetSummonplantpet (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1800.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1800.cs.meta new file mode 100644 index 0000000000..490cda254e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1800.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 99da453b859b14b179728ec537d8f7f1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1801.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1801.cs new file mode 100644 index 0000000000..3342193ebf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1801.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1801 : Skill + { + public const int SKILL_ID = 1801; + + public Skill1801() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1801Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.SetFiredamage(skill.GetMagicattack()); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.SetEarthdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1801Stub() : base(1801) + { + cls = 127; + name = "帮派_法混减防"; + nativename = "帮派_法混减防"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "黑暗怨灵兽技能"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/黑暗骷髅头飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/黑暗怨灵兽技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1801Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() * 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetDecdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1801.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1801.cs.meta new file mode 100644 index 0000000000..6926627da3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1801.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e8447fed673174159923af58c76677ca \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1802.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1802.cs new file mode 100644 index 0000000000..eff5e6444a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1802.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1802 : Skill + { + public const int SKILL_ID = 1802; + + public Skill1802() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1802Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1802Stub() : base(1802) + { + cls = 127; + name = "帮派_物攻减法防"; + nativename = "帮派_物攻减法防"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物人面桃花技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/人面桃花技能飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/人面桃花技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1802Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(skill.GetLevel() * 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetDecresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1802.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1802.cs.meta new file mode 100644 index 0000000000..7ad98cfb60 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1802.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1fe5d44789f8e48db9528232c8b7a95b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1803.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1803.cs new file mode 100644 index 0000000000..10af1fe3eb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1803.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1803 : Skill + { + public const int SKILL_ID = 1803; + + public Skill1803() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1803Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1803Stub() : base(1803) + { + cls = 127; + name = "物品技能-场景回蓝"; + nativename = "物品技能-场景回蓝"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "玄净咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/玄净咒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1803Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetValue (100 * skill.GetLevel ()); + skill.GetVictim ().SetFastmpgen2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1803.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1803.cs.meta new file mode 100644 index 0000000000..cf62d571c4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1803.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 42b8496bafdb84b9e8668026a31ce334 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1858.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1858.cs new file mode 100644 index 0000000000..f6ad3f9aa5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1858.cs @@ -0,0 +1,166 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1858 : Skill + { + public const int SKILL_ID = 1858; + + public Skill1858() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1858Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1858Stub() : base(1858) + { + cls = 127; + name = "向主人传输伤害"; + nativename = "向主人传输伤害"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1858Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetValue (45); + skill.GetVictim ().SetTransportdamagetoleader (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1858.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1858.cs.meta new file mode 100644 index 0000000000..cf34a0a3b1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1858.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ba57d8602669c40278bfa58fa4a01507 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1878.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1878.cs new file mode 100644 index 0000000000..8b2c41abdb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1878.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1878 : Skill + { + public const int SKILL_ID = 1878; + + public Skill1878() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1878Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(2 * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1878Stub() : base(1878) + { + cls = 127; + name = "地极金煞"; + nativename = "地极金煞"; + icon = "折梅手"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_悲悯剑劲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_悲悯剑劲.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/悲悯剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1878Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 12000; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetValue (skill.GetLevel () * 2); + skill.GetVictim ().SetDeccritresistance (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1878.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1878.cs.meta new file mode 100644 index 0000000000..f6d2d804c1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1878.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2559b272ffdf14574925c07da0c21671 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1879.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1879.cs new file mode 100644 index 0000000000..8e7542e0b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1879.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1879 : Skill + { + public const int SKILL_ID = 1879; + + public Skill1879() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1879Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(2 * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1879Stub() : base(1879) + { + cls = 127; + name = "天极净火"; + nativename = "天极净火"; + icon = "回光诀"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "双子星_地脸"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/双子星_地脸_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1879Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 18000; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 90); + skill.GetVictim ().SetTime (skill.GetLevel () * 500 + 1000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1879.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1879.cs.meta new file mode 100644 index 0000000000..641532f712 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1879.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0829fd19a76a545ebb44d27dc92d3662 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1880.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1880.cs new file mode 100644 index 0000000000..1923ea38b5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1880.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1880 : Skill + { + public const int SKILL_ID = 1880; + + public Skill1880() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1880Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(2 * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1880Stub() : base(1880) + { + cls = 127; + name = "天地无极"; + nativename = "天地无极"; + icon = "悲悯剑劲"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "双子星_天地无界"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/武侠_狂风.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1880Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2100; + public override int GetCoolingtime(Skill skill) => 25000; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetLevel () * 1000); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetLevel () * 1000); + skill.GetVictim ().SetThunder (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1880.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1880.cs.meta new file mode 100644 index 0000000000..ecc4f739df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1880.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3c18fa1aea3ce4885b6b43495e2ca8af \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1882.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1882.cs new file mode 100644 index 0000000000..cfb009b796 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1882.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1882 : Skill + { + public const int SKILL_ID = 1882; + + public Skill1882() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1882Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1882Stub() : base(1882) + { + cls = 127; + name = "强力延时伤害"; + nativename = "强力延时伤害"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_风岩葬"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_风岩葬_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_风岩葬_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1882Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetValue (10000 * skill.GetLevel ()); + skill.GetVictim ().SetDelayearthhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1882.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1882.cs.meta new file mode 100644 index 0000000000..f88b778f87 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1882.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2fb902f8626bb4298a26000c5a30103a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1883.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1883.cs new file mode 100644 index 0000000000..9001d53070 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1883.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1883 : Skill + { + public const int SKILL_ID = 1883; + + public Skill1883() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1883Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1883Stub() : base(1883) + { + cls = 127; + name = "狂暴"; + nativename = "狂暴"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1883Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1883.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1883.cs.meta new file mode 100644 index 0000000000..950011760c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1883.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4376bddcdd303483ab4177a908880707 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1884.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1884.cs new file mode 100644 index 0000000000..05e12b87bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1884.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1884 : Skill + { + public const int SKILL_ID = 1884; + + public Skill1884() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1884Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1884Stub() : base(1884) + { + cls = 127; + name = "自身圆群击退"; + nativename = "自身圆群击退"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "旋刃"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/旋刃释放.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/旋刃击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1884Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 50f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetAmount (2000); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetRepel2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1884.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1884.cs.meta new file mode 100644 index 0000000000..8c749b63cc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1884.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4ce9a7cec737242818c988a25c18a2ac \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1885.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1885.cs new file mode 100644 index 0000000000..1f3b6e9950 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1885.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1885 : Skill + { + public const int SKILL_ID = 1885; + + public Skill1885() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1885Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1885Stub() : base(1885) + { + cls = 127; + name = "目标圆群击退"; + nativename = "目标圆群击退"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "旋刃"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/旋刃释放.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/旋刃击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1885Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetAmount (2000); + skill.GetVictim ().SetValue (25); + skill.GetVictim ().SetRepel2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (25); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1885.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1885.cs.meta new file mode 100644 index 0000000000..ae6d6cdb1c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1885.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f3417e064039a47098a15df780e4f9c9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1886.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1886.cs new file mode 100644 index 0000000000..d366f4256e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1886.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1886 : Skill + { + public const int SKILL_ID = 1886; + + public Skill1886() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1886Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1886Stub() : base(1886) + { + cls = 127; + name = "怪物幽冥遁"; + nativename = "怪物幽冥遁"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1886Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1886.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1886.cs.meta new file mode 100644 index 0000000000..c76f3bf5b0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1886.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6644e111aabe440a188ac0a62bce7ac7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1887.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1887.cs new file mode 100644 index 0000000000..2f2d0b9798 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1887.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1887 : Skill + { + public const int SKILL_ID = 1887; + + public Skill1887() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1887Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1887Stub() : base(1887) + { + cls = 127; + name = "变园艺区哨兵"; + nativename = "变园艺区哨兵"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1887Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (660000 - 60000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (29); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1887.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1887.cs.meta new file mode 100644 index 0000000000..21de74264b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1887.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 28a23532963f443e1936a18926878e1b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1888.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1888.cs new file mode 100644 index 0000000000..817b62066e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1888.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1888 : Skill + { + public const int SKILL_ID = 1888; + + public Skill1888() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1888Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1888Stub() : base(1888) + { + cls = 127; + name = "10人本传送1"; + nativename = "10人本传送1"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1888Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 139); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetRatio (-216); + skill.GetVictim ().SetAmount (312); + skill.GetVictim ().SetValue (340); + skill.GetVictim ().SetDelaytransmit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1888.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1888.cs.meta new file mode 100644 index 0000000000..c457473a42 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1888.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6deb305a9bce04ddda5b52b3f0bb223e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1889.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1889.cs new file mode 100644 index 0000000000..c986d95509 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1889.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1889 : Skill + { + public const int SKILL_ID = 1889; + + public Skill1889() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1889Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1889Stub() : base(1889) + { + cls = 127; + name = "藏宝图BOSS常规BUFF"; + nativename = "藏宝图BOSS常规BUFF"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖精_共舞_自身飞行"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖精_共舞_自身飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1889Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000 * skill.GetLevel () - 18000); + skill.GetVictim ().SetRatio (0.25f * skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000 * skill.GetLevel () - 18000); + skill.GetVictim ().SetRatio (0.15f * skill.GetLevel ()); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (24000); + skill.GetVictim ().SetRatio (1 * skill.GetLevel ()); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (24000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetRetort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1889.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1889.cs.meta new file mode 100644 index 0000000000..cf1c15bd6e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1889.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0917a024b547f42459a7954408960202 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1890.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1890.cs new file mode 100644 index 0000000000..e25ea3bab8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1890.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1890 : Skill + { + public const int SKILL_ID = 1890; + + public Skill1890() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1890Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1890Stub() : base(1890) + { + cls = 127; + name = "藏宝图BOSS单体昏迷"; + nativename = "藏宝图BOSS单体昏迷"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物炼狱君主技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/炼狱君主技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1890Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1890.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1890.cs.meta new file mode 100644 index 0000000000..fb940561b6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1890.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 821564763616a434da16cf168696a77d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1891.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1891.cs new file mode 100644 index 0000000000..edac1d17fb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1891.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1891 : Skill + { + public const int SKILL_ID = 1891; + + public Skill1891() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1891Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1891Stub() : base(1891) + { + cls = 127; + name = "怪物假无敌"; + nativename = "怪物假无敌"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1891Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.98f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1891.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1891.cs.meta new file mode 100644 index 0000000000..0a38163967 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1891.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c9da3805dff8a43f0875eb708a6b8c29 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1892.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1892.cs new file mode 100644 index 0000000000..6286b2ee5c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1892.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1892 : Skill + { + public const int SKILL_ID = 1892; + + public Skill1892() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1892Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1892Stub() : base(1892) + { + cls = 127; + name = "脱离假无敌"; + nativename = "脱离假无敌"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1892Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.01f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1892.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1892.cs.meta new file mode 100644 index 0000000000..d981d349c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1892.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bc52acd7bfbb54b5abddfdd397fa6f1a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1893.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1893.cs new file mode 100644 index 0000000000..0a6e8f8821 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1893.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1893 : Skill + { + public const int SKILL_ID = 1893; + + public Skill1893() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1893Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.8f); + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1893Stub() : base(1893) + { + cls = 127; + name = "藏宝图BOSS机关枪"; + nativename = "藏宝图BOSS机关枪"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物群体冰球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1893Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1893.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1893.cs.meta new file mode 100644 index 0000000000..cadb62173d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1893.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 77c393a6358024f63a91c4771b64b3a3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1894.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1894.cs new file mode 100644 index 0000000000..034dc9cd07 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1894.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1894 : Skill + { + public const int SKILL_ID = 1894; + + public Skill1894() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1894Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1894Stub() : base(1894) + { + cls = 127; + name = "怪物飞行加速"; + nativename = "怪物飞行加速"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1894Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.6f * skill.GetLevel ()); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetSpeedup2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1894.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1894.cs.meta new file mode 100644 index 0000000000..9268165283 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1894.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3304e2fa099af4a548c5a8fac277da13 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1895.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1895.cs new file mode 100644 index 0000000000..f05e0f921c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1895.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1895 : Skill + { + public const int SKILL_ID = 1895; + + public Skill1895() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1895Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1895Stub() : base(1895) + { + cls = 127; + name = "无视防御AOE"; + nativename = "无视防御AOE"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物喷火术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/燃烧.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1895Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1895.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1895.cs.meta new file mode 100644 index 0000000000..6b6e7015d3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1895.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 10c30b913a268497d91bfaee74a4b9dd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1896.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1896.cs new file mode 100644 index 0000000000..a25af2a992 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1896.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1896 : Skill + { + public const int SKILL_ID = 1896; + + public Skill1896() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1896Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1896Stub() : base(1896) + { + cls = 127; + name = "10人本传送2"; + nativename = "10人本传送2"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1896Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 139); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetRatio (-253); + skill.GetVictim ().SetAmount (240); + skill.GetVictim ().SetValue (225); + skill.GetVictim ().SetDelaytransmit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1896.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1896.cs.meta new file mode 100644 index 0000000000..3f75465448 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1896.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 43224bfbb33b64ea083371912769ade0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1897.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1897.cs new file mode 100644 index 0000000000..8b2bd5033b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1897.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1897 : Skill + { + public const int SKILL_ID = 1897; + + public Skill1897() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1897Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1897Stub() : base(1897) + { + cls = 127; + name = "10人本传送3"; + nativename = "10人本传送3"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1897Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 139); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetRatio (-114); + skill.GetVictim ().SetAmount (305); + skill.GetVictim ().SetValue (146); + skill.GetVictim ().SetDelaytransmit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1897.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1897.cs.meta new file mode 100644 index 0000000000..d4d50f554b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1897.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f6d7e73b5f5254e0590c5883c4055238 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1898.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1898.cs new file mode 100644 index 0000000000..4fa3c0e24c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1898.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1898 : Skill + { + public const int SKILL_ID = 1898; + + public Skill1898() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1898Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1898Stub() : base(1898) + { + cls = 127; + name = "物品技能-普攻减伤"; + nativename = "物品技能-普攻减伤"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1898Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.75f); + skill.GetVictim ().SetValue (1000 * skill.GetLevel ()); + skill.GetVictim ().SetDecnormalattackhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1898.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1898.cs.meta new file mode 100644 index 0000000000..36591ddba2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs8/skill1898.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e8422845ef8aa4deda769e41e71a6990 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9.meta new file mode 100644 index 0000000000..b8080318e9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 35f89d0f7c55a4aa59bbc719a8dc9fa7 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/SkillStubs9.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/SkillStubs9.cs new file mode 100644 index 0000000000..918ad1d127 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/SkillStubs9.cs @@ -0,0 +1,525 @@ +using BrewMonster.Scripts.Skills; +using UnityEngine; + +namespace BrewMonster +{ + public static partial class SkillStubs + { + // Skill stub declarations + public static Skill1899Stub __stub_Skill1899Stub = new Skill1899Stub(); + public static Skill1900Stub __stub_Skill1900Stub = new Skill1900Stub(); + public static Skill1901Stub __stub_Skill1901Stub = new Skill1901Stub(); + public static Skill1902Stub __stub_Skill1902Stub = new Skill1902Stub(); + public static Skill1903Stub __stub_Skill1903Stub = new Skill1903Stub(); + public static Skill1904Stub __stub_Skill1904Stub = new Skill1904Stub(); + public static Skill1905Stub __stub_Skill1905Stub = new Skill1905Stub(); + public static Skill1906Stub __stub_Skill1906Stub = new Skill1906Stub(); + public static Skill1908Stub __stub_Skill1908Stub = new Skill1908Stub(); + public static Skill1909Stub __stub_Skill1909Stub = new Skill1909Stub(); + public static Skill1910Stub __stub_Skill1910Stub = new Skill1910Stub(); + public static Skill1911Stub __stub_Skill1911Stub = new Skill1911Stub(); + public static Skill1912Stub __stub_Skill1912Stub = new Skill1912Stub(); + public static Skill1913Stub __stub_Skill1913Stub = new Skill1913Stub(); + public static Skill1914Stub __stub_Skill1914Stub = new Skill1914Stub(); + public static Skill1915Stub __stub_Skill1915Stub = new Skill1915Stub(); + public static Skill1919Stub __stub_Skill1919Stub = new Skill1919Stub(); + public static Skill1920Stub __stub_Skill1920Stub = new Skill1920Stub(); + public static Skill1921Stub __stub_Skill1921Stub = new Skill1921Stub(); + public static Skill1922Stub __stub_Skill1922Stub = new Skill1922Stub(); + public static Skill1923Stub __stub_Skill1923Stub = new Skill1923Stub(); + public static Skill1924Stub __stub_Skill1924Stub = new Skill1924Stub(); + public static Skill1925Stub __stub_Skill1925Stub = new Skill1925Stub(); + public static Skill1926Stub __stub_Skill1926Stub = new Skill1926Stub(); + public static Skill1927Stub __stub_Skill1927Stub = new Skill1927Stub(); + public static Skill1928Stub __stub_Skill1928Stub = new Skill1928Stub(); + public static Skill1931Stub __stub_Skill1931Stub = new Skill1931Stub(); + public static Skill1932Stub __stub_Skill1932Stub = new Skill1932Stub(); + public static Skill1933Stub __stub_Skill1933Stub = new Skill1933Stub(); + public static Skill1934Stub __stub_Skill1934Stub = new Skill1934Stub(); + public static Skill1935Stub __stub_Skill1935Stub = new Skill1935Stub(); + public static Skill1936Stub __stub_Skill1936Stub = new Skill1936Stub(); + public static Skill1937Stub __stub_Skill1937Stub = new Skill1937Stub(); + public static Skill1938Stub __stub_Skill1938Stub = new Skill1938Stub(); + public static Skill1939Stub __stub_Skill1939Stub = new Skill1939Stub(); + public static Skill1940Stub __stub_Skill1940Stub = new Skill1940Stub(); + public static Skill1941Stub __stub_Skill1941Stub = new Skill1941Stub(); + public static Skill1942Stub __stub_Skill1942Stub = new Skill1942Stub(); + public static Skill1943Stub __stub_Skill1943Stub = new Skill1943Stub(); + public static Skill1944Stub __stub_Skill1944Stub = new Skill1944Stub(); + public static Skill1945Stub __stub_Skill1945Stub = new Skill1945Stub(); + public static Skill1946Stub __stub_Skill1946Stub = new Skill1946Stub(); + public static Skill1947Stub __stub_Skill1947Stub = new Skill1947Stub(); + public static Skill1948Stub __stub_Skill1948Stub = new Skill1948Stub(); + public static Skill1950Stub __stub_Skill1950Stub = new Skill1950Stub(); + public static Skill1952Stub __stub_Skill1952Stub = new Skill1952Stub(); + public static Skill1953Stub __stub_Skill1953Stub = new Skill1953Stub(); + public static Skill1954Stub __stub_Skill1954Stub = new Skill1954Stub(); + public static Skill1955Stub __stub_Skill1955Stub = new Skill1955Stub(); + public static Skill1956Stub __stub_Skill1956Stub = new Skill1956Stub(); + public static Skill1957Stub __stub_Skill1957Stub = new Skill1957Stub(); + public static Skill1958Stub __stub_Skill1958Stub = new Skill1958Stub(); + public static Skill1959Stub __stub_Skill1959Stub = new Skill1959Stub(); + public static Skill1960Stub __stub_Skill1960Stub = new Skill1960Stub(); + public static Skill1961Stub __stub_Skill1961Stub = new Skill1961Stub(); + public static Skill1962Stub __stub_Skill1962Stub = new Skill1962Stub(); + public static Skill1963Stub __stub_Skill1963Stub = new Skill1963Stub(); + public static Skill1964Stub __stub_Skill1964Stub = new Skill1964Stub(); + public static Skill1965Stub __stub_Skill1965Stub = new Skill1965Stub(); + public static Skill1966Stub __stub_Skill1966Stub = new Skill1966Stub(); + public static Skill1967Stub __stub_Skill1967Stub = new Skill1967Stub(); + public static Skill1968Stub __stub_Skill1968Stub = new Skill1968Stub(); + public static Skill1969Stub __stub_Skill1969Stub = new Skill1969Stub(); + public static Skill1970Stub __stub_Skill1970Stub = new Skill1970Stub(); + public static Skill1971Stub __stub_Skill1971Stub = new Skill1971Stub(); + public static Skill1972Stub __stub_Skill1972Stub = new Skill1972Stub(); + public static Skill1973Stub __stub_Skill1973Stub = new Skill1973Stub(); + public static Skill1974Stub __stub_Skill1974Stub = new Skill1974Stub(); + public static Skill1975Stub __stub_Skill1975Stub = new Skill1975Stub(); + public static Skill1976Stub __stub_Skill1976Stub = new Skill1976Stub(); + public static Skill1977Stub __stub_Skill1977Stub = new Skill1977Stub(); + public static Skill1978Stub __stub_Skill1978Stub = new Skill1978Stub(); + public static Skill1979Stub __stub_Skill1979Stub = new Skill1979Stub(); + public static Skill1988Stub __stub_Skill1988Stub = new Skill1988Stub(); + public static Skill1989Stub __stub_Skill1989Stub = new Skill1989Stub(); + public static Skill1990Stub __stub_Skill1990Stub = new Skill1990Stub(); + public static Skill1991Stub __stub_Skill1991Stub = new Skill1991Stub(); + public static Skill1992Stub __stub_Skill1992Stub = new Skill1992Stub(); + public static Skill1993Stub __stub_Skill1993Stub = new Skill1993Stub(); + public static Skill1994Stub __stub_Skill1994Stub = new Skill1994Stub(); + public static Skill1995Stub __stub_Skill1995Stub = new Skill1995Stub(); + public static Skill1996Stub __stub_Skill1996Stub = new Skill1996Stub(); + public static Skill1997Stub __stub_Skill1997Stub = new Skill1997Stub(); + public static Skill1998Stub __stub_Skill1998Stub = new Skill1998Stub(); + public static Skill1999Stub __stub_Skill1999Stub = new Skill1999Stub(); + public static Skill2000Stub __stub_Skill2000Stub = new Skill2000Stub(); + public static Skill2001Stub __stub_Skill2001Stub = new Skill2001Stub(); + public static Skill2002Stub __stub_Skill2002Stub = new Skill2002Stub(); + public static Skill2003Stub __stub_Skill2003Stub = new Skill2003Stub(); + public static Skill2004Stub __stub_Skill2004Stub = new Skill2004Stub(); + public static Skill2005Stub __stub_Skill2005Stub = new Skill2005Stub(); + public static Skill2006Stub __stub_Skill2006Stub = new Skill2006Stub(); + public static Skill2007Stub __stub_Skill2007Stub = new Skill2007Stub(); + public static Skill2008Stub __stub_Skill2008Stub = new Skill2008Stub(); + public static Skill2009Stub __stub_Skill2009Stub = new Skill2009Stub(); + public static Skill2010Stub __stub_Skill2010Stub = new Skill2010Stub(); + public static Skill2011Stub __stub_Skill2011Stub = new Skill2011Stub(); + public static Skill2012Stub __stub_Skill2012Stub = new Skill2012Stub(); + public static Skill2013Stub __stub_Skill2013Stub = new Skill2013Stub(); + public static Skill2014Stub __stub_Skill2014Stub = new Skill2014Stub(); + public static Skill2015Stub __stub_Skill2015Stub = new Skill2015Stub(); + public static Skill2016Stub __stub_Skill2016Stub = new Skill2016Stub(); + public static Skill2017Stub __stub_Skill2017Stub = new Skill2017Stub(); + public static Skill2018Stub __stub_Skill2018Stub = new Skill2018Stub(); + public static Skill2019Stub __stub_Skill2019Stub = new Skill2019Stub(); + public static Skill2020Stub __stub_Skill2020Stub = new Skill2020Stub(); + public static Skill2021Stub __stub_Skill2021Stub = new Skill2021Stub(); + public static Skill2022Stub __stub_Skill2022Stub = new Skill2022Stub(); + public static Skill2023Stub __stub_Skill2023Stub = new Skill2023Stub(); + public static Skill2024Stub __stub_Skill2024Stub = new Skill2024Stub(); + public static Skill2025Stub __stub_Skill2025Stub = new Skill2025Stub(); + public static Skill2026Stub __stub_Skill2026Stub = new Skill2026Stub(); + public static Skill2027Stub __stub_Skill2027Stub = new Skill2027Stub(); + public static Skill2028Stub __stub_Skill2028Stub = new Skill2028Stub(); + public static Skill2029Stub __stub_Skill2029Stub = new Skill2029Stub(); + public static Skill2030Stub __stub_Skill2030Stub = new Skill2030Stub(); + public static Skill2031Stub __stub_Skill2031Stub = new Skill2031Stub(); + public static Skill2032Stub __stub_Skill2032Stub = new Skill2032Stub(); + public static Skill2033Stub __stub_Skill2033Stub = new Skill2033Stub(); + public static Skill2034Stub __stub_Skill2034Stub = new Skill2034Stub(); + public static Skill2035Stub __stub_Skill2035Stub = new Skill2035Stub(); + public static Skill2036Stub __stub_Skill2036Stub = new Skill2036Stub(); + public static Skill2037Stub __stub_Skill2037Stub = new Skill2037Stub(); + public static Skill2038Stub __stub_Skill2038Stub = new Skill2038Stub(); + public static Skill2039Stub __stub_Skill2039Stub = new Skill2039Stub(); + public static Skill2040Stub __stub_Skill2040Stub = new Skill2040Stub(); + public static Skill2041Stub __stub_Skill2041Stub = new Skill2041Stub(); + public static Skill2042Stub __stub_Skill2042Stub = new Skill2042Stub(); + public static Skill2043Stub __stub_Skill2043Stub = new Skill2043Stub(); + public static Skill2044Stub __stub_Skill2044Stub = new Skill2044Stub(); + public static Skill2045Stub __stub_Skill2045Stub = new Skill2045Stub(); + public static Skill2046Stub __stub_Skill2046Stub = new Skill2046Stub(); + public static Skill2047Stub __stub_Skill2047Stub = new Skill2047Stub(); + public static Skill2048Stub __stub_Skill2048Stub = new Skill2048Stub(); + public static Skill2049Stub __stub_Skill2049Stub = new Skill2049Stub(); + public static Skill2050Stub __stub_Skill2050Stub = new Skill2050Stub(); + public static Skill2051Stub __stub_Skill2051Stub = new Skill2051Stub(); + public static Skill2052Stub __stub_Skill2052Stub = new Skill2052Stub(); + public static Skill2053Stub __stub_Skill2053Stub = new Skill2053Stub(); + public static Skill2054Stub __stub_Skill2054Stub = new Skill2054Stub(); + public static Skill2055Stub __stub_Skill2055Stub = new Skill2055Stub(); + public static Skill2056Stub __stub_Skill2056Stub = new Skill2056Stub(); + public static Skill2057Stub __stub_Skill2057Stub = new Skill2057Stub(); + public static Skill2058Stub __stub_Skill2058Stub = new Skill2058Stub(); + public static Skill2059Stub __stub_Skill2059Stub = new Skill2059Stub(); + public static Skill2060Stub __stub_Skill2060Stub = new Skill2060Stub(); + public static Skill2061Stub __stub_Skill2061Stub = new Skill2061Stub(); + public static Skill2062Stub __stub_Skill2062Stub = new Skill2062Stub(); + public static Skill2063Stub __stub_Skill2063Stub = new Skill2063Stub(); + public static Skill2064Stub __stub_Skill2064Stub = new Skill2064Stub(); + public static Skill2065Stub __stub_Skill2065Stub = new Skill2065Stub(); + public static Skill2066Stub __stub_Skill2066Stub = new Skill2066Stub(); + public static Skill2067Stub __stub_Skill2067Stub = new Skill2067Stub(); + public static Skill2068Stub __stub_Skill2068Stub = new Skill2068Stub(); + public static Skill2069Stub __stub_Skill2069Stub = new Skill2069Stub(); + public static Skill2070Stub __stub_Skill2070Stub = new Skill2070Stub(); + public static Skill2071Stub __stub_Skill2071Stub = new Skill2071Stub(); + public static Skill2072Stub __stub_Skill2072Stub = new Skill2072Stub(); + public static Skill2074Stub __stub_Skill2074Stub = new Skill2074Stub(); + public static Skill2075Stub __stub_Skill2075Stub = new Skill2075Stub(); + public static Skill2076Stub __stub_Skill2076Stub = new Skill2076Stub(); + public static Skill2077Stub __stub_Skill2077Stub = new Skill2077Stub(); + public static Skill2078Stub __stub_Skill2078Stub = new Skill2078Stub(); + public static Skill2079Stub __stub_Skill2079Stub = new Skill2079Stub(); + public static Skill2080Stub __stub_Skill2080Stub = new Skill2080Stub(); + public static Skill2081Stub __stub_Skill2081Stub = new Skill2081Stub(); + public static Skill2082Stub __stub_Skill2082Stub = new Skill2082Stub(); + public static Skill2083Stub __stub_Skill2083Stub = new Skill2083Stub(); + public static Skill2084Stub __stub_Skill2084Stub = new Skill2084Stub(); + public static Skill2085Stub __stub_Skill2085Stub = new Skill2085Stub(); + public static Skill2086Stub __stub_Skill2086Stub = new Skill2086Stub(); + public static Skill2087Stub __stub_Skill2087Stub = new Skill2087Stub(); + public static Skill2088Stub __stub_Skill2088Stub = new Skill2088Stub(); + public static Skill2089Stub __stub_Skill2089Stub = new Skill2089Stub(); + public static Skill2090Stub __stub_Skill2090Stub = new Skill2090Stub(); + public static Skill2091Stub __stub_Skill2091Stub = new Skill2091Stub(); + public static Skill2092Stub __stub_Skill2092Stub = new Skill2092Stub(); + public static Skill2093Stub __stub_Skill2093Stub = new Skill2093Stub(); + public static Skill2094Stub __stub_Skill2094Stub = new Skill2094Stub(); + public static Skill2095Stub __stub_Skill2095Stub = new Skill2095Stub(); + public static Skill2096Stub __stub_Skill2096Stub = new Skill2096Stub(); + public static Skill2097Stub __stub_Skill2097Stub = new Skill2097Stub(); + public static Skill2098Stub __stub_Skill2098Stub = new Skill2098Stub(); + public static Skill2099Stub __stub_Skill2099Stub = new Skill2099Stub(); + public static Skill2100Stub __stub_Skill2100Stub = new Skill2100Stub(); + public static Skill2101Stub __stub_Skill2101Stub = new Skill2101Stub(); + public static Skill2102Stub __stub_Skill2102Stub = new Skill2102Stub(); + public static Skill2103Stub __stub_Skill2103Stub = new Skill2103Stub(); + public static Skill2104Stub __stub_Skill2104Stub = new Skill2104Stub(); + public static Skill2105Stub __stub_Skill2105Stub = new Skill2105Stub(); + public static Skill2106Stub __stub_Skill2106Stub = new Skill2106Stub(); + public static Skill2107Stub __stub_Skill2107Stub = new Skill2107Stub(); + public static Skill2108Stub __stub_Skill2108Stub = new Skill2108Stub(); + public static Skill2109Stub __stub_Skill2109Stub = new Skill2109Stub(); + public static Skill2110Stub __stub_Skill2110Stub = new Skill2110Stub(); + public static Skill2111Stub __stub_Skill2111Stub = new Skill2111Stub(); + public static Skill2112Stub __stub_Skill2112Stub = new Skill2112Stub(); + public static Skill2113Stub __stub_Skill2113Stub = new Skill2113Stub(); + public static Skill2114Stub __stub_Skill2114Stub = new Skill2114Stub(); + public static Skill2115Stub __stub_Skill2115Stub = new Skill2115Stub(); + public static Skill2116Stub __stub_Skill2116Stub = new Skill2116Stub(); + public static Skill2117Stub __stub_Skill2117Stub = new Skill2117Stub(); + public static Skill2118Stub __stub_Skill2118Stub = new Skill2118Stub(); + public static Skill2119Stub __stub_Skill2119Stub = new Skill2119Stub(); + public static Skill2120Stub __stub_Skill2120Stub = new Skill2120Stub(); + public static Skill2121Stub __stub_Skill2121Stub = new Skill2121Stub(); + public static Skill2122Stub __stub_Skill2122Stub = new Skill2122Stub(); + public static Skill2123Stub __stub_Skill2123Stub = new Skill2123Stub(); + public static Skill2124Stub __stub_Skill2124Stub = new Skill2124Stub(); + public static Skill2125Stub __stub_Skill2125Stub = new Skill2125Stub(); + public static Skill2126Stub __stub_Skill2126Stub = new Skill2126Stub(); + public static Skill2127Stub __stub_Skill2127Stub = new Skill2127Stub(); + public static Skill2128Stub __stub_Skill2128Stub = new Skill2128Stub(); + public static Skill2129Stub __stub_Skill2129Stub = new Skill2129Stub(); + public static Skill2130Stub __stub_Skill2130Stub = new Skill2130Stub(); + public static Skill2131Stub __stub_Skill2131Stub = new Skill2131Stub(); + public static Skill2132Stub __stub_Skill2132Stub = new Skill2132Stub(); + public static Skill2133Stub __stub_Skill2133Stub = new Skill2133Stub(); + public static Skill2134Stub __stub_Skill2134Stub = new Skill2134Stub(); + public static Skill2135Stub __stub_Skill2135Stub = new Skill2135Stub(); + public static Skill2136Stub __stub_Skill2136Stub = new Skill2136Stub(); + public static Skill2137Stub __stub_Skill2137Stub = new Skill2137Stub(); + public static Skill2138Stub __stub_Skill2138Stub = new Skill2138Stub(); + public static Skill2139Stub __stub_Skill2139Stub = new Skill2139Stub(); + public static Skill2140Stub __stub_Skill2140Stub = new Skill2140Stub(); + public static Skill2141Stub __stub_Skill2141Stub = new Skill2141Stub(); + public static Skill2142Stub __stub_Skill2142Stub = new Skill2142Stub(); + public static Skill2143Stub __stub_Skill2143Stub = new Skill2143Stub(); + public static Skill2144Stub __stub_Skill2144Stub = new Skill2144Stub(); + public static Skill2145Stub __stub_Skill2145Stub = new Skill2145Stub(); + public static Skill2146Stub __stub_Skill2146Stub = new Skill2146Stub(); + public static Skill2147Stub __stub_Skill2147Stub = new Skill2147Stub(); + public static Skill2148Stub __stub_Skill2148Stub = new Skill2148Stub(); + public static Skill2149Stub __stub_Skill2149Stub = new Skill2149Stub(); + public static Skill2150Stub __stub_Skill2150Stub = new Skill2150Stub(); + public static Skill2151Stub __stub_Skill2151Stub = new Skill2151Stub(); + public static Skill2152Stub __stub_Skill2152Stub = new Skill2152Stub(); + public static Skill2153Stub __stub_Skill2153Stub = new Skill2153Stub(); + public static Skill2154Stub __stub_Skill2154Stub = new Skill2154Stub(); + public static Skill2155Stub __stub_Skill2155Stub = new Skill2155Stub(); + public static Skill2156Stub __stub_Skill2156Stub = new Skill2156Stub(); + public static Skill2157Stub __stub_Skill2157Stub = new Skill2157Stub(); + public static Skill2158Stub __stub_Skill2158Stub = new Skill2158Stub(); + public static Skill2159Stub __stub_Skill2159Stub = new Skill2159Stub(); + public static Skill2160Stub __stub_Skill2160Stub = new Skill2160Stub(); + public static Skill2161Stub __stub_Skill2161Stub = new Skill2161Stub(); + public static Skill2162Stub __stub_Skill2162Stub = new Skill2162Stub(); + public static Skill2163Stub __stub_Skill2163Stub = new Skill2163Stub(); + public static Skill2164Stub __stub_Skill2164Stub = new Skill2164Stub(); + public static Skill2165Stub __stub_Skill2165Stub = new Skill2165Stub(); + public static Skill2166Stub __stub_Skill2166Stub = new Skill2166Stub(); + public static Skill2167Stub __stub_Skill2167Stub = new Skill2167Stub(); + public static Skill2168Stub __stub_Skill2168Stub = new Skill2168Stub(); + public static Skill2169Stub __stub_Skill2169Stub = new Skill2169Stub(); + public static Skill2170Stub __stub_Skill2170Stub = new Skill2170Stub(); + public static Skill2171Stub __stub_Skill2171Stub = new Skill2171Stub(); + +#if SKILL_SERVER + public static Skill1899 __stub_Skill1899 = new Skill1899(); + public static Skill1900 __stub_Skill1900 = new Skill1900(); + public static Skill1901 __stub_Skill1901 = new Skill1901(); + public static Skill1902 __stub_Skill1902 = new Skill1902(); + public static Skill1903 __stub_Skill1903 = new Skill1903(); + public static Skill1904 __stub_Skill1904 = new Skill1904(); + public static Skill1905 __stub_Skill1905 = new Skill1905(); + public static Skill1906 __stub_Skill1906 = new Skill1906(); + public static Skill1908 __stub_Skill1908 = new Skill1908(); + public static Skill1909 __stub_Skill1909 = new Skill1909(); + public static Skill1910 __stub_Skill1910 = new Skill1910(); + public static Skill1911 __stub_Skill1911 = new Skill1911(); + public static Skill1912 __stub_Skill1912 = new Skill1912(); + public static Skill1913 __stub_Skill1913 = new Skill1913(); + public static Skill1914 __stub_Skill1914 = new Skill1914(); + public static Skill1915 __stub_Skill1915 = new Skill1915(); + public static Skill1919 __stub_Skill1919 = new Skill1919(); + public static Skill1920 __stub_Skill1920 = new Skill1920(); + public static Skill1921 __stub_Skill1921 = new Skill1921(); + public static Skill1922 __stub_Skill1922 = new Skill1922(); + public static Skill1923 __stub_Skill1923 = new Skill1923(); + public static Skill1924 __stub_Skill1924 = new Skill1924(); + public static Skill1925 __stub_Skill1925 = new Skill1925(); + public static Skill1926 __stub_Skill1926 = new Skill1926(); + public static Skill1927 __stub_Skill1927 = new Skill1927(); + public static Skill1928 __stub_Skill1928 = new Skill1928(); + public static Skill1931 __stub_Skill1931 = new Skill1931(); + public static Skill1932 __stub_Skill1932 = new Skill1932(); + public static Skill1933 __stub_Skill1933 = new Skill1933(); + public static Skill1934 __stub_Skill1934 = new Skill1934(); + public static Skill1935 __stub_Skill1935 = new Skill1935(); + public static Skill1936 __stub_Skill1936 = new Skill1936(); + public static Skill1937 __stub_Skill1937 = new Skill1937(); + public static Skill1938 __stub_Skill1938 = new Skill1938(); + public static Skill1939 __stub_Skill1939 = new Skill1939(); + public static Skill1940 __stub_Skill1940 = new Skill1940(); + public static Skill1941 __stub_Skill1941 = new Skill1941(); + public static Skill1942 __stub_Skill1942 = new Skill1942(); + public static Skill1943 __stub_Skill1943 = new Skill1943(); + public static Skill1944 __stub_Skill1944 = new Skill1944(); + public static Skill1945 __stub_Skill1945 = new Skill1945(); + public static Skill1946 __stub_Skill1946 = new Skill1946(); + public static Skill1947 __stub_Skill1947 = new Skill1947(); + public static Skill1948 __stub_Skill1948 = new Skill1948(); + public static Skill1950 __stub_Skill1950 = new Skill1950(); + public static Skill1952 __stub_Skill1952 = new Skill1952(); + public static Skill1953 __stub_Skill1953 = new Skill1953(); + public static Skill1954 __stub_Skill1954 = new Skill1954(); + public static Skill1955 __stub_Skill1955 = new Skill1955(); + public static Skill1956 __stub_Skill1956 = new Skill1956(); + public static Skill1957 __stub_Skill1957 = new Skill1957(); + public static Skill1958 __stub_Skill1958 = new Skill1958(); + public static Skill1959 __stub_Skill1959 = new Skill1959(); + public static Skill1960 __stub_Skill1960 = new Skill1960(); + public static Skill1961 __stub_Skill1961 = new Skill1961(); + public static Skill1962 __stub_Skill1962 = new Skill1962(); + public static Skill1963 __stub_Skill1963 = new Skill1963(); + public static Skill1964 __stub_Skill1964 = new Skill1964(); + public static Skill1965 __stub_Skill1965 = new Skill1965(); + public static Skill1966 __stub_Skill1966 = new Skill1966(); + public static Skill1967 __stub_Skill1967 = new Skill1967(); + public static Skill1968 __stub_Skill1968 = new Skill1968(); + public static Skill1969 __stub_Skill1969 = new Skill1969(); + public static Skill1970 __stub_Skill1970 = new Skill1970(); + public static Skill1971 __stub_Skill1971 = new Skill1971(); + public static Skill1972 __stub_Skill1972 = new Skill1972(); + public static Skill1973 __stub_Skill1973 = new Skill1973(); + public static Skill1974 __stub_Skill1974 = new Skill1974(); + public static Skill1975 __stub_Skill1975 = new Skill1975(); + public static Skill1976 __stub_Skill1976 = new Skill1976(); + public static Skill1977 __stub_Skill1977 = new Skill1977(); + public static Skill1978 __stub_Skill1978 = new Skill1978(); + public static Skill1979 __stub_Skill1979 = new Skill1979(); + public static Skill1988 __stub_Skill1988 = new Skill1988(); + public static Skill1989 __stub_Skill1989 = new Skill1989(); + public static Skill1990 __stub_Skill1990 = new Skill1990(); + public static Skill1991 __stub_Skill1991 = new Skill1991(); + public static Skill1992 __stub_Skill1992 = new Skill1992(); + public static Skill1993 __stub_Skill1993 = new Skill1993(); + public static Skill1994 __stub_Skill1994 = new Skill1994(); + public static Skill1995 __stub_Skill1995 = new Skill1995(); + public static Skill1996 __stub_Skill1996 = new Skill1996(); + public static Skill1997 __stub_Skill1997 = new Skill1997(); + public static Skill1998 __stub_Skill1998 = new Skill1998(); + public static Skill1999 __stub_Skill1999 = new Skill1999(); + public static Skill2000 __stub_Skill2000 = new Skill2000(); + public static Skill2001 __stub_Skill2001 = new Skill2001(); + public static Skill2002 __stub_Skill2002 = new Skill2002(); + public static Skill2003 __stub_Skill2003 = new Skill2003(); + public static Skill2004 __stub_Skill2004 = new Skill2004(); + public static Skill2005 __stub_Skill2005 = new Skill2005(); + public static Skill2006 __stub_Skill2006 = new Skill2006(); + public static Skill2007 __stub_Skill2007 = new Skill2007(); + public static Skill2008 __stub_Skill2008 = new Skill2008(); + public static Skill2009 __stub_Skill2009 = new Skill2009(); + public static Skill2010 __stub_Skill2010 = new Skill2010(); + public static Skill2011 __stub_Skill2011 = new Skill2011(); + public static Skill2012 __stub_Skill2012 = new Skill2012(); + public static Skill2013 __stub_Skill2013 = new Skill2013(); + public static Skill2014 __stub_Skill2014 = new Skill2014(); + public static Skill2015 __stub_Skill2015 = new Skill2015(); + public static Skill2016 __stub_Skill2016 = new Skill2016(); + public static Skill2017 __stub_Skill2017 = new Skill2017(); + public static Skill2018 __stub_Skill2018 = new Skill2018(); + public static Skill2019 __stub_Skill2019 = new Skill2019(); + public static Skill2020 __stub_Skill2020 = new Skill2020(); + public static Skill2021 __stub_Skill2021 = new Skill2021(); + public static Skill2022 __stub_Skill2022 = new Skill2022(); + public static Skill2023 __stub_Skill2023 = new Skill2023(); + public static Skill2024 __stub_Skill2024 = new Skill2024(); + public static Skill2025 __stub_Skill2025 = new Skill2025(); + public static Skill2026 __stub_Skill2026 = new Skill2026(); + public static Skill2027 __stub_Skill2027 = new Skill2027(); + public static Skill2028 __stub_Skill2028 = new Skill2028(); + public static Skill2029 __stub_Skill2029 = new Skill2029(); + public static Skill2030 __stub_Skill2030 = new Skill2030(); + public static Skill2031 __stub_Skill2031 = new Skill2031(); + public static Skill2032 __stub_Skill2032 = new Skill2032(); + public static Skill2033 __stub_Skill2033 = new Skill2033(); + public static Skill2034 __stub_Skill2034 = new Skill2034(); + public static Skill2035 __stub_Skill2035 = new Skill2035(); + public static Skill2036 __stub_Skill2036 = new Skill2036(); + public static Skill2037 __stub_Skill2037 = new Skill2037(); + public static Skill2038 __stub_Skill2038 = new Skill2038(); + public static Skill2039 __stub_Skill2039 = new Skill2039(); + public static Skill2040 __stub_Skill2040 = new Skill2040(); + public static Skill2041 __stub_Skill2041 = new Skill2041(); + public static Skill2042 __stub_Skill2042 = new Skill2042(); + public static Skill2043 __stub_Skill2043 = new Skill2043(); + public static Skill2044 __stub_Skill2044 = new Skill2044(); + public static Skill2045 __stub_Skill2045 = new Skill2045(); + public static Skill2046 __stub_Skill2046 = new Skill2046(); + public static Skill2047 __stub_Skill2047 = new Skill2047(); + public static Skill2048 __stub_Skill2048 = new Skill2048(); + public static Skill2049 __stub_Skill2049 = new Skill2049(); + public static Skill2050 __stub_Skill2050 = new Skill2050(); + public static Skill2051 __stub_Skill2051 = new Skill2051(); + public static Skill2052 __stub_Skill2052 = new Skill2052(); + public static Skill2053 __stub_Skill2053 = new Skill2053(); + public static Skill2054 __stub_Skill2054 = new Skill2054(); + public static Skill2055 __stub_Skill2055 = new Skill2055(); + public static Skill2056 __stub_Skill2056 = new Skill2056(); + public static Skill2057 __stub_Skill2057 = new Skill2057(); + public static Skill2058 __stub_Skill2058 = new Skill2058(); + public static Skill2059 __stub_Skill2059 = new Skill2059(); + public static Skill2060 __stub_Skill2060 = new Skill2060(); + public static Skill2061 __stub_Skill2061 = new Skill2061(); + public static Skill2062 __stub_Skill2062 = new Skill2062(); + public static Skill2063 __stub_Skill2063 = new Skill2063(); + public static Skill2064 __stub_Skill2064 = new Skill2064(); + public static Skill2065 __stub_Skill2065 = new Skill2065(); + public static Skill2066 __stub_Skill2066 = new Skill2066(); + public static Skill2067 __stub_Skill2067 = new Skill2067(); + public static Skill2068 __stub_Skill2068 = new Skill2068(); + public static Skill2069 __stub_Skill2069 = new Skill2069(); + public static Skill2070 __stub_Skill2070 = new Skill2070(); + public static Skill2071 __stub_Skill2071 = new Skill2071(); + public static Skill2072 __stub_Skill2072 = new Skill2072(); + public static Skill2074 __stub_Skill2074 = new Skill2074(); + public static Skill2075 __stub_Skill2075 = new Skill2075(); + public static Skill2076 __stub_Skill2076 = new Skill2076(); + public static Skill2077 __stub_Skill2077 = new Skill2077(); + public static Skill2078 __stub_Skill2078 = new Skill2078(); + public static Skill2079 __stub_Skill2079 = new Skill2079(); + public static Skill2080 __stub_Skill2080 = new Skill2080(); + public static Skill2081 __stub_Skill2081 = new Skill2081(); + public static Skill2082 __stub_Skill2082 = new Skill2082(); + public static Skill2083 __stub_Skill2083 = new Skill2083(); + public static Skill2084 __stub_Skill2084 = new Skill2084(); + public static Skill2085 __stub_Skill2085 = new Skill2085(); + public static Skill2086 __stub_Skill2086 = new Skill2086(); + public static Skill2087 __stub_Skill2087 = new Skill2087(); + public static Skill2088 __stub_Skill2088 = new Skill2088(); + public static Skill2089 __stub_Skill2089 = new Skill2089(); + public static Skill2090 __stub_Skill2090 = new Skill2090(); + public static Skill2091 __stub_Skill2091 = new Skill2091(); + public static Skill2092 __stub_Skill2092 = new Skill2092(); + public static Skill2093 __stub_Skill2093 = new Skill2093(); + public static Skill2094 __stub_Skill2094 = new Skill2094(); + public static Skill2095 __stub_Skill2095 = new Skill2095(); + public static Skill2096 __stub_Skill2096 = new Skill2096(); + public static Skill2097 __stub_Skill2097 = new Skill2097(); + public static Skill2098 __stub_Skill2098 = new Skill2098(); + public static Skill2099 __stub_Skill2099 = new Skill2099(); + public static Skill2100 __stub_Skill2100 = new Skill2100(); + public static Skill2101 __stub_Skill2101 = new Skill2101(); + public static Skill2102 __stub_Skill2102 = new Skill2102(); + public static Skill2103 __stub_Skill2103 = new Skill2103(); + public static Skill2104 __stub_Skill2104 = new Skill2104(); + public static Skill2105 __stub_Skill2105 = new Skill2105(); + public static Skill2106 __stub_Skill2106 = new Skill2106(); + public static Skill2107 __stub_Skill2107 = new Skill2107(); + public static Skill2108 __stub_Skill2108 = new Skill2108(); + public static Skill2109 __stub_Skill2109 = new Skill2109(); + public static Skill2110 __stub_Skill2110 = new Skill2110(); + public static Skill2111 __stub_Skill2111 = new Skill2111(); + public static Skill2112 __stub_Skill2112 = new Skill2112(); + public static Skill2113 __stub_Skill2113 = new Skill2113(); + public static Skill2114 __stub_Skill2114 = new Skill2114(); + public static Skill2115 __stub_Skill2115 = new Skill2115(); + public static Skill2116 __stub_Skill2116 = new Skill2116(); + public static Skill2117 __stub_Skill2117 = new Skill2117(); + public static Skill2118 __stub_Skill2118 = new Skill2118(); + public static Skill2119 __stub_Skill2119 = new Skill2119(); + public static Skill2120 __stub_Skill2120 = new Skill2120(); + public static Skill2121 __stub_Skill2121 = new Skill2121(); + public static Skill2122 __stub_Skill2122 = new Skill2122(); + public static Skill2123 __stub_Skill2123 = new Skill2123(); + public static Skill2124 __stub_Skill2124 = new Skill2124(); + public static Skill2125 __stub_Skill2125 = new Skill2125(); + public static Skill2126 __stub_Skill2126 = new Skill2126(); + public static Skill2127 __stub_Skill2127 = new Skill2127(); + public static Skill2128 __stub_Skill2128 = new Skill2128(); + public static Skill2129 __stub_Skill2129 = new Skill2129(); + public static Skill2130 __stub_Skill2130 = new Skill2130(); + public static Skill2131 __stub_Skill2131 = new Skill2131(); + public static Skill2132 __stub_Skill2132 = new Skill2132(); + public static Skill2133 __stub_Skill2133 = new Skill2133(); + public static Skill2134 __stub_Skill2134 = new Skill2134(); + public static Skill2135 __stub_Skill2135 = new Skill2135(); + public static Skill2136 __stub_Skill2136 = new Skill2136(); + public static Skill2137 __stub_Skill2137 = new Skill2137(); + public static Skill2138 __stub_Skill2138 = new Skill2138(); + public static Skill2139 __stub_Skill2139 = new Skill2139(); + public static Skill2140 __stub_Skill2140 = new Skill2140(); + public static Skill2141 __stub_Skill2141 = new Skill2141(); + public static Skill2142 __stub_Skill2142 = new Skill2142(); + public static Skill2143 __stub_Skill2143 = new Skill2143(); + public static Skill2144 __stub_Skill2144 = new Skill2144(); + public static Skill2145 __stub_Skill2145 = new Skill2145(); + public static Skill2146 __stub_Skill2146 = new Skill2146(); + public static Skill2147 __stub_Skill2147 = new Skill2147(); + public static Skill2148 __stub_Skill2148 = new Skill2148(); + public static Skill2149 __stub_Skill2149 = new Skill2149(); + public static Skill2150 __stub_Skill2150 = new Skill2150(); + public static Skill2151 __stub_Skill2151 = new Skill2151(); + public static Skill2152 __stub_Skill2152 = new Skill2152(); + public static Skill2153 __stub_Skill2153 = new Skill2153(); + public static Skill2154 __stub_Skill2154 = new Skill2154(); + public static Skill2155 __stub_Skill2155 = new Skill2155(); + public static Skill2156 __stub_Skill2156 = new Skill2156(); + public static Skill2157 __stub_Skill2157 = new Skill2157(); + public static Skill2158 __stub_Skill2158 = new Skill2158(); + public static Skill2159 __stub_Skill2159 = new Skill2159(); + public static Skill2160 __stub_Skill2160 = new Skill2160(); + public static Skill2161 __stub_Skill2161 = new Skill2161(); + public static Skill2162 __stub_Skill2162 = new Skill2162(); + public static Skill2163 __stub_Skill2163 = new Skill2163(); + public static Skill2164 __stub_Skill2164 = new Skill2164(); + public static Skill2165 __stub_Skill2165 = new Skill2165(); + public static Skill2166 __stub_Skill2166 = new Skill2166(); + public static Skill2167 __stub_Skill2167 = new Skill2167(); + public static Skill2168 __stub_Skill2168 = new Skill2168(); + public static Skill2169 __stub_Skill2169 = new Skill2169(); + public static Skill2170 __stub_Skill2170 = new Skill2170(); + public static Skill2171 __stub_Skill2171 = new Skill2171(); +#endif + } +} diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/SkillStubs9.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/SkillStubs9.cs.meta new file mode 100644 index 0000000000..4ce6e30471 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/SkillStubs9.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 603d4fa2c89f24ab28d00e9eaca623fc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1899.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1899.cs new file mode 100644 index 0000000000..bf44452ad8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1899.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1899 : Skill + { + public const int SKILL_ID = 1899; + + public Skill1899() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1899Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1899Stub() : base(1899) + { + cls = 127; + name = "藏宝图BOSS反震"; + nativename = "藏宝图BOSS反震"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1899Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (26000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetRetort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1899.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1899.cs.meta new file mode 100644 index 0000000000..0ac3079817 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1899.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 905d4312823004d89a3ddc632520846e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1900.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1900.cs new file mode 100644 index 0000000000..a290f29d08 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1900.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1900 : Skill + { + public const int SKILL_ID = 1900; + + public Skill1900() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1900Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1900Stub() : base(1900) + { + cls = 127; + name = "提升技能伤害"; + nativename = "提升技能伤害"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "易筋经"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/易筋经.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1900Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (skill.GetLevel ()); + skill.GetVictim ().SetEnhanceskilldamage2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1900.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1900.cs.meta new file mode 100644 index 0000000000..aa0df9a005 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1900.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0f9aad59974db4c28bf62d65f66a8b0e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1901.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1901.cs new file mode 100644 index 0000000000..c7d3bb303a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1901.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1901 : Skill + { + public const int SKILL_ID = 1901; + + public Skill1901() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1901Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(2 * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1901Stub() : base(1901) + { + cls = 127; + name = "碧游技能"; + nativename = "碧游技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "BOSS深海纳加领主_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/BOSS深海纳加领主_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1901Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 3f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1901.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1901.cs.meta new file mode 100644 index 0000000000..6255b4b831 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1901.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bbe6e4d2551574fc2bb3b42b3d1d5b99 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1902.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1902.cs new file mode 100644 index 0000000000..788d2f345f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1902.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1902 : Skill + { + public const int SKILL_ID = 1902; + + public Skill1902() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1902Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1902Stub() : base(1902) + { + cls = 127; + name = "碧游"; + nativename = "碧游"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剧毒蛊"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剧毒蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剧毒蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1902Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1902.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1902.cs.meta new file mode 100644 index 0000000000..53632d87ae --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1902.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2aaf49db0a8184ada8815292a3e671c6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1903.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1903.cs new file mode 100644 index 0000000000..bb7934406f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1903.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1903 : Skill + { + public const int SKILL_ID = 1903; + + public Skill1903() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1903Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1903Stub() : base(1903) + { + cls = 127; + name = "夜刑技能"; + nativename = "夜刑技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血鲷鱼人骑手_愤怒击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/血鲷鱼人骑手_愤怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1903Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 3f; + public float GetAttackdistance(Skill skill) => 50f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 45f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1903.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1903.cs.meta new file mode 100644 index 0000000000..4a5268981b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1903.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a4ef35ab78f484b9dac61d9d2a46481c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1904.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1904.cs new file mode 100644 index 0000000000..bcea87e07a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1904.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1904 : Skill + { + public const int SKILL_ID = 1904; + + public Skill1904() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1904Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1904Stub() : base(1904) + { + cls = 127; + name = "夜刑"; + nativename = "夜刑"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物吸血术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/噬血飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)1; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(2.0f, 2.0f, 2.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1904Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2650; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 50f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 45f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1904.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1904.cs.meta new file mode 100644 index 0000000000..19f45a42fc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1904.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7eb475b0925cb4fba9e505a45cc00cec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1905.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1905.cs new file mode 100644 index 0000000000..51b2a0ce20 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1905.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1905 : Skill + { + public const int SKILL_ID = 1905; + + public Skill1905() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1905Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(1.8f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1905Stub() : base(1905) + { + cls = 127; + name = "鬼鹤技能"; + nativename = "鬼鹤技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血蚺暗杀者_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/血蚺暗杀者_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1905Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1905.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1905.cs.meta new file mode 100644 index 0000000000..43408246b7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1905.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6bd29792eed7c434f8a1af6f644c7228 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1906.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1906.cs new file mode 100644 index 0000000000..b4effa1bac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1906.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1906 : Skill + { + public const int SKILL_ID = 1906; + + public Skill1906() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1906Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(1.8f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1906Stub() : base(1906) + { + cls = 127; + name = "鬼鹤"; + nativename = "鬼鹤"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "血蚺暗杀者_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/血蚺暗杀者_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1906Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1906.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1906.cs.meta new file mode 100644 index 0000000000..1545ba93e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1906.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 21ce8f08c86e84d5c886637400ddd8fa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1908.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1908.cs new file mode 100644 index 0000000000..a1a1bce4ed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1908.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1908 : Skill + { + public const int SKILL_ID = 1908; + + public Skill1908() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1908Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1908Stub() : base(1908) + { + cls = 127; + name = "物品技能-蓬莱仙酿"; + nativename = "物品技能-蓬莱仙酿"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1908Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (skill.GetLevel () > 1 ? 0.05f : 0.02f); + skill.GetVictim ().SetAmount (skill.GetLevel () * 0.02f); + skill.GetVictim ().SetValue (skill.GetLevel () > 1 ? 0.05f : 0.02f); + skill.GetVictim ().SetIncatkdefhp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1908.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1908.cs.meta new file mode 100644 index 0000000000..84ae2c1e69 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1908.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fcda9846df3024a70ba41fa3d91e60c9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1909.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1909.cs new file mode 100644 index 0000000000..b5599d3116 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1909.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1909 : Skill + { + public const int SKILL_ID = 1909; + + public Skill1909() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1909Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1909Stub() : base(1909) + { + cls = 127; + name = "物品技能-普攻防御"; + nativename = "物品技能-普攻防御"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1909Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.75f); + skill.GetVictim ().SetValue (1000 * skill.GetLevel ()); + skill.GetVictim ().SetDecnormalattackhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1909.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1909.cs.meta new file mode 100644 index 0000000000..368a0932bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1909.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 32ff42437bf14434baf5c595d2081339 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1910.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1910.cs new file mode 100644 index 0000000000..67a3d1ff09 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1910.cs @@ -0,0 +1,171 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1910 : Skill + { + public const int SKILL_ID = 1910; + + public Skill1910() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1910Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1910Stub() : base(1910) + { + cls = 127; + name = "落木仙子频率检测开始"; + nativename = "落木仙子频率检测开始"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖精_共舞_自身飞行"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖精_共舞_自身飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1910Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 7500); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetAmount (50); + skill.GetVictim ().SetValue (97); + skill.GetVictim ().SetIncattackondamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1910.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1910.cs.meta new file mode 100644 index 0000000000..5970df3a46 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1910.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ba3e056fad51647649a67171eef9205f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1911.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1911.cs new file mode 100644 index 0000000000..a529179360 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1911.cs @@ -0,0 +1,181 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1911 : Skill + { + public const int SKILL_ID = 1911; + + public Skill1911() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1911Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1911Stub() : base(1911) + { + cls = 127; + name = "落木仙子频率检测结束"; + nativename = "落木仙子频率检测结束"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_归刃诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/状态效果/归刃诀_瞬发.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1911Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetT0 () > 8000 ? 100 : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.6f); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1911.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1911.cs.meta new file mode 100644 index 0000000000..e55491181e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1911.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dfe86ef4c69a4469b9e2195e1c4eb09b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1912.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1912.cs new file mode 100644 index 0000000000..18a1adb8fb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1912.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1912 : Skill + { + public const int SKILL_ID = 1912; + + public Skill1912() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1912Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1912Stub() : base(1912) + { + cls = 127; + name = "近战普攻减伤"; + nativename = "近战普攻减伤"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1912Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.45f + skill.GetLevel () * 0.05f); + skill.GetVictim ().SetValue (600000); + skill.GetVictim ().SetDecnormalattackhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1912.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1912.cs.meta new file mode 100644 index 0000000000..424d13accf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1912.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4d51384dccf09446c93d27c1c59d1427 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1913.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1913.cs new file mode 100644 index 0000000000..57b273f809 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1913.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1913 : Skill + { + public const int SKILL_ID = 1913; + + public Skill1913() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1913Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1913Stub() : base(1913) + { + cls = 127; + name = "MT雄起"; + nativename = "MT雄起"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖兽_虎啸"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖兽_虎啸_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖兽_虎啸_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1913Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (150); + skill.GetVictim ().SetAp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (24000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage () * 8 * skill.GetLevel ()); + skill.GetVictim ().SetBleeding (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (27000); + skill.GetVictim ().SetRatio (4); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetValue ((17000 - skill.GetPlayer ().GetMaxhp ()) * 7); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1913.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1913.cs.meta new file mode 100644 index 0000000000..8050ea6b32 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1913.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e2f30f9e2d318425e9a26d66ef1261c4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1914.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1914.cs new file mode 100644 index 0000000000..d6e029a8c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1914.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1914 : Skill + { + public const int SKILL_ID = 1914; + + public Skill1914() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1914Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1914Stub() : base(1914) + { + cls = 127; + name = "固定值反伤"; + nativename = "固定值反伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽灵_五感符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽灵_五感符_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽灵_五感符_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1914Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3500); + skill.GetVictim ().SetAmount (100); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetHurtwhenuseskill (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1914.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1914.cs.meta new file mode 100644 index 0000000000..d97f0f61ad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1914.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e215dad73af4d4d0eb72eb431b95479e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1915.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1915.cs new file mode 100644 index 0000000000..65a097c508 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1915.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1915 : Skill + { + public const int SKILL_ID = 1915; + + public Skill1915() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1915Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1915Stub() : base(1915) + { + cls = 127; + name = "近战范围攻速降低"; + nativename = "近战范围攻速降低"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽灵_雷火堕"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽灵_雷火堕.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1915Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1915.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1915.cs.meta new file mode 100644 index 0000000000..bb3c71ef29 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1915.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0f6147a8beddf410d994fbf7b5395f88 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1919.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1919.cs new file mode 100644 index 0000000000..b277e8a02d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1919.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1919 : Skill + { + public const int SKILL_ID = 1919; + + public Skill1919() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1919Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1919Stub() : base(1919) + { + cls = 127; + name = "赏金BOSSAOE"; + nativename = "赏金BOSSAOE"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剧毒蛊"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剧毒蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剧毒蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1919Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1919.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1919.cs.meta new file mode 100644 index 0000000000..c2cda15663 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1919.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c0bf7c0968b704a36b9f3610a08efdab \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1920.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1920.cs new file mode 100644 index 0000000000..5d0f7816ac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1920.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1920 : Skill + { + public const int SKILL_ID = 1920; + + public Skill1920() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1920Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1920Stub() : base(1920) + { + cls = 127; + name = "瞬间治疗"; + nativename = "瞬间治疗"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1920Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * skill.GetLevel () * 0.1f); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1920.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1920.cs.meta new file mode 100644 index 0000000000..2a91315fc5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1920.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 689e7f820e67c44aabfcb70f70cfed89 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1921.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1921.cs new file mode 100644 index 0000000000..748f7e038a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1921.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1921 : Skill + { + public const int SKILL_ID = 1921; + + public Skill1921() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1921Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1921Stub() : base(1921) + { + cls = 127; + name = "禁止普攻获得元气"; + nativename = "禁止普攻获得元气"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物炼狱君主技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/炼狱君主技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1921Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 28f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (160); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (27000); + skill.GetVictim ().SetInvincible4 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1921.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1921.cs.meta new file mode 100644 index 0000000000..c37e617948 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1921.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f09ff2fffa0bf465e81c7c88e85e7169 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1922.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1922.cs new file mode 100644 index 0000000000..959316dc67 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1922.cs @@ -0,0 +1,172 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1922 : Skill + { + public const int SKILL_ID = 1922; + + public Skill1922() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1922Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1922Stub() : base(1922) + { + cls = 127; + name = " 新凤鸣谷BOSSBUFF"; + nativename = " 新凤鸣谷BOSSBUFF"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1922Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetInchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetValue (600000); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1922.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1922.cs.meta new file mode 100644 index 0000000000..1d0aead28c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1922.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 89c2c8c7cf61b400b85319d3bc424bb3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1923.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1923.cs new file mode 100644 index 0000000000..744fe99274 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1923.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1923 : Skill + { + public const int SKILL_ID = 1923; + + public Skill1923() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1923Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1923Stub() : base(1923) + { + cls = 127; + name = "无定B路线隐身BUFF"; + nativename = "无定B路线隐身BUFF"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1923Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (-1); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (1); + skill.GetVictim ().SetValue (5 + 5 * skill.GetLevel ()); + skill.GetVictim ().SetInvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1923.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1923.cs.meta new file mode 100644 index 0000000000..fce00f6bed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1923.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2623bc3d8c602443689cbbc0791ecf39 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1924.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1924.cs new file mode 100644 index 0000000000..f4888fe6fa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1924.cs @@ -0,0 +1,147 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1924 : Skill + { + public const int SKILL_ID = 1924; + + public Skill1924() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1924Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1924Stub() : base(1924) + { + cls = 127; + name = "无定B路线脱离隐身"; + nativename = "无定B路线脱离隐身"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1924Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetClearinvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1924.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1924.cs.meta new file mode 100644 index 0000000000..ab64683962 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1924.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2fab965da740740bf934f158ced7f42a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1925.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1925.cs new file mode 100644 index 0000000000..8dedc87a96 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1925.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1925 : Skill + { + public const int SKILL_ID = 1925; + + public Skill1925() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1925Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1925Stub() : base(1925) + { + cls = 127; + name = "无定B路线特效"; + nativename = "无定B路线特效"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1925Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (150); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1925.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1925.cs.meta new file mode 100644 index 0000000000..32a63b9669 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1925.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: df23d65e68ad447cfbb4bd2443bbe91d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1926.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1926.cs new file mode 100644 index 0000000000..cac92780ac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1926.cs @@ -0,0 +1,172 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1926 : Skill + { + public const int SKILL_ID = 1926; + + public Skill1926() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1926Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetDisappear(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1926Stub() : base(1926) + { + cls = 127; + name = "无定B路线陷阱的逆袭"; + nativename = "无定B路线陷阱的逆袭"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖兽_兽灵之力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖兽_兽灵之力_飞行02.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖兽_兽灵之力.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1926Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (9000000); + skill.GetVictim ().SetDirecthurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1926.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1926.cs.meta new file mode 100644 index 0000000000..aa367b8095 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1926.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8187cd55505244638b55b0f4ea04dd48 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1927.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1927.cs new file mode 100644 index 0000000000..3103e110c4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1927.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1927 : Skill + { + public const int SKILL_ID = 1927; + + public Skill1927() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1927Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1927Stub() : base(1927) + { + cls = 127; + name = "无定B路线反隐药"; + nativename = "无定B路线反隐药"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1927Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (20 + skill.GetLevel () * 5); + skill.GetVictim ().SetIncantiinvisibleactive (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1927.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1927.cs.meta new file mode 100644 index 0000000000..92d22e2da2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1927.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5bb4b4594ce0a40d58d0bd131ce5bc13 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1928.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1928.cs new file mode 100644 index 0000000000..9a025ab7ea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1928.cs @@ -0,0 +1,139 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1928 : Skill + { + public const int SKILL_ID = 1928; + + public Skill1928() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1928Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1928Stub() : base(1928) + { + cls = 127; + name = "无定B路线增加血上限"; + nativename = "无定B路线增加血上限"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1928Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1928.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1928.cs.meta new file mode 100644 index 0000000000..5117c97e3f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1928.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 90667550b03d8421ca5162f2c153be65 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1931.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1931.cs new file mode 100644 index 0000000000..f4b93c872a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1931.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1931 : Skill + { + public const int SKILL_ID = 1931; + + public Skill1931() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1931Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1931Stub() : base(1931) + { + cls = 127; + name = "无定宙A3攻击"; + nativename = "无定宙A3攻击"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_翔龙剑劲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_翔龙剑劲_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_翔龙剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1931Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 3f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public int GetAttackspeed(Skill skill) => 30; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1931.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1931.cs.meta new file mode 100644 index 0000000000..2d3ed11c7b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1931.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 52000bb5e01ce4259b4d6079ae1c977d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1932.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1932.cs new file mode 100644 index 0000000000..651caf4341 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1932.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1932 : Skill + { + public const int SKILL_ID = 1932; + + public Skill1932() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1932Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(0.8f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1932Stub() : base(1932) + { + cls = 127; + name = "楼辰火雨"; + nativename = "楼辰火雨"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "双子星_地脸"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/双子星_地脸_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1932Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 75); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1932.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1932.cs.meta new file mode 100644 index 0000000000..52ebe766a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1932.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 50db908eee9af42a3a42f49b12834f01 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1933.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1933.cs new file mode 100644 index 0000000000..dc9b55bb1e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1933.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1933 : Skill + { + public const int SKILL_ID = 1933; + + public Skill1933() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1933Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(3 * skill.GetMagicattack()); + skill.SetDamage(0.3f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1933Stub() : base(1933) + { + cls = 127; + name = "楼辰"; + nativename = "楼辰"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽灵_羽斩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽灵_羽斩_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽灵_羽斩_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1933Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 3000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 100); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 * skill.GetLevel ()); + skill.GetVictim ().SetAmount (skill.GetMagicdamage () * skill.GetLevel ()); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1933.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1933.cs.meta new file mode 100644 index 0000000000..d188c513d1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1933.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7e97e9998cfd1428692735f94d891cdf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1934.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1934.cs new file mode 100644 index 0000000000..d369196d58 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1934.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1934 : Skill + { + public const int SKILL_ID = 1934; + + public Skill1934() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1934Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1934Stub() : base(1934) + { + cls = 127; + name = "楼辰碎冰技能"; + nativename = "楼辰碎冰技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "火海刀山"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/火海刀山击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2200; + m_bTraceTarget = false; + m_FlyClusterCount = 22; + m_FlyClusterInterval = 60; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 8.0f; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1934Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 30f; + public float GetAttackdistance(Skill skill) => 8f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1934.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1934.cs.meta new file mode 100644 index 0000000000..1cc9f12023 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1934.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a16837b69be1a4f5a8b81e4e29045e34 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1935.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1935.cs new file mode 100644 index 0000000000..6619921b3c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1935.cs @@ -0,0 +1,144 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1935 : Skill + { + public const int SKILL_ID = 1935; + + public Skill1935() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1935Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1935Stub() : base(1935) + { + cls = 127; + name = "冰块技能"; + nativename = "冰块技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1935Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetEnhancefire (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetImmunefire (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1935.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1935.cs.meta new file mode 100644 index 0000000000..df46cc0585 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1935.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 70598ce4a40f44fe49e74b0a0206d998 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1936.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1936.cs new file mode 100644 index 0000000000..7c1f8a3c03 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1936.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1936 : Skill + { + public const int SKILL_ID = 1936; + + public Skill1936() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1936Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1936Stub() : base(1936) + { + cls = 127; + name = "单体击退"; + nativename = "单体击退"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1936Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 50f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetAmount (400 * skill.GetLevel ()); + skill.GetVictim ().SetValue (skill.GetLevel () * 6); + skill.GetVictim ().SetRepel2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetLevel () * 6); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1936.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1936.cs.meta new file mode 100644 index 0000000000..5faa1675ef --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1936.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 09b89058699c84e268e9223b35f97d1f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1937.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1937.cs new file mode 100644 index 0000000000..d29ec52e0d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1937.cs @@ -0,0 +1,174 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1937 : Skill + { + public const int SKILL_ID = 1937; + + public Skill1937() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1937Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1937Stub() : base(1937) + { + cls = 127; + name = "庄园boss怪老头技能"; + nativename = "庄园boss怪老头技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1937Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetAmount (5000 * skill.GetLevel ()); + skill.GetVictim ().SetValue (5000); + skill.GetVictim ().SetHealabsorb (1); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (26); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1937.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1937.cs.meta new file mode 100644 index 0000000000..cd88178734 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1937.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a49ffa93a7c2c46d8833c91f93dc4b4c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1938.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1938.cs new file mode 100644 index 0000000000..710bc3bda3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1938.cs @@ -0,0 +1,177 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1938 : Skill + { + public const int SKILL_ID = 1938; + + public Skill1938() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1938Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1938Stub() : base(1938) + { + cls = 127; + name = "庄园boss怪老头愤怒"; + nativename = "庄园boss怪老头愤怒"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖精_万蛊洪流"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/万蛊洪流_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_万蛊洪流_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1938Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetReducefire (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 50); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetDizzyinchurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1938.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1938.cs.meta new file mode 100644 index 0000000000..a8696b3068 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1938.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6eab552cf334d479bbe068511b90cc60 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1939.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1939.cs new file mode 100644 index 0000000000..a1d862eb3e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1939.cs @@ -0,0 +1,170 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1939 : Skill + { + public const int SKILL_ID = 1939; + + public Skill1939() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1939Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetAttack() * 0.5f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1939Stub() : base(1939) + { + cls = 127; + name = "庄园boss怪老头技能"; + nativename = "庄园boss怪老头技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽芒_落日矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_落日矢_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1939Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1939.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1939.cs.meta new file mode 100644 index 0000000000..ece565fde8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1939.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 59ae849507a3a4a6e970c5b5d3c26fa6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1940.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1940.cs new file mode 100644 index 0000000000..349c5f4888 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1940.cs @@ -0,0 +1,171 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1940 : Skill + { + public const int SKILL_ID = 1940; + + public Skill1940() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1940Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1940Stub() : base(1940) + { + cls = 127; + name = "庄园boss怪老头愤怒"; + nativename = "庄园boss怪老头愤怒"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_土灵"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/巫师_土灵_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1940Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (1000 * skill.GetLevel ()); + skill.GetVictim ().SetPhysichurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (1000 * skill.GetLevel ()); + skill.GetVictim ().SetBurning (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1940.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1940.cs.meta new file mode 100644 index 0000000000..1a1f899a3c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1940.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ab0e9bc09e12447b8ae58dd58ab9d99d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1941.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1941.cs new file mode 100644 index 0000000000..99cf056707 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1941.cs @@ -0,0 +1,167 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1941 : Skill + { + public const int SKILL_ID = 1941; + + public Skill1941() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1941Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1941Stub() : base(1941) + { + cls = 127; + name = "boss砂龙虫技能"; + nativename = "boss砂龙虫技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物毒咒术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1941Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1941.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1941.cs.meta new file mode 100644 index 0000000000..729725dc25 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1941.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c16fee11fd72b4027bcedd2a451c6815 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1942.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1942.cs new file mode 100644 index 0000000000..b2e74d11f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1942.cs @@ -0,0 +1,172 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1942 : Skill + { + public const int SKILL_ID = 1942; + + public Skill1942() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1942Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1942Stub() : base(1942) + { + cls = 127; + name = "boss砂龙虫技能"; + nativename = "boss砂龙虫技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "狮子吼"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狮子吼击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 4; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1942Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetAmount (skill.GetMagicdamage () * 0.5f * skill.GetLevel ()); + skill.GetVictim ().SetThunder (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1942.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1942.cs.meta new file mode 100644 index 0000000000..0267762bab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1942.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ea71468c7d0da4d58a28393e0c0135b1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1943.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1943.cs new file mode 100644 index 0000000000..5e0e3e98f3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1943.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1943 : Skill + { + public const int SKILL_ID = 1943; + + public Skill1943() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1943Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1943Stub() : base(1943) + { + cls = 127; + name = "boss砂龙虫技能"; + nativename = "boss砂龙虫技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_风岩葬"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巫师_风岩葬_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_风岩葬_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1943Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 40f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 60); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.5f * skill.GetLevel ()); + skill.GetVictim ().SetDelayearthhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1943.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1943.cs.meta new file mode 100644 index 0000000000..77b98254c6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1943.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 777bd1ffd40994bbb9854033857ce06a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1944.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1944.cs new file mode 100644 index 0000000000..aa20e3e001 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1944.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1944 : Skill + { + public const int SKILL_ID = 1944; + + public Skill1944() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1944Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1944Stub() : base(1944) + { + cls = 127; + name = "碧蓝姬渐隐"; + nativename = "碧蓝姬渐隐"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "空"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1944Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1944.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1944.cs.meta new file mode 100644 index 0000000000..cee70c4537 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1944.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 525a83bca4db44431b7d40d3a2811910 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1945.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1945.cs new file mode 100644 index 0000000000..aa01ca78f9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1945.cs @@ -0,0 +1,178 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1945 : Skill + { + public const int SKILL_ID = 1945; + + public Skill1945() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1945Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1945Stub() : base(1945) + { + cls = 127; + name = "烛龙技能"; + nativename = "烛龙技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物火球术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/带尾焰的火球.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/爆炸效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1945Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 45f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1945.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1945.cs.meta new file mode 100644 index 0000000000..059da9c186 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1945.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d4721d213ae744b2793f1d13588304aa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1946.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1946.cs new file mode 100644 index 0000000000..7cf3fccbf7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1946.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1946 : Skill + { + public const int SKILL_ID = 1946; + + public Skill1946() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1946Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1946Stub() : base(1946) + { + cls = 127; + name = "怪物移动加速"; + nativename = "怪物移动加速"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1946Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetSpeedup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1946.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1946.cs.meta new file mode 100644 index 0000000000..a9671f9a75 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1946.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 471afce8f67ba4277ba6a6ce0fe28bb5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1947.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1947.cs new file mode 100644 index 0000000000..4d2ba1a486 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1947.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1947 : Skill + { + public const int SKILL_ID = 1947; + + public Skill1947() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1947Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1947Stub() : base(1947) + { + cls = 127; + name = "怪物移动减速"; + nativename = "怪物移动减速"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1947Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1947.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1947.cs.meta new file mode 100644 index 0000000000..a3daa9dd06 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1947.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5c28c1224c8e6436e9a7315f80859b70 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1948.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1948.cs new file mode 100644 index 0000000000..1ef06309c0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1948.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1948 : Skill + { + public const int SKILL_ID = 1948; + + public Skill1948() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1948Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1948Stub() : base(1948) + { + cls = 127; + name = "儿童节活动"; + nativename = "儿童节活动"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1948Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(5 * skill.GetLevel()); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * (skill.GetPlayer ().GetCls () == -1 ? 100 : 0)); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 1.2f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1948.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1948.cs.meta new file mode 100644 index 0000000000..0969d30a76 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1948.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 928d5e99bc57c461cb0f248a28ccfa5f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1950.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1950.cs new file mode 100644 index 0000000000..e82383c2c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1950.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1950 : Skill + { + public const int SKILL_ID = 1950; + + public Skill1950() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1950Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1950Stub() : base(1950) + { + cls = 127; + name = "势力PK常规BUFF1"; + nativename = "势力PK常规BUFF1"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1950Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetIronshield (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetInchp (1); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetGiant (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1950.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1950.cs.meta new file mode 100644 index 0000000000..13271c0ae3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1950.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1bc79f53469d2461491da8e9017137f7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1952.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1952.cs new file mode 100644 index 0000000000..892be973b8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1952.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1952 : Skill + { + public const int SKILL_ID = 1952; + + public Skill1952() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1952Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1952Stub() : base(1952) + { + cls = 127; + name = "势力PK回元"; + nativename = "势力PK回元"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1952Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (400); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetScaleinchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetScaleincmp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1952.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1952.cs.meta new file mode 100644 index 0000000000..bccafd1a26 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1952.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 12c0a6a409c3142c2b4f7fbf4aaad65c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1953.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1953.cs new file mode 100644 index 0000000000..5a71b6c67e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1953.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1953 : Skill + { + public const int SKILL_ID = 1953; + + public Skill1953() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1953Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1953Stub() : base(1953) + { + cls = 127; + name = "势力PK常规BUFF2"; + nativename = "势力PK常规BUFF2"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1953Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetStoneskin (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetTime (900000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetBlessmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1953.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1953.cs.meta new file mode 100644 index 0000000000..c8003b94af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1953.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 93d257cd5c6d343c5ae90ed3c6dcec51 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1954.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1954.cs new file mode 100644 index 0000000000..29570c0022 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1954.cs @@ -0,0 +1,149 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1954 : Skill + { + public const int SKILL_ID = 1954; + + public Skill1954() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1954Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1954Stub() : base(1954) + { + cls = 127; + name = "势力PK无惩罚状态"; + nativename = "势力PK无惩罚状态"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1954Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (10800000); + skill.GetVictim ().SetEnternonpenaltypvp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1954.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1954.cs.meta new file mode 100644 index 0000000000..d06c9e8f73 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1954.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7a18aeb94e1e3431181aa555bb0254c1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1955.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1955.cs new file mode 100644 index 0000000000..4d78f13c60 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1955.cs @@ -0,0 +1,148 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1955 : Skill + { + public const int SKILL_ID = 1955; + + public Skill1955() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1955Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1955Stub() : base(1955) + { + cls = 127; + name = "势力PK脱离无惩罚状态"; + nativename = "势力PK脱离无惩罚状态"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1955Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetLeavenonpenaltypvp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1955.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1955.cs.meta new file mode 100644 index 0000000000..f82a625760 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1955.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 136160bff3875480c95e35c7652d09d3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1956.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1956.cs new file mode 100644 index 0000000000..b969143eba --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1956.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1956 : Skill + { + public const int SKILL_ID = 1956; + + public Skill1956() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1956Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1956Stub() : base(1956) + { + cls = 127; + name = "城战速射箭塔"; + nativename = "城战速射箭塔"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "连射"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/连射飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/连射击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1956Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetVictim ().GetLevel () * 0.5f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetAmount (8); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurt3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1956.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1956.cs.meta new file mode 100644 index 0000000000..ab5d21175b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1956.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e5fee7df5c3a74dbb85051f1ff4683ee \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1957.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1957.cs new file mode 100644 index 0000000000..2a5bff5892 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1957.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1957 : Skill + { + public const int SKILL_ID = 1957; + + public Skill1957() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1957Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1957Stub() : base(1957) + { + cls = 127; + name = "城战束缚箭塔"; + nativename = "城战束缚箭塔"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物冰锥术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/冰锥飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 3; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(1.5f, 1.5f, 1.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1957Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 4000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 8f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetVictim ().GetLevel () * 0.5f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetAmount (8); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurt3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1957.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1957.cs.meta new file mode 100644 index 0000000000..8341ed7105 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1957.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d3259201de8f547a7b421398b82e0d77 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1958.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1958.cs new file mode 100644 index 0000000000..3fac1611fe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1958.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1958 : Skill + { + public const int SKILL_ID = 1958; + + public Skill1958() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1958Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1958Stub() : base(1958) + { + cls = 127; + name = "城战爆裂箭塔"; + nativename = "城战爆裂箭塔"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "箭塔攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/土魔法飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/土魔法击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 800; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1958Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetVictim ().GetLevel () * 0.5f * skill.GetMagicdamage ()); + skill.GetVictim ().SetDirecthurt (1); + skill.GetVictim ().SetTime (8000); + skill.GetVictim ().SetRatio (0.25f); + skill.GetVictim ().SetAmount (8); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurt3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1958.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1958.cs.meta new file mode 100644 index 0000000000..0ad4a2674d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1958.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2f64a0d8e11fc4ed29b8108e2de48fed \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1959.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1959.cs new file mode 100644 index 0000000000..18fbf2abff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1959.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1959 : Skill + { + public const int SKILL_ID = 1959; + + public Skill1959() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1959Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1959Stub() : base(1959) + { + cls = 127; + name = "金童娃娃变2"; + nativename = "金童娃娃变2"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1959Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 2000 : 180000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetValue (27); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1959.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1959.cs.meta new file mode 100644 index 0000000000..7df5aad2ec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1959.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 147faa394ecd043a196baa5c1b414780 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1960.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1960.cs new file mode 100644 index 0000000000..0b79cd8e3f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1960.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1960 : Skill + { + public const int SKILL_ID = 1960; + + public Skill1960() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1960Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1960Stub() : base(1960) + { + cls = 127; + name = "玉女娃娃变2"; + nativename = "玉女娃娃变2"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1960Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (skill.GetLevel () == 1 ? 2000 : 180000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetValue (28); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1960.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1960.cs.meta new file mode 100644 index 0000000000..a537c63917 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1960.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2be1a53e342c44dbb988ca570ae1baf9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1961.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1961.cs new file mode 100644 index 0000000000..e472f7c4f0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1961.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1961 : Skill + { + public const int SKILL_ID = 1961; + + public Skill1961() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1961Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 2350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => skill.GetRand () < 5; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1961Stub() : base(1961) + { + cls = 127; + name = "脱离变青蛙状态"; + nativename = "脱离变青蛙状态"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1白虎变"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/白虎变.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1961Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (26); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1961.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1961.cs.meta new file mode 100644 index 0000000000..04d7a1ef37 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1961.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1360f8c2b491d42edaa438741ba05135 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1962.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1962.cs new file mode 100644 index 0000000000..c5730e5cb3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1962.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1962 : Skill + { + public const int SKILL_ID = 1962; + + public Skill1962() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1962Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1962Stub() : base(1962) + { + cls = 127; + name = "九天真龙劲"; + nativename = "九天真龙劲"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "剑灵_翔龙剑劲改"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_翔龙剑劲_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_翔龙剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)5; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 350; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1962Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 58 ? (skill.GetPlayer ().GetMaxhp () == 38777 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetRatio (0.01f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1962.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1962.cs.meta new file mode 100644 index 0000000000..3d14e44ce6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1962.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bd35490690f1543c5b7081f06cff1797 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1963.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1963.cs new file mode 100644 index 0000000000..5b4b0e8258 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1963.cs @@ -0,0 +1,170 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1963 : Skill + { + public const int SKILL_ID = 1963; + + public Skill1963() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1963Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1963Stub() : base(1963) + { + cls = 127; + name = "技能:噬灵"; + nativename = "技能:噬灵"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1963Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 68 ? (skill.GetPlayer ().GetMaxhp () == 3141592 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.95f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1963.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1963.cs.meta new file mode 100644 index 0000000000..396bfe3f63 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1963.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cfe0c93d90d3d444ab7b36f30ba21de5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1964.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1964.cs new file mode 100644 index 0000000000..48da29da09 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1964.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1964 : Skill + { + public const int SKILL_ID = 1964; + + public Skill1964() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1964Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1350; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1964Stub() : base(1964) + { + cls = 127; + name = "只对怪物生效群体无视伤害技能"; + nativename = "只对怪物生效群体无视伤害技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽芒_软骨之矢"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽芒_软骨之矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_软骨之矢_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1964Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == -1 ? 100 : 0); + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.2f * skill.GetLevel ()); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1964.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1964.cs.meta new file mode 100644 index 0000000000..c0aba33757 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1964.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1f0ba2027f9884a238bd5dc0df94fad0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1965.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1965.cs new file mode 100644 index 0000000000..24d21ff66b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1965.cs @@ -0,0 +1,170 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1965 : Skill + { + public const int SKILL_ID = 1965; + + public Skill1965() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1965Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1965Stub() : base(1965) + { + cls = 127; + name = "☆心血"; + nativename = "☆心血"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 224; + commoncooldowntime = 15000; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill1965Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 180000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 50 ? (skill.GetPlayer ().GetMaxhp () == 226136 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.5f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1965.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1965.cs.meta new file mode 100644 index 0000000000..79cde81e1d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1965.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 719bc59dd6501466fba06a244be1bf70 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1966.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1966.cs new file mode 100644 index 0000000000..9d0fa907e4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1966.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1966 : Skill + { + public const int SKILL_ID = 1966; + + public Skill1966() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1966Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1966Stub() : base(1966) + { + cls = 127; + name = "变身松鼠"; + nativename = "变身松鼠"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1966Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (60000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetValue (32); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1966.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1966.cs.meta new file mode 100644 index 0000000000..65acc56755 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1966.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ff586e156a3c94866a5939774cf56938 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1967.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1967.cs new file mode 100644 index 0000000000..b152a33a7b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1967.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1967 : Skill + { + public const int SKILL_ID = 1967; + + public Skill1967() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1967Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1967Stub() : base(1967) + { + cls = 127; + name = "怪物变身"; + nativename = "怪物变身"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物自爆"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/自爆.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1967Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (5000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (26); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1967.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1967.cs.meta new file mode 100644 index 0000000000..8afc6fe028 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1967.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e5c19b490d220427982fbbc16ff66adc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1968.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1968.cs new file mode 100644 index 0000000000..e0814ab259 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1968.cs @@ -0,0 +1,128 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1968 : Skill + { + public const int SKILL_ID = 1968; + + public Skill1968() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1968Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1968Stub() : base(1968) + { + cls = 127; + name = "变龟术_任务"; + nativename = "变龟术_任务"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1968Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (33); + skill.GetVictim ().SetBeastieform (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetInvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1968.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1968.cs.meta new file mode 100644 index 0000000000..b3626ecfac --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1968.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3ebbbfc705ac344aa98c4ee83d678cc4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1969.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1969.cs new file mode 100644 index 0000000000..eceadfedd5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1969.cs @@ -0,0 +1,122 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1969 : Skill + { + public const int SKILL_ID = 1969; + + public Skill1969() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1969Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1969Stub() : base(1969) + { + cls = 127; + name = "变龟术_玩具"; + nativename = "变龟术_玩具"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1969Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (33); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1969.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1969.cs.meta new file mode 100644 index 0000000000..3f5238deec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1969.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: db40ad5eedf6b470098544f18ae3bdb1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1970.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1970.cs new file mode 100644 index 0000000000..7501870032 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1970.cs @@ -0,0 +1,122 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1970 : Skill + { + public const int SKILL_ID = 1970; + + public Skill1970() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1970Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1970Stub() : base(1970) + { + cls = 127; + name = "变身5分钟"; + nativename = "变身5分钟"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1970Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (2000 + 50000 * (skill.GetLevel () - 1)); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (34); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1970.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1970.cs.meta new file mode 100644 index 0000000000..b655d13497 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1970.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f855a1742d3b54a5784d30e813134e7e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1971.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1971.cs new file mode 100644 index 0000000000..ef591a4fc6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1971.cs @@ -0,0 +1,122 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1971 : Skill + { + public const int SKILL_ID = 1971; + + public Skill1971() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1971Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1971Stub() : base(1971) + { + cls = 127; + name = "变身15秒"; + nativename = "变身15秒"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1971Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetValue (35); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1971.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1971.cs.meta new file mode 100644 index 0000000000..e03cfb3300 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1971.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f042d6e28c38e4cab91e0b77f4bd0765 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1972.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1972.cs new file mode 100644 index 0000000000..66ada377d9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1972.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1972 : Skill + { + public const int SKILL_ID = 1972; + + public Skill1972() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1972Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1972Stub() : base(1972) + { + cls = 127; + name = "怪物假无敌2"; + nativename = "怪物假无敌2"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1972Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.98f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1972.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1972.cs.meta new file mode 100644 index 0000000000..b8dbd52b4b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1972.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d90457144c55c472e8b3d99146654f9c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1973.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1973.cs new file mode 100644 index 0000000000..7a9cbf7b06 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1973.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1973 : Skill + { + public const int SKILL_ID = 1973; + + public Skill1973() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1973Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1973Stub() : base(1973) + { + cls = 127; + name = "物品技能-运营获得攻防血"; + nativename = "物品技能-运营获得攻防血"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1973Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.02f * skill.GetLevel ()); + skill.GetVictim ().SetAmount (0.02f * skill.GetLevel ()); + skill.GetVictim ().SetValue (skill.GetLevel () > 1 ? 0.05f * (skill.GetLevel () - 1) : 0.02f); + skill.GetVictim ().SetIncatkdefhp2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1973.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1973.cs.meta new file mode 100644 index 0000000000..d287703d9f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1973.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cffa621da027f4ffab2338d60c62ee8d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1974.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1974.cs new file mode 100644 index 0000000000..1cf7565748 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1974.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1974 : Skill + { + public const int SKILL_ID = 1974; + + public Skill1974() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1974Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1974Stub() : base(1974) + { + cls = 127; + name = "物品技能-运营猎魔御魔"; + nativename = "物品技能-运营猎魔御魔"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1974Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetAmount (2 * skill.GetLevel ()); + skill.GetVictim ().SetValue (2 * skill.GetLevel ()); + skill.GetVictim ().SetIncpenres (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1974.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1974.cs.meta new file mode 100644 index 0000000000..c6674e6169 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1974.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0f6687656253749cf84aae8ddcacb390 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1975.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1975.cs new file mode 100644 index 0000000000..7c9556c258 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1975.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1975 : Skill + { + public const int SKILL_ID = 1975; + + public Skill1975() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1975Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1975Stub() : base(1975) + { + cls = 127; + name = "物品技能-运营暴击"; + nativename = "物品技能-运营暴击"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1975Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetValue (2 * skill.GetLevel ()); + skill.GetVictim ().SetIncsmite3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1975.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1975.cs.meta new file mode 100644 index 0000000000..03b1a83d9b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1975.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 96517620139f44b329bc884ef7f77277 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1976.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1976.cs new file mode 100644 index 0000000000..322eabdab4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1976.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1976 : Skill + { + public const int SKILL_ID = 1976; + + public Skill1976() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1976Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1976Stub() : base(1976) + { + cls = 127; + name = "物品技能-五方厌胜"; + nativename = "物品技能-五方厌胜"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1976Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio ((skill.GetLevel () * 0.05f - (skill.GetLevel () > 3 ? (skill.GetLevel () < 7 ? 0.02f : 0) : 0)) * 0.5f); + skill.GetVictim ().SetAmount ((skill.GetLevel () * 0.05f - (skill.GetLevel () > 3 ? (skill.GetLevel () < 7 ? 0.02f : 0) : 0)) * 0.25f); + skill.GetVictim ().SetValue (skill.GetLevel () * 0.05f - (skill.GetLevel () > 3 ? (skill.GetLevel () < 7 ? 0.02f : 0) : 0)); + skill.GetVictim ().SetIncatkdefhp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1976.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1976.cs.meta new file mode 100644 index 0000000000..d1b7f41977 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1976.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2a9391862383344c7a05d044cfd217fe \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1977.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1977.cs new file mode 100644 index 0000000000..c31277f18e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1977.cs @@ -0,0 +1,124 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1977 : Skill + { + public const int SKILL_ID = 1977; + + public Skill1977() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1977Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1977Stub() : base(1977) + { + cls = 127; + name = "北美国战补正90-99"; + nativename = "北美国战补正90-99"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1977Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.15f + skill.GetLevel () * 0.05f); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (5 + skill.GetLevel () * 10 + (102 - skill.GetLevel () * 5 - skill.GetPlayer ().GetLevel ()) * 2); + skill.GetVictim ().SetValue (5 + skill.GetLevel () * 5); + skill.GetVictim ().SetIncmaxhpatkdfdlevel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1977.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1977.cs.meta new file mode 100644 index 0000000000..ca03470058 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1977.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 189e06ba456994a6bb7f472ba7ae7f3d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1978.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1978.cs new file mode 100644 index 0000000000..c495b6c008 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1978.cs @@ -0,0 +1,125 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1978 : Skill + { + public const int SKILL_ID = 1978; + + public Skill1978() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1978Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1978Stub() : base(1978) + { + cls = 127; + name = "北美国战补正60-89"; + nativename = "北美国战补正60-89"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1978Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (skill.GetLevel () * 0.5f); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (35 + (skill.GetLevel () - 1) * (skill.GetLevel () - 1) * 15 + + (94.5f - skill.GetLevel () * 10 - skill.GetPlayer ().GetLevel ()) * 2); + skill.GetVictim ().SetValue (30 + (skill.GetLevel () - 1) * (skill.GetLevel () - 1) * 20); + skill.GetVictim ().SetIncmaxhpatkdfdlevel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1978.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1978.cs.meta new file mode 100644 index 0000000000..d531e54fff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1978.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7db4e45a5ec1a47d7a7c64eb373efe2a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1979.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1979.cs new file mode 100644 index 0000000000..301148b700 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1979.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1979 : Skill + { + public const int SKILL_ID = 1979; + + public Skill1979() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1979Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1979Stub() : base(1979) + { + cls = 127; + name = "破阵"; + nativename = "破阵"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "黑暗斥候_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/黑暗斥候_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1979Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 4000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 147 ? (skill.GetPlayer ().GetMaxhp () == 520 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetDirecthurt (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 147 ? (skill.GetPlayer ().GetMaxhp () == 520 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetValue (10000); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetRand () + 426; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1979.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1979.cs.meta new file mode 100644 index 0000000000..979ce6b072 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1979.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fcebad968ae9346c89fd93c3dea2e339 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1988.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1988.cs new file mode 100644 index 0000000000..bc912f9325 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1988.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1988 : Skill + { + public const int SKILL_ID = 1988; + + public Skill1988() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1988Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1988Stub() : base(1988) + { + cls = 127; + name = "物品技能-自身减速"; + nativename = "物品技能-自身减速"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1988Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1988.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1988.cs.meta new file mode 100644 index 0000000000..8e18500c47 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1988.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0f3e8c7f8a6a541fa824cfdeeea9ad2f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1989.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1989.cs new file mode 100644 index 0000000000..40400b077f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1989.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1989 : Skill + { + public const int SKILL_ID = 1989; + + public Skill1989() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1989Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1989Stub() : base(1989) + { + cls = 127; + name = "物品技能插入状态光效狗"; + nativename = "物品技能插入状态光效狗"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1989Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (60000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (115); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1989.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1989.cs.meta new file mode 100644 index 0000000000..f234ca0a8a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1989.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7fe539a4854e1484ebf764ec00a7ae5c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1990.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1990.cs new file mode 100644 index 0000000000..3f0a8c7720 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1990.cs @@ -0,0 +1,151 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1990 : Skill + { + public const int SKILL_ID = 1990; + + public Skill1990() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1990Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1990Stub() : base(1990) + { + cls = 127; + name = "物品技能插入状态光效蛇"; + nativename = "物品技能插入状态光效蛇"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill1990Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (60000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (116); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1990.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1990.cs.meta new file mode 100644 index 0000000000..340785bc11 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1990.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fd33a2e7dfc544a4da1f82df23db4795 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1991.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1991.cs new file mode 100644 index 0000000000..f6ecd6fdd7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1991.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1991 : Skill + { + public const int SKILL_ID = 1991; + + public Skill1991() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1991Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1991Stub() : base(1991) + { + cls = 127; + name = "企鹅飞弹"; + nativename = "企鹅飞弹"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "企鹅"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/企鹅飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/企鹅击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1991Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 150 ? (skill.GetPlayer ().GetMaxhp () == 813246 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetRepel (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1991.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1991.cs.meta new file mode 100644 index 0000000000..7825c69c9d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1991.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2e16ea0dedfa245d0b2559439765382e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1992.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1992.cs new file mode 100644 index 0000000000..59038baa50 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1992.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1992 : Skill + { + public const int SKILL_ID = 1992; + + public Skill1992() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1992Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1992Stub() : base(1992) + { + cls = 127; + name = "企鹅杀手"; + nativename = "企鹅杀手"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1992Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => (float)(5 * skill.GetLevel() + 5); + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => (float)(5 * skill.GetLevel()); + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 150 ? (skill.GetPlayer ().GetMaxhp () == 813246 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 1.2f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public int GetAttackspeed(Skill skill) => 0; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1992.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1992.cs.meta new file mode 100644 index 0000000000..2f7824ca1b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1992.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: faa0d92d17a71440799e4aa43ce560e5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1993.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1993.cs new file mode 100644 index 0000000000..93bc6ab68c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1993.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1993 : Skill + { + public const int SKILL_ID = 1993; + + public Skill1993() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1993Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1993Stub() : base(1993) + { + cls = 127; + name = "无盾不摧之矛-怪物"; + nativename = "无盾不摧之矛-怪物"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "无盾不催之矛_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/无盾不催之矛_总.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/无盾不催之矛_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1993Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 45f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (26); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1993.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1993.cs.meta new file mode 100644 index 0000000000..46728eeb82 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1993.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 618c1405228094d548da7e1e3cea5503 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1994.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1994.cs new file mode 100644 index 0000000000..92af6459dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1994.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1994 : Skill + { + public const int SKILL_ID = 1994; + + public Skill1994() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1994Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1994Stub() : base(1994) + { + cls = 127; + name = "活动用技能"; + nativename = "活动用技能"; + icon = ""; + max_level = 1; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 0; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 1; + restrict_corpse = 0; + allow_forms = 0; + effect = "连射"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/连射飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/连射击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 200; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1994Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.05f * skill.GetLevel ()); + skill.GetVictim ().SetScaledechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public int GetAttackspeed(Skill skill) => 10; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1994.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1994.cs.meta new file mode 100644 index 0000000000..9f0abd8aca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1994.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1a4c25db9f79a44fead2201caabc0dd7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1995.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1995.cs new file mode 100644 index 0000000000..ed03cab989 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1995.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1995 : Skill + { + public const int SKILL_ID = 1995; + + public Skill1995() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1995Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1995Stub() : base(1995) + { + cls = 127; + name = "防御塔技能-元气真气耗损"; + nativename = "防御塔技能-元气真气耗损"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五气朝元"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五气朝元击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1995Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetMagicleak (1); + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (150); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetApleakcont (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1995.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1995.cs.meta new file mode 100644 index 0000000000..7636a2a90d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1995.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1ba76146dd5da4e1eb3024b626061196 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1996.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1996.cs new file mode 100644 index 0000000000..5ff528280b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1996.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1996 : Skill + { + public const int SKILL_ID = 1996; + + public Skill1996() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1996Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1996Stub() : base(1996) + { + cls = 127; + name = "防御塔技能-昏迷"; + nativename = "防御塔技能-昏迷"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1996Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1996.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1996.cs.meta new file mode 100644 index 0000000000..95f5d4d0de --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1996.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d9713696112444723a77d94dc81d8047 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1997.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1997.cs new file mode 100644 index 0000000000..87985e4603 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1997.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1997 : Skill + { + public const int SKILL_ID = 1997; + + public Skill1997() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1997Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1997Stub() : base(1997) + { + cls = 127; + name = "防御塔技能-易伤"; + nativename = "防御塔技能-易伤"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1997Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInchurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1997.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1997.cs.meta new file mode 100644 index 0000000000..16f9f413bc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1997.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9823b47822a8843e4a97eb0a02790803 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1998.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1998.cs new file mode 100644 index 0000000000..acd56477f5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1998.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1998 : Skill + { + public const int SKILL_ID = 1998; + + public Skill1998() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1998Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1998Stub() : base(1998) + { + cls = 127; + name = "防御塔技能-定身"; + nativename = "防御塔技能-定身"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1998Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1998.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1998.cs.meta new file mode 100644 index 0000000000..9fe1c03ef0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1998.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8d1bf6f87d931415e944626cfaf3b195 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1999.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1999.cs new file mode 100644 index 0000000000..39fc60ff25 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1999.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill1999 : Skill + { + public const int SKILL_ID = 1999; + + public Skill1999() : base(SKILL_ID) + { + } + } +#endif + + public class Skill1999Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill1999Stub() : base(1999) + { + cls = 127; + name = "防御塔技能-睡眠"; + nativename = "防御塔技能-睡眠"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill1999Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 20); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1999.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1999.cs.meta new file mode 100644 index 0000000000..fdd62a9ee5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill1999.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: fa58a7a26134d4633b01326e217b83b1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2000.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2000.cs new file mode 100644 index 0000000000..bba9d31291 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2000.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2000 : Skill + { + public const int SKILL_ID = 2000; + + public Skill2000() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2000Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2000Stub() : base(2000) + { + cls = 127; + name = "防御塔技能-封印"; + nativename = "防御塔技能-封印"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2000Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2000.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2000.cs.meta new file mode 100644 index 0000000000..eab4a4ab7d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2000.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b624d804d44364284998ccd2405cccfd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2001.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2001.cs new file mode 100644 index 0000000000..0591b7324e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2001.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2001 : Skill + { + public const int SKILL_ID = 2001; + + public Skill2001() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2001Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2001Stub() : base(2001) + { + cls = 127; + name = "防御塔技能-减速"; + nativename = "防御塔技能-减速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2001Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2001.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2001.cs.meta new file mode 100644 index 0000000000..85375db2b1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2001.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4819535609b5141cc9f27f176e2ca26f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2002.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2002.cs new file mode 100644 index 0000000000..1b3090d11c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2002.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2002 : Skill + { + public const int SKILL_ID = 2002; + + public Skill2002() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2002Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2002Stub() : base(2002) + { + cls = 127; + name = "防御塔技能-攻击降低"; + nativename = "防御塔技能-攻击降低"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2002Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (2); + skill.GetVictim ().SetSlowpray (1); + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetValue (-1); + skill.GetVictim ().SetSubattackdegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2002.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2002.cs.meta new file mode 100644 index 0000000000..ea359b8ff3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2002.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7d6fdd5c53fa74989b987336dfae83b9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2003.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2003.cs new file mode 100644 index 0000000000..00b2c7eec2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2003.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2003 : Skill + { + public const int SKILL_ID = 2003; + + public Skill2003() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2003Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2003Stub() : base(2003) + { + cls = 127; + name = "防御塔技能-防御力降低"; + nativename = "防御塔技能-防御力降低"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2003Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 33); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetRatio (1.5f); + skill.GetVictim ().SetDecresist (1); + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetValue (-1); + skill.GetVictim ().SetSubdefencedegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2003.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2003.cs.meta new file mode 100644 index 0000000000..06351b6ccb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2003.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f1798ddcae0ab487bb1c30cbf6ec59f7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2004.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2004.cs new file mode 100644 index 0000000000..0272f99bb0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2004.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2004 : Skill + { + public const int SKILL_ID = 2004; + + public Skill2004() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2004Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2004Stub() : base(2004) + { + cls = 127; + name = "防御塔自身技能-伤害加深"; + nativename = "防御塔自身技能-伤害加深"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五行符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五行符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五行符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2004Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 2000; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (25000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInchurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2004.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2004.cs.meta new file mode 100644 index 0000000000..60a493c1af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2004.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 15fd5419acdc449ddbb5bfb2ee63008f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2005.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2005.cs new file mode 100644 index 0000000000..0ad959ee91 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2005.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2005 : Skill + { + public const int SKILL_ID = 2005; + + public Skill2005() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2005Stub : SkillStub + { + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2005Stub() : base(2005) + { + cls = 127; + name = "技能插入状态光效元旦活动"; + nativename = "技能插入状态光效元旦活动"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2005Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (skill.GetLevel () == 1 ? 102 : (102 + skill.GetLevel ())); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2005.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2005.cs.meta new file mode 100644 index 0000000000..bc4ab15245 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2005.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: de6f5560e80c142f290e76001590a904 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2006.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2006.cs new file mode 100644 index 0000000000..c8fbd3774e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2006.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2006 : Skill + { + public const int SKILL_ID = 2006; + + public Skill2006() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2006Stub : SkillStub + { + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2006Stub() : base(2006) + { + cls = 127; + name = "10人仙99陷阱"; + nativename = "10人仙99陷阱"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2006Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 3.5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 4f; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetLevel () == 137 ? 100 : 0); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetFix2 (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetSealed2 (1); + skill.GetVictim ().SetProbability (1.0f * -1); + skill.GetVictim ().SetRatio (0.07f); + skill.GetVictim ().SetScaledechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 3.5f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2006.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2006.cs.meta new file mode 100644 index 0000000000..03531df9af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2006.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4d92520b3f9f54723800b7296a8bfb96 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2007.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2007.cs new file mode 100644 index 0000000000..9745ec8743 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2007.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2007 : Skill + { + public const int SKILL_ID = 2007; + + public Skill2007() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2007Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2007Stub() : base(2007) + { + cls = 127; + name = "无盾不摧之矛"; + nativename = "无盾不摧之矛"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "无盾不催之矛_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/无盾不催之矛_总.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/无盾不催之矛_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2007Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 150 ? (skill.GetPlayer ().GetMaxhp () == 3157684 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetTime (2000); + skill.GetVictim ().SetRatio (0.01f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2007.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2007.cs.meta new file mode 100644 index 0000000000..e337e13ad0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2007.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c6414d72a31a041a085d46181bf185a3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2008.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2008.cs new file mode 100644 index 0000000000..b405c78353 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2008.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2008 : Skill + { + public const int SKILL_ID = 2008; + + public Skill2008() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2008Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2008Stub() : base(2008) + { + cls = 127; + name = "10人魔99禁锢传送"; + nativename = "10人魔99禁锢传送"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2008Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 124); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetRatio (-385); + skill.GetVictim ().SetAmount (164); + skill.GetVictim ().SetValue (-276); + skill.GetVictim ().SetDelaytransmit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2008.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2008.cs.meta new file mode 100644 index 0000000000..abf4fd6713 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2008.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6d82f89fef3c94a2e8062b3973ae62ae \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2009.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2009.cs new file mode 100644 index 0000000000..abdd0c00e7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2009.cs @@ -0,0 +1,202 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2009 : Skill + { + public const int SKILL_ID = 2009; + + public Skill2009() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2009Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2009Stub() : base(2009) + { + cls = 127; + name = "一秒钟变MT"; + nativename = "一秒钟变MT"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖兽_虎啸"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖兽_虎啸_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖兽_虎啸_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2009Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 55f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000 * skill.GetLevel ()); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (300 * 3 * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApgencont (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000 * skill.GetLevel ()); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetEnhanceskilldamage (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 65f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2009.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2009.cs.meta new file mode 100644 index 0000000000..504457de70 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2009.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7d52df523f90f4f76800df0218e17013 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2010.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2010.cs new file mode 100644 index 0000000000..456d308d7c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2010.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2010 : Skill + { + public const int SKILL_ID = 2010; + + public Skill2010() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2010Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(1); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2010Stub() : base(2010) + { + cls = 127; + name = "仙风天道"; + nativename = "仙风天道"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "法师_静谧之术"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/法师_静谧之术_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/静谧之术_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2010Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 4000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2010.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2010.cs.meta new file mode 100644 index 0000000000..65817cf1c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2010.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 95b1a3c3c76914e389e6fa9520b0b5eb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2011.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2011.cs new file mode 100644 index 0000000000..70b11d342f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2011.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2011 : Skill + { + public const int SKILL_ID = 2011; + + public Skill2011() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2011Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(7); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2011Stub() : base(2011) + { + cls = 127; + name = "魔狱阎浮"; + nativename = "魔狱阎浮"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "静谧之术2_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/法师_静谧之术2_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/静谧之术2_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2011Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 4000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2011.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2011.cs.meta new file mode 100644 index 0000000000..8b8f545b36 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2011.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4060ddc5fe84e4d1fa6eee333796e657 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2012.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2012.cs new file mode 100644 index 0000000000..c163ada55a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2012.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2012 : Skill + { + public const int SKILL_ID = 2012; + + public Skill2012() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2012Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2012Stub() : base(2012) + { + cls = 127; + name = "武侠狮子吼"; + nativename = "武侠狮子吼"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物狮子吼"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "人物/技能/武侠/狮子吼施放1.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狮子吼击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2012Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (1.2f); + skill.GetVictim ().SetAmount (0.3f); + skill.GetVictim ().SetYijin (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 12f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2012.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2012.cs.meta new file mode 100644 index 0000000000..1b701eb3f2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2012.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8b2f8d920fd67464c81e175d0a9dd977 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2013.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2013.cs new file mode 100644 index 0000000000..57ab0b1e3e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2013.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2013 : Skill + { + public const int SKILL_ID = 2013; + + public Skill2013() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2013Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(1.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2013Stub() : base(2013) + { + cls = 127; + name = "武侠天火狂龙"; + nativename = "武侠天火狂龙"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王献鼎"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/天火狂龙飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2013Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 14f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetInchurt (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (1.2f); + skill.GetVictim ().SetAmount (0.3f); + skill.GetVictim ().SetXisui (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2013.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2013.cs.meta new file mode 100644 index 0000000000..c75931c419 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2013.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7f66e86794c114a389675da1b8b2b8ad \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2014.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2014.cs new file mode 100644 index 0000000000..161d3c9382 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2014.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2014 : Skill + { + public const int SKILL_ID = 2014; + + public Skill2014() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2014Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2014Stub() : base(2014) + { + cls = 127; + name = "法师石破天惊"; + nativename = "法师石破天惊"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1石破天惊"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/石破天惊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/石破天惊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2014Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 * skill.GetLevel ()); + skill.GetVictim ().SetSealed (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2014.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2014.cs.meta new file mode 100644 index 0000000000..e2be978fc6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2014.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ae93995d8ad994ed885b31423a094677 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2015.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2015.cs new file mode 100644 index 0000000000..1274ae85da --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2015.cs @@ -0,0 +1,180 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2015 : Skill + { + public const int SKILL_ID = 2015; + + public Skill2015() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2015Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetLevel() * 0.2f * skill.GetMagicattack()); + skill.SetDamage(skill.GetLevel() * 0.2f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2015Stub() : base(2015) + { + cls = 127; + name = "法师火海刀山"; + nativename = "法师火海刀山"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1火海刀山"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/火海刀山击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 20; + m_FlyClusterInterval = 65; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 8.0f; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2015Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2015.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2015.cs.meta new file mode 100644 index 0000000000..3cacd3898a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2015.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 58df3241397794f9ab60cbcfb822cda3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2016.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2016.cs new file mode 100644 index 0000000000..dd93f752d7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2016.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2016 : Skill + { + public const int SKILL_ID = 2016; + + public Skill2016() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2016Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2016Stub() : base(2016) + { + cls = 127; + name = "法师烈火符"; + nativename = "法师烈火符"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1烈火符"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/烈火符施放.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/烈火副爆炸击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1000000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 1; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 1.0f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2016Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (skill.GetLevel () * 0.1f); + skill.GetVictim ().SetAmount (skill.GetLevel () * 0.1f); + skill.GetVictim ().SetSoilshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2016.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2016.cs.meta new file mode 100644 index 0000000000..f57236aace --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2016.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4443e13e7424e41419dccddaea9305ca \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2017.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2017.cs new file mode 100644 index 0000000000..355a80ce11 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2017.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2017 : Skill + { + public const int SKILL_ID = 2017; + + public Skill2017() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2017Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2017Stub() : base(2017) + { + cls = 127; + name = "妖兽吞噬"; + nativename = "妖兽吞噬"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1吞噬"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/吞噬击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2017Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 14f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetValue (15); + skill.GetVictim ().SetSubattackdegree (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.35f); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2017.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2017.cs.meta new file mode 100644 index 0000000000..4d489fa7db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2017.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0222538f8ec0b4f9990b159501125ecc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2018.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2018.cs new file mode 100644 index 0000000000..2fcba5b62b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2018.cs @@ -0,0 +1,161 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2018 : Skill + { + public const int SKILL_ID = 2018; + + public Skill2018() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2018Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2018Stub() : base(2018) + { + cls = 127; + name = "妖兽玄武"; + nativename = "妖兽玄武"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "玄武附体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2018Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 14f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.4f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetGiant (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 14f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2018.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2018.cs.meta new file mode 100644 index 0000000000..3cac1cba69 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2018.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2170ac76b368845b6b62bc332062f5bc \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2019.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2019.cs new file mode 100644 index 0000000000..0252c7fbd4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2019.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2019 : Skill + { + public const int SKILL_ID = 2019; + + public Skill2019() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2019Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2019Stub() : base(2019) + { + cls = 127; + name = "妖精驱逐残体"; + nativename = "妖精驱逐残体"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1驱逐咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/驱逐咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2019Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetCanti (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2019.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2019.cs.meta new file mode 100644 index 0000000000..4203877932 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2019.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a5d6cf4d32b1d438f8dfdff621c9ed37 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2020.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2020.cs new file mode 100644 index 0000000000..ffdcb71400 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2020.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2020 : Skill + { + public const int SKILL_ID = 2020; + + public Skill2020() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2020Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2020Stub() : base(2020) + { + cls = 127; + name = "妖精妖气"; + nativename = "妖精妖气"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "妖精_妖气击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/妖气击_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/妖精_妖气击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2020Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000 * skill.GetLevel ()); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetSealed2 (1); + skill.GetVictim ().SetTime (2000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (30); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2020.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2020.cs.meta new file mode 100644 index 0000000000..9070ff1bd1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2020.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e5618a2e2462442b8ac1462d6aebab9f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2021.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2021.cs new file mode 100644 index 0000000000..27c638cd44 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2021.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2021 : Skill + { + public const int SKILL_ID = 2021; + + public Skill2021() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2021Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2021Stub() : base(2021) + { + cls = 127; + name = "妖精剧毒蛊"; + nativename = "妖精剧毒蛊"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1剧毒蛊"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剧毒蛊飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剧毒蛊击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)1; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2021Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (skill.GetLevel () * 0.1f); + skill.GetVictim ().SetRetort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2021.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2021.cs.meta new file mode 100644 index 0000000000..94265908ed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2021.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0bb1267f14b5e45aa9c5dbb54481dadf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2022.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2022.cs new file mode 100644 index 0000000000..862578783f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2022.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2022 : Skill + { + public const int SKILL_ID = 2022; + + public Skill2022() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2022Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2022Stub() : base(2022) + { + cls = 127; + name = "羽芒击昏"; + nativename = "羽芒击昏"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1击晕矢"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/击晕矢飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/击晕矢击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2022Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetFastattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2022.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2022.cs.meta new file mode 100644 index 0000000000..6e386ffd5f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2022.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d9f6060d6bd0a45b4aa580d32e7820ab \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2023.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2023.cs new file mode 100644 index 0000000000..a0cf580436 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2023.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2023 : Skill + { + public const int SKILL_ID = 2023; + + public Skill2023() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2023Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(1.5f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2023Stub() : base(2023) + { + cls = 127; + name = "羽芒狂雷天鹰"; + nativename = "羽芒狂雷天鹰"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1狂雷天鹰"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/狂雷天鹰飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狂雷天鹰击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2023Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetAmount (3000 * skill.GetLevel ()); + skill.GetVictim ().SetEaglecurse (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2023.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2023.cs.meta new file mode 100644 index 0000000000..d891fe4a61 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2023.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 21b55f038509b4234bbd52cdf1e80026 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2024.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2024.cs new file mode 100644 index 0000000000..ab3da72516 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2024.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2024 : Skill + { + public const int SKILL_ID = 2024; + + public Skill2024() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2024Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2024Stub() : base(2024) + { + cls = 127; + name = "羽灵五色符"; + nativename = "羽灵五色符"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1五色符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五色符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五色符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.5f, 0.5f, 0.5f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.5f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2024Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 + 3000 * skill.GetLevel ()); + skill.GetVictim ().SetSleep (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2024.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2024.cs.meta new file mode 100644 index 0000000000..da2c1e0ff3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2024.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 60648a9bd068746dd9964eec58f44bec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2025.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2025.cs new file mode 100644 index 0000000000..10e1c2c637 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2025.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2025 : Skill + { + public const int SKILL_ID = 2025; + + public Skill2025() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2025Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetGolddamage(1.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2025Stub() : base(2025) + { + cls = 127; + name = "羽灵狂雷天威"; + nativename = "羽灵狂雷天威"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "2狂雷天威"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/狂雷天威击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 10000; + m_bTraceTarget = true; + m_FlyClusterCount = 7; + m_FlyClusterInterval = 100; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 11.0f; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2025Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 25); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2025.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2025.cs.meta new file mode 100644 index 0000000000..9f3b89e8fb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2025.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b3da056d3bef1405ab91225fa48b3355 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2026.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2026.cs new file mode 100644 index 0000000000..70e48f9e53 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2026.cs @@ -0,0 +1,179 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2026 : Skill + { + public const int SKILL_ID = 2026; + + public Skill2026() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2026Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2026Stub() : base(2026) + { + cls = 127; + name = "羽灵羽箭"; + nativename = "羽灵羽箭"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1羽箭"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/羽箭飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽箭击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 10000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)0; + // m_param = new GFX_SKILL_PARAM(); + // m_param.bVal = false; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2026Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2026.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2026.cs.meta new file mode 100644 index 0000000000..7b54c55c9a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2026.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a68d9e51685be446394b88908bdd26aa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2027.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2027.cs new file mode 100644 index 0000000000..89d917c453 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2027.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2027 : Skill + { + public const int SKILL_ID = 2027; + + public Skill2027() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2027Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2027Stub() : base(2027) + { + cls = 127; + name = "羽灵静心"; + nativename = "羽灵静心"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "静心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/静心咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2027Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetHpgen (1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetBlessmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.4f); + skill.GetVictim ().SetStoneskin (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2027.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2027.cs.meta new file mode 100644 index 0000000000..e852971fd2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2027.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 81f7306b6af834bf0837a17de9ff221f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2028.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2028.cs new file mode 100644 index 0000000000..06b2697650 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2028.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2028 : Skill + { + public const int SKILL_ID = 2028; + + public Skill2028() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2028Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(1.3f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2028Stub() : base(2028) + { + cls = 127; + name = "巫师大地灵引"; + nativename = "巫师大地灵引"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_土灵"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/巫师_土灵_击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2028Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000 + 1000 * skill.GetLevel ()); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2028.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2028.cs.meta new file mode 100644 index 0000000000..1ba566994c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2028.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a765b638b84684bcfb64cd4a0d719110 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2029.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2029.cs new file mode 100644 index 0000000000..f03288213f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2029.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2029 : Skill + { + public const int SKILL_ID = 2029; + + public Skill2029() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2029Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2029Stub() : base(2029) + { + cls = 127; + name = "巫师冲击术"; + nativename = "巫师冲击术"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_法术冲击"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_法术冲击_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 4; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2029Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (1000 * skill.GetLevel ()); + skill.GetVictim ().SetSoulretort (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2029.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2029.cs.meta new file mode 100644 index 0000000000..1136f697a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2029.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b16a35d07d9d441d5963d02502e88f6e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2030.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2030.cs new file mode 100644 index 0000000000..dcf95fca1e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2030.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2030 : Skill + { + public const int SKILL_ID = 2030; + + public Skill2030() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2030Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(1.5f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2030Stub() : base(2030) + { + cls = 127; + name = "剑灵翔龙"; + nativename = "剑灵翔龙"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_翔龙剑劲"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/剑灵_翔龙剑劲_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_翔龙剑诀_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2030Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (2000 * skill.GetLevel ()); + skill.GetVictim ().SetWeapondisabled (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (45); + skill.GetVictim ().SetAdddefencedegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2030.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2030.cs.meta new file mode 100644 index 0000000000..8d20731872 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2030.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d8a98b4c1aa7647d9906333505533411 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2031.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2031.cs new file mode 100644 index 0000000000..380b291c80 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2031.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2031 : Skill + { + public const int SKILL_ID = 2031; + + public Skill2031() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2031Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(1.3f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2031Stub() : base(2031) + { + cls = 127; + name = "剑灵万象"; + nativename = "剑灵万象"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_万象剑劲"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/万象剑劲_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2031Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetValue (5 * skill.GetLevel ()); + skill.GetVictim ().SetSubattackdegree (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetValue (5 * skill.GetLevel ()); + skill.GetVictim ().SetSubdefencedegree (1); + skill.GetVictim ().SetValue (skill.GetMagicdamage ()); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2031.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2031.cs.meta new file mode 100644 index 0000000000..2b7764c8b4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2031.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 088216cf8f427448f9595ba3517c9a7f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2032.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2032.cs new file mode 100644 index 0000000000..565533c5a0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2032.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2032 : Skill + { + public const int SKILL_ID = 2032; + + public Skill2032() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2032Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2032Stub() : base(2032) + { + cls = 127; + name = "魅灵摄魂"; + nativename = "魅灵摄魂"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魅灵_勾魂摄魄"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/勾魂摄魄_飞行.gfx"; + m_szHitGrndGfxPath = "策划联入/人物技能/击中/勾魂摄魄_击中.gfx"; + m_szHitGfxPath = "策划联入/人物技能/击中/勾魂摄魄_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2032Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 28f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetMagicdamage () * 0.3f * skill.GetLevel ()); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2032.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2032.cs.meta new file mode 100644 index 0000000000..d6e341426c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2032.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5a57cb0c10d364756a6b80fa1982752e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2033.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2033.cs new file mode 100644 index 0000000000..be6c08ceb5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2033.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2033 : Skill + { + public const int SKILL_ID = 2033; + + public Skill2033() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2033Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2033Stub() : base(2033) + { + cls = 127; + name = "魅灵花溅雨"; + nativename = "魅灵花溅雨"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魅灵_长风破"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_长风破击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2033Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (12); + skill.GetVictim ().SetRepel2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2033.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2033.cs.meta new file mode 100644 index 0000000000..ce1c42a451 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2033.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6db23b1f554c7407f830e5f99304d263 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2034.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2034.cs new file mode 100644 index 0000000000..69bf4f9137 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2034.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2034 : Skill + { + public const int SKILL_ID = 2034; + + public Skill2034() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2034Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2034Stub() : base(2034) + { + cls = 127; + name = "魅灵青藤绕"; + nativename = "魅灵青藤绕"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魅灵_腐蔓咒"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魅灵_腐蔓咒_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 2; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2034Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (skill.GetLevel () * 0.1f); + skill.GetVictim ().SetAmount (skill.GetLevel () * 0.1f); + skill.GetVictim ().SetValue (skill.GetLevel () * 0.1f); + skill.GetVictim ().SetIncwoodwaterdefense (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2034.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2034.cs.meta new file mode 100644 index 0000000000..75cd26be4d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2034.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9b3fae60d5d4b44498e7aed03a9caecf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2035.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2035.cs new file mode 100644 index 0000000000..6c94efc8f4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2035.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2035 : Skill + { + public const int SKILL_ID = 2035; + + public Skill2035() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2035Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2035Stub() : base(2035) + { + cls = 127; + name = "魅灵灵光"; + nativename = "魅灵灵光"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魅灵_岐黄妙手"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/魅灵_岐黄妙手_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2035Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2035.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2035.cs.meta new file mode 100644 index 0000000000..42881d2eff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2035.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 884a5f3e835bf4a4db5a2f738e351f01 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2036.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2036.cs new file mode 100644 index 0000000000..ccf4c9013c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2036.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2036 : Skill + { + public const int SKILL_ID = 2036; + + public Skill2036() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2036Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2036Stub() : base(2036) + { + cls = 127; + name = "物免木免"; + nativename = "物免木免"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2036Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + (skill.GetLevel () - 1) * 1600000); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunephysical2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + (skill.GetLevel () - 1) * 1600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunewood2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2036.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2036.cs.meta new file mode 100644 index 0000000000..5b0c8f23cc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2036.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bb0473f0c6a6d46f590d35ddb5eb552c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2037.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2037.cs new file mode 100644 index 0000000000..d38dc77c69 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2037.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2037 : Skill + { + public const int SKILL_ID = 2037; + + public Skill2037() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2037Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2037Stub() : base(2037) + { + cls = 127; + name = "金免火免"; + nativename = "金免火免"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2037Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + (skill.GetLevel () - 1) * 1600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunemetal2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + (skill.GetLevel () - 1) * 1600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunefire2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2037.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2037.cs.meta new file mode 100644 index 0000000000..50c38a7235 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2037.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6a13a589d01a94af9a219682a0d36304 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2038.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2038.cs new file mode 100644 index 0000000000..df3a50ad8e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2038.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2038 : Skill + { + public const int SKILL_ID = 2038; + + public Skill2038() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2038Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2038Stub() : base(2038) + { + cls = 127; + name = "水免土免"; + nativename = "水免土免"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2038Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + (skill.GetLevel () - 1) * 1600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunewater2 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000 + (skill.GetLevel () - 1) * 1600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetImmunesoil2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2038.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2038.cs.meta new file mode 100644 index 0000000000..21c254b34c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2038.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0a72111451f4e4402b4e794f1063eb29 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2039.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2039.cs new file mode 100644 index 0000000000..07a40a8889 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2039.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2039 : Skill + { + public const int SKILL_ID = 2039; + + public Skill2039() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2039Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.5f + 0.5f * skill.GetLevel()); + skill.SetDamage(0.5f * skill.GetAttack()); + skill.SetGolddamage(0.5f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2039Stub() : base(2039) + { + cls = 127; + name = "天狱之王狂暴"; + nativename = "天狱之王狂暴"; + icon = ""; + max_level = 1; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "天雷破"; + doenchant = 0; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/落雷击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)3; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 0); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2039Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 45f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 40f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetAmount (skill.GetLevel () + 1); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurt3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2039.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2039.cs.meta new file mode 100644 index 0000000000..df642809c2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2039.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 75558efc3a21f4780990193dcc90979a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2040.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2040.cs new file mode 100644 index 0000000000..7bf64b0047 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2040.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2040 : Skill + { + public const int SKILL_ID = 2040; + + public Skill2040() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2040Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2040Stub() : base(2040) + { + cls = 127; + name = "安魂水晶"; + nativename = "安魂水晶"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 1; + commoncooldown = 224; + commoncooldowntime = 10000; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2040Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 60000; + public float GetRadius(Skill skill) => 25f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.89f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.89f + 0.01f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2040.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2040.cs.meta new file mode 100644 index 0000000000..afc259d093 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2040.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: aaf37a5aa2dbe44d5aa4eed33658de67 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2041.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2041.cs new file mode 100644 index 0000000000..afe9c07c69 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2041.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2041 : Skill + { + public const int SKILL_ID = 2041; + + public Skill2041() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2041Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2041Stub() : base(2041) + { + cls = 127; + name = "希式玫瑰"; + nativename = "希式玫瑰"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 224; + commoncooldowntime = 10000; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2041Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.01f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2041.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2041.cs.meta new file mode 100644 index 0000000000..b3a7ace684 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2041.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c8e8a036911a748bf99bcae5a64155f0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2042.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2042.cs new file mode 100644 index 0000000000..b89cdbbe94 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2042.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2042 : Skill + { + public const int SKILL_ID = 2042; + + public Skill2042() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2042Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2042Stub() : base(2042) + { + cls = 127; + name = "99仙boss传送"; + nativename = "99仙boss传送"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2042Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 123); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetRatio (-342); + skill.GetVictim ().SetAmount (618); + skill.GetVictim ().SetValue (110); + skill.GetVictim ().SetDelaytransmit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2042.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2042.cs.meta new file mode 100644 index 0000000000..7189a7f022 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2042.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d0c4c1e07c3804b9382c3fbee0523732 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2043.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2043.cs new file mode 100644 index 0000000000..22fc8da86e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2043.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2043 : Skill + { + public const int SKILL_ID = 2043; + + public Skill2043() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2043Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(skill.GetLevel()); + skill.SetDamage(0.5f * skill.GetAttack()); + skill.SetWooddamage(0.5f * skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2043Stub() : base(2043) + { + cls = 127; + name = "玫瑰血雨"; + nativename = "玫瑰血雨"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "金铃夫人_技能攻击1"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物通用/春普攻5_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2043Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2043.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2043.cs.meta new file mode 100644 index 0000000000..aa1ae1fff7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2043.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ff64a3bb878bc400cb09a357a27928d7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2044.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2044.cs new file mode 100644 index 0000000000..825f633e8d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2044.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2044 : Skill + { + public const int SKILL_ID = 2044; + + public Skill2044() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2044Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(skill.GetLevel()); + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2044Stub() : base(2044) + { + cls = 127; + name = "木藤缠身"; + nativename = "木藤缠身"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物喷蚁酸"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/毒击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2044Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2044.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2044.cs.meta new file mode 100644 index 0000000000..a49391cbb4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2044.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 22db6205a2ee64d5fa37902303aeb706 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2045.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2045.cs new file mode 100644 index 0000000000..4c67e1a40d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2045.cs @@ -0,0 +1,161 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2045 : Skill + { + public const int SKILL_ID = 2045; + + public Skill2045() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2045Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2045Stub() : base(2045) + { + cls = 127; + name = "活体炸弹"; + nativename = "活体炸弹"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2045Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 35f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetValue (skill.GetLevel () * skill.GetMagicdamage ()); + skill.GetVictim ().SetDelayearthhurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetAmount (skill.GetLevel () * skill.GetMagicdamage ()); + skill.GetVictim ().SetFallen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2045.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2045.cs.meta new file mode 100644 index 0000000000..e9c7d1d86e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2045.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f8802618c5599415f81b6649af2bee26 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2046.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2046.cs new file mode 100644 index 0000000000..9facae7d89 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2046.cs @@ -0,0 +1,162 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2046 : Skill + { + public const int SKILL_ID = 2046; + + public Skill2046() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2046Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2046Stub() : base(2046) + { + cls = 127; + name = "毒房间怪"; + nativename = "毒房间怪"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2046Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetAmount (skill.GetLevel () * skill.GetMagicdamage ()); + skill.GetVictim ().SetToxic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2046.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2046.cs.meta new file mode 100644 index 0000000000..e10290d8d6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2046.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8ceafdc8c87204726919fbc94c5bc5dd \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2047.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2047.cs new file mode 100644 index 0000000000..24b10fdb5a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2047.cs @@ -0,0 +1,161 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2047 : Skill + { + public const int SKILL_ID = 2047; + + public Skill2047() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2047Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2047Stub() : base(2047) + { + cls = 127; + name = "挖矿出的技能"; + nativename = "挖矿出的技能"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2047Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetFix (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.9f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2047.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2047.cs.meta new file mode 100644 index 0000000000..ffa4b75e57 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2047.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9c5ce082062b645aba3c9018ba97c29f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2048.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2048.cs new file mode 100644 index 0000000000..a0b232d249 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2048.cs @@ -0,0 +1,168 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2048 : Skill + { + public const int SKILL_ID = 2048; + + public Skill2048() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2048Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 950; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2048Stub() : base(2048) + { + cls = 127; + name = "障碍球技能1"; + nativename = "障碍球技能1"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2048Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 950; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 100 : 0); + skill.GetVictim ().SetValue (skill.GetT0 ()); + skill.GetVictim ().SetDirecthurt (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 3 ? 100 : 0); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 3 ? 100 : 0); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetAmount (skill.GetT0 () * 3); + skill.GetVictim ().SetToxic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2048.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2048.cs.meta new file mode 100644 index 0000000000..6ed83655db --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2048.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 15f466abe37074020bd3d1e4edf4faad \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2049.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2049.cs new file mode 100644 index 0000000000..b3b5684c42 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2049.cs @@ -0,0 +1,159 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2049 : Skill + { + public const int SKILL_ID = 2049; + + public Skill2049() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2049Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2049Stub() : base(2049) + { + cls = 127; + name = "障碍球技能2"; + nativename = "障碍球技能2"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2049Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 123); + skill.GetVictim ().SetTime (500); + skill.GetVictim ().SetRatio (333); + skill.GetVictim ().SetAmount (618); + skill.GetVictim ().SetValue (-248); + skill.GetVictim ().SetDelaytransmit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2049.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2049.cs.meta new file mode 100644 index 0000000000..b119db841a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2049.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4471df16c947241adbceb54479f48f42 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2050.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2050.cs new file mode 100644 index 0000000000..2f44f7e8d5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2050.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2050 : Skill + { + public const int SKILL_ID = 2050; + + public Skill2050() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2050Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2050Stub() : base(2050) + { + cls = 127; + name = "正面吐息"; + nativename = "正面吐息"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "避水诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2050Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 5f; + public float GetAttackdistance(Skill skill) => 30f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (3); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInchurt2 (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 100 : 0); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetEnhanceskilldamage2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2050.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2050.cs.meta new file mode 100644 index 0000000000..e1db2d092b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2050.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8495cd2baae01498a9ec8fb280ef05a2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2051.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2051.cs new file mode 100644 index 0000000000..09acbadc9e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2051.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2051 : Skill + { + public const int SKILL_ID = 2051; + + public Skill2051() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2051Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2051Stub() : base(2051) + { + cls = 127; + name = "防御塔火焰"; + nativename = "防御塔火焰"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2051Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 14f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () > 200000 ? skill.GetT0 () : 10); + skill.GetVictim ().SetFirehurt (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetEnhancefire (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2051.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2051.cs.meta new file mode 100644 index 0000000000..2360b1e8ad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2051.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 56ed052b2576a4592894a81762871c11 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2052.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2052.cs new file mode 100644 index 0000000000..ec68daef7c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2052.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2052 : Skill + { + public const int SKILL_ID = 2052; + + public Skill2052() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2052Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2052Stub() : base(2052) + { + cls = 127; + name = "防御塔物理"; + nativename = "防御塔物理"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "剑灵_天罡剑气"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/剑灵_天罡剑气_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2052Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 14f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () > 200000 ? skill.GetT0 () : 10); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (10000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMagicattack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2052.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2052.cs.meta new file mode 100644 index 0000000000..9d9b52b12d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2052.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3ceea29f64293459790791702b42e972 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2053.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2053.cs new file mode 100644 index 0000000000..607b059f90 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2053.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2053 : Skill + { + public const int SKILL_ID = 2053; + + public Skill2053() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2053Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2053Stub() : base(2053) + { + cls = 127; + name = "防御塔群体减速"; + nativename = "防御塔群体减速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "2寒露"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/寒露击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2053Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 14f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == -1 ? 100 : 0); + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetRatio (0.33f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetRatio (0.33f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2053.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2053.cs.meta new file mode 100644 index 0000000000..e567d6c54f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2053.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ea10cdd8e705744ecb61f8653856a2ba \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2054.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2054.cs new file mode 100644 index 0000000000..a3fe6b2969 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2054.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2054 : Skill + { + public const int SKILL_ID = 2054; + + public Skill2054() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2054Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2054Stub() : base(2054) + { + cls = 127; + name = "防御塔群体破甲"; + nativename = "防御塔群体破甲"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_扬沙"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/巫师_扬沙_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2054Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 14f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == -1 ? 100 : 0); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetDecdefence (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == -1 ? 100 : 0); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetReducefire (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetReducefire (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2054.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2054.cs.meta new file mode 100644 index 0000000000..f0682da95f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2054.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 37b898d2f2e764810a27454124b1f0db \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2055.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2055.cs new file mode 100644 index 0000000000..d319a10e6a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2055.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2055 : Skill + { + public const int SKILL_ID = 2055; + + public Skill2055() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2055Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetEarthdamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2055Stub() : base(2055) + { + cls = 127; + name = "终点"; + nativename = "终点"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = ""; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2055Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2055.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2055.cs.meta new file mode 100644 index 0000000000..2b0686b62a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2055.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b7ebaf59600454836962b0592df20699 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2056.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2056.cs new file mode 100644 index 0000000000..be624b71a9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2056.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2056 : Skill + { + public const int SKILL_ID = 2056; + + public Skill2056() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2056Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2056Stub() : base(2056) + { + cls = 127; + name = "精英BUFF"; + nativename = "精英BUFF"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "静心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/静心咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2056Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 60); + skill.GetVictim ().SetHpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1 * skill.GetLevel ()); + skill.GetVictim ().SetInchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1 * skill.GetLevel ()); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (1 * skill.GetLevel ()); + skill.GetVictim ().SetStoneskin (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2056.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2056.cs.meta new file mode 100644 index 0000000000..a5798d90c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2056.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7cbd944071c66417aa90b5093250e6a4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2057.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2057.cs new file mode 100644 index 0000000000..0846ee127c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2057.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2057 : Skill + { + public const int SKILL_ID = 2057; + + public Skill2057() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2057Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2057Stub() : base(2057) + { + cls = 127; + name = "备用"; + nativename = "备用"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "静心咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/静心咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 5000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2057Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 30f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.95f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 36f; + public float GetHitrate(Skill skill) => 3f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2057.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2057.cs.meta new file mode 100644 index 0000000000..f51adcab09 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2057.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d59fdd594a7264f2ea44a2ef06680330 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2058.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2058.cs new file mode 100644 index 0000000000..c020114eb1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2058.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2058 : Skill + { + public const int SKILL_ID = 2058; + + public Skill2058() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2058Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2058Stub() : base(2058) + { + cls = 127; + name = "战魂"; + nativename = "战魂"; + icon = "固若金汤"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "宠物治疗"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/宠物治疗击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2058Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.25f + 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2058.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2058.cs.meta new file mode 100644 index 0000000000..51c48c213e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2058.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: be44d286a9c3f4865895e1f98d60aa53 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2059.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2059.cs new file mode 100644 index 0000000000..a428b225b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2059.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2059 : Skill + { + public const int SKILL_ID = 2059; + + public Skill2059() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2059Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2059Stub() : base(2059) + { + cls = 127; + name = "重击"; + nativename = "重击"; + icon = "攻守兼备"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "宠物治疗"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/宠物治疗击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2059Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel ()); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2060); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2059.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2059.cs.meta new file mode 100644 index 0000000000..6bb925ebad --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2059.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a014aa36eb1de4431811ca8de272ceaf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2060.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2060.cs new file mode 100644 index 0000000000..ff991fa357 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2060.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2060 : Skill + { + public const int SKILL_ID = 2060; + + public Skill2060() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2060Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2060Stub() : base(2060) + { + cls = 127; + name = "重击专用"; + nativename = "重击专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "狮子吼"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/狮子吼击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2060Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2060.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2060.cs.meta new file mode 100644 index 0000000000..121f80428e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2060.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a4876a3070ebb4a98b6be47d11831f6c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2061.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2061.cs new file mode 100644 index 0000000000..ecff0c995a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2061.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2061 : Skill + { + public const int SKILL_ID = 2061; + + public Skill2061() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2061Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2061Stub() : base(2061) + { + cls = 127; + name = "神隐"; + nativename = "神隐"; + icon = "天师护法"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2061Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000 + 1000 * skill.GetLevel ()); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2061.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2061.cs.meta new file mode 100644 index 0000000000..d694befa43 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2061.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d83ce49ba96234489a18f42d8f56aaaa \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2062.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2062.cs new file mode 100644 index 0000000000..4526561d99 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2062.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2062 : Skill + { + public const int SKILL_ID = 2062; + + public Skill2062() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2062Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2062Stub() : base(2062) + { + cls = 127; + name = "嗜血"; + nativename = "嗜血"; + icon = "乘胜追击"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "宠物治疗"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/宠物治疗击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2062Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 35); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2063); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetAttachstatetoself (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2062.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2062.cs.meta new file mode 100644 index 0000000000..856bb0e3ef --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2062.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0d813a6c7cd7d4d61bf415707bd0f541 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2063.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2063.cs new file mode 100644 index 0000000000..37e805c93a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2063.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2063 : Skill + { + public const int SKILL_ID = 2063; + + public Skill2063() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2063Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2063Stub() : base(2063) + { + cls = 127; + name = "嗜血专用"; + nativename = "嗜血专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "宠物治疗"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/宠物治疗击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2063Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (0.03f * skill.GetLevel () * skill.GetPlayer ().GetMaxhp ()); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2063.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2063.cs.meta new file mode 100644 index 0000000000..13f3018664 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2063.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bab4ef6283f134709806e6ed87777982 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2064.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2064.cs new file mode 100644 index 0000000000..9a9ab32f1f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2064.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2064 : Skill + { + public const int SKILL_ID = 2064; + + public Skill2064() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2064Stub : SkillStub + { + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2064Stub() : base(2064) + { + cls = 127; + name = "技能插入状态光效元旦活动2"; + nativename = "技能插入状态光效元旦活动2"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2064Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (skill.GetLevel () == 1 ? 52 : (24 + 24 * skill.GetLevel ())); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2064.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2064.cs.meta new file mode 100644 index 0000000000..0ccb38b07e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2064.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4380cef0720de42278a3bc8a19ee8dbe \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2065.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2065.cs new file mode 100644 index 0000000000..ce52ae5724 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2065.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2065 : Skill + { + public const int SKILL_ID = 2065; + + public Skill2065() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2065Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2065Stub() : base(2065) + { + cls = 127; + name = "变身魔法棒"; + nativename = "变身魔法棒"; + icon = "寒冰领域"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "怪物风球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 992; + commoncooldowntime = 10000; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/风球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2065Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetValue (35 + skill.GetLevel ()); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2065.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2065.cs.meta new file mode 100644 index 0000000000..218555d3df --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2065.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a5f5b9196f5fe414b8209ec5412fe73a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2066.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2066.cs new file mode 100644 index 0000000000..28ed7af42c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2066.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2066 : Skill + { + public const int SKILL_ID = 2066; + + public Skill2066() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2066Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2066Stub() : base(2066) + { + cls = 127; + name = "物品使用中"; + nativename = "物品使用中"; + icon = "寒冰领域"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2066Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetLevel () == + 123 ? (skill.GetPlayer ().GetMaxhp () == 2014 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 1.2f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2066.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2066.cs.meta new file mode 100644 index 0000000000..61eeaaaf27 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2066.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 949e0b18dabd44667a7eb80e42f2e344 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2067.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2067.cs new file mode 100644 index 0000000000..f4c038ed24 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2067.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2067 : Skill + { + public const int SKILL_ID = 2067; + + public Skill2067() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2067Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2067Stub() : base(2067) + { + cls = 127; + name = "春节怪物变身"; + nativename = "春节怪物变身"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "怪物风球术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/风球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2067Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetValue (35 + skill.GetLevel ()); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 45f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2067.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2067.cs.meta new file mode 100644 index 0000000000..2ffbd40848 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2067.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f1f0e9d509ecf43d988e66f8401131b8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2068.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2068.cs new file mode 100644 index 0000000000..bc335c096e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2068.cs @@ -0,0 +1,186 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2068 : Skill + { + public const int SKILL_ID = 2068; + + public Skill2068() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2068Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2068Stub() : base(2068) + { + cls = 127; + name = "春节活动特效"; + nativename = "春节活动特效"; + icon = "寒冰领域"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "刺客_飘零"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/刺客_飘零_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2068Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (20000); + skill.GetVictim ().SetRatio (0.01f); + skill.GetVictim ().SetIncdefence (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2068.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2068.cs.meta new file mode 100644 index 0000000000..bcd62098c7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2068.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bc2336d3e1e8c4e85b8babdcffd47e46 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2069.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2069.cs new file mode 100644 index 0000000000..4fe5b2d063 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2069.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2069 : Skill + { + public const int SKILL_ID = 2069; + + public Skill2069() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2069Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2069Stub() : base(2069) + { + cls = 127; + name = "怪物加双防"; + nativename = "怪物加双防"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2069Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2069.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2069.cs.meta new file mode 100644 index 0000000000..3680d9c108 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2069.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7befe5a634c524ba390730f8319b17b0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2070.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2070.cs new file mode 100644 index 0000000000..5a6639bdd7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2070.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2070 : Skill + { + public const int SKILL_ID = 2070; + + public Skill2070() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2070Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2070Stub() : base(2070) + { + cls = 127; + name = "减攻速移速"; + nativename = "减攻速移速"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物迟缓技能攻击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/迟缓技能击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2070Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetRatio (0.2f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2070.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2070.cs.meta new file mode 100644 index 0000000000..c6e72593a1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2070.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 027c01a3e8e184c4c90cab3b15ff010f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2071.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2071.cs new file mode 100644 index 0000000000..47ac4bb20f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2071.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2071 : Skill + { + public const int SKILL_ID = 2071; + + public Skill2071() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2071Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2071Stub() : base(2071) + { + cls = 127; + name = "仙99变童男"; + nativename = "仙99变童男"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2071Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 35f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (27); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 40f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2071.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2071.cs.meta new file mode 100644 index 0000000000..b170c237a2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2071.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5688c6039e7b44bf9b4d48f8c7b860b8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2072.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2072.cs new file mode 100644 index 0000000000..fe68048ccc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2072.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2072 : Skill + { + public const int SKILL_ID = 2072; + + public Skill2072() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2072Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2072Stub() : base(2072) + { + cls = 127; + name = "对目标使用免伤2"; + nativename = "对目标使用免伤2"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 3000; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2072Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (-0.05f + 0.1f * skill.GetLevel ()); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2072.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2072.cs.meta new file mode 100644 index 0000000000..a3218d26dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2072.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f699f6e768a854e7f9441cdd53a6cdcb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2074.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2074.cs new file mode 100644 index 0000000000..f56483bdb0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2074.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2074 : Skill + { + public const int SKILL_ID = 2074; + + public Skill2074() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2074Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 6000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2074Stub() : base(2074) + { + cls = 127; + name = "可打断治疗"; + nativename = "可打断治疗"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2074Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * skill.GetLevel () * 0.1f); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2074.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2074.cs.meta new file mode 100644 index 0000000000..7333f54e1d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2074.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 62fff6123c18546b383bfc05426a9917 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2075.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2075.cs new file mode 100644 index 0000000000..b5c35321f6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2075.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2075 : Skill + { + public const int SKILL_ID = 2075; + + public Skill2075() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2075Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2075Stub() : base(2075) + { + cls = 127; + name = "攻击药"; + nativename = "攻击药"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2075Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetGiant (1); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetBlessmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 250f; + public float GetHitrate(Skill skill) => 0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2075.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2075.cs.meta new file mode 100644 index 0000000000..72601a324f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2075.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4d8fef731cf634c56a3634bda07f42f6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2076.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2076.cs new file mode 100644 index 0000000000..b3c3cc27ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2076.cs @@ -0,0 +1,160 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2076 : Skill + { + public const int SKILL_ID = 2076; + + public Skill2076() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2076Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2076Stub() : base(2076) + { + cls = 127; + name = "防御药"; + nativename = "防御药"; + icon = ""; + max_level = 5; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "蓄气"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/蓄气击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2076Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetStoneskin (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetIncresist (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetInchp (1); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetIronshield (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2076.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2076.cs.meta new file mode 100644 index 0000000000..e36e763eab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2076.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: bbbd4831ef82447d3833926a996b5177 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2077.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2077.cs new file mode 100644 index 0000000000..49fcd89ab5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2077.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2077 : Skill + { + public const int SKILL_ID = 2077; + + public Skill2077() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2077Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2077Stub() : base(2077) + { + cls = 127; + name = "斗战圣体"; + nativename = "斗战圣体"; + icon = "宠物强化"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2077Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt3 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2077.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2077.cs.meta new file mode 100644 index 0000000000..cf170dabdd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2077.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ee39f5bf3450543b9999ed7b06d0f4cb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2078.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2078.cs new file mode 100644 index 0000000000..a9b0f16137 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2078.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2078 : Skill + { + public const int SKILL_ID = 2078; + + public Skill2078() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2078Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(3); + skill.SetFiredamage(0.33f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2078Stub() : base(2078) + { + cls = 127; + name = "凤翼天翔"; + nativename = "凤翼天翔"; + icon = "宠物强化"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0x02; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = true; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "炽天凤凰_技能击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/炽天凤凰_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2078Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1100; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2078.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2078.cs.meta new file mode 100644 index 0000000000..e84aef46c7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2078.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c6a5d01921be540648839d58a337d42f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2079.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2079.cs new file mode 100644 index 0000000000..ba087bee5c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2079.cs @@ -0,0 +1,200 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2079 : Skill + { + public const int SKILL_ID = 2079; + + public Skill2079() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2079Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2079Stub() : base(2079) + { + cls = 127; + name = "金甲天神"; + nativename = "金甲天神"; + icon = "宠物强化"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "大力神_普攻_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/战车甲虫_技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 1; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2079Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1400; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 4f; + public float GetAttackdistance(Skill skill) => 10f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 8f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 10000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (7 * skill.GetT0 ()); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0.15f); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetDechurt2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMaxhp (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2079.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2079.cs.meta new file mode 100644 index 0000000000..e30614b3cc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2079.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ea0690637bcaf40f6b0680b77032b60e \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2080.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2080.cs new file mode 100644 index 0000000000..30ed3550d8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2080.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2080 : Skill + { + public const int SKILL_ID = 2080; + + public Skill2080() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2080Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(1); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2080Stub() : base(2080) + { + cls = 127; + name = "骨镰"; + nativename = "骨镰"; + icon = "宠物强化"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "帝骨_普攻1_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/帝骨_普攻1_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2080Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetCls () == -1 ? 1.5f * skill.GetT0 () : 100); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2080.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2080.cs.meta new file mode 100644 index 0000000000..e525f9b640 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2080.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 59fec17952272471fb146a55deb3b302 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2081.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2081.cs new file mode 100644 index 0000000000..f0e6c7cfb4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2081.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2081 : Skill + { + public const int SKILL_ID = 2081; + + public Skill2081() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2081Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2081Stub() : base(2081) + { + cls = 127; + name = "冰石铠甲"; + nativename = "冰石铠甲"; + icon = "宠物强化"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2081Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetAdddefencedegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2081.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2081.cs.meta new file mode 100644 index 0000000000..2b3a479f6c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2081.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1c4a4c4e1d3214295a53d8f7339e1695 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2082.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2082.cs new file mode 100644 index 0000000000..34832ba0d8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2082.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2082 : Skill + { + public const int SKILL_ID = 2082; + + public Skill2082() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2082Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(2); + skill.SetWooddamage(0.33f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2082Stub() : base(2082) + { + cls = 127; + name = "蜂刺"; + nativename = "蜂刺"; + icon = "宠物强化"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0x02; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2082Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlowfly (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2082.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2082.cs.meta new file mode 100644 index 0000000000..8d85e69bf6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2082.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 66719957a195e4279b5980a0453f3958 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2083.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2083.cs new file mode 100644 index 0000000000..481cc41ff3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2083.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2083 : Skill + { + public const int SKILL_ID = 2083; + + public Skill2083() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2083Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2083Stub() : base(2083) + { + cls = 127; + name = "浴火重生"; + nativename = "浴火重生"; + icon = "宠物强化"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2083Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetScaleinchp (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (200); + skill.GetVictim ().SetAdddefencedegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2083.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2083.cs.meta new file mode 100644 index 0000000000..436a2746d7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2083.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 56b9cfacbf6ac44c080bed7ebbd4edeb \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2084.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2084.cs new file mode 100644 index 0000000000..95080ab231 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2084.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2084 : Skill + { + public const int SKILL_ID = 2084; + + public Skill2084() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2084Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2084Stub() : base(2084) + { + cls = 127; + name = "急速射击"; + nativename = "急速射击"; + icon = "宠物强化"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2084Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetFastattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2084.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2084.cs.meta new file mode 100644 index 0000000000..fc2dfca436 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2084.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 58189c3e3e6474267913f5e9df95abdf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2085.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2085.cs new file mode 100644 index 0000000000..d8f9f83408 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2085.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2085 : Skill + { + public const int SKILL_ID = 2085; + + public Skill2085() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2085Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(5.5f); + skill.SetWaterdamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2085Stub() : base(2085) + { + cls = 127; + name = "海啸"; + nativename = "海啸"; + icon = "宠物强化"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2085Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2085.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2085.cs.meta new file mode 100644 index 0000000000..e846111410 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2085.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1f2fd0540eef0478db78f8170f12b0d7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2086.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2086.cs new file mode 100644 index 0000000000..38296842c9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2086.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2086 : Skill + { + public const int SKILL_ID = 2086; + + public Skill2086() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2086Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2086Stub() : base(2086) + { + cls = 127; + name = "夜幕"; + nativename = "夜幕"; + icon = "宠物强化"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2086Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format, 10)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetForbidbeselected (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2086.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2086.cs.meta new file mode 100644 index 0000000000..9cc48aa46e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2086.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 546df9b29ab404fc4a2fbda9fedb918f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2087.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2087.cs new file mode 100644 index 0000000000..ab00a1a41e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2087.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2087 : Skill + { + public const int SKILL_ID = 2087; + + public Skill2087() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2087Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2087Stub() : base(2087) + { + cls = 127; + name = "飞天蕾丝突击"; + nativename = "飞天蕾丝突击"; + icon = "宠物强化"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0x02; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2087Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetRepel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetAmount (500); + skill.GetVictim ().SetValue (10); + skill.GetVictim ().SetRepel2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2087.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2087.cs.meta new file mode 100644 index 0000000000..0e80dc4641 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2087.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1f7b166d53aad4c36803a27b39dc4672 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2088.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2088.cs new file mode 100644 index 0000000000..19ab097bd1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2088.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2088 : Skill + { + public const int SKILL_ID = 2088; + + public Skill2088() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2088Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2088Stub() : base(2088) + { + cls = 127; + name = "嘟"; + nativename = "嘟"; + icon = "宠物强化"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0x02; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2088Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 70); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2088.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2088.cs.meta new file mode 100644 index 0000000000..ab36849231 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2088.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 69189123d4b42404bb2e5d216efd311c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2089.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2089.cs new file mode 100644 index 0000000000..b6594cbdb8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2089.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2089 : Skill + { + public const int SKILL_ID = 2089; + + public Skill2089() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2089Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2089Stub() : base(2089) + { + cls = 127; + name = "忠犬"; + nativename = "忠犬"; + icon = "宠物强化"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2089Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetForceselecttarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2089.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2089.cs.meta new file mode 100644 index 0000000000..5a70d4fc89 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2089.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a3ba9c9875180410dbe0ff39c31bc573 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2090.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2090.cs new file mode 100644 index 0000000000..73917e61c7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2090.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2090 : Skill + { + public const int SKILL_ID = 2090; + + public Skill2090() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2090Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2090Stub() : base(2090) + { + cls = 127; + name = "暗影冲刺"; + nativename = "暗影冲刺"; + icon = "宠物强化"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2090Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetRatio (4); + skill.GetVictim ().SetIncdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2090.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2090.cs.meta new file mode 100644 index 0000000000..a2e10fd5fe --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2090.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b44c561d3d9d9499d8d56659dd5af9e4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2091.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2091.cs new file mode 100644 index 0000000000..dc9d70219d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2091.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2091 : Skill + { + public const int SKILL_ID = 2091; + + public Skill2091() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2091Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2091Stub() : base(2091) + { + cls = 127; + name = "残废术"; + nativename = "残废术"; + icon = "宠物强化"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2091Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSlowpray (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (1); + skill.GetVictim ().SetSlowattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2091.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2091.cs.meta new file mode 100644 index 0000000000..23823f54af --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2091.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 22e4761ef1c6a4edf9e053e8db9669e7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2092.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2092.cs new file mode 100644 index 0000000000..e975e038c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2092.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2092 : Skill + { + public const int SKILL_ID = 2092; + + public Skill2092() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2092Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2092Stub() : base(2092) + { + cls = 127; + name = "虚弱毒素"; + nativename = "虚弱毒素"; + icon = "宠物强化"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2092Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 12f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetCls () == -1 ? 0.5f : 2); + skill.GetVictim ().SetDecmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetCls () == -1 ? 0.5f : 2); + skill.GetVictim ().SetDecattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2092.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2092.cs.meta new file mode 100644 index 0000000000..9622c75045 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2092.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7fbf0869ee1c24bdfb166f347934062d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2093.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2093.cs new file mode 100644 index 0000000000..83d623d439 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2093.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2093 : Skill + { + public const int SKILL_ID = 2093; + + public Skill2093() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2093Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2093Stub() : base(2093) + { + cls = 127; + name = "灵毁"; + nativename = "灵毁"; + icon = "宠物强化"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2093Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetEnhanceskilldamage (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetInchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2093.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2093.cs.meta new file mode 100644 index 0000000000..bb68d1a8ff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2093.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 5a066985eb29b46149c79efb06a574a8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2094.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2094.cs new file mode 100644 index 0000000000..46f06e9f25 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2094.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2094 : Skill + { + public const int SKILL_ID = 2094; + + public Skill2094() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2094Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2094Stub() : base(2094) + { + cls = 127; + name = "禁锢"; + nativename = "禁锢"; + icon = "宠物夺命"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2094Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel ()); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2095); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2094.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2094.cs.meta new file mode 100644 index 0000000000..e55696b904 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2094.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3e9c68ecfb56e4ad89ac609e749fcabf \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2095.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2095.cs new file mode 100644 index 0000000000..4ff60ec703 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2095.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2095 : Skill + { + public const int SKILL_ID = 2095; + + public Skill2095() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2095Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2095Stub() : base(2095) + { + cls = 127; + name = "禁锢专用"; + nativename = "禁锢专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "金钟罩"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/金钟罩击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2095Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2095.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2095.cs.meta new file mode 100644 index 0000000000..e64c095c15 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2095.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 797a9588e4024450ab4dbb60f4f0f44a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2096.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2096.cs new file mode 100644 index 0000000000..e47c07d2c5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2096.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2096 : Skill + { + public const int SKILL_ID = 2096; + + public Skill2096() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2096Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2096Stub() : base(2096) + { + cls = 127; + name = "致残"; + nativename = "致残"; + icon = "虎扑"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2096Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel ()); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2097); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2096.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2096.cs.meta new file mode 100644 index 0000000000..fffd2ea427 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2096.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b34ea5326731147a9856aed91867f9b8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2097.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2097.cs new file mode 100644 index 0000000000..60abe3a495 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2097.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2097 : Skill + { + public const int SKILL_ID = 2097; + + public Skill2097() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2097Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2097Stub() : base(2097) + { + cls = 127; + name = "致残专用"; + nativename = "致残专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "虎击"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虎击击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2097Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (0.7f); + skill.GetVictim ().SetSlow (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2097.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2097.cs.meta new file mode 100644 index 0000000000..c71a9e18c4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2097.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2b161b9308dc64d70adcd079a9010fe2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2098.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2098.cs new file mode 100644 index 0000000000..908c30ef3a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2098.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2098 : Skill + { + public const int SKILL_ID = 2098; + + public Skill2098() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2098Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2098Stub() : base(2098) + { + cls = 127; + name = "沉寂"; + nativename = "沉寂"; + icon = "五音符"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2098Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel ()); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2099); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2098.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2098.cs.meta new file mode 100644 index 0000000000..fa8f808215 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2098.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ceb217488bf7f487e92c5774bbb69f80 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2099.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2099.cs new file mode 100644 index 0000000000..cd06dbbda4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2099.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2099 : Skill + { + public const int SKILL_ID = 2099; + + public Skill2099() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2099Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2099Stub() : base(2099) + { + cls = 127; + name = "沉寂专用"; + nativename = "沉寂专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "虎扑"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/虎扑击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2099Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetSealed (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2099.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2099.cs.meta new file mode 100644 index 0000000000..13ec2a1138 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2099.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4afd23833160a4ae39e0ab7c7018c910 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2100.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2100.cs new file mode 100644 index 0000000000..61dd39e1a2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2100.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2100 : Skill + { + public const int SKILL_ID = 2100; + + public Skill2100() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2100Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2100Stub() : base(2100) + { + cls = 127; + name = "破刃"; + nativename = "破刃"; + icon = "长兵精通"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2100Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel ()); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2101); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2100.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2100.cs.meta new file mode 100644 index 0000000000..a696bc8244 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2100.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1aa3eb2b31c0d45eb8f56b2c235d257a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2101.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2101.cs new file mode 100644 index 0000000000..b72be7aede --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2101.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2101 : Skill + { + public const int SKILL_ID = 2101; + + public Skill2101() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2101Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2101Stub() : base(2101) + { + cls = 127; + name = "破刃专用"; + nativename = "破刃专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神兵利器"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/神兵利器击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2101Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetWeapondisabled (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2101.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2101.cs.meta new file mode 100644 index 0000000000..4dd9c61425 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2101.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 364d94547c3304b11ac4780d2fed646d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2102.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2102.cs new file mode 100644 index 0000000000..487fb53500 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2102.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2102 : Skill + { + public const int SKILL_ID = 2102; + + public Skill2102() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2102Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2102Stub() : base(2102) + { + cls = 127; + name = "超重"; + nativename = "超重"; + icon = "流星锤"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2102Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2103); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2102.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2102.cs.meta new file mode 100644 index 0000000000..7051611349 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2102.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 598d73e63db1d4906968d15a027d65b3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2103.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2103.cs new file mode 100644 index 0000000000..d48dd1d6f9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2103.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2103 : Skill + { + public const int SKILL_ID = 2103; + + public Skill2103() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2103Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2103Stub() : base(2103) + { + cls = 127; + name = "超重专用"; + nativename = "超重专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "排山倒海"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/击中/排山倒海击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/冰碎裂效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 200; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.0f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2103Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetCls () == -1 ? skill.GetLevel () * 0.05f : 0.2f * skill.GetLevel ()); + skill.GetVictim ().SetSlowattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2103.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2103.cs.meta new file mode 100644 index 0000000000..1cd5359720 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2103.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 52fd1a796b72d4347ba1c807c8e9ff9a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2104.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2104.cs new file mode 100644 index 0000000000..7cc866ea83 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2104.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2104 : Skill + { + public const int SKILL_ID = 2104; + + public Skill2104() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2104Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2104Stub() : base(2104) + { + cls = 127; + name = "噪音"; + nativename = "噪音"; + icon = "沙陷"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2104Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2105); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2104.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2104.cs.meta new file mode 100644 index 0000000000..d2838c73f7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2104.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3a0f49301b31b4fa9b14861fef6b2096 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2105.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2105.cs new file mode 100644 index 0000000000..c308f7deaf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2105.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2105 : Skill + { + public const int SKILL_ID = 2105; + + public Skill2105() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2105Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2105Stub() : base(2105) + { + cls = 127; + name = "噪音专用"; + nativename = "噪音专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "风卷残云"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/风卷残云击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2105Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetCls () == -1 ? skill.GetLevel () * 0.05f : 0.2f * skill.GetLevel ()); + skill.GetVictim ().SetSlowpray (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2105.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2105.cs.meta new file mode 100644 index 0000000000..1edb9bf2f0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2105.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 21afaed70af9b450d82acc67c2954847 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2106.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2106.cs new file mode 100644 index 0000000000..3b65633fda --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2106.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2106 : Skill + { + public const int SKILL_ID = 2106; + + public Skill2106() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2106Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2106Stub() : base(2106) + { + cls = 127; + name = "魔音"; + nativename = "魔音"; + icon = "流水"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2106Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10 * skill.GetLevel ()); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2107); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2106.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2106.cs.meta new file mode 100644 index 0000000000..cc9a0f9aec --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2106.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c3dce8543ac2448e88ef282f56c51578 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2107.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2107.cs new file mode 100644 index 0000000000..7166715e0d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2107.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2107 : Skill + { + public const int SKILL_ID = 2107; + + public Skill2107() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2107Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2107Stub() : base(2107) + { + cls = 127; + name = "魔音专用"; + nativename = "魔音专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "绞杀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/绞杀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2107Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == -1 ? 10 : 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2107.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2107.cs.meta new file mode 100644 index 0000000000..9085f54cfa --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2107.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6bd965f8e0c004ae1abb82b48bac36c5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2108.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2108.cs new file mode 100644 index 0000000000..538ffb0917 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2108.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2108 : Skill + { + public const int SKILL_ID = 2108; + + public Skill2108() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2108Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2108Stub() : base(2108) + { + cls = 127; + name = "摄魂"; + nativename = "摄魂"; + icon = "流星赶月"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2108Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2109); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2108.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2108.cs.meta new file mode 100644 index 0000000000..d57c872a31 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2108.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 340ee76413ff74f72b60bde7b2d75d17 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2109.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2109.cs new file mode 100644 index 0000000000..c05d2e34d1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2109.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2109 : Skill + { + public const int SKILL_ID = 2109; + + public Skill2109() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2109Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2109Stub() : base(2109) + { + cls = 127; + name = "摄魂专用"; + nativename = "摄魂专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "和风拂面"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/和风拂面击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2109Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (-skill.GetLevel () * 3); + skill.GetVictim ().SetAp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2109.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2109.cs.meta new file mode 100644 index 0000000000..44fc7627fc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2109.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: f6b92db064e944a5994593a7278867d9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2110.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2110.cs new file mode 100644 index 0000000000..aed8787d15 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2110.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2110 : Skill + { + public const int SKILL_ID = 2110; + + public Skill2110() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2110Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2110Stub() : base(2110) + { + cls = 127; + name = "锋锐"; + nativename = "锋锐"; + icon = "神兵利器"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2110Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 5 * skill.GetLevel ()); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2111); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2110.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2110.cs.meta new file mode 100644 index 0000000000..26d04bfab9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2110.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 177e031280f9540bf993197bd84afde4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2111.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2111.cs new file mode 100644 index 0000000000..6d693ced21 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2111.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2111 : Skill + { + public const int SKILL_ID = 2111; + + public Skill2111() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2111Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2111Stub() : base(2111) + { + cls = 127; + name = "锋锐专用"; + nativename = "锋锐专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "咆哮"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/咆哮击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2111Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetT0 () / 4); + skill.GetVictim ().SetGoldhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2111.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2111.cs.meta new file mode 100644 index 0000000000..0f1e58ff33 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2111.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 99a957dcf583d43e9b33cec17f3b7317 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2112.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2112.cs new file mode 100644 index 0000000000..15102d2b23 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2112.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2112 : Skill + { + public const int SKILL_ID = 2112; + + public Skill2112() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2112Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2112Stub() : base(2112) + { + cls = 127; + name = "禁空"; + nativename = "禁空"; + icon = "羽刃"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2112Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel ()); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2113); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2112.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2112.cs.meta new file mode 100644 index 0000000000..4e7f8ffdf6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2112.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 44f86523bea014c6e93f94180b891bd6 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2113.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2113.cs new file mode 100644 index 0000000000..f675e5d34a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2113.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2113 : Skill + { + public const int SKILL_ID = 2113; + + public Skill2113() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2113Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2113Stub() : base(2113) + { + cls = 127; + name = "禁空专用"; + nativename = "禁空专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "五色符"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/五色符飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/五色符中招.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)2; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 5; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = true; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.5f, 0.5f, 0.5f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)2; + // m_param = new GFX_SKILL_PARAM(); + // m_param.fVal = 0.5f; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2113Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetNofly (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2113.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2113.cs.meta new file mode 100644 index 0000000000..6533a013ab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2113.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 863d985dee79d40389191a020885b2e5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2114.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2114.cs new file mode 100644 index 0000000000..c00265ead2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2114.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2114 : Skill + { + public const int SKILL_ID = 2114; + + public Skill2114() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2114Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2114Stub() : base(2114) + { + cls = 127; + name = "侵蚀"; + nativename = "侵蚀"; + icon = "妖雾击"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2114Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2115); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2114.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2114.cs.meta new file mode 100644 index 0000000000..5c8f609fff --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2114.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ff9bef6448d1946b1b5a50348e5ce10d \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2115.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2115.cs new file mode 100644 index 0000000000..e00b8de4f9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2115.cs @@ -0,0 +1,158 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2115 : Skill + { + public const int SKILL_ID = 2115; + + public Skill2115() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2115Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2115Stub() : base(2115) + { + cls = 127; + name = "侵蚀专用"; + nativename = "侵蚀专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "避水诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/避水诀击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2115Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetCls () == -1 ? skill.GetLevel () * 0.05f : 0.3f * skill.GetLevel ()); + skill.GetVictim ().SetDecattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (7000); + skill.GetVictim ().SetRatio (skill.GetPlayer ().GetCls () == -1 ? skill.GetLevel () * 0.05f : 0.3f * skill.GetLevel ()); + skill.GetVictim ().SetDecmagic (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2115.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2115.cs.meta new file mode 100644 index 0000000000..134dbe8879 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2115.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7a6954f9c5bf24f36b765202149a18db \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2116.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2116.cs new file mode 100644 index 0000000000..169eb3d803 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2116.cs @@ -0,0 +1,193 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2116 : Skill + { + public const int SKILL_ID = 2116; + + public Skill2116() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2116Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2116Stub() : base(2116) + { + cls = 127; + name = "挑衅"; + nativename = "挑衅"; + icon = "震慑"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2116Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 30); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2117); + skill.GetVictim ().SetValue (skill.GetLevel ()); + skill.GetVictim ().SetAttachstatetotarget (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2116.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2116.cs.meta new file mode 100644 index 0000000000..5b42643d2a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2116.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 382470b86de2b4ba3b320b3cdcee554b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2117.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2117.cs new file mode 100644 index 0000000000..1dddc4e042 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2117.cs @@ -0,0 +1,153 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2117 : Skill + { + public const int SKILL_ID = 2117; + + public Skill2117() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2117Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2117Stub() : base(2117) + { + cls = 127; + name = "挑衅专用"; + nativename = "挑衅专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "碎灵咒"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/碎灵咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2117Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetLevel () * 10000); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2117.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2117.cs.meta new file mode 100644 index 0000000000..ac9bcc1959 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2117.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 27b8e1a089c3146369cab04b651c5c25 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2118.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2118.cs new file mode 100644 index 0000000000..de2284e9b8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2118.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2118 : Skill + { + public const int SKILL_ID = 2118; + + public Skill2118() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2118Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2118Stub() : base(2118) + { + cls = 127; + name = "狂热"; + nativename = "狂热"; + icon = "火海刀山"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2118Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel ()); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (2119); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetAttachstatetoself (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2118.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2118.cs.meta new file mode 100644 index 0000000000..143c2dd197 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2118.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: e07d33217174b4011b468dc9fc8455b8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2119.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2119.cs new file mode 100644 index 0000000000..e1d5231248 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2119.cs @@ -0,0 +1,154 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2119 : Skill + { + public const int SKILL_ID = 2119; + + public Skill2119() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2119Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2119Stub() : base(2119) + { + cls = 127; + name = "狂热专用"; + nativename = "狂热专用"; + icon = "宠物鼓舞"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "千斤锤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/千金锤击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2119Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetFastattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2119.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2119.cs.meta new file mode 100644 index 0000000000..36b9936fbc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2119.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: eaf880e85676b4439b631531336ae95b \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2120.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2120.cs new file mode 100644 index 0000000000..d003a66ead --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2120.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2120 : Skill + { + public const int SKILL_ID = 2120; + + public Skill2120() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2120Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2120Stub() : base(2120) + { + cls = 127; + name = "精准"; + nativename = "精准"; + icon = "百步穿杨"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2120Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetIncaccuracy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2120.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2120.cs.meta new file mode 100644 index 0000000000..eee5eab49a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2120.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b2472e9570bec474faedf4abc2c3245a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2121.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2121.cs new file mode 100644 index 0000000000..77ded93c13 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2121.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2121 : Skill + { + public const int SKILL_ID = 2121; + + public Skill2121() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2121Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2121Stub() : base(2121) + { + cls = 127; + name = "屠魔"; + nativename = "屠魔"; + icon = "化血成魔"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2121Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.05f * skill.GetLevel () + 0.05f); + skill.GetVictim ().SetEnhanceskilldamage2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2121.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2121.cs.meta new file mode 100644 index 0000000000..e7507dbbca --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2121.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2acf1d7d10942454bb54949b7669c81f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2122.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2122.cs new file mode 100644 index 0000000000..9a8046c0d4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2122.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2122 : Skill + { + public const int SKILL_ID = 2122; + + public Skill2122() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2122Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2122Stub() : base(2122) + { + cls = 127; + name = "闪灵"; + nativename = "闪灵"; + icon = "疾驰"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2122Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.05f * skill.GetLevel ()); + skill.GetVictim ().SetIncdamagedodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2122.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2122.cs.meta new file mode 100644 index 0000000000..1b375c8197 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2122.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6bf026302490d4f0f9816812d515f922 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2123.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2123.cs new file mode 100644 index 0000000000..ecc008b038 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2123.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2123 : Skill + { + public const int SKILL_ID = 2123; + + public Skill2123() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2123Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2123Stub() : base(2123) + { + cls = 127; + name = "再生"; + nativename = "再生"; + icon = "和风拂面"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "极度乾坤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/极度乾坤击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 7000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2123Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (30000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * skill.GetLevel () * 0.1f); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2123.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2123.cs.meta new file mode 100644 index 0000000000..61c2cd7563 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2123.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 06770062fd50540cf9e80c767fe7d646 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2124.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2124.cs new file mode 100644 index 0000000000..de29118934 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2124.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2124 : Skill + { + public const int SKILL_ID = 2124; + + public Skill2124() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2124Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2124Stub() : base(2124) + { + cls = 127; + name = "不屈"; + nativename = "不屈"; + icon = "寒冰护甲"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2124Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (4 * skill.GetLevel ()); + skill.GetVictim ().SetAdddefencedegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2124.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2124.cs.meta new file mode 100644 index 0000000000..9716cd17b3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2124.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 736bf1b1d4e024c179bd1dae96f4090f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2125.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2125.cs new file mode 100644 index 0000000000..7099c033e8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2125.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2125 : Skill + { + public const int SKILL_ID = 2125; + + public Skill2125() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2125Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2125Stub() : base(2125) + { + cls = 127; + name = "斗志"; + nativename = "斗志"; + icon = "夺命九式"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2125Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (4 * skill.GetLevel ()); + skill.GetVictim ().SetAddattackdegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2125.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2125.cs.meta new file mode 100644 index 0000000000..62e6644a00 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2125.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c0f19447e94c14a3486b7cda71971767 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2126.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2126.cs new file mode 100644 index 0000000000..b5060f88e5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2126.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2126 : Skill + { + public const int SKILL_ID = 2126; + + public Skill2126() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2126Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2126Stub() : base(2126) + { + cls = 127; + name = "战神"; + nativename = "战神"; + icon = "润泽"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2126Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (3 * skill.GetLevel ()); + skill.GetVictim ().SetAdddefencedegree (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (3 * skill.GetLevel ()); + skill.GetVictim ().SetAddattackdegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2126.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2126.cs.meta new file mode 100644 index 0000000000..6e59867e97 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2126.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c12bcd7f826684742bc8fd8d0032ebb2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2127.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2127.cs new file mode 100644 index 0000000000..4b6214ac0a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2127.cs @@ -0,0 +1,201 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2127 : Skill + { + public const int SKILL_ID = 2127; + + public Skill2127() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2127Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2127Stub() : base(2127) + { + cls = 127; + name = "神魂"; + nativename = "神魂"; + icon = "般若心经"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2127Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.55f); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetDechurt3 (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (2 * skill.GetLevel ()); + skill.GetVictim ().SetAdddefencedegree (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetValue (2 * skill.GetLevel ()); + skill.GetVictim ().SetAddattackdegree (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2127.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2127.cs.meta new file mode 100644 index 0000000000..d3b10977bd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2127.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 760aa9ac56dfd422eb7314a4a6affe67 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2128.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2128.cs new file mode 100644 index 0000000000..c2ebc28487 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2128.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2128 : Skill + { + public const int SKILL_ID = 2128; + + public Skill2128() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2128Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2128Stub() : base(2128) + { + cls = 127; + name = "霸体"; + nativename = "霸体"; + icon = "残体咒"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2128Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetFreemove (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2128.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2128.cs.meta new file mode 100644 index 0000000000..db1222bed9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2128.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 548852644c53f4a9c91c69009fcb308c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2129.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2129.cs new file mode 100644 index 0000000000..9b8518c43d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2129.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2129 : Skill + { + public const int SKILL_ID = 2129; + + public Skill2129() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2129Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2129Stub() : base(2129) + { + cls = 127; + name = "自愈"; + nativename = "自愈"; + icon = "荆棘阵"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "极度乾坤"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/极度乾坤击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 7000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2129Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 90000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetScaleinchp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2129.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2129.cs.meta new file mode 100644 index 0000000000..fe68851494 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2129.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0d3be78de82b248db96811d4a67f53f8 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2130.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2130.cs new file mode 100644 index 0000000000..cbcca90f71 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2130.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2130 : Skill + { + public const int SKILL_ID = 2130; + + public Skill2130() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2130Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(0.2f * skill.GetLevel() * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2130Stub() : base(2130) + { + cls = 127; + name = "火拳"; + nativename = "火拳"; + icon = "拳术精通"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "火煞天灯"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/火煞天灯击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = false; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2130Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2130.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2130.cs.meta new file mode 100644 index 0000000000..de1620abd4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2130.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 753552c8fbea74357b56010292854ba3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2131.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2131.cs new file mode 100644 index 0000000000..1a05bf53f7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2131.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2131 : Skill + { + public const int SKILL_ID = 2131; + + public Skill2131() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2131Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(0.4f + skill.GetLevel() * 0.2f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2131Stub() : base(2131) + { + cls = 127; + name = "裁决"; + nativename = "裁决"; + icon = "霸王暴怒"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2131Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2131.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2131.cs.meta new file mode 100644 index 0000000000..6eaf82bb73 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2131.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cc19812fd2def460ea5aae187f487b38 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2132.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2132.cs new file mode 100644 index 0000000000..56ee84b539 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2132.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2132 : Skill + { + public const int SKILL_ID = 2132; + + public Skill2132() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2132Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-0.4f + skill.GetLevel() * 0.2f); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2132Stub() : base(2132) + { + cls = 127; + name = "狙击"; + nativename = "狙击"; + icon = "尖牙之矢"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2132Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2132.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2132.cs.meta new file mode 100644 index 0000000000..43c2435b22 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2132.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b49bdf5e394f340b9881db694c829b10 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2133.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2133.cs new file mode 100644 index 0000000000..e2019c960e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2133.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2133 : Skill + { + public const int SKILL_ID = 2133; + + public Skill2133() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2133Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2133Stub() : base(2133) + { + cls = 127; + name = "终结"; + nativename = "终结"; + icon = "天师护法"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2133Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue ((1 + 0.5f * skill.GetLevel ()) * skill.GetT0 () * + (1 - skill.GetPlayer ().GetHp () * 0.1f / (skill.GetPlayer ().GetMaxhp () * 0.1f)) / 4 + 10); + skill.GetVictim ().SetPhysichurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2133.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2133.cs.meta new file mode 100644 index 0000000000..650ebcbf02 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2133.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 19e5ea76bdaaa4368bccdab2e2b8e2d3 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2134.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2134.cs new file mode 100644 index 0000000000..fd06aa3c19 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2134.cs @@ -0,0 +1,184 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2134 : Skill + { + public const int SKILL_ID = 2134; + + public Skill2134() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2134Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(1.1f + 0.3f * skill.GetLevel()); + skill.SetDamage(0.33f * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2134Stub() : base(2134) + { + cls = 127; + name = "破空"; + nativename = "破空"; + icon = "翼击"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0x02; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2134Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 800; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2134.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2134.cs.meta new file mode 100644 index 0000000000..c60c848c1d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2134.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 30d002ac452434a4e86dfd18853c68c7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2135.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2135.cs new file mode 100644 index 0000000000..0f7f91665d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2135.cs @@ -0,0 +1,191 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2135 : Skill + { + public const int SKILL_ID = 2135; + + public Skill2135() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2135Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 400; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 600; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2135Stub() : base(2135) + { + cls = 127; + name = "怒吼"; + nativename = "怒吼"; + icon = "咆哮"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2135Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 600; + public override int GetCoolingtime(Skill skill) => 20000; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 30000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetT0 () * skill.GetLevel () * 2); + skill.GetVictim ().SetAssault (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetMaxhp (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2135.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2135.cs.meta new file mode 100644 index 0000000000..174c344941 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2135.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9e3ddc1aea5364ad991bdd926bb604da \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2136.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2136.cs new file mode 100644 index 0000000000..f2cc6d7c96 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2136.cs @@ -0,0 +1,192 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2136 : Skill + { + public const int SKILL_ID = 2136; + + public Skill2136() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2136Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2136Stub() : base(2136) + { + cls = 127; + name = "猎魔"; + nativename = "猎魔"; + icon = "噬血"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2136Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 10000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetAmount (3 * skill.GetLevel ()); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetIncpenres (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); + public float GetTalent1(PlayerWrapper player) => player.GetLevel (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2136.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2136.cs.meta new file mode 100644 index 0000000000..ed08d9983c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2136.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: de9f3ca7c4c414974ae826a212323501 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2137.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2137.cs new file mode 100644 index 0000000000..6f11d45868 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2137.cs @@ -0,0 +1,183 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2137 : Skill + { + public const int SKILL_ID = 2137; + + public Skill2137() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2137Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 650; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(2 * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2137Stub() : base(2137) + { + cls = 127; + name = "归一"; + nativename = "归一"; + icon = "宠物鼓舞"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神猴悟空_击中"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/神猴悟空_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2137Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 650; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2137.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2137.cs.meta new file mode 100644 index 0000000000..f649d349ab --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2137.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d8fd8184856004182b05eafc5087281f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2138.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2138.cs new file mode 100644 index 0000000000..9dfbcfa1a5 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2138.cs @@ -0,0 +1,199 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2138 : Skill + { + public const int SKILL_ID = 2138; + + public Skill2138() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2138Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(2); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2138Stub() : base(2138) + { + cls = 127; + name = "横扫六合"; + nativename = "横扫六合"; + icon = "旋刃"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神猴悟空_击中"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/神猴悟空_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2138Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2500; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetFix (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (1800000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetIncattack (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2138.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2138.cs.meta new file mode 100644 index 0000000000..1f50f8ed52 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2138.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a40167a9754ed44cd9afaa81f4a3cb7f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2139.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2139.cs new file mode 100644 index 0000000000..039231639a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2139.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2139 : Skill + { + public const int SKILL_ID = 2139; + + public Skill2139() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2139Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2139Stub() : base(2139) + { + cls = 127; + name = "千斤压顶"; + nativename = "千斤压顶"; + icon = "泰山压顶"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "神猴悟空_千斤压顶_击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/神猴悟空_千斤压顶_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2139Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1300; + public override int GetCoolingtime(Skill skill) => 15000; + public float GetRadius(Skill skill) => 6f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == -1 ? 0 : 100); + skill.GetVictim ().SetTime (3000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2139.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2139.cs.meta new file mode 100644 index 0000000000..4f46ebcf09 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2139.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3bc5da158a4f84d6ebb786f58da11437 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2140.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2140.cs new file mode 100644 index 0000000000..57ede78c9f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2140.cs @@ -0,0 +1,195 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2140 : Skill + { + public const int SKILL_ID = 2140; + + public Skill2140() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2140Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWaterdamage(2 * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2140Stub() : base(2140) + { + cls = 127; + name = "冰棱"; + nativename = "冰棱"; + icon = "寒霜"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 4; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "鲲鹏_冰凌击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/鲲鹏_冰凌击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.3f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2140Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetCls () == + -1 ? 1.5f * skill.GetT0 () * (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - + skill.GetPlayer ().GetDefenddegree () : 0)) : 100); + skill.GetVictim ().SetWaterhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2140.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2140.cs.meta new file mode 100644 index 0000000000..282f4c8aa6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2140.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: edd563b4f885841bcb7d891ed02b1c12 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2141.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2141.cs new file mode 100644 index 0000000000..a3b1cc16cb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2141.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2141 : Skill + { + public const int SKILL_ID = 2141; + + public Skill2141() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2141Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetWooddamage(2 * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2141Stub() : base(2141) + { + cls = 127; + name = "落叶飞花"; + nativename = "落叶飞花"; + icon = "枯木逢春"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "鲲鹏_落花飞叶击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/鲲鹏_落花飞叶飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/鲲鹏_落花飞叶击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 150; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2141Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 1500; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetValue (skill.GetPlayer ().GetCls () == + -1 ? skill.GetT0 () * (1 + + 0.01f * (skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () > + 0 ? skill.GetT1 () - skill.GetPlayer ().GetDefenddegree () : 0)) : 100); + skill.GetVictim ().SetWoodhurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; + public float GetTalent0(PlayerWrapper player) => player.GetAttack (); + public float GetTalent1(PlayerWrapper player) => player.GetAttackdegree (); +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2141.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2141.cs.meta new file mode 100644 index 0000000000..9d13398537 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2141.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: cda759f00f10944108121cee164d8888 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2142.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2142.cs new file mode 100644 index 0000000000..ddabb1bf81 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2142.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2142 : Skill + { + public const int SKILL_ID = 2142; + + public Skill2142() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2142Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetDamage(2 * skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2142Stub() : base(2142) + { + cls = 127; + name = "五指断岳"; + nativename = "五指断岳"; + icon = "破天"; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "鲲鹏_五指断岳击中"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/鲲鹏_五指断岳飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "怪物/宠物技能/鲲鹏_五指断岳击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)1; + m_dwFlyTime = 1500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.0f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 3; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2142Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1500; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 27f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == -1 ? 100 : 0); + skill.GetVictim ().SetTime (4000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2142.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2142.cs.meta new file mode 100644 index 0000000000..90a78f2c82 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2142.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b52bad11a50cc4b86a858a3626b3d304 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2143.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2143.cs new file mode 100644 index 0000000000..a1fa414fa0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2143.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2143 : Skill + { + public const int SKILL_ID = 2143; + + public Skill2143() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2143Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 300; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2143Stub() : base(2143) + { + cls = 127; + name = "防御塔群体降血"; + nativename = "防御塔群体降血"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = false; + allow_water = false; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "2残体咒"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/残体咒击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2143Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 300; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 15f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 14f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 1000; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == -1 ? 100 : 0); + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetRatio (0.33f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetRatio (0.10f); + skill.GetVictim ().SetDechp (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2143.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2143.cs.meta new file mode 100644 index 0000000000..60a6501a4e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2143.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 99080e063700444668c989b201d66da5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2144.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2144.cs new file mode 100644 index 0000000000..79622a5078 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2144.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2144 : Skill + { + public const int SKILL_ID = 2144; + + public Skill2144() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2144Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2144Stub() : base(2144) + { + cls = 127; + name = "插入光效波波"; + nativename = "插入光效波波"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2144Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetCleardebuff (1); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (skill.GetLevel () == 1 ? 113 : (24 * skill.GetLevel ())); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2144.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2144.cs.meta new file mode 100644 index 0000000000..7d891741dd --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2144.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 53120437e2d0b4019bd7ea83151b3e2a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2145.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2145.cs new file mode 100644 index 0000000000..cade0768a3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2145.cs @@ -0,0 +1,189 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2145 : Skill + { + public const int SKILL_ID = 2145; + + public Skill2145() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2145Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2145Stub() : base(2145) + { + cls = 127; + name = "插入光效守卫"; + nativename = "插入光效守卫"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "仙"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/仙技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2145Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetClearbuff (1); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (10 * skill.GetLevel () + 50); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInsertvstate (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2145.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2145.cs.meta new file mode 100644 index 0000000000..77d6eec9cb --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2145.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a039eee9c16524bf788993fb1e6bf259 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2146.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2146.cs new file mode 100644 index 0000000000..6dc2485870 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2146.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2146 : Skill + { + public const int SKILL_ID = 2146; + + public Skill2146() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2146Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2146Stub() : base(2146) + { + cls = 127; + name = "魅影"; + nativename = "魅影"; + icon = "身形精通"; + max_level = 10; + type = 10; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2146Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 30000; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 3f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetIncdebuffdodge (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2146.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2146.cs.meta new file mode 100644 index 0000000000..5ddd8114ed --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2146.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ab10138f2a48142c590e865382c1d245 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2147.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2147.cs new file mode 100644 index 0000000000..4ed6e7ff2d --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2147.cs @@ -0,0 +1,175 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2147 : Skill + { + public const int SKILL_ID = 2147; + + public Skill2147() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2147Stub : SkillStub + { + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 800; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 700; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetRatio(-1 + 1 * skill.GetLevel()); + skill.SetDamage(skill.GetAttack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2147Stub() : base(2147) + { + cls = 127; + name = "99FB机关师技能"; + nativename = "99FB机关师技能"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物炼狱君主技能攻击"; + doenchant = 0; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/炼狱君主技能击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2147Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 700; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 50f; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 60f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2147.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2147.cs.meta new file mode 100644 index 0000000000..507b8ac297 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2147.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b342bb22e8901486592b99156f98e8d0 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2148.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2148.cs new file mode 100644 index 0000000000..9e0758060a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2148.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2148 : Skill + { + public const int SKILL_ID = 2148; + + public Skill2148() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2148Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2148Stub() : base(2148) + { + cls = 127; + name = "赤龙索测试"; + nativename = "赤龙索测试"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 5; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "武侠_龙爪手"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/龙爪手_飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)8; + m_TargetMode = (GfxTargetMode)9; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 1100; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2148Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (1000); + skill.GetVictim ().SetValue (13); + skill.GetVictim ().SetPullover (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2148.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2148.cs.meta new file mode 100644 index 0000000000..032fdc20f8 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2148.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ec2d1904d00274945a669f88b356cce2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2149.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2149.cs new file mode 100644 index 0000000000..7ca575c7bf --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2149.cs @@ -0,0 +1,196 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2149 : Skill + { + public const int SKILL_ID = 2149; + + public Skill2149() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2149Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2149Stub() : base(2149) + { + cls = 127; + name = "安抚"; + nativename = "安抚"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "真灵护体"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/真灵护体击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2149Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 6000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetMaxhp () == + 2013 ? (skill.GetPlayer ().GetLevel () == + 3 ? (skill.GetPlayer ().GetAttack () == skill.GetLevel ()? 100 : 0) : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 1.2f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (15000); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetValue (41 + skill.GetLevel ()); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2149.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2149.cs.meta new file mode 100644 index 0000000000..0c028f1c38 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2149.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7847384da87b4486f896f70a2f260505 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2150.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2150.cs new file mode 100644 index 0000000000..97847d670b --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2150.cs @@ -0,0 +1,187 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2150 : Skill + { + public const int SKILL_ID = 2150; + + public Skill2150() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2150Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2150Stub() : base(2150) + { + cls = 127; + name = "乌云"; + nativename = "乌云"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "真灵护体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/真灵护体击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2150Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 8000; + public float GetRadius(Skill skill) => 20f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetMaxhp () == + 2013 ? (skill.GetPlayer ().GetLevel () == 3 ? 100 : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 1.2f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2150.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2150.cs.meta new file mode 100644 index 0000000000..bcba29d507 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2150.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 3f546fdfdde0649ec966293bc7af204c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2151.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2151.cs new file mode 100644 index 0000000000..fdacd3acf0 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2151.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2151 : Skill + { + public const int SKILL_ID = 2151; + + public Skill2151() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2151Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 900; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2151Stub() : base(2151) + { + cls = 127; + name = "捕捉"; + nativename = "捕捉"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "真灵护体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/真灵护体击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2151Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 900; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 25f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetMaxhp () == + 707 ? (skill.GetPlayer ().GetLevel () == + 77 ? (skill.GetPlayer ().GetAttack () == 1 ? 100 : 0) : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 1.2f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 30f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2151.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2151.cs.meta new file mode 100644 index 0000000000..66ce71f97c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2151.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 771195c058dfe4599a80003c5d88ada9 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2152.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2152.cs new file mode 100644 index 0000000000..8badcaeca3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2152.cs @@ -0,0 +1,122 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2152 : Skill + { + public const int SKILL_ID = 2152; + + public Skill2152() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2152Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2152Stub() : base(2152) + { + cls = 127; + name = "龙变身"; + nativename = "龙变身"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2152Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (skill.GetLevel () * 60000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetValue (46); + skill.GetVictim ().SetBeastieform (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2152.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2152.cs.meta new file mode 100644 index 0000000000..09c72b1fbc --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2152.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 0df89cc1d7be64ed1a6cebcf5547961c \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2153.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2153.cs new file mode 100644 index 0000000000..b57e2dba8e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2153.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2153 : Skill + { + public const int SKILL_ID = 2153; + + public Skill2153() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2153Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2153Stub() : base(2153) + { + cls = 127; + name = "企之愤怒"; + nativename = "企之愤怒"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "真灵护体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/真灵护体击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2153Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 10f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetMaxhp () == + 2013 ? (skill.GetPlayer ().GetLevel () == + 150 ? (skill.GetPlayer ().GetAttack () == 5 ? 100 : 0) : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 1.2f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2153.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2153.cs.meta new file mode 100644 index 0000000000..95f8c755c4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2153.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 50ca4482bf0bd4c57be15e823c8748e2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2154.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2154.cs new file mode 100644 index 0000000000..eb24d9ff56 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2154.cs @@ -0,0 +1,188 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2154 : Skill + { + public const int SKILL_ID = 2154; + + public Skill2154() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2154Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 3000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 100; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2154Stub() : base(2154) + { + cls = 127; + name = "企之告白"; + nativename = "企之告白"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = "真灵护体"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/真灵护体击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 4000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2154Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 100; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 20f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetPlayer ().GetCls () == + -1 ? (skill.GetPlayer ().GetMaxhp () == + 2013 ? (skill.GetPlayer ().GetLevel () == + 150 ? (skill.GetPlayer ().GetAttack () == 6 ? 100 : 0) : 0) : 0) : 0); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 1.2f); + skill.GetVictim ().SetDirecthurt (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2154.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2154.cs.meta new file mode 100644 index 0000000000..8eec2684ea --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2154.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 1b5dad7f0e5224bef9b50b17fa512a05 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2155.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2155.cs new file mode 100644 index 0000000000..278819fbc9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2155.cs @@ -0,0 +1,152 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2155 : Skill + { + public const int SKILL_ID = 2155; + + public Skill2155() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2155Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2155Stub() : base(2155) + { + cls = 127; + name = "端午节粽子"; + nativename = "端午节粽子"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2155Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (3600000); + skill.GetVictim ().SetAmount (2 * skill.GetLevel ()); + skill.GetVictim ().SetValue (2 * skill.GetLevel ()); + skill.GetVictim ().SetIncpenres (1); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetFlower2 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2155.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2155.cs.meta new file mode 100644 index 0000000000..44057f7054 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2155.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9cf448856c4ab4315a616a3101b259c4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2156.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2156.cs new file mode 100644 index 0000000000..97bca76435 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2156.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2156 : Skill + { + public const int SKILL_ID = 2156; + + public Skill2156() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2156Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 500; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2156Stub() : base(2156) + { + cls = 127; + name = "传情灵鹊"; + nativename = "传情灵鹊"; + icon = "寒冰领域"; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 15; + effect = "怪物风球术"; + doenchant = 1; + dobless = 1; + commoncooldown = 992; + commoncooldowntime = 10000; + m_szFlyGfxPath = "策划联入/怪物技能/飞行/风球飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/怪物技能/击中/电击中效果.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 500; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2156Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 500; + public override int GetCoolingtime(Skill skill) => 1000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (skill.GetLevel () * 60000); + skill.GetVictim ().SetFlower4 (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (skill.GetLevel () * 60000); + skill.GetVictim ().SetFlower4 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 25f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2156.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2156.cs.meta new file mode 100644 index 0000000000..223cb2d985 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2156.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 2c6b996155f9a48d1882fc79fff8745a \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2157.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2157.cs new file mode 100644 index 0000000000..c7d9566594 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2157.cs @@ -0,0 +1,128 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2157 : Skill + { + public const int SKILL_ID = 2157; + + public Skill2157() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2157Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2157Stub() : base(2157) + { + cls = 127; + name = "副本提升状态"; + nativename = "副本提升状态"; + icon = ""; + max_level = 1; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 3; + effect = ""; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2157Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetTime (300000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetAmount (0); + skill.GetVictim ().SetValue (20); + skill.GetVictim ().SetIncmaxhpatkdfdlevel (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0.2f); + skill.GetVictim ().SetEnhanceskilldamage (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 35f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2157.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2157.cs.meta new file mode 100644 index 0000000000..3396b466d4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2157.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 6ad8fc38e542349de83fd180361ca7a7 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2158.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2158.cs new file mode 100644 index 0000000000..d66eb1cfee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2158.cs @@ -0,0 +1,155 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2158 : Skill + { + public const int SKILL_ID = 2158; + + public Skill2158() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2158Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2158Stub() : base(2158) + { + cls = 127; + name = "国庆节加飞速游速"; + nativename = "国庆节加飞速游速"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "御风诀"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "怪物/宠物技能/小精灵风速子效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/空gfx.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)9; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = false; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)1; + // m_vSize = new Vector3(3.0f, 3.0f, 3.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2158Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 1 ? 100 : 0); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetFastfly (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 2 ? 100 : 0); + skill.GetVictim ().SetTime (12000); + skill.GetVictim ().SetRatio (0.8f); + skill.GetVictim ().SetFastswim (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2158.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2158.cs.meta new file mode 100644 index 0000000000..17298efc18 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2158.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: db7fa43905ed04eaeb33b85182956a3f \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2159.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2159.cs new file mode 100644 index 0000000000..3b5fc19436 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2159.cs @@ -0,0 +1,163 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2159 : Skill + { + public const int SKILL_ID = 2159; + + public Skill2159() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2159Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2159Stub() : base(2159) + { + cls = 127; + name = "冥兽城任务DEBUFF"; + nativename = "冥兽城任务DEBUFF"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2159Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.3f); + skill.GetVictim ().SetInchurt (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.6f); + skill.GetVictim ().SetSlow (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetAmount (600); + skill.GetVictim ().SetValue (0); + skill.GetVictim ().SetApleakcont (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (5000); + skill.GetVictim ().SetDizzy (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2159.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2159.cs.meta new file mode 100644 index 0000000000..4dcf5e4c27 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2159.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 847d5d072139041009cb1e945a5a74ae \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2160.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2160.cs new file mode 100644 index 0000000000..0965cec02c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2160.cs @@ -0,0 +1,197 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2160 : Skill + { + public const int SKILL_ID = 2160; + + public Skill2160() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2160Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 200; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2160Stub() : base(2160) + { + cls = 127; + name = "冥兽城BOSS狂暴"; + nativename = "冥兽城BOSS狂暴"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 3; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2160Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 200; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.05f * skill.GetLevel ()); + skill.GetVictim ().SetHeal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetIncattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (60000); + skill.GetVictim ().SetRatio (0.1f * skill.GetLevel ()); + skill.GetVictim ().SetIncmagic (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (6000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2160.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2160.cs.meta new file mode 100644 index 0000000000..fc88a017b2 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2160.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 03de54f05625b4a5c989387faa66e7d5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2161.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2161.cs new file mode 100644 index 0000000000..62aa42a398 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2161.cs @@ -0,0 +1,157 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2161 : Skill + { + public const int SKILL_ID = 2161; + + public Skill2161() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2161Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + private static readonly int[] RequiredItemArray = { 0 }; + private static readonly int[] RequiredMoneyArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2161Stub() : base(2161) + { + cls = 127; + name = "魔影无形"; + nativename = "魔影无形"; + icon = "天师护法"; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 2; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 1; + showorder = 9202; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2161Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 10f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + public override int GetRequiredItem(Skill skill) => RequiredItemArray[skill.GetLevel() - 1]; + public override int GetRequiredMoney(Skill skill) => RequiredMoneyArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (240000 + 60000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (0); + skill.GetVictim ().SetAmount (50); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInvisible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 10f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2161.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2161.cs.meta new file mode 100644 index 0000000000..3d1721224c --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2161.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 8687d3b299e2c405b9a14cdbf3435ea2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2162.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2162.cs new file mode 100644 index 0000000000..8f1504c704 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2162.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2162 : Skill + { + public const int SKILL_ID = 2162; + + public Skill2162() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2162Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.SetFiredamage(skill.GetMagicattack()); + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2162Stub() : base(2162) + { + cls = 127; + name = "隐龙窟最终BOSS瞬发AOE"; + nativename = "隐龙窟最终BOSS瞬发AOE"; + icon = ""; + max_level = 10; + type = 1; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "1霸王暴怒"; + doenchant = 1; + dobless = 1; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/霸王暴怒击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.5f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 2; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill2162Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 80f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 60f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 10); + skill.GetVictim ().SetTime (18000); + skill.GetVictim ().SetAmount (2500 * skill.GetLevel () * 6); + skill.GetVictim ().SetThunder (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (11000); + skill.GetVictim ().SetShowicon (1); + skill.GetVictim ().SetImmunemetal (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetBreak (1); + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetRatio (0.5f); + skill.GetVictim ().SetAmount (10); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInchurt3 (1); + return true; + } + public bool BlessMe(Skill skill) + { + skill.GetVictim ().SetTime (120000); + skill.GetVictim ().SetRatio (0.1f); + skill.GetVictim ().SetAmount (10); + skill.GetVictim ().SetValue (1); + skill.GetVictim ().SetInchurt3 (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2162.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2162.cs.meta new file mode 100644 index 0000000000..cddf295cb9 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2162.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 758c740f4c3aa48e6b9379f8097b91c5 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2163.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2163.cs new file mode 100644 index 0000000000..dab41a452e --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2163.cs @@ -0,0 +1,150 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2163 : Skill + { + public const int SKILL_ID = 2163; + + public Skill2163() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2163Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2163Stub() : base(2163) + { + cls = 127; + name = "物品技能-垂直击飞-玩家"; + nativename = "物品技能-垂直击飞-玩家"; + icon = ""; + max_level = 10; + type = 4; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + clslimit = 0; + time_type = 1; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); +#endif + } + + ~Skill2163Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 0; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 0f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (2000); + skill.GetVictim ().SetValue (10 * skill.GetLevel ()); + skill.GetVictim ().SetKnockup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2163.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2163.cs.meta new file mode 100644 index 0000000000..8dcb25045f --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2163.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7eda0ca8095e444df9321e2af2ea33d1 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2164.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2164.cs new file mode 100644 index 0000000000..6c2f473ba1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2164.cs @@ -0,0 +1,171 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2164 : Skill + { + public const int SKILL_ID = 2164; + + public Skill2164() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2164Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2164Stub() : base(2164) + { + cls = 127; + name = "传送策划小屋"; + nativename = "传送策划小屋"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 7; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "巫师_冥王乐土"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/冥王乐土_击中.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill2164Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 4000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 149); + skill.GetVictim ().SetTime (1000); + skill.GetVictim ().SetRatio (148); + skill.GetVictim ().SetAmount (33); + skill.GetVictim ().SetValue (313); + skill.GetVictim ().SetDelaytransmit (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 50f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2164.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2164.cs.meta new file mode 100644 index 0000000000..df5d8a63c3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2164.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: d6bfc3a501ca848eca79a5f7f190f808 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2165.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2165.cs new file mode 100644 index 0000000000..ac85c1edf4 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2165.cs @@ -0,0 +1,169 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2165 : Skill + { + public const int SKILL_ID = 2165; + + public Skill2165() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2165Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 1000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2165Stub() : base(2165) + { + cls = 127; + name = "垂直击飞-玩家"; + nativename = "垂直击飞-玩家"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 1; + effect = "魔"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/魔技能附加.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = false; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); +#endif + } + + ~Skill2165Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 1000; + public override int GetCoolingtime(Skill skill) => 5000; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 15f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetAmount (2000); + skill.GetVictim ().SetValue (10 * skill.GetLevel ()); + skill.GetVictim ().SetKnockup (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 20f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2165.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2165.cs.meta new file mode 100644 index 0000000000..681a65c503 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2165.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 4c2bd08d35fb34b4181b59837b501c04 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2166.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2166.cs new file mode 100644 index 0000000000..38738d8082 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2166.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2166 : Skill + { + public const int SKILL_ID = 2166; + + public Skill2166() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2166Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2166Stub() : base(2166) + { + cls = 127; + name = "左手锤击"; + nativename = "左手锤击"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "霸王献鼎"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/天火狂龙飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2166Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 4000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2166.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2166.cs.meta new file mode 100644 index 0000000000..048affc615 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2166.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 03a3f3e3a30c848b18aa9ffd34bec782 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2167.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2167.cs new file mode 100644 index 0000000000..1ce11d7fd7 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2167.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2167 : Skill + { + public const int SKILL_ID = 2167; + + public Skill2167() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2167Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2167Stub() : base(2167) + { + cls = 127; + name = "右手锤击"; + nativename = "右手锤击"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "霸王献鼎"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/天火狂龙飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2167Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 4000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2167.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2167.cs.meta new file mode 100644 index 0000000000..dd6b9bf6b1 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2167.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: b77f818db79dc4c01a38ff68fb26d7ec \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2168.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2168.cs new file mode 100644 index 0000000000..11d9698d72 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2168.cs @@ -0,0 +1,185 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2168 : Skill + { + public const int SKILL_ID = 2168; + + public Skill2168() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2168Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 4000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2168Stub() : base(2168) + { + cls = 127; + name = "中央喷吐"; + nativename = "中央喷吐"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "霸王献鼎"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/天火狂龙飞行.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)1; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 6000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2168Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 4000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetValue (100); + skill.GetVictim ().SetHeal (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2168.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2168.cs.meta new file mode 100644 index 0000000000..6e45758dd3 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2168.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 259271da98e1644eea60bdc93d909690 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2169.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2169.cs new file mode 100644 index 0000000000..2ee5248a59 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2169.cs @@ -0,0 +1,194 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2169 : Skill + { + public const int SKILL_ID = 2169; + + public Skill2169() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2169Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2169Stub() : base(2169) + { + cls = 127; + name = "瞬发防御持续回血"; + nativename = "瞬发防御持续回血"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "怪物治疗术"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/怪物技能/击中/治疗效果.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)7; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 2000; + m_bTraceTarget = true; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2169Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (21000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp () * 0.2f * skill.GetLevel ()); + skill.GetVictim ().SetHpgen (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetIncdefence (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (600000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetIncresist (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2169.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2169.cs.meta new file mode 100644 index 0000000000..2caa7ccfda --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2169.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 81c84e80e1ef34c848e07c0133cbc2c4 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2170.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2170.cs new file mode 100644 index 0000000000..f8acd5e469 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2170.cs @@ -0,0 +1,198 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2170 : Skill + { + public const int SKILL_ID = 2170; + + public Skill2170() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2170Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2170Stub() : base(2170) + { + cls = 127; + name = "瞬发狂暴"; + nativename = "瞬发狂暴"; + icon = ""; + max_level = 10; + type = 2; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 1; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "羽芒_擎天雷鸣"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = string.Empty; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = "策划联入/人物技能/击中/羽芒_擎天雷鸣.gfx"; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)0; + m_TargetMode = (GfxTargetMode)0; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 0; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 5; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2170Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 50; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 0f; + public float GetAttackdistance(Skill skill) => 0f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetFastattack (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetIncaccuracy (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (15000 * skill.GetLevel ()); + skill.GetVictim ().SetRatio (10); + skill.GetVictim ().SetSpeedup (1); + skill.GetVictim ().SetProbability (1.0f * skill.GetLevel () == 10 ? 100 : 0); + skill.GetVictim ().SetTime (150000); + skill.GetVictim ().SetShowicon (0); + skill.GetVictim ().SetInvincible (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 0f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2170.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2170.cs.meta new file mode 100644 index 0000000000..dbaca419ee --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2170.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 865c57e8db1d0455dbccb8456f77b1c2 \ No newline at end of file diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2171.cs b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2171.cs new file mode 100644 index 0000000000..0903bc985a --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2171.cs @@ -0,0 +1,190 @@ +#define SKILL_CLIENT +using BrewMonster.Scripts.Skills; +using CSNetwork.GPDataType; +using System.Collections.Generic; +using System.Text; +using UnityEngine; +using static BrewMonster.PET_EVOLVE_CONFIG; + +namespace BrewMonster +{ + +#if SKILL_SERVER + public class Skill2171 : Skill + { + public const int SKILL_ID = 2171; + + public Skill2171() : base(SKILL_ID) + { + } + } +#endif + + public class Skill2171Stub : SkillStub + { + private static readonly int[] RequiredLevelArray = { 0 }; + private static readonly int[] RequiredSpArray = { 0 }; + + +#if SKILL_SERVER + public class State1 : SkillStub.State + { + public int GetTime(Skill skill) => 50; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPray(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State2 : SkillStub.State + { + public int GetTime(Skill skill) => 2000; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + skill.GetPlayer().SetPerform(1); + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + +#if SKILL_SERVER + public class State3 : SkillStub.State + { + public int GetTime(Skill skill) => 0; + public bool Quit(Skill skill) => false; + public bool Loop(Skill skill) => false; + public bool Bypass(Skill skill) => false; + public void Calculate(Skill skill) + { + } + public bool Interrupt(Skill skill) => false; + public bool Cancel(Skill skill) => false; + public bool Skip(Skill skill) => false; + } +#endif + + public Skill2171Stub() : base(2171) + { + cls = 127; + name = "好金币"; + nativename = "好金币"; + icon = ""; + max_level = 10; + type = 3; + apcost = 0; + arrowcost = 0; + apgain = 0; + attr = 6; + rank = 0; + eventflag = 0; + posdouble = 0; + clslimit = 0; + time_type = 0; + showorder = 0; + allow_land = true; + allow_air = true; + allow_water = true; + allow_ride = false; + auto_attack = false; + long_range = 0; + restrict_corpse = 0; + allow_forms = 0; + effect = "巨灵神力"; + doenchant = 1; + dobless = 0; + commoncooldown = 0; + commoncooldowntime = 0; + m_szFlyGfxPath = "策划联入/人物技能/飞行/巨灵神力击中.gfx"; + m_szHitGrndGfxPath = string.Empty; + m_szHitGfxPath = string.Empty; + + // GFX Movement and Behavior Parameters / GFX移动和行为参数 + m_MoveMode = (GfxMoveMode)7; + m_TargetMode = (GfxTargetMode)6; + m_AttFlyMode = (GfxAttackMode)0; + m_AttHitMode = (GfxAttackMode)0; + m_dwFlyTime = 3000; + m_bTraceTarget = false; + m_FlyClusterCount = 1; + m_FlyClusterInterval = 0; + m_HitClusterCount = 1; + m_HitClusterInterval = 0; + m_bOneHit = true; + m_bFadeOut = true; + m_bRelScl = true; + m_fDefTarScl = 1.8f; + + // Area parameters (commented out) / 区域参数(已注释) + // m_bArea = false; + // m_Shape = (EmitShape)0; + // m_vSize = new Vector3(0.0f, 0.0f, 0.0f); + + // Param (commented out) / 参数(已注释) + // m_paramType = (GfxSkillValType)1; + // m_param = new GFX_SKILL_PARAM(); + // m_param.nVal = 0; + range = new Range(); + range.type = 0; + pre_skills = new Dictionary(); + pre_skills.Add(0, 1); +#if SKILL_SERVER + statestub.Add(new State1()); + statestub.Add(new State2()); + statestub.Add(new State3()); +#endif + } + + ~Skill2171Stub() { } + + public override float GetMpcost(Skill skill) => 0f; + public override int GetExecutetime(Skill skill) => 2000; + public override int GetCoolingtime(Skill skill) => 0; + public float GetRadius(Skill skill) => 12f; + public float GetAttackdistance(Skill skill) => 11f; + public float GetAngle(Skill skill) => (float)(1 - 0.0111111 * 0); + public override float GetPraydistance(Skill skill) => 5f; + public override int GetRequiredLevel(Skill skill) => RequiredLevelArray[skill.GetLevel() - 1]; + public override int GetRequiredSp(Skill skill) => RequiredSpArray[skill.GetLevel() - 1]; + +#if SKILL_CLIENT + public override int GetIntroduction(Skill skill, StringBuilder buffer, string format) + { + buffer.Append(GPDataTypeHelper.ReplacePercentD(format)); + return buffer.Length; + } +#endif + +#if SKILL_SERVER + public int GetEnmity(Skill skill) => 0; + public bool StateAttack(Skill skill) + { + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (300000); + skill.GetVictim ().SetRatio (0.5f * skill.GetLevel ()); + skill.GetVictim ().SetEnhanceskilldamage (1); + skill.GetVictim ().SetProbability (1.0f * 100); + skill.GetVictim ().SetTime (9000); + skill.GetVictim ().SetValue (skill.GetPlayer ().GetMaxhp ()); + skill.GetVictim ().SetHpgen (1); + return true; + } + public bool TakeEffect(Skill skill) => true; + public float GetEffectdistance(Skill skill) => 15f; + public float GetHitrate(Skill skill) => 1.0f; +#endif + } +} + diff --git a/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2171.cs.meta b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2171.cs.meta new file mode 100644 index 0000000000..109e55da00 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/Skills/SkillStubs9/skill2171.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ee6ffc613a1734ad9b284f48e27ed969 \ No newline at end of file From c8976e6d4df3d9f6aac8c347d17a074b0b76ce4a Mon Sep 17 00:00:00 2001 From: VuNgocHaiC7 Date: Wed, 4 Mar 2026 16:39:09 +0700 Subject: [PATCH 03/10] fix dlg TeamList, dlg PetList, dlg Install --- .../Prefab/UI/PlayerOptionPopup.prefab | 2 +- .../Scripts/UI/Dialogs/DlgPetHatch.cs | 1 + .../Scripts/UI/Dialogs/DlgTeamMain.cs | 9 - .../Scripts/UI/Dialogs/DlgTeamMate.cs | 5 + Assets/PerfectWorld/UI/Pet/DlgPetList.prefab | 15978 +--------------- Assets/Prefabs/UI/DlgInstall.prefab | 715 +- Assets/Prefabs/UI/DlgUninstall.prefab | 715 +- Assets/Scripts/CECHostPlayer.cs | 19 +- 8 files changed, 1044 insertions(+), 16400 deletions(-) diff --git a/Assets/PerfectWorld/Prefab/UI/PlayerOptionPopup.prefab b/Assets/PerfectWorld/Prefab/UI/PlayerOptionPopup.prefab index 51c6726855..0ae7acbd5d 100644 --- a/Assets/PerfectWorld/Prefab/UI/PlayerOptionPopup.prefab +++ b/Assets/PerfectWorld/Prefab/UI/PlayerOptionPopup.prefab @@ -1395,7 +1395,7 @@ MonoBehaviour: m_PressedTrigger: Pressed m_SelectedTrigger: Selected m_DisabledTrigger: Disabled - m_Interactable: 0 + m_Interactable: 1 m_TargetGraphic: {fileID: 2244784699714630255} m_OnClick: m_PersistentCalls: diff --git a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetHatch.cs b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetHatch.cs index 0f8c64ebf7..ca6d12d1d5 100644 --- a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetHatch.cs +++ b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetHatch.cs @@ -539,6 +539,7 @@ namespace BrewMonster.UI private void OnCommandCancel() { + RestoreInventoryColor(); ClearEgg(); GetGameUIMan().EndNPCService(); Show(false); diff --git a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMain.cs b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMain.cs index b6ad7fe888..ff2be74346 100644 --- a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMain.cs +++ b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMain.cs @@ -183,15 +183,6 @@ namespace BrewMonster.UI return null; } - public override void Update() - { - base.Update(); - CECHostPlayer host = GetHostPlayer(); - if (host != null && host.GetTeam() != null) - { - UpdateTeamInfo(); - } - } private void OnDestroy() { diff --git a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMate.cs b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMate.cs index ab5a126678..933f1e537d 100644 --- a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMate.cs +++ b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgTeamMate.cs @@ -117,5 +117,10 @@ namespace BrewMonster.UI { m_idMember = v; } + + internal int GetMemberID() + { + return m_idMember; + } } } diff --git a/Assets/PerfectWorld/UI/Pet/DlgPetList.prefab b/Assets/PerfectWorld/UI/Pet/DlgPetList.prefab index 619f3c525c..815e68df35 100644 --- a/Assets/PerfectWorld/UI/Pet/DlgPetList.prefab +++ b/Assets/PerfectWorld/UI/Pet/DlgPetList.prefab @@ -1,277 +1,5 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!1 &29411187503429509 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7434340546985534497} - - component: {fileID: 8185932027078518823} - - component: {fileID: 4756666954487586089} - m_Layer: 5 - m_Name: content_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7434340546985534497 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 29411187503429509} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4384883841943295636} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 527.74097, y: -30} - m_SizeDelta: {x: 384.4977, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8185932027078518823 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 29411187503429509} - m_CullTransparentMesh: 1 ---- !u!114 &4756666954487586089 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 29411187503429509} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\u1EED S\u1EAFc Linh H\u1ED3 " - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &58355214729516609 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4063841501477164568} - - component: {fileID: 374460102867864323} - - component: {fileID: 5826759371556715347} - m_Layer: 5 - m_Name: content_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4063841501477164568 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 58355214729516609} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5661480271804220520} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 128.99194, y: 30} - m_SizeDelta: {x: 387.2394, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &374460102867864323 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 58355214729516609} - m_CullTransparentMesh: 1 ---- !u!114 &5826759371556715347 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 58355214729516609} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\u1EED S\u1EAFc Linh H\u1ED3" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 36 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} --- !u!1 &72267796104511909 GameObject: m_ObjectHideFlags: 0 @@ -306,7 +34,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 527.74097, y: -30} + m_AnchoredPosition: {x: 315, y: -30} m_SizeDelta: {x: 384.4977, y: 50} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &4583229471292315412 @@ -408,7 +136,7 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &76991494823340675 +--- !u!1 &223845278514436351 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -416,1271 +144,9 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 651891600224737807} - - component: {fileID: 5968032452549653198} - - component: {fileID: 1205616314100887836} - m_Layer: 5 - m_Name: title_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &651891600224737807 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 76991494823340675} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4899625702985700152} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 285.4302, y: -30} - m_SizeDelta: {x: 91.6159, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5968032452549653198 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 76991494823340675} - m_CullTransparentMesh: 1 ---- !u!114 &1205616314100887836 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 76991494823340675} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\xEAn th\xFA:" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.05 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &84589929467218048 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 35972816464772339} - - component: {fileID: 7461020391726638845} - - component: {fileID: 6964411447488017356} - - component: {fileID: 5503517576425735020} - m_Layer: 5 - m_Name: btnOut - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &35972816464772339 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 84589929467218048} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 3786818745143291019} - m_Father: {fileID: 4384883841943295636} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 103.2, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7461020391726638845 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 84589929467218048} - m_CullTransparentMesh: 1 ---- !u!114 &6964411447488017356 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 84589929467218048} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &5503517576425735020 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 84589929467218048} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 6964411447488017356} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &113077870964422728 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4823987669194861836} - - component: {fileID: 8320766594370151422} - - component: {fileID: 1082628333522585946} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4823987669194861836 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 113077870964422728} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 3597983198514571969} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8320766594370151422 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 113077870964422728} - m_CullTransparentMesh: 1 ---- !u!114 &1082628333522585946 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 113077870964422728} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "Thu\u1ED9c t\xEDnh" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &119648909660315591 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1157261567377231461} - - component: {fileID: 5943379774808597253} - - component: {fileID: 1840577394017216081} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1157261567377231461 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 119648909660315591} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 1422289160849488697} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5943379774808597253 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 119648909660315591} - m_CullTransparentMesh: 1 ---- !u!114 &1840577394017216081 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 119648909660315591} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi ra" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &131433470717990376 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1038435202986615292} - - component: {fileID: 2491581125993406266} - - component: {fileID: 238734026521034242} - m_Layer: 5 - m_Name: text_exp - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1038435202986615292 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 131433470717990376} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5661480271804220520} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 150, y: -30} - m_SizeDelta: {x: 100.9016, y: 47.583} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &2491581125993406266 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 131433470717990376} - m_CullTransparentMesh: 1 ---- !u!114 &238734026521034242 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 131433470717990376} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: 'EXP:' - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 36 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &165027154782996918 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1638435008902730145} - - component: {fileID: 7347284756052072063} - - component: {fileID: 3274861595507556947} - - component: {fileID: 8902817634387495896} - m_Layer: 5 - m_Name: btnOut - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1638435008902730145 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 165027154782996918} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 5179905803881669901} - m_Father: {fileID: 4899625702985700152} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 103.2, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7347284756052072063 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 165027154782996918} - m_CullTransparentMesh: 1 ---- !u!114 &3274861595507556947 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 165027154782996918} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &8902817634387495896 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 165027154782996918} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 3274861595507556947} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &186776097617187081 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7750330693708386298} - - component: {fileID: 5520303855228569176} - - component: {fileID: 6425327306535938468} - m_Layer: 5 - m_Name: box6 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7750330693708386298 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 186776097617187081} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7854598524380629939} - - {fileID: 5704198983784355791} - - {fileID: 4453154544897242151} - - {fileID: 5873387224238806701} - - {fileID: 6783270439064140119} - - {fileID: 1131361785078546403} - - {fileID: 8886538859982903307} - - {fileID: 3287483638262927105} - m_Father: {fileID: 9117334286734558909} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5520303855228569176 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 186776097617187081} - m_CullTransparentMesh: 1 ---- !u!114 &6425327306535938468 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 186776097617187081} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0.84705883} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &225815116279665829 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4264436569789591670} - - component: {fileID: 5530461084611389007} - - component: {fileID: 4726088961779647834} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4264436569789591670 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 225815116279665829} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5266637998219054086} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5530461084611389007 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 225815116279665829} - m_CullTransparentMesh: 1 ---- !u!114 &4726088961779647834 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 225815116279665829} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi v\u1EC1" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &338962438637769145 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4407777927406834004} - - component: {fileID: 5661430239587813692} - - component: {fileID: 5626729540281810643} - - component: {fileID: 4819900445839722530} - m_Layer: 5 - m_Name: btnHome - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4407777927406834004 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 338962438637769145} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 942512672124183760} - m_Father: {fileID: 8260572354647293687} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 252.9, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5661430239587813692 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 338962438637769145} - m_CullTransparentMesh: 1 ---- !u!114 &5626729540281810643 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 338962438637769145} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4819900445839722530 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 338962438637769145} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 5626729540281810643} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &376281894621016889 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 829868337117395583} - - component: {fileID: 6291978728396581561} - - component: {fileID: 1841760036527723954} - m_Layer: 5 - m_Name: text_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &829868337117395583 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 376281894621016889} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7102619655948086281} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 70.47583, y: -84.4} - m_SizeDelta: {x: 96.622, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6291978728396581561 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 376281894621016889} - m_CullTransparentMesh: 1 ---- !u!114 &1841760036527723954 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 376281894621016889} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p 10" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &410001587688783149 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3937744349225449301} - - component: {fileID: 6818881233494718198} - - component: {fileID: 276189885499551436} + - component: {fileID: 7943752480909176249} + - component: {fileID: 8208550449879013446} + - component: {fileID: 3806612095625030478} m_Layer: 5 m_Name: icon_animal m_TagString: Untagged @@ -1688,40 +154,40 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &3937744349225449301 +--- !u!224 &7943752480909176249 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 410001587688783149} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_GameObject: {fileID: 223845278514436351} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 4205095055691551986} + m_Father: {fileID: 7889082681244863727} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0.5} m_AnchorMax: {x: 0, y: 0.5} - m_AnchoredPosition: {x: 166.5, y: 0} + m_AnchoredPosition: {x: 74, y: 259.047} m_SizeDelta: {x: 77.11511, y: 77.8302} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6818881233494718198 +--- !u!222 &8208550449879013446 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 410001587688783149} + m_GameObject: {fileID: 223845278514436351} m_CullTransparentMesh: 1 ---- !u!114 &276189885499551436 +--- !u!114 &3806612095625030478 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 410001587688783149} + m_GameObject: {fileID: 223845278514436351} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} @@ -1745,7 +211,7 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &431109065900277954 +--- !u!1 &424356868349248581 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -1753,1009 +219,50 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 7578150449907114040} - - component: {fileID: 3195248030681686463} - - component: {fileID: 2370347366999847323} + - component: {fileID: 4391710728232000521} + - component: {fileID: 108737597894687325} + - component: {fileID: 5155950444118141808} m_Layer: 5 - m_Name: Text (TMP) + m_Name: text m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &7578150449907114040 +--- !u!224 &4391710728232000521 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 431109065900277954} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_GameObject: {fileID: 424356868349248581} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 6796784544766200539} + m_Father: {fileID: 232399539067632254} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3195248030681686463 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 431109065900277954} - m_CullTransparentMesh: 1 ---- !u!114 &2370347366999847323 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 431109065900277954} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi ra" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &683395345654719935 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2596159765637766088} - - component: {fileID: 1544263677931931373} - - component: {fileID: 396192749069670920} - m_Layer: 5 - m_Name: icon_animal - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2596159765637766088 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 683395345654719935} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5281447612524862329} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0.5} - m_AnchorMax: {x: 0, y: 0.5} - m_AnchoredPosition: {x: 166.5, y: 0} - m_SizeDelta: {x: 77.11511, y: 77.8302} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1544263677931931373 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 683395345654719935} - m_CullTransparentMesh: 1 ---- !u!114 &396192749069670920 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 683395345654719935} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 1356336560449e54a921e7243886103d, type: 3} - m_Type: 0 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &729770653980705743 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7083781475820253170} - - component: {fileID: 808881100134128512} - - component: {fileID: 4103228673796705774} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7083781475820253170 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 729770653980705743} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7774572617702707948} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &808881100134128512 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 729770653980705743} - m_CullTransparentMesh: 1 ---- !u!114 &4103228673796705774 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 729770653980705743} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "Thu\u1ED9c t\xEDnh" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &758234146497760151 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 346965268310807988} - - component: {fileID: 1981234121912795044} - - component: {fileID: 6122386557635085565} - - component: {fileID: 354536996704128291} - m_Layer: 5 - m_Name: btnAttribute - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &346965268310807988 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 758234146497760151} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4854565401698196830} - m_Father: {fileID: 4384883841943295636} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -50.1, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1981234121912795044 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 758234146497760151} - m_CullTransparentMesh: 1 ---- !u!114 &6122386557635085565 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 758234146497760151} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &354536996704128291 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 758234146497760151} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 6122386557635085565} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &802050009385787250 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5889176901785776628} - - component: {fileID: 2477060263441952862} - - component: {fileID: 357944187841778412} - m_Layer: 5 - m_Name: text_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5889176901785776628 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 802050009385787250} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4205095055691551986} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 70.47583, y: -84.4} - m_SizeDelta: {x: 96.622, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &2477060263441952862 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 802050009385787250} - m_CullTransparentMesh: 1 ---- !u!114 &357944187841778412 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 802050009385787250} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p 10" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &880286447223312499 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2029687171810800684} - - component: {fileID: 1715218800111247723} - - component: {fileID: 8646863396984380661} - m_Layer: 5 - m_Name: text_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2029687171810800684 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 880286447223312499} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5736849753780742568} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 70.47583, y: -84.4} - m_SizeDelta: {x: 96.622, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1715218800111247723 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 880286447223312499} - m_CullTransparentMesh: 1 ---- !u!114 &8646863396984380661 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 880286447223312499} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p 10" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &935566923161745679 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7340238513769911761} - - component: {fileID: 7612663406153937010} - - component: {fileID: 5592865156909602373} - m_Layer: 5 - m_Name: content_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7340238513769911761 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 935566923161745679} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 211456295085798898} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 527.74097, y: -30} - m_SizeDelta: {x: 384.4977, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7612663406153937010 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 935566923161745679} - m_CullTransparentMesh: 1 ---- !u!114 &5592865156909602373 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 935566923161745679} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\u1EED S\u1EAFc Linh H\u1ED3 " - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &971377969464638774 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7102619655948086281} - - component: {fileID: 5397708278378146482} - - component: {fileID: 6593895473188329954} - m_Layer: 5 - m_Name: box5 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7102619655948086281 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 971377969464638774} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 1574026517502162647} - - {fileID: 829868337117395583} - - {fileID: 7657351828306340693} - - {fileID: 2315108816652556563} - - {fileID: 1751817922211066934} - - {fileID: 2038153817227610680} - - {fileID: 6988012230738690340} - - {fileID: 8045332874214743074} - m_Father: {fileID: 9117334286734558909} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} + m_SizeDelta: {x: 200, y: 50} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5397708278378146482 +--- !u!222 &108737597894687325 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 971377969464638774} + m_GameObject: {fileID: 424356868349248581} m_CullTransparentMesh: 1 ---- !u!114 &6593895473188329954 +--- !u!114 &5155950444118141808 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 971377969464638774} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0.84705883} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &1030249513726839390 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6174739188775596528} - - component: {fileID: 6410872536659130401} - - component: {fileID: 5338845582183228358} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6174739188775596528 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1030249513726839390} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5480722371866034669} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6410872536659130401 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1030249513726839390} - m_CullTransparentMesh: 1 ---- !u!114 &5338845582183228358 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1030249513726839390} + m_GameObject: {fileID: 424356868349248581} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} @@ -2769,1413 +276,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: "G\u1ECDi v\u1EC1" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &1143609431930722217 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3287483638262927105} - - component: {fileID: 567912468246566699} - - component: {fileID: 6013602476302888191} - - component: {fileID: 3895939931505660447} - m_Layer: 5 - m_Name: btnHome - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3287483638262927105 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1143609431930722217} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 2067755971498376186} - m_Father: {fileID: 7750330693708386298} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 252.9, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &567912468246566699 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1143609431930722217} - m_CullTransparentMesh: 1 ---- !u!114 &6013602476302888191 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1143609431930722217} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &3895939931505660447 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1143609431930722217} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 6013602476302888191} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &1393200688610216085 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8886538859982903307} - - component: {fileID: 2392176515000182478} - - component: {fileID: 6452680367010591137} - - component: {fileID: 1221995826592909884} - m_Layer: 5 - m_Name: btnOut - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8886538859982903307 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1393200688610216085} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 1613399099981941876} - m_Father: {fileID: 7750330693708386298} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 103.2, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &2392176515000182478 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1393200688610216085} - m_CullTransparentMesh: 1 ---- !u!114 &6452680367010591137 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1393200688610216085} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &1221995826592909884 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1393200688610216085} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 6452680367010591137} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &1474935333901145403 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2067755971498376186} - - component: {fileID: 1682315133973948206} - - component: {fileID: 8489460957012406057} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2067755971498376186 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1474935333901145403} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 3287483638262927105} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1682315133973948206 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1474935333901145403} - m_CullTransparentMesh: 1 ---- !u!114 &8489460957012406057 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1474935333901145403} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi v\u1EC1" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &1563131212404254231 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1367151585653230994} - - component: {fileID: 4002396222024976400} - - component: {fileID: 5927240598748978092} - m_Layer: 5 - m_Name: MaskOff - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1367151585653230994 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1563131212404254231} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 2427007445932155897} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4002396222024976400 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1563131212404254231} - m_CullTransparentMesh: 1 ---- !u!114 &5927240598748978092 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1563131212404254231} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0.69803923} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &1598487822700303523 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6009283869338767677} - - component: {fileID: 6044569693153793295} - - component: {fileID: 4396812532366677719} - - component: {fileID: 2960880900579884861} - m_Layer: 5 - m_Name: btnAttribute - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6009283869338767677 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1598487822700303523} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 2812269309962032963} - m_Father: {fileID: 5736849753780742568} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -50.1, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6044569693153793295 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1598487822700303523} - m_CullTransparentMesh: 1 ---- !u!114 &4396812532366677719 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1598487822700303523} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &2960880900579884861 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1598487822700303523} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 4396812532366677719} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &1622239962757231675 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4429993476238260725} - - component: {fileID: 8656072099671318309} - - component: {fileID: 1584186664256311099} - - component: {fileID: 5253975816414370852} - m_Layer: 5 - m_Name: btnHome - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4429993476238260725 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1622239962757231675} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 1255325458421964783} - m_Father: {fileID: 4384883841943295636} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 252.9, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8656072099671318309 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1622239962757231675} - m_CullTransparentMesh: 1 ---- !u!114 &1584186664256311099 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1622239962757231675} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &5253975816414370852 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1622239962757231675} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 1584186664256311099} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &1648684311909502012 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6988012230738690340} - - component: {fileID: 1716779156703053478} - - component: {fileID: 2494323756537885099} - - component: {fileID: 4130752580316291500} - m_Layer: 5 - m_Name: btnOut - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6988012230738690340 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1648684311909502012} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 5076056196520642004} - m_Father: {fileID: 7102619655948086281} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 103.2, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1716779156703053478 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1648684311909502012} - m_CullTransparentMesh: 1 ---- !u!114 &2494323756537885099 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1648684311909502012} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4130752580316291500 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1648684311909502012} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 2494323756537885099} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &1836984474330253201 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7657351828306340693} - - component: {fileID: 3840194253716661540} - - component: {fileID: 1210709459961378073} - m_Layer: 5 - m_Name: icon_animal - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7657351828306340693 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1836984474330253201} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7102619655948086281} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0.5} - m_AnchorMax: {x: 0, y: 0.5} - m_AnchoredPosition: {x: 166.5, y: 0} - m_SizeDelta: {x: 77.11511, y: 77.8302} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3840194253716661540 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1836984474330253201} - m_CullTransparentMesh: 1 ---- !u!114 &1210709459961378073 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1836984474330253201} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 1356336560449e54a921e7243886103d, type: 3} - m_Type: 0 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &1851806773331894999 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1216181477664553331} - - component: {fileID: 3469372269753215483} - - component: {fileID: 3583308115078168987} - m_Layer: 5 - m_Name: title_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1216181477664553331 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1851806773331894999} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 8260572354647293687} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 43.3, y: -30} - m_SizeDelta: {x: 42.270203, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3469372269753215483 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1851806773331894999} - m_CullTransparentMesh: 1 ---- !u!114 &3583308115078168987 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1851806773331894999} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.3 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &1929392958079497877 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6796784544766200539} - - component: {fileID: 8928974738602886529} - - component: {fileID: 5257315490869347842} - - component: {fileID: 726749388404130553} - m_Layer: 5 - m_Name: btnOut - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6796784544766200539 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1929392958079497877} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7578150449907114040} - m_Father: {fileID: 211456295085798898} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 103.2, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8928974738602886529 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1929392958079497877} - m_CullTransparentMesh: 1 ---- !u!114 &5257315490869347842 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1929392958079497877} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &726749388404130553 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1929392958079497877} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 5257315490869347842} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &1934210441606200317 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2711780913503914813} - - component: {fileID: 3311305553962671755} - - component: {fileID: 4782003485135958400} - - component: {fileID: 7762720709650526177} - m_Layer: 5 - m_Name: page_1 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2711780913503914813 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1934210441606200317} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 878817954833932422} - - {fileID: 7306643221236935726} - m_Father: {fileID: 628038525523165487} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 100, y: 31.3} - m_SizeDelta: {x: 200, y: 62.6} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3311305553962671755 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1934210441606200317} - m_CullTransparentMesh: 1 ---- !u!114 &4782003485135958400 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1934210441606200317} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7762720709650526177 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1934210441606200317} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 4782003485135958400} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &2006168813124383413 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7391003593559256267} - - component: {fileID: 5653511509622404834} - - component: {fileID: 5057683854687741650} - m_Layer: 5 - m_Name: text_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7391003593559256267 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2006168813124383413} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4384883841943295636} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 70.47583, y: -84.4} - m_SizeDelta: {x: 96.622, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5653511509622404834 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2006168813124383413} - m_CullTransparentMesh: 1 ---- !u!114 &5057683854687741650 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2006168813124383413} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p 10" + m_text: "M\xF4 t\u1EA3" m_isRightToLeft: 0 m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} @@ -4209,279 +310,7 @@ MonoBehaviour: m_fontSizeMin: 18 m_fontSizeMax: 72 m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &2098917845029522885 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5179905803881669901} - - component: {fileID: 8734597837642196018} - - component: {fileID: 5402483821128294326} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5179905803881669901 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2098917845029522885} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 1638435008902730145} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8734597837642196018 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2098917845029522885} - m_CullTransparentMesh: 1 ---- !u!114 &5402483821128294326 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2098917845029522885} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi ra" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &2121208851505457512 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1320517321036796105} - - component: {fileID: 5560440616951839075} - - component: {fileID: 5879183797342698528} - m_Layer: 5 - m_Name: title_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1320517321036796105 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2121208851505457512} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4205095055691551986} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 285.4302, y: -30} - m_SizeDelta: {x: 91.6159, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5560440616951839075 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2121208851505457512} - m_CullTransparentMesh: 1 ---- !u!114 &5879183797342698528 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2121208851505457512} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\xEAn th\xFA:" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.05 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 m_VerticalAlignment: 512 m_textAlignment: 65535 m_characterSpacing: 0 @@ -4518,7 +347,7 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &2254348312058185315 +--- !u!1 &606266655932021657 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -4526,189 +355,59 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 2832073500278706885} - - component: {fileID: 2781015573356864899} - - component: {fileID: 4547470139319277603} - - component: {fileID: 8005896667052025607} + - component: {fileID: 6165010831916478045} + - component: {fileID: 7484416968689902533} + - component: {fileID: 1198039157766241739} m_Layer: 5 - m_Name: btnAttribute + m_Name: box_btn m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &2832073500278706885 +--- !u!224 &6165010831916478045 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2254348312058185315} + m_GameObject: {fileID: 606266655932021657} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 4996240863957981098} - m_Father: {fileID: 211456295085798898} + - {fileID: 1624473230281581442} + - {fileID: 6586898985852894528} + m_Father: {fileID: 7889082681244863727} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0} m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -50.1, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} + m_AnchoredPosition: {x: 0, y: 54.85501} + m_SizeDelta: {x: 548, y: 109.71002} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &2781015573356864899 +--- !u!222 &7484416968689902533 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2254348312058185315} + m_GameObject: {fileID: 606266655932021657} m_CullTransparentMesh: 1 ---- !u!114 &4547470139319277603 +--- !u!114 &1198039157766241739 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2254348312058185315} + m_GameObject: {fileID: 606266655932021657} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &8005896667052025607 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2254348312058185315} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 4547470139319277603} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &2369096835439714401 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 9117334286734558909} - - component: {fileID: 5062102332270195201} - - component: {fileID: 530883624647067104} - - component: {fileID: 5743476654074948187} - m_Layer: 5 - m_Name: Content - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &9117334286734558909 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2369096835439714401} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 8260572354647293687} - - {fileID: 7750330693708386298} - - {fileID: 211456295085798898} - - {fileID: 5736849753780742568} - - {fileID: 5281447612524862329} - - {fileID: 4899625702985700152} - - {fileID: 4205095055691551986} - - {fileID: 3274956461252547225} - - {fileID: 7102619655948086281} - - {fileID: 4384883841943295636} - m_Father: {fileID: 2996968374502470470} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -0.000015258789, y: 386} - m_SizeDelta: {x: 1495.3364, y: 685.0784} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5062102332270195201 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2369096835439714401} - m_CullTransparentMesh: 1 ---- !u!114 &530883624647067104 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2369096835439714401} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 0.392} + m_Color: {r: 1, g: 1, b: 1, a: 0} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 @@ -4725,31 +424,7 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!114 &5743476654074948187 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2369096835439714401} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Padding: - m_Left: 15 - m_Right: 0 - m_Top: 15 - m_Bottom: 0 - m_ChildAlignment: 0 - m_StartCorner: 0 - m_StartAxis: 0 - m_CellSize: {x: 730, y: 122} - m_Spacing: {x: 7, y: 11} - m_Constraint: 0 - m_ConstraintCount: 2 ---- !u!1 &2411310595059913816 +--- !u!1 &1230242634179432858 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -4757,50 +432,50 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 2076618982373579326} - - component: {fileID: 6829196839629847939} - - component: {fileID: 6815260767769886281} + - component: {fileID: 2365663903306128583} + - component: {fileID: 4758594844046403478} + - component: {fileID: 7602645980480065390} m_Layer: 5 - m_Name: title_name + m_Name: text_level m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &2076618982373579326 +--- !u!224 &2365663903306128583 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2411310595059913816} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_GameObject: {fileID: 1230242634179432858} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 5281447612524862329} + m_Father: {fileID: 7889082681244863727} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 285.4302, y: -30} - m_SizeDelta: {x: 91.6159, y: 50} + m_AnchoredPosition: {x: 222.99997, y: -108.61804} + m_SizeDelta: {x: 96.622, y: 50} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6829196839629847939 +--- !u!222 &4758594844046403478 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2411310595059913816} + m_GameObject: {fileID: 1230242634179432858} m_CullTransparentMesh: 1 ---- !u!114 &6815260767769886281 +--- !u!114 &7602645980480065390 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2411310595059913816} + m_GameObject: {fileID: 1230242634179432858} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} @@ -4814,347 +489,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: "T\xEAn th\xFA:" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.05 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &2478300311960448522 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5480722371866034669} - - component: {fileID: 33720576078886549} - - component: {fileID: 6415954357585079643} - - component: {fileID: 348708049146129166} - m_Layer: 5 - m_Name: btnHome - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5480722371866034669 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2478300311960448522} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 6174739188775596528} - m_Father: {fileID: 4899625702985700152} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 252.9, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &33720576078886549 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2478300311960448522} - m_CullTransparentMesh: 1 ---- !u!114 &6415954357585079643 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2478300311960448522} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &348708049146129166 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2478300311960448522} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 6415954357585079643} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &2513261450683346868 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5281447612524862329} - - component: {fileID: 2993759199498561259} - - component: {fileID: 5707857681185247773} - m_Layer: 5 - m_Name: box3 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5281447612524862329 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2513261450683346868} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 5185434345546295049} - - {fileID: 6256874091489525413} - - {fileID: 2596159765637766088} - - {fileID: 2076618982373579326} - - {fileID: 4206239957378975680} - - {fileID: 73739079069613023} - - {fileID: 3063691192277144041} - - {fileID: 6681725455170315982} - m_Father: {fileID: 9117334286734558909} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &2993759199498561259 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2513261450683346868} - m_CullTransparentMesh: 1 ---- !u!114 &5707857681185247773 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2513261450683346868} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0.84705883} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &2529462985272637930 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7931586374949853971} - - component: {fileID: 1185978590140234035} - - component: {fileID: 8921949774641991718} - m_Layer: 5 - m_Name: content_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7931586374949853971 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2529462985272637930} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5736849753780742568} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 527.74097, y: -30} - m_SizeDelta: {x: 384.4977, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1185978590140234035 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2529462985272637930} - m_CullTransparentMesh: 1 ---- !u!114 &8921949774641991718 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2529462985272637930} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\u1EED S\u1EAFc Linh H\u1ED3 " + m_text: "C\u1EA5p 10" m_isRightToLeft: 0 m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} @@ -5225,7 +560,7 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &2562457826936455891 +--- !u!1 &1416890911277280472 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -5233,52 +568,51 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 4451157359945795420} - - component: {fileID: 4670374054960817062} - - component: {fileID: 4825136494144863926} - - component: {fileID: 7120420962073518092} + - component: {fileID: 232399539067632254} + - component: {fileID: 1807372558242014098} + - component: {fileID: 4650948460851395166} m_Layer: 5 - m_Name: btnOut + m_Name: title_right m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &4451157359945795420 +--- !u!224 &232399539067632254 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2562457826936455891} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_GameObject: {fileID: 1416890911277280472} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 2636030820258740174} - m_Father: {fileID: 3274956461252547225} + - {fileID: 4391710728232000521} + m_Father: {fileID: 2996968374502470470} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 103.2, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 490.36, y: -106} + m_SizeDelta: {x: 500.24, y: 57.3401} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4670374054960817062 +--- !u!222 &1807372558242014098 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2562457826936455891} + m_GameObject: {fileID: 1416890911277280472} m_CullTransparentMesh: 1 ---- !u!114 &4825136494144863926 +--- !u!114 &4650948460851395166 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2562457826936455891} + m_GameObject: {fileID: 1416890911277280472} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} @@ -5292,7 +626,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} + m_Sprite: {fileID: 21300000, guid: ad2e84f7251fef94fa4feece958858b9, type: 3} m_Type: 0 m_PreserveAspect: 0 m_FillCenter: 1 @@ -5302,51 +636,7 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7120420962073518092 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2562457826936455891} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 4825136494144863926} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &2582197482077496390 +--- !u!1 &1600262114717356907 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -5354,133 +644,50 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 4205095055691551986} - - component: {fileID: 8939678925068637262} - - component: {fileID: 5693860709093719475} + - component: {fileID: 5708822584962701248} + - component: {fileID: 5353591325133599195} + - component: {fileID: 1618158093982489839} m_Layer: 5 - m_Name: box4 + m_Name: text_exp m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &4205095055691551986 +--- !u!224 &5708822584962701248 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2582197482077496390} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7418951704313767948} - - {fileID: 5889176901785776628} - - {fileID: 3937744349225449301} - - {fileID: 1320517321036796105} - - {fileID: 1431055222748543363} - - {fileID: 8592042894935391783} - - {fileID: 6734785674665582399} - - {fileID: 5479936111843903356} - m_Father: {fileID: 9117334286734558909} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8939678925068637262 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2582197482077496390} - m_CullTransparentMesh: 1 ---- !u!114 &5693860709093719475 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2582197482077496390} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0.84705883} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &2586418559552254419 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 9089148660788045882} - - component: {fileID: 8211109239035709405} - - component: {fileID: 6613117694095379515} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &9089148660788045882 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2586418559552254419} + m_GameObject: {fileID: 1600262114717356907} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 4801080006156566322} + m_Father: {fileID: 7889082681244863727} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 443, y: -108.61804} + m_SizeDelta: {x: 96.622, y: 50} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8211109239035709405 +--- !u!222 &5353591325133599195 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2586418559552254419} + m_GameObject: {fileID: 1600262114717356907} m_CullTransparentMesh: 1 ---- !u!114 &6613117694095379515 +--- !u!114 &1618158093982489839 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2586418559552254419} + m_GameObject: {fileID: 1600262114717356907} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} @@ -5494,7 +701,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: "G\u1ECDi v\u1EC1" + m_text: EXP 3/50 m_isRightToLeft: 0 m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} @@ -5521,15 +728,15 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 + m_fontSize: 35.05 + m_fontSizeBase: 36 m_fontWeight: 400 m_enableAutoSizing: 1 m_fontSizeMin: 18 m_fontSizeMax: 72 m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 + m_HorizontalAlignment: 1 + m_VerticalAlignment: 512 m_textAlignment: 65535 m_characterSpacing: 0 m_wordSpacing: 0 @@ -5565,7 +772,7 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &2596590595088800001 +--- !u!1 &1775005338565075259 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -5573,2227 +780,50 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 1353326268023692071} - - component: {fileID: 7863760445086058369} - - component: {fileID: 6173640122181213578} + - component: {fileID: 3991326038197782223} + - component: {fileID: 688582901894799539} + - component: {fileID: 6225340772540400590} m_Layer: 5 - m_Name: pet_detail + m_Name: Text (TMP) m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &1353326268023692071 + m_IsActive: 1 +--- !u!224 &3991326038197782223 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2596590595088800001} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_GameObject: {fileID: 1775005338565075259} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 837739714483251879} - - {fileID: 5661480271804220520} - - {fileID: 1551315223609741460} - m_Father: {fileID: 2996968374502470470} + m_Children: [] + m_Father: {fileID: 6586898985852894528} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 219, y: -24} - m_SizeDelta: {x: -866.9302, y: 14.923} + m_AnchoredPosition: {x: 1.1945038, y: 4.585} + m_SizeDelta: {x: -26.0531, y: -34.1232} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7863760445086058369 +--- !u!222 &688582901894799539 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2596590595088800001} + m_GameObject: {fileID: 1775005338565075259} m_CullTransparentMesh: 1 ---- !u!114 &6173640122181213578 +--- !u!114 &6225340772540400590 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2596590595088800001} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 783461a4a720d9f4cb4636827558ad8d, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &2599889392659655440 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6734785674665582399} - - component: {fileID: 75504756237517942} - - component: {fileID: 1576657352494047526} - - component: {fileID: 6016753201890456389} - m_Layer: 5 - m_Name: btnOut - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6734785674665582399 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2599889392659655440} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 6941194946726430355} - m_Father: {fileID: 4205095055691551986} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 103.2, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &75504756237517942 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2599889392659655440} - m_CullTransparentMesh: 1 ---- !u!114 &1576657352494047526 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2599889392659655440} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &6016753201890456389 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2599889392659655440} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 1576657352494047526} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &2677434422096705071 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6033082601968814658} - - component: {fileID: 792594532040661177} - - component: {fileID: 1194295227244386212} - m_Layer: 5 - m_Name: title_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6033082601968814658 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2677434422096705071} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5736849753780742568} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 43.3, y: -30} - m_SizeDelta: {x: 42.270203, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &792594532040661177 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2677434422096705071} - m_CullTransparentMesh: 1 ---- !u!114 &1194295227244386212 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2677434422096705071} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.3 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &2882825632732423751 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2048603942926521126} - - component: {fileID: 4137566384201450944} - - component: {fileID: 593664095017680091} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2048603942926521126 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2882825632732423751} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 3063691192277144041} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4137566384201450944 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2882825632732423751} - m_CullTransparentMesh: 1 ---- !u!114 &593664095017680091 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2882825632732423751} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi ra" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &2981213364301519851 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1431055222748543363} - - component: {fileID: 5712796922432089352} - - component: {fileID: 8153108918591520283} - m_Layer: 5 - m_Name: content_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1431055222748543363 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2981213364301519851} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4205095055691551986} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 527.74097, y: -30} - m_SizeDelta: {x: 384.4977, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5712796922432089352 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2981213364301519851} - m_CullTransparentMesh: 1 ---- !u!114 &8153108918591520283 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2981213364301519851} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\u1EED S\u1EAFc Linh H\u1ED3 " - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &3000641395858872685 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4334969978445611559} - - component: {fileID: 5138263029126260213} - - component: {fileID: 3352294704384076616} - m_Layer: 5 - m_Name: title_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4334969978445611559 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3000641395858872685} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 211456295085798898} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 285.4302, y: -30} - m_SizeDelta: {x: 91.6159, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5138263029126260213 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3000641395858872685} - m_CullTransparentMesh: 1 ---- !u!114 &3352294704384076616 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3000641395858872685} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\xEAn th\xFA:" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.05 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &3078920486477375355 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5736849753780742568} - - component: {fileID: 5262912458300549978} - - component: {fileID: 887529031330931960} - m_Layer: 5 - m_Name: box7 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5736849753780742568 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3078920486477375355} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 6033082601968814658} - - {fileID: 2029687171810800684} - - {fileID: 2170313011779441773} - - {fileID: 8757946121112821710} - - {fileID: 7931586374949853971} - - {fileID: 6009283869338767677} - - {fileID: 1422289160849488697} - - {fileID: 5266637998219054086} - m_Father: {fileID: 9117334286734558909} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5262912458300549978 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3078920486477375355} - m_CullTransparentMesh: 1 ---- !u!114 &887529031330931960 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3078920486477375355} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0.84705883} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &3084409012050312648 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5479936111843903356} - - component: {fileID: 4680184149676655748} - - component: {fileID: 6190045408074955047} - - component: {fileID: 4693998558191845973} - m_Layer: 5 - m_Name: btnHome - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5479936111843903356 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3084409012050312648} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 5324451436503189788} - m_Father: {fileID: 4205095055691551986} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 252.9, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4680184149676655748 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3084409012050312648} - m_CullTransparentMesh: 1 ---- !u!114 &6190045408074955047 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3084409012050312648} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4693998558191845973 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3084409012050312648} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 6190045408074955047} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &3171513094356950559 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6868746826521628502} - - component: {fileID: 112495923232070138} - - component: {fileID: 8967787876839856168} - m_Layer: 5 - m_Name: icon_animal - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6868746826521628502 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3171513094356950559} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4384883841943295636} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0.5} - m_AnchorMax: {x: 0, y: 0.5} - m_AnchoredPosition: {x: 166.5, y: 0} - m_SizeDelta: {x: 77.11511, y: 77.8302} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &112495923232070138 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3171513094356950559} - m_CullTransparentMesh: 1 ---- !u!114 &8967787876839856168 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3171513094356950559} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 1356336560449e54a921e7243886103d, type: 3} - m_Type: 0 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &3173842829319128088 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3274956461252547225} - - component: {fileID: 4441719656638605270} - - component: {fileID: 3441946913332256704} - m_Layer: 5 - m_Name: box9 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3274956461252547225 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3173842829319128088} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 5161842358847364781} - - {fileID: 676941845983093856} - - {fileID: 1376873102630572274} - - {fileID: 2138081490403400130} - - {fileID: 2642659193978858714} - - {fileID: 5973659177594299107} - - {fileID: 4451157359945795420} - - {fileID: 2967186050209365698} - m_Father: {fileID: 9117334286734558909} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4441719656638605270 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3173842829319128088} - m_CullTransparentMesh: 1 ---- !u!114 &3441946913332256704 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3173842829319128088} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0.84705883} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &3273045754824857119 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6941194946726430355} - - component: {fileID: 6950031434540996027} - - component: {fileID: 1272697505217307163} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6941194946726430355 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3273045754824857119} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 6734785674665582399} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6950031434540996027 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3273045754824857119} - m_CullTransparentMesh: 1 ---- !u!114 &1272697505217307163 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3273045754824857119} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi ra" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &3302264233287609736 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5873387224238806701} - - component: {fileID: 7749867242122663526} - - component: {fileID: 8456748559145959226} - m_Layer: 5 - m_Name: title_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5873387224238806701 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3302264233287609736} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7750330693708386298} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 285.4302, y: -30} - m_SizeDelta: {x: 91.6159, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7749867242122663526 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3302264233287609736} - m_CullTransparentMesh: 1 ---- !u!114 &8456748559145959226 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3302264233287609736} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\xEAn th\xFA:" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.05 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &3376816023053837471 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7793395058439459274} - - component: {fileID: 9000203664033037011} - - component: {fileID: 5598442045700468445} - m_Layer: 5 - m_Name: content_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7793395058439459274 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3376816023053837471} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4899625702985700152} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 527.74097, y: -30} - m_SizeDelta: {x: 384.4977, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &9000203664033037011 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3376816023053837471} - m_CullTransparentMesh: 1 ---- !u!114 &5598442045700468445 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3376816023053837471} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\u1EED S\u1EAFc Linh H\u1ED3 " - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &3385059660137660561 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1376873102630572274} - - component: {fileID: 5241819974805666032} - - component: {fileID: 7536020892294225074} - m_Layer: 5 - m_Name: icon_animal - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1376873102630572274 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3385059660137660561} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 3274956461252547225} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0.5} - m_AnchorMax: {x: 0, y: 0.5} - m_AnchoredPosition: {x: 166.5, y: 0} - m_SizeDelta: {x: 77.11511, y: 77.8302} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5241819974805666032 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3385059660137660561} - m_CullTransparentMesh: 1 ---- !u!114 &7536020892294225074 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3385059660137660561} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 1356336560449e54a921e7243886103d, type: 3} - m_Type: 0 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &3501828703247456068 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3597983198514571969} - - component: {fileID: 59205678965411561} - - component: {fileID: 1339219461151601520} - - component: {fileID: 3513098121042199767} - m_Layer: 5 - m_Name: btnAttribute - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3597983198514571969 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3501828703247456068} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4823987669194861836} - m_Father: {fileID: 4899625702985700152} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -50.1, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &59205678965411561 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3501828703247456068} - m_CullTransparentMesh: 1 ---- !u!114 &1339219461151601520 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3501828703247456068} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &3513098121042199767 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3501828703247456068} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 1339219461151601520} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &3514218937923470210 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 73739079069613023} - - component: {fileID: 2757309724624360652} - - component: {fileID: 4726061540537876672} - - component: {fileID: 6335224231465124762} - m_Layer: 5 - m_Name: btnAttribute - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &73739079069613023 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3514218937923470210} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4148940406463842858} - m_Father: {fileID: 5281447612524862329} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -50.1, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &2757309724624360652 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3514218937923470210} - m_CullTransparentMesh: 1 ---- !u!114 &4726061540537876672 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3514218937923470210} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &6335224231465124762 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3514218937923470210} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 4726061540537876672} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &3552988236699857341 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3650668307530204616} - - component: {fileID: 858079484117230951} - - component: {fileID: 7725145576108659027} - m_Layer: 5 - m_Name: icon_animal - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3650668307530204616 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3552988236699857341} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4899625702985700152} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0.5} - m_AnchorMax: {x: 0, y: 0.5} - m_AnchoredPosition: {x: 166.5, y: 0} - m_SizeDelta: {x: 77.11511, y: 77.8302} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &858079484117230951 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3552988236699857341} - m_CullTransparentMesh: 1 ---- !u!114 &7725145576108659027 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3552988236699857341} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 1356336560449e54a921e7243886103d, type: 3} - m_Type: 0 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &3556485608468785287 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6902965041995710695} - - component: {fileID: 3588668179063718431} - - component: {fileID: 4627390131902477591} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6902965041995710695 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3556485608468785287} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 6644039572984630879} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3588668179063718431 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3556485608468785287} - m_CullTransparentMesh: 1 ---- !u!114 &4627390131902477591 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3556485608468785287} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi ra" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &3622201912732017231 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5424900973456772212} - - component: {fileID: 9184980536341441817} - - component: {fileID: 4232539287818049345} - m_Layer: 5 - m_Name: content_exp - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5424900973456772212 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3622201912732017231} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5661480271804220520} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 208, y: -32} - m_SizeDelta: {x: 92.0434, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &9184980536341441817 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3622201912732017231} - m_CullTransparentMesh: 1 ---- !u!114 &4232539287818049345 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3622201912732017231} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: 0/50 - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 36 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &3717519002324237619 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6562239918987924098} - - component: {fileID: 3425418964657786305} - - component: {fileID: 434324244635219993} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6562239918987924098 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3717519002324237619} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 2967186050209365698} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3425418964657786305 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3717519002324237619} - m_CullTransparentMesh: 1 ---- !u!114 &434324244635219993 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3717519002324237619} + m_GameObject: {fileID: 1775005338565075259} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} @@ -7834,7 +864,7 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 18 + m_fontSize: 35.95 m_fontSizeBase: 24 m_fontWeight: 400 m_enableAutoSizing: 1 @@ -7842,7 +872,7 @@ MonoBehaviour: m_fontSizeMax: 72 m_fontStyle: 0 m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 + m_VerticalAlignment: 512 m_textAlignment: 65535 m_characterSpacing: 0 m_wordSpacing: 0 @@ -7878,7 +908,7 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &3749807865711329626 +--- !u!1 &1866247126741330783 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -7886,133 +916,51 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 211456295085798898} - - component: {fileID: 3538395809279579413} - - component: {fileID: 4409067571803976105} + - component: {fileID: 4680087347275026078} + - component: {fileID: 4935960586605403548} + - component: {fileID: 3877419706045505716} m_Layer: 5 - m_Name: box2 + m_Name: left_petList m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &211456295085798898 +--- !u!224 &4680087347275026078 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3749807865711329626} + m_GameObject: {fileID: 1866247126741330783} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 909051479852498178} - - {fileID: 2333068920429420138} - - {fileID: 339510487700143132} - - {fileID: 4334969978445611559} - - {fileID: 7340238513769911761} - - {fileID: 2832073500278706885} - - {fileID: 6796784544766200539} - - {fileID: 4801080006156566322} - m_Father: {fileID: 9117334286734558909} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3538395809279579413 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3749807865711329626} - m_CullTransparentMesh: 1 ---- !u!114 &4409067571803976105 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3749807865711329626} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0.84705883} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &3805697438221310688 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2170313011779441773} - - component: {fileID: 5046541596126831715} - - component: {fileID: 7433897205613089899} - m_Layer: 5 - m_Name: icon_animal - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2170313011779441773 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3805697438221310688} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5736849753780742568} + - {fileID: 149065269356042803} + m_Father: {fileID: 2996968374502470470} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0.5} m_AnchorMax: {x: 0, y: 0.5} - m_AnchoredPosition: {x: 166.5, y: 0} - m_SizeDelta: {x: 77.11511, y: 77.8302} + m_AnchoredPosition: {x: 508, y: -56.218} + m_SizeDelta: {x: 954.77, y: 696.53} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5046541596126831715 +--- !u!222 &4935960586605403548 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3805697438221310688} + m_GameObject: {fileID: 1866247126741330783} m_CullTransparentMesh: 1 ---- !u!114 &7433897205613089899 +--- !u!114 &3877419706045505716 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3805697438221310688} + m_GameObject: {fileID: 1866247126741330783} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} @@ -8026,9 +974,9 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 1356336560449e54a921e7243886103d, type: 3} - m_Type: 0 - m_PreserveAspect: 1 + m_Sprite: {fileID: 21300000, guid: 9c4319cc6da3f6f438604a9da2496829, type: 3} + m_Type: 1 + m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 m_FillAmount: 1 @@ -8036,6 +984,263 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!1 &3244578007417917956 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 5460796887437285805} + - component: {fileID: 4549877394820463664} + - component: {fileID: 8012611583497171186} + m_Layer: 5 + m_Name: Text (TMP) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &5460796887437285805 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3244578007417917956} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1624473230281581442} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 1.1945038, y: 4.585} + m_SizeDelta: {x: -26.0531, y: -34.1232} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &4549877394820463664 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3244578007417917956} + m_CullTransparentMesh: 1 +--- !u!114 &8012611583497171186 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3244578007417917956} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: "G\u1ECDi ra" + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} + m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 35.95 + m_fontSizeBase: 24 + m_fontWeight: 400 + m_enableAutoSizing: 1 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &3711664733647030780 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 6586898985852894528} + - component: {fileID: 3448929347330018649} + - component: {fileID: 5337784869708703089} + - component: {fileID: 2385823678917970113} + m_Layer: 5 + m_Name: btn_home + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &6586898985852894528 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3711664733647030780} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 3991326038197782223} + m_Father: {fileID: 6165010831916478045} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -391, y: 0.0000009536743} + m_SizeDelta: {x: 210, y: 80} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3448929347330018649 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3711664733647030780} + m_CullTransparentMesh: 1 +--- !u!114 &5337784869708703089 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3711664733647030780} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 56a0c6433a96b8d4b908b93909d45139, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &2385823678917970113 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3711664733647030780} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 5337784869708703089} + m_OnClick: + m_PersistentCalls: + m_Calls: [] --- !u!1 &3843238138957729394 GameObject: m_ObjectHideFlags: 0 @@ -8071,8 +1276,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -67, y: -76} - m_SizeDelta: {x: 50, y: 50} + m_AnchoredPosition: {x: -44, y: -65} + m_SizeDelta: {x: 70, y: 70} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &7111782390504951517 CanvasRenderer: @@ -8168,399 +1373,6 @@ MonoBehaviour: m_StringArgument: m_BoolArgument: 0 m_CallState: 2 ---- !u!1 &3852668201826912049 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 837739714483251879} - - component: {fileID: 9120084000331391871} - - component: {fileID: 8299356874832979467} - m_Layer: 5 - m_Name: title_text - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &837739714483251879 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3852668201826912049} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 1353326268023692071} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: -28} - m_SizeDelta: {x: 200, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &9120084000331391871 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3852668201826912049} - m_CullTransparentMesh: 1 ---- !u!114 &8299356874832979467 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3852668201826912049} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "M\xF4 t\u1EA3" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 36 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &3859639307583937059 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6405769787113445941} - - component: {fileID: 1548010934212042480} - - component: {fileID: 4962893912254485803} - m_Layer: 5 - m_Name: text_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6405769787113445941 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3859639307583937059} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4899625702985700152} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 70.47583, y: -84.4} - m_SizeDelta: {x: 96.622, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1548010934212042480 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3859639307583937059} - m_CullTransparentMesh: 1 ---- !u!114 &4962893912254485803 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3859639307583937059} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p 10" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &3918763623536566314 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4801080006156566322} - - component: {fileID: 3927868856435212000} - - component: {fileID: 5485882754886380373} - - component: {fileID: 8533841867633950501} - m_Layer: 5 - m_Name: btnHome - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4801080006156566322 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3918763623536566314} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 9089148660788045882} - m_Father: {fileID: 211456295085798898} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 252.9, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3927868856435212000 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3918763623536566314} - m_CullTransparentMesh: 1 ---- !u!114 &5485882754886380373 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3918763623536566314} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &8533841867633950501 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3918763623536566314} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 5485882754886380373} - m_OnClick: - m_PersistentCalls: - m_Calls: [] --- !u!1 &3948922192703220796 GameObject: m_ObjectHideFlags: 0 @@ -8595,7 +1407,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 8.1384, y: -31.886353} + m_AnchoredPosition: {x: -10, y: -31.886353} m_SizeDelta: {x: 434.1377, y: 46.2439} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &8269890937620579605 @@ -8626,7 +1438,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: "T\xFAi Th\xFA nu\xF4i" + m_text: "Th\xFA nu\xF4i" m_isRightToLeft: 0 m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} @@ -8697,142 +1509,6 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &3967604338701974102 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6376379521189378798} - - component: {fileID: 5822967369676662333} - - component: {fileID: 1950346721599244676} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6376379521189378798 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3967604338701974102} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5973659177594299107} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5822967369676662333 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3967604338701974102} - m_CullTransparentMesh: 1 ---- !u!114 &1950346721599244676 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3967604338701974102} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "Thu\u1ED9c t\xEDnh" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} --- !u!1 &4055144938777527514 GameObject: m_ObjectHideFlags: 0 @@ -8894,7 +1570,7 @@ MonoBehaviour: m_EditorClassIdentifier: m_Material: {fileID: 0} m_Color: {r: 1, g: 1, b: 1, a: 0} - m_RaycastTarget: 1 + m_RaycastTarget: 0 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: @@ -8925,38 +1601,38 @@ MonoBehaviour: skillNameText: {fileID: 0} imageProgress: {fileID: 0} m_pBtn_Summon: - - {fileID: 3023451547553708836} - - {fileID: 726749388404130553} - - {fileID: 8542977807603803707} - - {fileID: 6016753201890456389} - - {fileID: 4130752580316291500} - - {fileID: 1221995826592909884} - - {fileID: 3252567942092480575} - - {fileID: 8902817634387495896} - - {fileID: 7120420962073518092} - - {fileID: 5503517576425735020} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} m_pBtn_Recall: - - {fileID: 4819900445839722530} - - {fileID: 3895939931505660447} - - {fileID: 8533841867633950501} - - {fileID: 7088926531072666487} - - {fileID: 2945665320714136472} - - {fileID: 348708049146129166} - - {fileID: 4693998558191845973} - - {fileID: 5715623778650111582} - - {fileID: 1223505009269230641} - - {fileID: 5253975816414370852} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} m_pBtn_Detail: - - {fileID: 3295263763938772095} - - {fileID: 8005896667052025607} - - {fileID: 6335224231465124762} - - {fileID: 1354349872156103207} - - {fileID: 3218580772121312964} - - {fileID: 4273606415131678168} - - {fileID: 2960880900579884861} - - {fileID: 3513098121042199767} - - {fileID: 676668201518825258} - - {fileID: 354536996704128291} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} m_pBtn_Banish: - {fileID: 0} - {fileID: 0} @@ -8981,1858 +1657,67 @@ MonoBehaviour: - {fileID: 0} m_pImg_Icon: - {fileID: 5711600454098720514} - - {fileID: 7037426246285588439} - - {fileID: 396192749069670920} - - {fileID: 276189885499551436} - - {fileID: 1210709459961378073} - - {fileID: 1907019655093498400} - - {fileID: 7433897205613089899} - - {fileID: 7725145576108659027} - - {fileID: 7536020892294225074} - - {fileID: 8967787876839856168} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} m_pLab_Name: - - {fileID: 7082862639076494979} - - {fileID: 3352294704384076616} - - {fileID: 6815260767769886281} - - {fileID: 5879183797342698528} - - {fileID: 6652860935190500509} - - {fileID: 8456748559145959226} - - {fileID: 8794462663509859154} - - {fileID: 1205616314100887836} - - {fileID: 6363856458743508090} - - {fileID: 4534509343098992397} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} m_pLab_Level: - - {fileID: 3583308115078168987} - - {fileID: 4268579921660313114} - - {fileID: 7955864853054506949} - - {fileID: 5683061358233431342} - - {fileID: 6574420082647906757} - - {fileID: 1087397560886508112} - - {fileID: 1194295227244386212} - - {fileID: 5110432635588686740} - - {fileID: 6737806006489583606} - - {fileID: 6914739257197150491} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} m_pTxt_Name: - {fileID: 1558277565493916878} - - {fileID: 5592865156909602373} - - {fileID: 8058626546521254616} - - {fileID: 8153108918591520283} - - {fileID: 8610141171854371611} - - {fileID: 2534338505078606722} - - {fileID: 8921949774641991718} - - {fileID: 5598442045700468445} - - {fileID: 8778226339755394244} - - {fileID: 4756666954487586089} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} m_pTxt_Level: - {fileID: 2499015394542669687} - - {fileID: 1213251964891060741} - - {fileID: 1661877544885067331} - - {fileID: 357944187841778412} - - {fileID: 1841760036527723954} - - {fileID: 3820054466513568780} - - {fileID: 8646863396984380661} - - {fileID: 4962893912254485803} - - {fileID: 2206462306181366289} - - {fileID: 5057683854687741650} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} + - {fileID: 0} m_pBtnClose: {fileID: 8122086289517642079} m_spriteDefault_Icon: {fileID: 21300000, guid: 1356336560449e54a921e7243886103d, type: 3} m_pBtn_Tab: - - {fileID: 7762720709650526177} - - {fileID: 6105035509064218572} + - {fileID: 0} + - {fileID: 0} m_mask_off_pBtn_Tab: - - {fileID: 8218472400492161409} - - {fileID: 1563131212404254231} ---- !u!1 &4205984255684239874 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4384883841943295636} - - component: {fileID: 843233048633786747} - - component: {fileID: 2016546060971218408} - m_Layer: 5 - m_Name: box10 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4384883841943295636 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4205984255684239874} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 3664780616856920427} - - {fileID: 7391003593559256267} - - {fileID: 6868746826521628502} - - {fileID: 5155040557274753938} - - {fileID: 7434340546985534497} - - {fileID: 346965268310807988} - - {fileID: 35972816464772339} - - {fileID: 4429993476238260725} - m_Father: {fileID: 9117334286734558909} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &843233048633786747 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4205984255684239874} - m_CullTransparentMesh: 1 ---- !u!114 &2016546060971218408 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4205984255684239874} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0.84705883} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &4213049457156664903 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2315108816652556563} - - component: {fileID: 7787181871893164276} - - component: {fileID: 6652860935190500509} - m_Layer: 5 - m_Name: title_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2315108816652556563 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4213049457156664903} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7102619655948086281} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 285.4302, y: -30} - m_SizeDelta: {x: 91.6159, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7787181871893164276 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4213049457156664903} - m_CullTransparentMesh: 1 ---- !u!114 &6652860935190500509 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4213049457156664903} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\xEAn th\xFA:" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.05 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &4219220847108996474 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7418951704313767948} - - component: {fileID: 6504582172885433433} - - component: {fileID: 5683061358233431342} - m_Layer: 5 - m_Name: title_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7418951704313767948 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4219220847108996474} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4205095055691551986} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 43.3, y: -30} - m_SizeDelta: {x: 42.270203, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6504582172885433433 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4219220847108996474} - m_CullTransparentMesh: 1 ---- !u!114 &5683061358233431342 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4219220847108996474} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.3 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &4254930209466719762 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1574026517502162647} - - component: {fileID: 7886589785772818194} - - component: {fileID: 6574420082647906757} - m_Layer: 5 - m_Name: title_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1574026517502162647 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4254930209466719762} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7102619655948086281} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 43.3, y: -30} - m_SizeDelta: {x: 42.270203, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7886589785772818194 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4254930209466719762} - m_CullTransparentMesh: 1 ---- !u!114 &6574420082647906757 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4254930209466719762} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.3 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &4320335553276815888 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8592042894935391783} - - component: {fileID: 1995369717945372131} - - component: {fileID: 6817845454721936483} - - component: {fileID: 1354349872156103207} - m_Layer: 5 - m_Name: btnAttribute - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8592042894935391783 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4320335553276815888} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 3789500525283252985} - m_Father: {fileID: 4205095055691551986} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -50.1, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1995369717945372131 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4320335553276815888} - m_CullTransparentMesh: 1 ---- !u!114 &6817845454721936483 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4320335553276815888} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &1354349872156103207 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4320335553276815888} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 6817845454721936483} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &4326032020460478637 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8757946121112821710} - - component: {fileID: 267153411766538255} - - component: {fileID: 8794462663509859154} - m_Layer: 5 - m_Name: title_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8757946121112821710 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4326032020460478637} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5736849753780742568} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 285.4302, y: -30} - m_SizeDelta: {x: 91.6159, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &267153411766538255 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4326032020460478637} - m_CullTransparentMesh: 1 ---- !u!114 &8794462663509859154 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4326032020460478637} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\xEAn th\xFA:" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.05 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &4415659868261280233 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6783270439064140119} - - component: {fileID: 7354153304423331966} - - component: {fileID: 2534338505078606722} - m_Layer: 5 - m_Name: content_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6783270439064140119 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4415659868261280233} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7750330693708386298} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 527.74097, y: -30} - m_SizeDelta: {x: 384.4977, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7354153304423331966 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4415659868261280233} - m_CullTransparentMesh: 1 ---- !u!114 &2534338505078606722 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4415659868261280233} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\u1EED S\u1EAFc Linh H\u1ED3 " - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &4446374160577234142 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5185434345546295049} - - component: {fileID: 6072205116210100291} - - component: {fileID: 7955864853054506949} - m_Layer: 5 - m_Name: title_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5185434345546295049 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4446374160577234142} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5281447612524862329} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 43.3, y: -30} - m_SizeDelta: {x: 42.270203, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6072205116210100291 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4446374160577234142} - m_CullTransparentMesh: 1 ---- !u!114 &7955864853054506949 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4446374160577234142} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.3 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &4491600883478777851 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6681725455170315982} - - component: {fileID: 7396312768000330494} - - component: {fileID: 9107193662900446134} - - component: {fileID: 2945665320714136472} - m_Layer: 5 - m_Name: btnHome - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6681725455170315982 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4491600883478777851} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4942886496749296820} - m_Father: {fileID: 5281447612524862329} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 252.9, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7396312768000330494 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4491600883478777851} - m_CullTransparentMesh: 1 ---- !u!114 &9107193662900446134 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4491600883478777851} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &2945665320714136472 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4491600883478777851} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 9107193662900446134} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &4631142458420246265 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1131361785078546403} - - component: {fileID: 5251044618135763806} - - component: {fileID: 6858694862800742210} - - component: {fileID: 4273606415131678168} - m_Layer: 5 - m_Name: btnAttribute - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1131361785078546403 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4631142458420246265} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 8097014772423382031} - m_Father: {fileID: 7750330693708386298} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -50.1, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5251044618135763806 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4631142458420246265} - m_CullTransparentMesh: 1 ---- !u!114 &6858694862800742210 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4631142458420246265} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &4273606415131678168 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4631142458420246265} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 6858694862800742210} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &4674341217305243115 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3664780616856920427} - - component: {fileID: 7768823838260071930} - - component: {fileID: 6914739257197150491} - m_Layer: 5 - m_Name: title_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3664780616856920427 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4674341217305243115} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4384883841943295636} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 43.3, y: -30} - m_SizeDelta: {x: 42.270203, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7768823838260071930 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4674341217305243115} - m_CullTransparentMesh: 1 ---- !u!114 &6914739257197150491 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4674341217305243115} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.3 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &4744031838077784502 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 676941845983093856} - - component: {fileID: 5166585213233173505} - - component: {fileID: 2206462306181366289} - m_Layer: 5 - m_Name: text_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &676941845983093856 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4744031838077784502} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 3274956461252547225} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 70.47583, y: -84.4} - m_SizeDelta: {x: 96.622, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5166585213233173505 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4744031838077784502} - m_CullTransparentMesh: 1 ---- !u!114 &2206462306181366289 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4744031838077784502} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p 10" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &4781723757638533583 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1422289160849488697} - - component: {fileID: 7669495095477446812} - - component: {fileID: 6963613020554763707} - - component: {fileID: 3252567942092480575} - m_Layer: 5 - m_Name: btnOut - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1422289160849488697 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4781723757638533583} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 1157261567377231461} - m_Father: {fileID: 5736849753780742568} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 103.2, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7669495095477446812 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4781723757638533583} - m_CullTransparentMesh: 1 ---- !u!114 &6963613020554763707 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4781723757638533583} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &3252567942092480575 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4781723757638533583} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 6963613020554763707} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &4784505604197336305 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5076056196520642004} - - component: {fileID: 1788842851975482175} - - component: {fileID: 6230420749780348822} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5076056196520642004 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4784505604197336305} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 6988012230738690340} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1788842851975482175 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4784505604197336305} - m_CullTransparentMesh: 1 ---- !u!114 &6230420749780348822 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4784505604197336305} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi ra" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} + - {fileID: 0} + - {fileID: 0} --- !u!1 &4834759334245868423 GameObject: m_ObjectHideFlags: 0 @@ -10867,7 +1752,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0.5} m_AnchorMax: {x: 0, y: 0.5} - m_AnchoredPosition: {x: 166.5, y: 0} + m_AnchoredPosition: {x: 65, y: 0} m_SizeDelta: {x: 77.11511, y: 77.8302} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &4205941651356068850 @@ -10908,278 +1793,6 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &4893348630321401685 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4974162358324706886} - - component: {fileID: 84162743095406534} - - component: {fileID: 6793874133243156230} - m_Layer: 5 - m_Name: content_level (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4974162358324706886 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4893348630321401685} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5661480271804220520} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -77, y: -33} - m_SizeDelta: {x: 92.0434, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &84162743095406534 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4893348630321401685} - m_CullTransparentMesh: 1 ---- !u!114 &6793874133243156230 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4893348630321401685} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: 100 - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 36 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &4917236048696421212 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2812269309962032963} - - component: {fileID: 4166359453822270708} - - component: {fileID: 5562871263970848794} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2812269309962032963 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4917236048696421212} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 6009283869338767677} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4166359453822270708 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4917236048696421212} - m_CullTransparentMesh: 1 ---- !u!114 &5562871263970848794 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4917236048696421212} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "Thu\u1ED9c t\xEDnh" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} --- !u!1 &5028054674634092708 GameObject: m_ObjectHideFlags: 0 @@ -11214,7 +1827,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 70.47583, y: -84.4} + m_AnchoredPosition: {x: 169, y: -84.4} m_SizeDelta: {x: 96.622, y: 50} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &7835167435450404326 @@ -11316,7 +1929,7 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &5155145801015687212 +--- !u!1 &5447703489185023651 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -11324,1088 +1937,133 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 3789500525283252985} - - component: {fileID: 8988905679354963508} - - component: {fileID: 2161468946828474394} + - component: {fileID: 7889082681244863727} + - component: {fileID: 1820092494333766511} + - component: {fileID: 5179896020678852059} m_Layer: 5 - m_Name: Text (TMP) + m_Name: right_petInfo m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &3789500525283252985 +--- !u!224 &7889082681244863727 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5155145801015687212} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 8592042894935391783} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8988905679354963508 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5155145801015687212} - m_CullTransparentMesh: 1 ---- !u!114 &2161468946828474394 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5155145801015687212} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "Thu\u1ED9c t\xEDnh" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &5215952930630352083 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4854565401698196830} - - component: {fileID: 9038669521379582672} - - component: {fileID: 6565197488698951621} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4854565401698196830 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5215952930630352083} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 346965268310807988} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &9038669521379582672 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5215952930630352083} - m_CullTransparentMesh: 1 ---- !u!114 &6565197488698951621 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5215952930630352083} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "Thu\u1ED9c t\xEDnh" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &5448913263482542468 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 804417660112302201} - - component: {fileID: 3044446658865378926} - - component: {fileID: 7082862639076494979} - m_Layer: 5 - m_Name: title_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &804417660112302201 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5448913263482542468} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 8260572354647293687} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 285.4302, y: -30} - m_SizeDelta: {x: 91.6159, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3044446658865378926 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5448913263482542468} - m_CullTransparentMesh: 1 ---- !u!114 &7082862639076494979 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5448913263482542468} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\xEAn th\xFA:" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.05 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &5512748113912562812 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4899625702985700152} - - component: {fileID: 5993031608341572867} - - component: {fileID: 8797061996307342063} - m_Layer: 5 - m_Name: box8 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4899625702985700152 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5512748113912562812} + m_GameObject: {fileID: 5447703489185023651} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 6159215247302956664} - - {fileID: 6405769787113445941} - - {fileID: 3650668307530204616} - - {fileID: 651891600224737807} - - {fileID: 7793395058439459274} - - {fileID: 3597983198514571969} - - {fileID: 1638435008902730145} - - {fileID: 5480722371866034669} - m_Father: {fileID: 9117334286734558909} + - {fileID: 7943752480909176249} + - {fileID: 3200208406195095375} + - {fileID: 2365663903306128583} + - {fileID: 5708822584962701248} + - {fileID: 8882903949157006170} + - {fileID: 6165010831916478045} + m_Father: {fileID: 2996968374502470470} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -296.42017, y: -56} + m_SizeDelta: {x: 548.8378, y: 696.53} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1820092494333766511 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5447703489185023651} + m_CullTransparentMesh: 1 +--- !u!114 &5179896020678852059 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5447703489185023651} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 9c4319cc6da3f6f438604a9da2496829, type: 3} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &6029267655065740123 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4169649014949499783} + - component: {fileID: 5122092622748274520} + - component: {fileID: 6956637210649367634} + - component: {fileID: 98279077225906864} + m_Layer: 5 + m_Name: Viewport + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &4169649014949499783 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6029267655065740123} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 6146182060371184350} + m_Father: {fileID: 149065269356042803} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5993031608341572867 + m_SizeDelta: {x: 0, y: -17} + m_Pivot: {x: 0, y: 1} +--- !u!222 &5122092622748274520 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5512748113912562812} + m_GameObject: {fileID: 6029267655065740123} m_CullTransparentMesh: 1 ---- !u!114 &8797061996307342063 +--- !u!114 &6956637210649367634 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5512748113912562812} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0.84705883} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &5541143539475556580 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2138081490403400130} - - component: {fileID: 7244798528807442077} - - component: {fileID: 6363856458743508090} - m_Layer: 5 - m_Name: title_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2138081490403400130 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5541143539475556580} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 3274956461252547225} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 285.4302, y: -30} - m_SizeDelta: {x: 91.6159, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7244798528807442077 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5541143539475556580} - m_CullTransparentMesh: 1 ---- !u!114 &6363856458743508090 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5541143539475556580} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\xEAn th\xFA:" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.05 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &5633087887855412475 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 909051479852498178} - - component: {fileID: 26291519284363699} - - component: {fileID: 4268579921660313114} - m_Layer: 5 - m_Name: title_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &909051479852498178 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5633087887855412475} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 211456295085798898} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 43.3, y: -30} - m_SizeDelta: {x: 42.270203, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &26291519284363699 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5633087887855412475} - m_CullTransparentMesh: 1 ---- !u!114 &4268579921660313114 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5633087887855412475} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.3 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &5684835514685347569 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2333068920429420138} - - component: {fileID: 289328602340509563} - - component: {fileID: 1213251964891060741} - m_Layer: 5 - m_Name: text_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2333068920429420138 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5684835514685347569} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 211456295085798898} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 70.47583, y: -84.4} - m_SizeDelta: {x: 96.622, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &289328602340509563 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5684835514685347569} - m_CullTransparentMesh: 1 ---- !u!114 &1213251964891060741 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5684835514685347569} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p 10" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &5760048266434829944 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1751817922211066934} - - component: {fileID: 6140931885666135490} - - component: {fileID: 8610141171854371611} - m_Layer: 5 - m_Name: content_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1751817922211066934 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5760048266434829944} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7102619655948086281} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 527.74097, y: -30} - m_SizeDelta: {x: 384.4977, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6140931885666135490 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5760048266434829944} - m_CullTransparentMesh: 1 ---- !u!114 &8610141171854371611 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5760048266434829944} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\u1EED S\u1EAFc Linh H\u1ED3 " - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &5876780938263090882 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2427007445932155897} - - component: {fileID: 7998841662210019448} - - component: {fileID: 6976257775715995380} - - component: {fileID: 6105035509064218572} - m_Layer: 5 - m_Name: page_2 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2427007445932155897 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5876780938263090882} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 674781935163886888} - - {fileID: 1367151585653230994} - m_Father: {fileID: 628038525523165487} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 302.5, y: 31.3} - m_SizeDelta: {x: 200, y: 62.6} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7998841662210019448 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5876780938263090882} - m_CullTransparentMesh: 1 ---- !u!114 &6976257775715995380 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5876780938263090882} + m_GameObject: {fileID: 6029267655065740123} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} @@ -12419,8 +2077,8 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 + m_Sprite: {fileID: 10917, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 @@ -12429,972 +2087,19 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!114 &6105035509064218572 +--- !u!114 &98279077225906864 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5876780938263090882} + m_GameObject: {fileID: 6029267655065740123} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3} m_Name: m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 6976257775715995380} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &6011064671526134563 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6159215247302956664} - - component: {fileID: 7022832015152317876} - - component: {fileID: 5110432635588686740} - m_Layer: 5 - m_Name: title_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6159215247302956664 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6011064671526134563} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4899625702985700152} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 43.3, y: -30} - m_SizeDelta: {x: 42.270203, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7022832015152317876 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6011064671526134563} - m_CullTransparentMesh: 1 ---- !u!114 &5110432635588686740 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6011064671526134563} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.3 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &6048797516219488571 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5266637998219054086} - - component: {fileID: 6552432057372405402} - - component: {fileID: 1559279633964354014} - - component: {fileID: 7088926531072666487} - m_Layer: 5 - m_Name: btnHome - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5266637998219054086 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6048797516219488571} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 4264436569789591670} - m_Father: {fileID: 5736849753780742568} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 252.9, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6552432057372405402 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6048797516219488571} - m_CullTransparentMesh: 1 ---- !u!114 &1559279633964354014 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6048797516219488571} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7088926531072666487 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6048797516219488571} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 1559279633964354014} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &6147233009351033749 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4206239957378975680} - - component: {fileID: 873357365989802968} - - component: {fileID: 8058626546521254616} - m_Layer: 5 - m_Name: content_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4206239957378975680 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6147233009351033749} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5281447612524862329} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 527.74097, y: -30} - m_SizeDelta: {x: 384.4977, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &873357365989802968 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6147233009351033749} - m_CullTransparentMesh: 1 ---- !u!114 &8058626546521254616 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6147233009351033749} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\u1EED S\u1EAFc Linh H\u1ED3 " - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &6180866921366500805 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7072219612939246837} - - component: {fileID: 7575942406666951302} - - component: {fileID: 1930502683135200942} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7072219612939246837 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6180866921366500805} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 8045332874214743074} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7575942406666951302 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6180866921366500805} - m_CullTransparentMesh: 1 ---- !u!114 &1930502683135200942 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6180866921366500805} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi v\u1EC1" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &6210980833766609580 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5973659177594299107} - - component: {fileID: 1232496925488659345} - - component: {fileID: 1267765860493258559} - - component: {fileID: 676668201518825258} - m_Layer: 5 - m_Name: btnAttribute - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5973659177594299107 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6210980833766609580} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 6376379521189378798} - m_Father: {fileID: 3274956461252547225} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -50.1, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1232496925488659345 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6210980833766609580} - m_CullTransparentMesh: 1 ---- !u!114 &1267765860493258559 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6210980833766609580} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &676668201518825258 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6210980833766609580} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 1267765860493258559} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &6389156510838533406 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 942512672124183760} - - component: {fileID: 1503944171558262169} - - component: {fileID: 6185455068675766866} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &942512672124183760 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6389156510838533406} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4407777927406834004} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1503944171558262169 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6389156510838533406} - m_CullTransparentMesh: 1 ---- !u!114 &6185455068675766866 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6389156510838533406} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi v\u1EC1" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &6471625610942628718 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2642659193978858714} - - component: {fileID: 3514704827430608174} - - component: {fileID: 8778226339755394244} - m_Layer: 5 - m_Name: content_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2642659193978858714 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6471625610942628718} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 3274956461252547225} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 527.74097, y: -30} - m_SizeDelta: {x: 384.4977, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3514704827430608174 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6471625610942628718} - m_CullTransparentMesh: 1 ---- !u!114 &8778226339755394244 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6471625610942628718} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\u1EED S\u1EAFc Linh H\u1ED3 " - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} + m_ShowMaskGraphic: 0 --- !u!1 &6545415726588748883 GameObject: m_ObjectHideFlags: 0 @@ -13420,25 +2125,20 @@ RectTransform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 6545415726588748883} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 1216181477664553331} - - {fileID: 6497347927771429827} - {fileID: 7209708966561905306} - - {fileID: 804417660112302201} - {fileID: 4783086569943195517} - - {fileID: 7774572617702707948} - - {fileID: 6644039572984630879} - - {fileID: 4407777927406834004} - m_Father: {fileID: 9117334286734558909} + - {fileID: 6497347927771429827} + m_Father: {fileID: 6146182060371184350} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 240, y: -89} + m_SizeDelta: {x: 470, y: 130} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &4426573899586245376 CanvasRenderer: @@ -13461,15 +2161,15 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0.84705883} + m_Color: {r: 1, g: 1, b: 1, a: 0.84705883} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 + m_Sprite: {fileID: 21300000, guid: 496f3a7d82233dd4eb60cee689df75ea, type: 3} + m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 @@ -13478,142 +2178,6 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &6591322200322651439 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7854598524380629939} - - component: {fileID: 21938185805227074} - - component: {fileID: 1087397560886508112} - m_Layer: 5 - m_Name: title_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7854598524380629939 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6591322200322651439} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7750330693708386298} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 43.3, y: -30} - m_SizeDelta: {x: 42.270203, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &21938185805227074 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6591322200322651439} - m_CullTransparentMesh: 1 ---- !u!114 &1087397560886508112 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6591322200322651439} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.3 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} --- !u!1 &6606295121296938252 GameObject: m_ObjectHideFlags: 0 @@ -13645,10 +2209,10 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 3614609677134483648} - - {fileID: 628038525523165487} - - {fileID: 9117334286734558909} + - {fileID: 4680087347275026078} + - {fileID: 232399539067632254} + - {fileID: 7889082681244863727} - {fileID: 3045035826663144425} - - {fileID: 1353326268023692071} m_Father: {fileID: 5951834544630940226} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} @@ -13684,7 +2248,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 6ab12bcb0ac3d144e8f86be82ae32c81, type: 3} + m_Sprite: {fileID: 21300000, guid: c5fe78600f76d7d47803080a06a510f9, type: 3} m_Type: 0 m_PreserveAspect: 0 m_FillCenter: 1 @@ -13694,7 +2258,7 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &6670086666510191336 +--- !u!1 &6625257606839194487 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -13702,50 +2266,50 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 5161842358847364781} - - component: {fileID: 153587287720068085} - - component: {fileID: 6737806006489583606} + - component: {fileID: 7565202046914263593} + - component: {fileID: 2477846420901460577} + - component: {fileID: 164215783080885169} m_Layer: 5 - m_Name: title_level + m_Name: text_detail m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &5161842358847364781 +--- !u!224 &7565202046914263593 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6670086666510191336} + m_GameObject: {fileID: 6625257606839194487} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 3274956461252547225} + m_Father: {fileID: 8882903949157006170} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 43.3, y: -30} - m_SizeDelta: {x: 42.270203, y: 50} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &153587287720068085 +--- !u!222 &2477846420901460577 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6670086666510191336} + m_GameObject: {fileID: 6625257606839194487} m_CullTransparentMesh: 1 ---- !u!114 &6737806006489583606 +--- !u!114 &164215783080885169 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6670086666510191336} + m_GameObject: {fileID: 6625257606839194487} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} @@ -13759,783 +2323,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: "C\u1EA5p" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.3 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &6883100188629043439 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2636030820258740174} - - component: {fileID: 6957654804238015776} - - component: {fileID: 7564943655389606010} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2636030820258740174 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6883100188629043439} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4451157359945795420} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6957654804238015776 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6883100188629043439} - m_CullTransparentMesh: 1 ---- !u!114 &7564943655389606010 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6883100188629043439} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi ra" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &7045306875917698746 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3433347540707903539} - - component: {fileID: 358805807650760968} - - component: {fileID: 2765852823746430482} - m_Layer: 5 - m_Name: icon_animal - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3433347540707903539 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7045306875917698746} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5661480271804220520} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 88, y: -56} - m_SizeDelta: {x: 70, y: 70} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &358805807650760968 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7045306875917698746} - m_CullTransparentMesh: 1 ---- !u!114 &2765852823746430482 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7045306875917698746} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: a5366f3bce011c046902e39b6bd3a077, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &7105203704588837928 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5661480271804220520} - - component: {fileID: 244172627972547094} - - component: {fileID: 6957186189307911431} - m_Layer: 5 - m_Name: content_top - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5661480271804220520 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7105203704588837928} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 3433347540707903539} - - {fileID: 166248371646279182} - - {fileID: 4063841501477164568} - - {fileID: 8590528947121248070} - - {fileID: 4974162358324706886} - - {fileID: 1038435202986615292} - - {fileID: 5424900973456772212} - m_Father: {fileID: 1353326268023692071} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.8283, y: 300} - m_SizeDelta: {x: 676.5688, y: 117.1668} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &244172627972547094 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7105203704588837928} - m_CullTransparentMesh: 1 ---- !u!114 &6957186189307911431 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7105203704588837928} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 8b900a515a652db479c6520fd9a711ce, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &7166848776405797958 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4453154544897242151} - - component: {fileID: 4011409435189835631} - - component: {fileID: 1907019655093498400} - m_Layer: 5 - m_Name: icon_animal - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4453154544897242151 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7166848776405797958} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7750330693708386298} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0.5} - m_AnchorMax: {x: 0, y: 0.5} - m_AnchoredPosition: {x: 166.5, y: 0} - m_SizeDelta: {x: 77.11511, y: 77.8302} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4011409435189835631 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7166848776405797958} - m_CullTransparentMesh: 1 ---- !u!114 &1907019655093498400 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7166848776405797958} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 1356336560449e54a921e7243886103d, type: 3} - m_Type: 0 - m_PreserveAspect: 1 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &7246705060809839185 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1613399099981941876} - - component: {fileID: 295919724510335395} - - component: {fileID: 7213958888562915832} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1613399099981941876 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7246705060809839185} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 8886538859982903307} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &295919724510335395 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7246705060809839185} - m_CullTransparentMesh: 1 ---- !u!114 &7213958888562915832 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7246705060809839185} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi ra" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &7294494772439420828 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4996240863957981098} - - component: {fileID: 830677609089501409} - - component: {fileID: 1166590749801998704} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4996240863957981098 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7294494772439420828} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 2832073500278706885} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &830677609089501409 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7294494772439420828} - m_CullTransparentMesh: 1 ---- !u!114 &1166590749801998704 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7294494772439420828} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "Thu\u1ED9c t\xEDnh" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &7322437409685841173 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 166248371646279182} - - component: {fileID: 8199281106899780120} - - component: {fileID: 7601149743278813332} - m_Layer: 5 - m_Name: text_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &166248371646279182 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7322437409685841173} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5661480271804220520} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -143.5492, y: 30} - m_SizeDelta: {x: 100.9016, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8199281106899780120 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7322437409685841173} - m_CullTransparentMesh: 1 ---- !u!114 &7601149743278813332 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7322437409685841173} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\xEAn th\xFA:" + m_text: New Text m_isRightToLeft: 0 m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} @@ -14565,12 +2353,12 @@ MonoBehaviour: m_fontSize: 36 m_fontSizeBase: 36 m_fontWeight: 400 - m_enableAutoSizing: 1 + m_enableAutoSizing: 0 m_fontSizeMin: 18 m_fontSizeMax: 72 m_fontStyle: 0 m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 + m_VerticalAlignment: 256 m_textAlignment: 65535 m_characterSpacing: 0 m_wordSpacing: 0 @@ -14606,7 +2394,7 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &7407215828594339672 +--- !u!1 &7885291704080927552 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -14614,993 +2402,65 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 8045332874214743074} - - component: {fileID: 4042864787121152686} - - component: {fileID: 5632087661937164936} - - component: {fileID: 1223505009269230641} + - component: {fileID: 8882903949157006170} + - component: {fileID: 7197013536652043417} + - component: {fileID: 6308491407951974914} m_Layer: 5 - m_Name: btnHome + m_Name: pet_detail m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &8045332874214743074 +--- !u!224 &8882903949157006170 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7407215828594339672} + m_GameObject: {fileID: 7885291704080927552} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 7072219612939246837} - m_Father: {fileID: 7102619655948086281} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 252.9, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4042864787121152686 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7407215828594339672} - m_CullTransparentMesh: 1 ---- !u!114 &5632087661937164936 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7407215828594339672} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &1223505009269230641 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7407215828594339672} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 5632087661937164936} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &7465983114653555337 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1255325458421964783} - - component: {fileID: 8728394573098076193} - - component: {fileID: 5417639564043009367} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1255325458421964783 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7465983114653555337} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4429993476238260725} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8728394573098076193 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7465983114653555337} - m_CullTransparentMesh: 1 ---- !u!114 &5417639564043009367 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7465983114653555337} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi v\u1EC1" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &7619173577374868106 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2967186050209365698} - - component: {fileID: 7348134457975587740} - - component: {fileID: 4928739168022536008} - - component: {fileID: 5715623778650111582} - m_Layer: 5 - m_Name: btnHome - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2967186050209365698 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7619173577374868106} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 6562239918987924098} - m_Father: {fileID: 3274956461252547225} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 252.9, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7348134457975587740 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7619173577374868106} - m_CullTransparentMesh: 1 ---- !u!114 &4928739168022536008 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7619173577374868106} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &5715623778650111582 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7619173577374868106} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 4928739168022536008} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &7697073967687380795 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6677539019853983827} - - component: {fileID: 7348556984167410263} - - component: {fileID: 773915625258504005} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6677539019853983827 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7697073967687380795} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 2038153817227610680} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7348556984167410263 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7697073967687380795} - m_CullTransparentMesh: 1 ---- !u!114 &773915625258504005 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7697073967687380795} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "Thu\u1ED9c t\xEDnh" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &7777250809816024833 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6644039572984630879} - - component: {fileID: 2654666324089983840} - - component: {fileID: 1310409188099979226} - - component: {fileID: 3023451547553708836} - m_Layer: 5 - m_Name: btnOut - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6644039572984630879 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7777250809816024833} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 6902965041995710695} - m_Father: {fileID: 8260572354647293687} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 103.2, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &2654666324089983840 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7777250809816024833} - m_CullTransparentMesh: 1 ---- !u!114 &1310409188099979226 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7777250809816024833} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &3023451547553708836 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7777250809816024833} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 1310409188099979226} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &7798656970197959818 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2038153817227610680} - - component: {fileID: 2222993509622353364} - - component: {fileID: 8415453222774637109} - - component: {fileID: 3218580772121312964} - m_Layer: 5 - m_Name: btnAttribute - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2038153817227610680 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7798656970197959818} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 6677539019853983827} - m_Father: {fileID: 7102619655948086281} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -50.1, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &2222993509622353364 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7798656970197959818} - m_CullTransparentMesh: 1 ---- !u!114 &8415453222774637109 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7798656970197959818} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &3218580772121312964 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7798656970197959818} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 8415453222774637109} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &7882225177377533459 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5704198983784355791} - - component: {fileID: 1970460453548639449} - - component: {fileID: 3820054466513568780} - m_Layer: 5 - m_Name: text_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5704198983784355791 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7882225177377533459} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7750330693708386298} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 70.47583, y: -84.4} - m_SizeDelta: {x: 96.622, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1970460453548639449 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7882225177377533459} - m_CullTransparentMesh: 1 ---- !u!114 &3820054466513568780 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7882225177377533459} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p 10" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 39.15 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &8032962284840452827 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 628038525523165487} - m_Layer: 5 - m_Name: box_button_page - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &628038525523165487 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8032962284840452827} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 2711780913503914813} - - {fileID: 2427007445932155897} - m_Father: {fileID: 2996968374502470470} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -51.4604, y: 331.42} - m_SizeDelta: {x: 1392.4191, y: 78.747} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &8046427718355039593 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1551315223609741460} - - component: {fileID: 4593995899570491266} - - component: {fileID: 1418133024047232041} - m_Layer: 5 - m_Name: content_mid_1 - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1551315223609741460 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8046427718355039593} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 1353326268023692071} + - {fileID: 7565202046914263593} + m_Father: {fileID: 7889082681244863727} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0.97314453, y: 48.68799} - m_SizeDelta: {x: -30.7139, y: -502.456} + m_AnchoredPosition: {x: 2.879303, y: -23.172089} + m_SizeDelta: {x: -47.9896, y: -264.8245} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4593995899570491266 +--- !u!222 &7197013536652043417 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8046427718355039593} + m_GameObject: {fileID: 7885291704080927552} m_CullTransparentMesh: 1 ---- !u!114 &1418133024047232041 +--- !u!114 &6308491407951974914 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8046427718355039593} + m_GameObject: {fileID: 7885291704080927552} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Color: {r: 1, g: 1, b: 1, a: 0} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 31724268aed254d4c9a0523e647a6c71, type: 3} + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -15610,7 +2470,7 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &8218472400492161409 +--- !u!1 &8289542286806564031 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -15618,671 +2478,52 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 7306643221236935726} - - component: {fileID: 4273877355682388422} - - component: {fileID: 5328584516814327022} + - component: {fileID: 1624473230281581442} + - component: {fileID: 8020146243949153046} + - component: {fileID: 7011007739560966524} + - component: {fileID: 3388903545038814812} m_Layer: 5 - m_Name: MaskOff + m_Name: btn_out m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &7306643221236935726 +--- !u!224 &1624473230281581442 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8218472400492161409} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 2711780913503914813} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4273877355682388422 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8218472400492161409} - m_CullTransparentMesh: 1 ---- !u!114 &5328584516814327022 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8218472400492161409} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 0.69803923} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 0} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &8232183239187098781 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8590528947121248070} - - component: {fileID: 1431885405284650450} - - component: {fileID: 5149690061599364380} - m_Layer: 5 - m_Name: text_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8590528947121248070 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8232183239187098781} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5661480271804220520} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -143.5492, y: -30} - m_SizeDelta: {x: 100.9016, y: 47} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1431885405284650450 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8232183239187098781} - m_CullTransparentMesh: 1 ---- !u!114 &5149690061599364380 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8232183239187098781} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "C\u1EA5p: " - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 36 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &8291698530061372470 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 8097014772423382031} - - component: {fileID: 4660366401874172114} - - component: {fileID: 89349268548751403} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &8097014772423382031 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8291698530061372470} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 1131361785078546403} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4660366401874172114 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8291698530061372470} - m_CullTransparentMesh: 1 ---- !u!114 &89349268548751403 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8291698530061372470} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "Thu\u1ED9c t\xEDnh" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &8302136659849261224 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4148940406463842858} - - component: {fileID: 1917530927924217523} - - component: {fileID: 788302566926376428} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4148940406463842858 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8302136659849261224} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 73739079069613023} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1917530927924217523 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8302136659849261224} - m_CullTransparentMesh: 1 ---- !u!114 &788302566926376428 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8302136659849261224} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "Thu\u1ED9c t\xEDnh" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &8331007331040293138 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5324451436503189788} - - component: {fileID: 1075297761839813936} - - component: {fileID: 7615951529992007699} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5324451436503189788 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8331007331040293138} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5479936111843903356} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1075297761839813936 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8331007331040293138} - m_CullTransparentMesh: 1 ---- !u!114 &7615951529992007699 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8331007331040293138} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi v\u1EC1" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &8379072183218138085 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3063691192277144041} - - component: {fileID: 8565185084643288713} - - component: {fileID: 5510673111126320320} - - component: {fileID: 8542977807603803707} - m_Layer: 5 - m_Name: btnOut - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3063691192277144041 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8379072183218138085} + m_GameObject: {fileID: 8289542286806564031} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 2048603942926521126} - m_Father: {fileID: 5281447612524862329} + - {fileID: 5460796887437285805} + m_Father: {fileID: 6165010831916478045} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 103.2, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} + m_AnchorMin: {x: 1, y: 0.5} + m_AnchorMax: {x: 1, y: 0.5} + m_AnchoredPosition: {x: -164, y: 0.0000009536743} + m_SizeDelta: {x: 210, y: 80} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8565185084643288713 +--- !u!222 &8020146243949153046 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8379072183218138085} + m_GameObject: {fileID: 8289542286806564031} m_CullTransparentMesh: 1 ---- !u!114 &5510673111126320320 +--- !u!114 &7011007739560966524 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8379072183218138085} + m_GameObject: {fileID: 8289542286806564031} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} @@ -16296,7 +2537,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} + m_Sprite: {fileID: 21300000, guid: 56a0c6433a96b8d4b908b93909d45139, type: 3} m_Type: 0 m_PreserveAspect: 0 m_FillCenter: 1 @@ -16306,13 +2547,13 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!114 &8542977807603803707 +--- !u!114 &3388903545038814812 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8379072183218138085} + m_GameObject: {fileID: 8289542286806564031} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} @@ -16346,11 +2587,11 @@ MonoBehaviour: m_SelectedTrigger: Selected m_DisabledTrigger: Disabled m_Interactable: 1 - m_TargetGraphic: {fileID: 5510673111126320320} + m_TargetGraphic: {fileID: 7011007739560966524} m_OnClick: m_PersistentCalls: m_Calls: [] ---- !u!1 &8682013798837002208 +--- !u!1 &8730230377445875277 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -16358,579 +2599,50 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 7774572617702707948} - - component: {fileID: 3128595884763401459} - - component: {fileID: 6385852276722389570} - - component: {fileID: 3295263763938772095} + - component: {fileID: 3200208406195095375} + - component: {fileID: 3745110826719338608} + - component: {fileID: 3493020700139178670} m_Layer: 5 - m_Name: btnAttribute + m_Name: content_name m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &7774572617702707948 +--- !u!224 &3200208406195095375 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8682013798837002208} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 7083781475820253170} - m_Father: {fileID: 8260572354647293687} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -50.1, y: 30.95} - m_SizeDelta: {x: 125.6725, y: 36.7} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3128595884763401459 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8682013798837002208} - m_CullTransparentMesh: 1 ---- !u!114 &6385852276722389570 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8682013798837002208} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: cfea9e76bd5ae49418c53d06217ce344, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &3295263763938772095 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8682013798837002208} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 6385852276722389570} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &8698965341755562631 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5155040557274753938} - - component: {fileID: 4388708245743838620} - - component: {fileID: 4534509343098992397} - m_Layer: 5 - m_Name: title_name - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5155040557274753938 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8698965341755562631} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 4384883841943295636} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 285.4302, y: -30} - m_SizeDelta: {x: 91.6159, y: 50} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4388708245743838620 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8698965341755562631} - m_CullTransparentMesh: 1 ---- !u!114 &4534509343098992397 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8698965341755562631} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "T\xEAn th\xFA:" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 37.05 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &8709478039785936799 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4942886496749296820} - - component: {fileID: 127458342444564583} - - component: {fileID: 7548108124179648840} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4942886496749296820 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8709478039785936799} + m_GameObject: {fileID: 8730230377445875277} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 6681725455170315982} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &127458342444564583 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8709478039785936799} - m_CullTransparentMesh: 1 ---- !u!114 &7548108124179648840 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8709478039785936799} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi v\u1EC1" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &8750983820284690458 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3786818745143291019} - - component: {fileID: 2440961601483640786} - - component: {fileID: 1244000983597435098} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3786818745143291019 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8750983820284690458} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 35972816464772339} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -0.11569977, y: 1.4649} - m_SizeDelta: {x: 107.8851, y: 22.3376} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &2440961601483640786 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8750983820284690458} - m_CullTransparentMesh: 1 ---- !u!114 &1244000983597435098 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8750983820284690458} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "G\u1ECDi ra" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 18 - m_fontSizeBase: 24 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &9012168534038567241 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6256874091489525413} - - component: {fileID: 850665450617156505} - - component: {fileID: 1661877544885067331} - m_Layer: 5 - m_Name: text_level - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6256874091489525413 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9012168534038567241} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5281447612524862329} + m_Father: {fileID: 7889082681244863727} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 70.47583, y: -84.4} - m_SizeDelta: {x: 96.622, y: 50} + m_AnchoredPosition: {x: 369, y: -54.218018} + m_SizeDelta: {x: 384.4977, y: 50} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &850665450617156505 +--- !u!222 &3745110826719338608 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9012168534038567241} + m_GameObject: {fileID: 8730230377445875277} m_CullTransparentMesh: 1 ---- !u!114 &1661877544885067331 +--- !u!114 &3493020700139178670 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9012168534038567241} + m_GameObject: {fileID: 8730230377445875277} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} @@ -16944,7 +2656,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: "C\u1EA5p 10" + m_text: "T\u1EED S\u1EAFc Linh H\u1ED3 " m_isRightToLeft: 0 m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} @@ -17015,7 +2727,7 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &9065241765546804102 +--- !u!1 &8737411452338697354 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -17023,66 +2735,68 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 339510487700143132} - - component: {fileID: 7821197529036220498} - - component: {fileID: 7037426246285588439} + - component: {fileID: 149065269356042803} + - component: {fileID: 7624319500203464743} + - component: {fileID: 2997615890410778055} + - component: {fileID: 2373207136937115723} m_Layer: 5 - m_Name: icon_animal + m_Name: Scroll View m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &339510487700143132 +--- !u!224 &149065269356042803 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9065241765546804102} + m_GameObject: {fileID: 8737411452338697354} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 211456295085798898} + m_Children: + - {fileID: 4169649014949499783} + m_Father: {fileID: 4680087347275026078} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0.5} - m_AnchorMax: {x: 0, y: 0.5} - m_AnchoredPosition: {x: 166.5, y: 0} - m_SizeDelta: {x: 77.11511, y: 77.8302} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7821197529036220498 +--- !u!222 &7624319500203464743 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9065241765546804102} + m_GameObject: {fileID: 8737411452338697354} m_CullTransparentMesh: 1 ---- !u!114 &7037426246285588439 +--- !u!114 &2997615890410778055 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9065241765546804102} + m_GameObject: {fileID: 8737411452338697354} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Color: {r: 1, g: 1, b: 1, a: 0} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 1356336560449e54a921e7243886103d, type: 3} - m_Type: 0 - m_PreserveAspect: 1 + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 m_FillAmount: 1 @@ -17090,7 +2804,37 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &9153830276592052019 +--- !u!114 &2373207136937115723 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8737411452338697354} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Content: {fileID: 6146182060371184350} + m_Horizontal: 0 + m_Vertical: 1 + m_MovementType: 1 + m_Elasticity: 0.1 + m_Inertia: 1 + m_DecelerationRate: 0.135 + m_ScrollSensitivity: 1 + m_Viewport: {fileID: 4169649014949499783} + m_HorizontalScrollbar: {fileID: 0} + m_VerticalScrollbar: {fileID: 0} + m_HorizontalScrollbarVisibility: 2 + m_VerticalScrollbarVisibility: 2 + m_HorizontalScrollbarSpacing: -3 + m_VerticalScrollbarSpacing: -3 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &8781980016251297958 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -17098,267 +2842,71 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 878817954833932422} - - component: {fileID: 3183415803294461127} - - component: {fileID: 7104027597566052146} + - component: {fileID: 6146182060371184350} + - component: {fileID: 7950598053436953345} + - component: {fileID: 4379278972236498793} m_Layer: 5 - m_Name: Text (TMP) + m_Name: Content m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &878817954833932422 +--- !u!224 &6146182060371184350 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9153830276592052019} + m_GameObject: {fileID: 8781980016251297958} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 2711780913503914813} + m_Children: + - {fileID: 8260572354647293687} + m_Father: {fileID: 4169649014949499783} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.1277008, y: 2.3692017} - m_SizeDelta: {x: 171.5896, y: 37.6055} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &3183415803294461127 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9153830276592052019} - m_CullTransparentMesh: 1 ---- !u!114 &7104027597566052146 + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 1} +--- !u!114 &7950598053436953345 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9153830276592052019} + m_GameObject: {fileID: 8781980016251297958} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3} m_Name: m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "Trang \u0111\u1EA7u" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 29.45 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &9184399471783479260 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 674781935163886888} - - component: {fileID: 1853422576909685903} - - component: {fileID: 7543145601066369221} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &674781935163886888 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9184399471783479260} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 2427007445932155897} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0.1277008, y: 2.3692017} - m_SizeDelta: {x: 171.5896, y: 37.6055} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1853422576909685903 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9184399471783479260} - m_CullTransparentMesh: 1 ---- !u!114 &7543145601066369221 + m_Padding: + m_Left: 5 + m_Right: 0 + m_Top: 24 + m_Bottom: 0 + m_ChildAlignment: 0 + m_StartCorner: 0 + m_StartAxis: 0 + m_CellSize: {x: 470, y: 130} + m_Spacing: {x: 0, y: 0} + m_Constraint: 1 + m_ConstraintCount: 2 +--- !u!114 &4379278972236498793 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9184399471783479260} + m_GameObject: {fileID: 8781980016251297958} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} m_Name: m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: "Trang th\u1EE9 hai" - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 29.45 - m_fontSizeBase: 36 - m_fontWeight: 400 - m_enableAutoSizing: 1 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 4096 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} + m_HorizontalFit: 2 + m_VerticalFit: 2 diff --git a/Assets/Prefabs/UI/DlgInstall.prefab b/Assets/Prefabs/UI/DlgInstall.prefab index 6f3794f91f..00889b06d0 100644 --- a/Assets/Prefabs/UI/DlgInstall.prefab +++ b/Assets/Prefabs/UI/DlgInstall.prefab @@ -136,157 +136,6 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &19015146388424398 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3441758429368724848} - - component: {fileID: 8472533781001959199} - - component: {fileID: 3406667965304374210} - - component: {fileID: 5011703699534513367} - m_Layer: 5 - m_Name: Text (TMP) (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3441758429368724848 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 19015146388424398} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7750009739432212686} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 21, y: -55.426666} - m_SizeDelta: {x: 465.7476, y: 0} - m_Pivot: {x: 0, y: 0.5} ---- !u!222 &8472533781001959199 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 19015146388424398} - m_CullTransparentMesh: 1 ---- !u!114 &3406667965304374210 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 19015146388424398} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 30 - m_fontSizeBase: 30 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!114 &5011703699534513367 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 19015146388424398} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalFit: 0 - m_VerticalFit: 2 --- !u!1 &22596506348004386 GameObject: m_ObjectHideFlags: 0 @@ -362,157 +211,6 @@ MonoBehaviour: m_FillOrigin: 2 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &53281224900294264 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1219144579404241487} - - component: {fileID: 5421162108735974366} - - component: {fileID: 7714144418019292086} - - component: {fileID: 253843340010099609} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1219144579404241487 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 53281224900294264} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7750009739432212686} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 21, y: -0} - m_SizeDelta: {x: 472.5032, y: 0} - m_Pivot: {x: 0, y: 0.5} ---- !u!222 &5421162108735974366 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 53281224900294264} - m_CullTransparentMesh: 1 ---- !u!114 &7714144418019292086 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 53281224900294264} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 30 - m_fontSizeBase: 30 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!114 &253843340010099609 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 53281224900294264} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalFit: 0 - m_VerticalFit: 2 --- !u!1 &389568695121305489 GameObject: m_ObjectHideFlags: 0 @@ -4795,159 +4493,6 @@ MonoBehaviour: m_FillOrigin: 2 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &2835372938953839732 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5555403369455806863} - - component: {fileID: 2988852745465414163} - - component: {fileID: 645831281989042977} - - component: {fileID: 7926510773112644100} - m_Layer: 5 - m_Name: Text (TMP) (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5555403369455806863 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2835372938953839732} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7750009739432212686} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 21, y: -27.713333} - m_SizeDelta: {x: 465.7476, y: 38.28} - m_Pivot: {x: 0, y: 0.5} ---- !u!222 &2988852745465414163 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2835372938953839732} - m_CullTransparentMesh: 1 ---- !u!114 &645831281989042977 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2835372938953839732} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: 'abcdegtiklm - -' - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 30 - m_fontSizeBase: 30 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!114 &7926510773112644100 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2835372938953839732} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalFit: 0 - m_VerticalFit: 2 --- !u!1 &2896893558709897229 GameObject: m_ObjectHideFlags: 0 @@ -10581,7 +10126,7 @@ MonoBehaviour: m_BtnCancel: {fileID: 4503836757578509720} m_BtnClose: {fileID: 5942200196902544367} khung_item: {fileID: 21300000, guid: a5366f3bce011c046902e39b6bd3a077, type: 3} - itemInventoryRoot: {fileID: 7750009739432212686} + itemInventoryRoot: {fileID: 6829484673054423729} --- !u!1 &5641506892578507279 GameObject: m_ObjectHideFlags: 0 @@ -10718,126 +10263,6 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &5644241573758805168 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7750009739432212686} - - component: {fileID: 1759257886274769699} - - component: {fileID: 340743423365558983} - - component: {fileID: 6701255257648909265} - - component: {fileID: 4434301857476777079} - m_Layer: 5 - m_Name: item_info - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &7750009739432212686 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5644241573758805168} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 1219144579404241487} - - {fileID: 5555403369455806863} - - {fileID: 3441758429368724848} - m_Father: {fileID: 7802877985602690998} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -131.8877, y: 88.297485} - m_SizeDelta: {x: -1130.2891, y: -828.9714} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1759257886274769699 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5644241573758805168} - m_CullTransparentMesh: 1 ---- !u!114 &340743423365558983 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5644241573758805168} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 31724268aed254d4c9a0523e647a6c71, type: 3} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &6701255257648909265 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5644241573758805168} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Padding: - m_Left: 21 - m_Right: 0 - m_Top: 0 - m_Bottom: 19 - m_ChildAlignment: 0 - m_Spacing: 0 - m_ChildForceExpandWidth: 1 - m_ChildForceExpandHeight: 1 - m_ChildControlWidth: 0 - m_ChildControlHeight: 0 - m_ChildScaleWidth: 0 - m_ChildScaleHeight: 0 - m_ReverseArrangement: 0 ---- !u!114 &4434301857476777079 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5644241573758805168} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalFit: 0 - m_VerticalFit: 2 --- !u!1 &5762148624518890579 GameObject: m_ObjectHideFlags: 0 @@ -12116,18 +11541,12 @@ MonoBehaviour: - {fileID: 682304874874096685} equipmentPackButtons: [] fashionPackButtons: [] - detailPanelRoot: {fileID: 5644241573758805168} + detailPanelRoot: {fileID: 4012993487235845803} detailPanelOffset: {x: 20, y: 0} hideDetailOnStart: 1 - nameText: - legacy: {fileID: 0} - tmp: {fileID: 7714144418019292086} descriptionText: legacy: {fileID: 0} - tmp: {fileID: 645831281989042977} - extendedDescText: - legacy: {fileID: 0} - tmp: {fileID: 0} + tmp: {fileID: 7977462308482374098} equipButton: {fileID: 0} dropButton: {fileID: 0} autoRefresh: 1 @@ -15919,7 +15338,7 @@ RectTransform: - {fileID: 368043242273701515} - {fileID: 9177880079034759179} - {fileID: 7246818111234384827} - - {fileID: 7750009739432212686} + - {fileID: 6829484673054423729} m_Father: {fileID: 2126663214709926210} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} @@ -16087,3 +15506,129 @@ MonoBehaviour: m_OnClick: m_PersistentCalls: m_Calls: [] +--- !u!1001 &5454539435686182200 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 7802877985602690998} + m_Modifications: + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_SizeDelta.x + value: 450 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_AnchoredPosition.x + value: 220.02612 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_AnchoredPosition.y + value: -32.73999 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6830833846243993097, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_Name + value: item_info + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: + - {fileID: 5721094068644211543, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + - {fileID: 2412057975732520665, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} +--- !u!114 &4012993487235845803 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8936108025019184019, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + m_PrefabInstance: {fileID: 5454539435686182200} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fc26b8fa93aea49b4abb8fe5455e51fe, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!224 &6829484673054423729 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + m_PrefabInstance: {fileID: 5454539435686182200} + m_PrefabAsset: {fileID: 0} +--- !u!114 &7977462308482374098 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 2668322321768899818, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + m_PrefabInstance: {fileID: 5454539435686182200} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/Assets/Prefabs/UI/DlgUninstall.prefab b/Assets/Prefabs/UI/DlgUninstall.prefab index 99616be4f8..35533b247e 100644 --- a/Assets/Prefabs/UI/DlgUninstall.prefab +++ b/Assets/Prefabs/UI/DlgUninstall.prefab @@ -5008,7 +5008,7 @@ RectTransform: - {fileID: 1855914562645533114} - {fileID: 266114259042437322} - {fileID: 1338776982451432036} - - {fileID: 7451395605081796144} + - {fileID: 1987977497822864791} m_Father: {fileID: 4831774033530242134} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} @@ -8837,157 +8837,6 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &5153610072436737462 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3535483501415366387} - - component: {fileID: 3358883382304263411} - - component: {fileID: 7596636205239385561} - - component: {fileID: 163717152331871630} - m_Layer: 5 - m_Name: Text (TMP) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &3535483501415366387 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5153610072436737462} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7451395605081796144} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 21, y: -0} - m_SizeDelta: {x: 472.5032, y: 0} - m_Pivot: {x: 0, y: 0.5} ---- !u!222 &3358883382304263411 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5153610072436737462} - m_CullTransparentMesh: 1 ---- !u!114 &7596636205239385561 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5153610072436737462} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 30 - m_fontSizeBase: 30 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!114 &163717152331871630 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5153610072436737462} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalFit: 0 - m_VerticalFit: 2 --- !u!1 &5215326954249008745 GameObject: m_ObjectHideFlags: 0 @@ -11594,126 +11443,6 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &6647541194912851902 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7451395605081796144} - - component: {fileID: 229605796198980877} - - component: {fileID: 8242614237762955944} - - component: {fileID: 2372118916062290803} - - component: {fileID: 7152731470832453834} - m_Layer: 5 - m_Name: item_info - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 0 ---- !u!224 &7451395605081796144 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6647541194912851902} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 3535483501415366387} - - {fileID: 4883945143133524616} - - {fileID: 1650899582222234299} - m_Father: {fileID: 4506920216670819167} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -131.8877, y: 88.297485} - m_SizeDelta: {x: -1130.2891, y: -828.9714} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &229605796198980877 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6647541194912851902} - m_CullTransparentMesh: 1 ---- !u!114 &8242614237762955944 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6647541194912851902} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 31724268aed254d4c9a0523e647a6c71, type: 3} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &2372118916062290803 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6647541194912851902} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Padding: - m_Left: 21 - m_Right: 0 - m_Top: 0 - m_Bottom: 19 - m_ChildAlignment: 0 - m_Spacing: 0 - m_ChildForceExpandWidth: 1 - m_ChildForceExpandHeight: 1 - m_ChildControlWidth: 0 - m_ChildControlHeight: 0 - m_ChildScaleWidth: 0 - m_ChildScaleHeight: 0 - m_ReverseArrangement: 0 ---- !u!114 &7152731470832453834 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6647541194912851902} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalFit: 0 - m_VerticalFit: 2 --- !u!1 &6771347263960713718 GameObject: m_ObjectHideFlags: 0 @@ -12652,18 +12381,12 @@ MonoBehaviour: - {fileID: 5792136090770346751} equipmentPackButtons: [] fashionPackButtons: [] - detailPanelRoot: {fileID: 6647541194912851902} + detailPanelRoot: {fileID: 8277765033433731469} detailPanelOffset: {x: 20, y: 0} hideDetailOnStart: 1 - nameText: - legacy: {fileID: 0} - tmp: {fileID: 7596636205239385561} descriptionText: legacy: {fileID: 0} - tmp: {fileID: 5939149903645106697} - extendedDescText: - legacy: {fileID: 0} - tmp: {fileID: 0} + tmp: {fileID: 3162688658909775604} equipButton: {fileID: 0} dropButton: {fileID: 0} autoRefresh: 1 @@ -14410,7 +14133,7 @@ MonoBehaviour: m_BtnCancel: {fileID: 5948134181014720611} m_BtnClose: {fileID: 7824290302850289289} khung_item: {fileID: 21300000, guid: a5366f3bce011c046902e39b6bd3a077, type: 3} - itemInventoryRoot: {fileID: 7451395605081796144} + itemInventoryRoot: {fileID: 1987977497822864791} --- !u!1 &8698343819671822384 GameObject: m_ObjectHideFlags: 0 @@ -14533,159 +14256,6 @@ MonoBehaviour: m_OnClick: m_PersistentCalls: m_Calls: [] ---- !u!1 &8710666223290072823 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4883945143133524616} - - component: {fileID: 5944620845212319895} - - component: {fileID: 5939149903645106697} - - component: {fileID: 8941632837210193757} - m_Layer: 5 - m_Name: Text (TMP) (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4883945143133524616 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8710666223290072823} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7451395605081796144} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 21, y: -27.713333} - m_SizeDelta: {x: 465.7476, y: 38.28} - m_Pivot: {x: 0, y: 0.5} ---- !u!222 &5944620845212319895 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8710666223290072823} - m_CullTransparentMesh: 1 ---- !u!114 &5939149903645106697 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8710666223290072823} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: 'abcdegtiklm - -' - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 30 - m_fontSizeBase: 30 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!114 &8941632837210193757 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8710666223290072823} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalFit: 0 - m_VerticalFit: 2 --- !u!1 &8712555033987624320 GameObject: m_ObjectHideFlags: 0 @@ -15568,157 +15138,6 @@ MonoBehaviour: m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!1 &9184503572048888603 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1650899582222234299} - - component: {fileID: 458556213822380729} - - component: {fileID: 3835819849240119906} - - component: {fileID: 2168945657673064061} - m_Layer: 5 - m_Name: Text (TMP) (2) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1650899582222234299 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9184503572048888603} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 7451395605081796144} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 21, y: -55.426666} - m_SizeDelta: {x: 465.7476, y: 0} - m_Pivot: {x: 0, y: 0.5} ---- !u!222 &458556213822380729 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9184503572048888603} - m_CullTransparentMesh: 1 ---- !u!114 &3835819849240119906 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9184503572048888603} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_text: - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_sharedMaterial: {fileID: 9092487103257209053, guid: 369c2e14814cc9a4b8e3ad4e37769134, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 30 - m_fontSizeBase: 30 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_TextWrappingMode: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 0 - m_ActiveFontFeatures: 6e72656b - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_EmojiFallbackSupport: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} ---- !u!114 &2168945657673064061 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 9184503572048888603} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} - m_Name: - m_EditorClassIdentifier: - m_HorizontalFit: 0 - m_VerticalFit: 2 --- !u!1 &9219012330262059985 GameObject: m_ObjectHideFlags: 0 @@ -15794,3 +15213,129 @@ MonoBehaviour: m_FillOrigin: 2 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!1001 &1072957973245895198 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 4506920216670819167} + m_Modifications: + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_AnchorMax.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_AnchorMax.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_AnchorMin.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_AnchorMin.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_SizeDelta.x + value: 450 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_AnchoredPosition.x + value: 220.02612 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_AnchoredPosition.y + value: -32.73999 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 6830833846243993097, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + propertyPath: m_Name + value: item_info + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: + - {fileID: 5721094068644211543, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + - {fileID: 2412057975732520665, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} +--- !u!224 &1987977497822864791 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 1546246053547542409, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + m_PrefabInstance: {fileID: 1072957973245895198} + m_PrefabAsset: {fileID: 0} +--- !u!114 &3162688658909775604 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 2668322321768899818, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + m_PrefabInstance: {fileID: 1072957973245895198} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!114 &8277765033433731469 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8936108025019184019, guid: c56ed80641ff74ce49f91401e3eb8367, type: 3} + m_PrefabInstance: {fileID: 1072957973245895198} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fc26b8fa93aea49b4abb8fe5455e51fe, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/Assets/Scripts/CECHostPlayer.cs b/Assets/Scripts/CECHostPlayer.cs index 8e2c28a0c8..211cdbec10 100644 --- a/Assets/Scripts/CECHostPlayer.cs +++ b/Assets/Scripts/CECHostPlayer.cs @@ -629,13 +629,22 @@ namespace BrewMonster } private void NotifyUIUpdateTeam() { - try + //try + //{ + // var ui = EC_Game.GetGameRun()?.GetUIManager()?.GetInGameUIMan(); + // if (ui is CECGameUIMan gui) + // gui.UpdateTeam(false); + //} + //catch { } + var uiMan = CECUIManager.Instance?.GetInGameUIMan(); + if (uiMan == null) + return; + + var dlgTeamMain = uiMan.GetDialog("Win_TeamMain") as DlgTeamMain; + if (dlgTeamMain != null) { - var ui = EC_Game.GetGameRun()?.GetUIManager()?.GetInGameUIMan(); - if (ui is CECGameUIMan gui) - gui.UpdateTeam(false); + dlgTeamMain.UpdateTeamInfo(); } - catch { } } /// Update host duel state from S2C duel commands (MSG_PM_DUELOPT). From e33adda85f004201fda815f48e76a12e174dcf74 Mon Sep 17 00:00:00 2001 From: VuNgocHaiC7 Date: Wed, 4 Mar 2026 17:35:19 +0700 Subject: [PATCH 04/10] change UI DlgPetList and code test for dlg --- .../Scripts/UI/Dialogs/DlgPetList.cs | 598 +++++++++++------- .../Scripts/UI/Dialogs/DlgPetListBox.cs | 80 +++ .../Scripts/UI/Dialogs/DlgPetListBox.cs.meta | 2 + Assets/PerfectWorld/UI/Pet/DlgPetList.prefab | 541 +--------------- Assets/PerfectWorld/UI/Pet/box_pet.prefab | 446 +++++++++++++ .../PerfectWorld/UI/Pet/box_pet.prefab.meta | 7 + Assets/Scripts/CECHostPlayer.Party.cs | 20 + 7 files changed, 912 insertions(+), 782 deletions(-) create mode 100644 Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetListBox.cs create mode 100644 Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetListBox.cs.meta create mode 100644 Assets/PerfectWorld/UI/Pet/box_pet.prefab create mode 100644 Assets/PerfectWorld/UI/Pet/box_pet.prefab.meta diff --git a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetList.cs b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetList.cs index 9a37420569..838ac1a57b 100644 --- a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetList.cs +++ b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetList.cs @@ -3,6 +3,7 @@ using BrewMonster.Scripts.Pet; using CSNetwork.GPDataType; using ModelRenderer.Scripts.GameData; using System; +using System.Collections.Generic; using System.IO; using TMPro; using UnityEngine; @@ -12,170 +13,327 @@ namespace BrewMonster.UI { public class CDlgPetList : AUIDialog { - public const int CDLGPETLIST_SLOT_MAX = 10; - public const int CDLGPETLIST_PAGE_MAX = 2; + //public const int CDLGPETLIST_SLOT_MAX = 10; + //public const int CDLGPETLIST_PAGE_MAX = 2; - [SerializeField] private Button[] m_pBtn_Summon = new Button[CDLGPETLIST_SLOT_MAX]; - [SerializeField] private Button[] m_pBtn_Recall = new Button[CDLGPETLIST_SLOT_MAX]; - [SerializeField] private Button[] m_pBtn_Detail = new Button[CDLGPETLIST_SLOT_MAX]; - [SerializeField] private Button[] m_pBtn_Banish = new Button[CDLGPETLIST_SLOT_MAX]; - [SerializeField] private Button[] m_pBtn_Evolution = new Button[CDLGPETLIST_SLOT_MAX]; - [SerializeField] private Image[] m_pImg_Icon = new Image[CDLGPETLIST_SLOT_MAX]; - [SerializeField] private TextMeshProUGUI[] m_pLab_Name = new TextMeshProUGUI[CDLGPETLIST_SLOT_MAX]; - [SerializeField] private TextMeshProUGUI[] m_pLab_Level = new TextMeshProUGUI[CDLGPETLIST_SLOT_MAX]; - [SerializeField] private TextMeshProUGUI[] m_pTxt_Name = new TextMeshProUGUI[CDLGPETLIST_SLOT_MAX]; - [SerializeField] private TextMeshProUGUI[] m_pTxt_Level = new TextMeshProUGUI[CDLGPETLIST_SLOT_MAX]; + //[SerializeField] private Button[] m_pBtn_Summon = new Button[CDLGPETLIST_SLOT_MAX]; + //[SerializeField] private Button[] m_pBtn_Recall = new Button[CDLGPETLIST_SLOT_MAX]; + //[SerializeField] private Button[] m_pBtn_Detail = new Button[CDLGPETLIST_SLOT_MAX]; + //[SerializeField] private Button[] m_pBtn_Banish = new Button[CDLGPETLIST_SLOT_MAX]; + //[SerializeField] private Button[] m_pBtn_Evolution = new Button[CDLGPETLIST_SLOT_MAX]; + //[SerializeField] private Image[] m_pImg_Icon = new Image[CDLGPETLIST_SLOT_MAX]; + //[SerializeField] private TextMeshProUGUI[] m_pLab_Name = new TextMeshProUGUI[CDLGPETLIST_SLOT_MAX]; + //[SerializeField] private TextMeshProUGUI[] m_pLab_Level = new TextMeshProUGUI[CDLGPETLIST_SLOT_MAX]; + //[SerializeField] private TextMeshProUGUI[] m_pTxt_Name = new TextMeshProUGUI[CDLGPETLIST_SLOT_MAX]; + //[SerializeField] private TextMeshProUGUI[] m_pTxt_Level = new TextMeshProUGUI[CDLGPETLIST_SLOT_MAX]; + //[SerializeField] private Button m_pBtnClose; + //[SerializeField] private Sprite m_spriteDefault_Icon; + //[SerializeField] private Button[] m_pBtn_Tab; + //[SerializeField] private GameObject[] m_mask_off_pBtn_Tab; + //int m_nPageIndex; + //string strFile = ""; + //string strText = ""; + //CECPetCorral pPetCorral; + //elementdataman pDB; + //DATA_TYPE DataType = new DATA_TYPE(); + + //public void OnInitDialog() + //{ + // //string szText = ""; + // //int i; + // //for (i = 0; i < CDLGPETLIST_SLOT_MAX; i++) + // //{ + // // szText = string.Format("Img_Icon{0}", i + 1); + // // m_pImg_Icon[i] = (PAUIIMAGEPICTURE)GetDlgItem(szText); + // // sprintf(szText, "Lab_Name%d", i + 1); + // // m_pLab_Name[i] = (PAUILABEL)GetDlgItem(szText); + // // sprintf(szText, "Lab_Level%d", i + 1); + // // m_pLab_Level[i] = (PAUILABEL)GetDlgItem(szText); + // // sprintf(szText, "Txt_Name%d", i + 1); + // // m_pTxt_Name[i] = (PAUILABEL)GetDlgItem(szText); + // // sprintf(szText, "Txt_Level%d", i + 1); + // // m_pTxt_Level[i] = (PAUILABEL)GetDlgItem(szText); + // // sprintf(szText, "Btn_Recall%d", i + 1); + // // m_pBtn_Recall[i] = (PAUIIMAGEPICTURE)GetDlgItem(szText); + // // sprintf(szText, "Btn_Summon%d", i + 1); + // // m_pBtn_Summon[i] = (PAUIIMAGEPICTURE)GetDlgItem(szText); + // // sprintf(szText, "Btn_Detail%d", i + 1); + // // m_pBtn_Detail[i] = (PAUIIMAGEPICTURE)GetDlgItem(szText); + // // sprintf(szText, "Btn_Banish%d", i + 1); + // // m_pBtn_Banish[i] = (PAUIIMAGEPICTURE)GetDlgItem(szText); + // // sprintf(szText, "Btn_P%d", i + 1); + // // m_pBtn_Evolution[i] = (PAUIIMAGEPICTURE)GetDlgItem(szText); + // //} + // //for (i = 0; i < CDLGPETLIST_PAGE_MAX; i++) + // //{ + // // m_pBtn_Page[i] = NULL; + // // DDX_Control(AString().Format("Btn_Page%d", i + 1), m_pBtn_Page[i]); + // // m_pBtn_Page[i].SetPushed(false); + // //} + // m_nPageIndex = 0; + // //m_pBtn_Page[0].SetPushed(true); + // int index = 0; + // if (!IsShow()) Show(true); + // for (int i = 0; i < m_pBtn_Summon.Length; i++) + // { + // index = i; + // m_pBtn_Summon[index].onClick.RemoveAllListeners(); + // if(i == 0) + // { + // m_pBtn_Summon[i].onClick.AddListener(() => + // { + // OnCommandSummon(1); + // }); + // } + // else if(i == 1) + // { + // m_pBtn_Summon[i].onClick.AddListener(() => + // { + // OnCommandSummon(2); + // }); + // } + // else if (i == 2) + // { + // m_pBtn_Summon[i].onClick.AddListener(() => + // { + // OnCommandSummon(3); + // }); + // } + // else if (i == 3) + // { + // m_pBtn_Summon[i].onClick.AddListener(() => + // { + // OnCommandSummon(4); + // }); + // } + // else if (i == 5) + // { + // m_pBtn_Summon[i].onClick.AddListener(() => + // { + // OnCommandSummon(6); + // }); + // } + // else if (i == 6) + // { + // m_pBtn_Summon[i].onClick.AddListener(() => + // { + // OnCommandSummon(7); + // }); + // } + // else if (i == 7) + // { + // m_pBtn_Summon[i].onClick.AddListener(() => + // { + // OnCommandSummon(8); + // }); + // } + // else if (i == 9) + // { + // m_pBtn_Summon[i].onClick.AddListener(() => + // { + // OnCommandSummon(10); + // }); + // } + // } + // for (int i = 0; i < m_pBtn_Recall.Length; i++) + // { + // index = i; + // m_pBtn_Recall[index].onClick.RemoveAllListeners(); + // m_pBtn_Recall[index].onClick.AddListener(() => + // { + // OnCommandRecall(); + // }); + // } + // m_pBtnClose.onClick.RemoveAllListeners(); + // m_pBtnClose.onClick.AddListener(() => + // { + // Show(false); + // }); + // for(int i = 0; i < m_pBtn_Tab.Length; i++) + // { + // m_pBtn_Tab[i].onClick.RemoveAllListeners(); + // if(i == 0) + // { + // m_pBtn_Tab[i].onClick.AddListener(() => + // { + // OnClickBtnTab(0); + // }); + // } + // else if(i == 1) + // { + // m_pBtn_Tab[i].onClick.AddListener(() => + // { + // OnClickBtnTab(1); + // }); + // } + // } + // OnClickBtnTab(0); + //} + + //bool IsPetDye(int nSlot) + //{ + // return false; + // //TO DO: fix later + // //return nSlot >= 0 + // // && GetGameUIMan().m_pDlgPetDye.IsShow() + // // && GetGameUIMan().m_pDlgPetDye.GetPetSlot() == nSlot; + //} + + //public override bool Render() + //{ + // UpdateList(); + // return base.Render(); + //} + + //public void UpdateList() + //{ + // strText = ""; + // pPetCorral = GetHostPlayer().GetPetCorral(); + // pDB = ElementDataManProvider.GetElementDataMan(); + // DataType = new DATA_TYPE(); + // for (int i = 0; i < CDLGPETLIST_SLOT_MAX; i++) + // { + // int nPetSlot = i + m_nPageIndex * CDLGPETLIST_SLOT_MAX; + // if (nPetSlot < pPetCorral.GetPetSlotNum()) + // { + // m_pLab_Level[i].color = new Color(255f / 255f, 203f / 255f, 74f / 255f); + // m_pLab_Name[i].color = new Color(255f / 255f, 203f / 255f, 74f / 255f); + // } + // else + // { + // m_pLab_Level[i].color = new Color(128f / 128f, 128f / 128f, 128f / 128f); + // m_pLab_Name[i].color = new Color(128f / 128f, 128f / 128f, 128f / 128f); + // } + // CECPetData pPet = pPetCorral.GetPetData(nPetSlot); + // if (pPet != null) + // { + // bool bEnable = (pPetCorral.GetActivePetIndex() == nPetSlot && GetHostPlayer().IsOperatingPet() == 0); + // m_pBtn_Recall[i].interactable = (bEnable); + + // bEnable = (pPetCorral.GetActivePetIndex() != nPetSlot && GetHostPlayer().IsOperatingPet() == 0); + // m_pBtn_Summon[i].interactable = (bEnable); + + // m_pBtn_Detail[i].interactable = (true); + + // strText = string.Format(GetStringFromTable(801).Replace("%d", "{0}"), pPet.GetLevel()); + // m_pTxt_Level[i].SetText(strText); + // m_pTxt_Name[i].SetText(pPet.GetName()); + // if ((pPet.GetClass() == (int)GP_PET_TYPE.GP_PET_CLASS_COMBAT || pPet.GetClass() == (int)GP_PET_TYPE.GP_PET_CLASS_EVOLUTION) && pPet.GetHPFactor() == 0.0f || IsPetDye(nPetSlot)) + // m_pImg_Icon[i].color = new Color(128f/ 255f, 128f / 255f, 128f / 255f); + // else + // m_pImg_Icon[i].color = new Color(255f/ 255f, 255f / 255f, 255f / 255f); + // //m_pImg_Icon[i].SetData(1); + // //m_pImg_Icon[i].SetDataPtr((void*)1); + // object pDBEssence = pDB.get_data_ptr((uint)pPet.GetTemplateID(), + // ID_SPACE.ID_SPACE_ESSENCE, ref DataType); + + // if (pDBEssence != null) + // { + // PET_ESSENCE pET = (PET_ESSENCE)pDBEssence; + // af_GetFileTitle(pET.FileIcon,out strFile); + // strFile.ToLower(); + // if(m_pImg_Icon[i].sprite == null || m_pImg_Icon[i].sprite.Equals(m_spriteDefault_Icon) || !m_pImg_Icon[i].sprite.name.Equals(strFile)) + // { + // m_pImg_Icon[i].sprite = EC_Game.GetGameRun().GetUIManager().GetSpriteInListIvtr(strFile); + // } + // } + // else + // { + // m_pImg_Icon[i].sprite = m_spriteDefault_Icon; + // //m_pImg_Icon[i].SetHint(_AL("")); + // } + + // if(m_pBtn_Evolution[i] != null) + // m_pBtn_Evolution[i].interactable = (pPet.GetClass() == (int)GP_PET_TYPE.GP_PET_CLASS_COMBAT || pPet.GetClass() == (int)GP_PET_TYPE.GP_PET_CLASS_EVOLUTION); + // } + // else + // { + // m_pBtn_Summon[i].interactable = (false); + // m_pBtn_Recall[i].interactable = (false); + // m_pBtn_Detail[i].interactable = (false); + // //m_pBtn_Evolution[i].gameObject.SetActive(false); + // // m_pBtn_Banish[i].Enable(false); + // //m_pImg_Icon[i].SetDataPtr(NULL); + // m_pTxt_Level[i].text = ""; + // m_pTxt_Name[i].text = ""; + // m_pImg_Icon[i].sprite = m_spriteDefault_Icon; + // //m_pImg_Icon[i].SetHint(_AL("")); + // //m_pImg_Icon[i].SetData(0); + // } + // } + //} + + //public bool af_GetFileTitle(string lpszFile, out string lpszTitle) + //{ + // lpszTitle = string.Empty; + + // if (string.IsNullOrEmpty(lpszFile)) + // return lpszFile != null; + + // if (lpszFile.EndsWith("\\") || lpszFile.EndsWith("/")) + // return false; + + // lpszTitle = Path.GetFileNameWithoutExtension(lpszFile); + // return true; + //} + + //public void OnCommandSummon(int slot) + //{ + // CECPetCorral pPetCorral = GetHostPlayer().GetPetCorral(); + // int nSlot = slot - 1; + // nSlot += m_nPageIndex* CDLGPETLIST_SLOT_MAX; + // // - + // if (GetHostPlayer().GetActionSwitcher() != null && GetHostPlayer().GetActionSwitcher().OnFlyToRideAction(nSlot)) + // return; + + // //UpdateList(); + // GetHostPlayer().SummonPet(nSlot); + //} + + //public void OnCommandRecall() + //{ + // GetHostPlayer().RecallPet(); + //} + + //public void OnClickBtnTab(int index) + //{ + // m_nPageIndex = index; + // for(int i = 0; i < m_pBtn_Tab.Length; i++) + // { + // m_mask_off_pBtn_Tab[i].SetActive(i != m_nPageIndex); + // } + // UpdateList(); + //} + + public const int CDLGPETLIST_SLOT_MAX = 10; + + [Header("Prefab Setup")] + [SerializeField] private DlgPetListBox m_prefabPetSlot; + [SerializeField] private Transform m_container; + + [Header("Common UI")] [SerializeField] private Button m_pBtnClose; - [SerializeField] private Sprite m_spriteDefault_Icon; [SerializeField] private Button[] m_pBtn_Tab; [SerializeField] private GameObject[] m_mask_off_pBtn_Tab; - int m_nPageIndex; - string strFile = ""; - string strText = ""; - CECPetCorral pPetCorral; - elementdataman pDB; - DATA_TYPE DataType = new DATA_TYPE(); + + private List m_spawnedSlots = new List(); + private int m_nPageIndex = 0; public void OnInitDialog() { - //string szText = ""; - //int i; - //for (i = 0; i < CDLGPETLIST_SLOT_MAX; i++) - //{ - // szText = string.Format("Img_Icon{0}", i + 1); - // m_pImg_Icon[i] = (PAUIIMAGEPICTURE)GetDlgItem(szText); - // sprintf(szText, "Lab_Name%d", i + 1); - // m_pLab_Name[i] = (PAUILABEL)GetDlgItem(szText); - // sprintf(szText, "Lab_Level%d", i + 1); - // m_pLab_Level[i] = (PAUILABEL)GetDlgItem(szText); - // sprintf(szText, "Txt_Name%d", i + 1); - // m_pTxt_Name[i] = (PAUILABEL)GetDlgItem(szText); - // sprintf(szText, "Txt_Level%d", i + 1); - // m_pTxt_Level[i] = (PAUILABEL)GetDlgItem(szText); - // sprintf(szText, "Btn_Recall%d", i + 1); - // m_pBtn_Recall[i] = (PAUIIMAGEPICTURE)GetDlgItem(szText); - // sprintf(szText, "Btn_Summon%d", i + 1); - // m_pBtn_Summon[i] = (PAUIIMAGEPICTURE)GetDlgItem(szText); - // sprintf(szText, "Btn_Detail%d", i + 1); - // m_pBtn_Detail[i] = (PAUIIMAGEPICTURE)GetDlgItem(szText); - // sprintf(szText, "Btn_Banish%d", i + 1); - // m_pBtn_Banish[i] = (PAUIIMAGEPICTURE)GetDlgItem(szText); - // sprintf(szText, "Btn_P%d", i + 1); - // m_pBtn_Evolution[i] = (PAUIIMAGEPICTURE)GetDlgItem(szText); - //} - //for (i = 0; i < CDLGPETLIST_PAGE_MAX; i++) - //{ - // m_pBtn_Page[i] = NULL; - // DDX_Control(AString().Format("Btn_Page%d", i + 1), m_pBtn_Page[i]); - // m_pBtn_Page[i].SetPushed(false); - //} - m_nPageIndex = 0; - //m_pBtn_Page[0].SetPushed(true); - int index = 0; if (!IsShow()) Show(true); - for (int i = 0; i < m_pBtn_Summon.Length; i++) - { - index = i; - m_pBtn_Summon[index].onClick.RemoveAllListeners(); - if(i == 0) - { - m_pBtn_Summon[i].onClick.AddListener(() => - { - OnCommandSummon(1); - }); - } - else if(i == 1) - { - m_pBtn_Summon[i].onClick.AddListener(() => - { - OnCommandSummon(2); - }); - } - else if (i == 2) - { - m_pBtn_Summon[i].onClick.AddListener(() => - { - OnCommandSummon(3); - }); - } - else if (i == 3) - { - m_pBtn_Summon[i].onClick.AddListener(() => - { - OnCommandSummon(4); - }); - } - else if (i == 5) - { - m_pBtn_Summon[i].onClick.AddListener(() => - { - OnCommandSummon(6); - }); - } - else if (i == 6) - { - m_pBtn_Summon[i].onClick.AddListener(() => - { - OnCommandSummon(7); - }); - } - else if (i == 7) - { - m_pBtn_Summon[i].onClick.AddListener(() => - { - OnCommandSummon(8); - }); - } - else if (i == 9) - { - m_pBtn_Summon[i].onClick.AddListener(() => - { - OnCommandSummon(10); - }); - } - } - for (int i = 0; i < m_pBtn_Recall.Length; i++) - { - index = i; - m_pBtn_Recall[index].onClick.RemoveAllListeners(); - m_pBtn_Recall[index].onClick.AddListener(() => - { - OnCommandRecall(); - }); - } - m_pBtnClose.onClick.RemoveAllListeners(); - m_pBtnClose.onClick.AddListener(() => - { - Show(false); - }); - for(int i = 0; i < m_pBtn_Tab.Length; i++) - { - m_pBtn_Tab[i].onClick.RemoveAllListeners(); - if(i == 0) - { - m_pBtn_Tab[i].onClick.AddListener(() => - { - OnClickBtnTab(0); - }); - } - else if(i == 1) - { - m_pBtn_Tab[i].onClick.AddListener(() => - { - OnClickBtnTab(1); - }); - } - } - OnClickBtnTab(0); - } - bool IsPetDye(int nSlot) - { - return false; - //TO DO: fix later - //return nSlot >= 0 - // && GetGameUIMan().m_pDlgPetDye.IsShow() - // && GetGameUIMan().m_pDlgPetDye.GetPetSlot() == nSlot; + m_pBtnClose.onClick.RemoveAllListeners(); + m_pBtnClose.onClick.AddListener(() => Show(false)); + + for (int i = 0; i < m_pBtn_Tab.Length; i++) + { + int index = i; + m_pBtn_Tab[i].onClick.RemoveAllListeners(); + m_pBtn_Tab[i].onClick.AddListener(() => OnClickBtnTab(index)); + } + + OnClickBtnTab(0); } public override bool Render() @@ -186,106 +344,53 @@ namespace BrewMonster.UI public void UpdateList() { - strText = ""; - pPetCorral = GetHostPlayer().GetPetCorral(); - pDB = ElementDataManProvider.GetElementDataMan(); - DataType = new DATA_TYPE(); + CECPetCorral pPetCorral = GetHostPlayer()?.GetPetCorral(); + if (pPetCorral == null) return; + + int operatingState = GetHostPlayer().IsOperatingPet(); + int totalPetNum = pPetCorral.GetPetSlotNum(); + + while (m_spawnedSlots.Count < CDLGPETLIST_SLOT_MAX) + { + DlgPetListBox newSlot = Instantiate(m_prefabPetSlot, m_container); + m_spawnedSlots.Add(newSlot); + } + for (int i = 0; i < CDLGPETLIST_SLOT_MAX; i++) { - int nPetSlot = i + m_nPageIndex * CDLGPETLIST_SLOT_MAX; - if (nPetSlot < pPetCorral.GetPetSlotNum()) - { - m_pLab_Level[i].color = new Color(255f / 255f, 203f / 255f, 74f / 255f); - m_pLab_Name[i].color = new Color(255f / 255f, 203f / 255f, 74f / 255f); - } - else - { - m_pLab_Level[i].color = new Color(128f / 128f, 128f / 128f, 128f / 128f); - m_pLab_Name[i].color = new Color(128f / 128f, 128f / 128f, 128f / 128f); - } - CECPetData pPet = pPetCorral.GetPetData(nPetSlot); - if (pPet != null) - { - bool bEnable = (pPetCorral.GetActivePetIndex() == nPetSlot && GetHostPlayer().IsOperatingPet() == 0); - m_pBtn_Recall[i].interactable = (bEnable); + int actualSlotIndex = i + (m_nPageIndex * CDLGPETLIST_SLOT_MAX); - bEnable = (pPetCorral.GetActivePetIndex() != nPetSlot && GetHostPlayer().IsOperatingPet() == 0); - m_pBtn_Summon[i].interactable = (bEnable); + CECPetData pPet = pPetCorral.GetPetData(actualSlotIndex); + bool isActivePet = (pPetCorral.GetActivePetIndex() == actualSlotIndex); - m_pBtn_Detail[i].interactable = (true); - - strText = string.Format(GetStringFromTable(801).Replace("%d", "{0}"), pPet.GetLevel()); - m_pTxt_Level[i].SetText(strText); - m_pTxt_Name[i].SetText(pPet.GetName()); - if ((pPet.GetClass() == (int)GP_PET_TYPE.GP_PET_CLASS_COMBAT || pPet.GetClass() == (int)GP_PET_TYPE.GP_PET_CLASS_EVOLUTION) && pPet.GetHPFactor() == 0.0f || IsPetDye(nPetSlot)) - m_pImg_Icon[i].color = new Color(128f/ 255f, 128f / 255f, 128f / 255f); - else - m_pImg_Icon[i].color = new Color(255f/ 255f, 255f / 255f, 255f / 255f); - //m_pImg_Icon[i].SetData(1); - //m_pImg_Icon[i].SetDataPtr((void*)1); - object pDBEssence = pDB.get_data_ptr((uint)pPet.GetTemplateID(), - ID_SPACE.ID_SPACE_ESSENCE, ref DataType); - - if (pDBEssence != null) - { - PET_ESSENCE pET = (PET_ESSENCE)pDBEssence; - af_GetFileTitle(pET.FileIcon,out strFile); - strFile.ToLower(); - if(m_pImg_Icon[i].sprite == null || m_pImg_Icon[i].sprite.Equals(m_spriteDefault_Icon) || !m_pImg_Icon[i].sprite.name.Equals(strFile)) - { - m_pImg_Icon[i].sprite = EC_Game.GetGameRun().GetUIManager().GetSpriteInListIvtr(strFile); - } - } - else - { - m_pImg_Icon[i].sprite = m_spriteDefault_Icon; - //m_pImg_Icon[i].SetHint(_AL("")); - } - - if(m_pBtn_Evolution[i] != null) - m_pBtn_Evolution[i].interactable = (pPet.GetClass() == (int)GP_PET_TYPE.GP_PET_CLASS_COMBAT || pPet.GetClass() == (int)GP_PET_TYPE.GP_PET_CLASS_EVOLUTION); - } - else - { - m_pBtn_Summon[i].interactable = (false); - m_pBtn_Recall[i].interactable = (false); - m_pBtn_Detail[i].interactable = (false); - //m_pBtn_Evolution[i].gameObject.SetActive(false); - // m_pBtn_Banish[i].Enable(false); - //m_pImg_Icon[i].SetDataPtr(NULL); - m_pTxt_Level[i].text = ""; - m_pTxt_Name[i].text = ""; - m_pImg_Icon[i].sprite = m_spriteDefault_Icon; - //m_pImg_Icon[i].SetHint(_AL("")); - //m_pImg_Icon[i].SetData(0); - } + m_spawnedSlots[i].SetData( + pPet, + actualSlotIndex, + isActivePet, + operatingState, + OnSlotClicked + ); } } - public bool af_GetFileTitle(string lpszFile, out string lpszTitle) + private void OnSlotClicked(int slotIndex, bool isActivePet) { - lpszTitle = string.Empty; - - if (string.IsNullOrEmpty(lpszFile)) - return lpszFile != null; - - if (lpszFile.EndsWith("\\") || lpszFile.EndsWith("/")) - return false; - - lpszTitle = Path.GetFileNameWithoutExtension(lpszFile); - return true; + if (isActivePet) + { + OnCommandRecall(); + } + else + { + OnCommandSummon(slotIndex); + } } - public void OnCommandSummon(int slot) + public void OnCommandSummon(int nSlot) { - CECPetCorral pPetCorral = GetHostPlayer().GetPetCorral(); - int nSlot = slot - 1; - nSlot += m_nPageIndex* CDLGPETLIST_SLOT_MAX; - // - - if (GetHostPlayer().GetActionSwitcher() != null && GetHostPlayer().GetActionSwitcher().OnFlyToRideAction(nSlot)) + var actionSwitcher = GetHostPlayer().GetActionSwitcher(); + if (actionSwitcher != null && actionSwitcher.OnFlyToRideAction(nSlot)) return; - //UpdateList(); GetHostPlayer().SummonPet(nSlot); } @@ -297,10 +402,15 @@ namespace BrewMonster.UI public void OnClickBtnTab(int index) { m_nPageIndex = index; - for(int i = 0; i < m_pBtn_Tab.Length; i++) + + for (int i = 0; i < m_pBtn_Tab.Length; i++) { - m_mask_off_pBtn_Tab[i].SetActive(i != m_nPageIndex); + if (i < m_mask_off_pBtn_Tab.Length) + { + m_mask_off_pBtn_Tab[i].SetActive(i != m_nPageIndex); + } } + UpdateList(); } } diff --git a/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetListBox.cs b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetListBox.cs new file mode 100644 index 0000000000..f8b3798af6 --- /dev/null +++ b/Assets/PerfectWorld/Scripts/UI/Dialogs/DlgPetListBox.cs @@ -0,0 +1,80 @@ +using BrewMonster.Network; +using BrewMonster.Scripts.Pet; +using BrewMonster.UI; +using CSNetwork.GPDataType; +using ModelRenderer.Scripts.GameData; +using System; +using System.IO; +using TMPro; +using UnityEngine; +using UnityEngine.UI; + +namespace BrewMonster +{ + public class DlgPetListBox : AUIDialog + { + [SerializeField] private Image m_iconPet; + [SerializeField] private TMP_Text m_textPetName; + [SerializeField] private TMP_Text m_textLevel; + [SerializeField] private Sprite m_spriteDefault_Icon; + + private int m_slotIndex; + private bool m_isActivePet; + private int m_operatingState; + private Action m_onClickCallback; + + public void SetData(CECPetData pPet, int actualSlot, bool isActivePet, int operatingState, Action onClickSlot) + { + if (pPet == null) + { + Show(false); + return; + } + + Show(true); + + m_slotIndex = actualSlot; + m_isActivePet = isActivePet; + m_operatingState = operatingState; + m_onClickCallback = onClickSlot; + + m_textPetName.text = pPet.GetName(); + m_textLevel.text = $"Cấp {pPet.GetLevel()}"; + + m_textPetName.color = isActivePet ? new Color(1f, 0.8f, 0.3f) : Color.white; + + bool isDead = (pPet.GetClass() == (int)GP_PET_TYPE.GP_PET_CLASS_COMBAT || + pPet.GetClass() == (int)GP_PET_TYPE.GP_PET_CLASS_EVOLUTION) && + pPet.GetHPFactor() == 0.0f; + + m_iconPet.color = isDead ? new Color(0.5f, 0.5f, 0.5f) : Color.white; + UpdateIcon(pPet.GetTemplateID()); + + Button btn = GetComponent